FreeCalypso > hg > fc-magnetite
view cdg3/cdginc-locosto/p_llgmm.val @ 600:8f50b202e81f
board preprocessor conditionals: prep for more FC hw in the future
This change eliminates the CONFIG_TARGET_FCDEV3B preprocessor symbol and
all preprocessor conditionals throughout the code base that tested for it,
replacing them with CONFIG_TARGET_FCFAM or CONFIG_TARGET_FCMODEM. These
new symbols are specified as follows:
CONFIG_TARGET_FCFAM is intended to cover all hardware designs created by
Mother Mychaela under the FreeCalypso trademark. This family will include
modem products (repackagings of the FCDEV3B, possibly with RFFE or even
RF transceiver changes), and also my desired FreeCalypso handset product.
CONFIG_TARGET_FCMODEM is intended to cover all FreeCalypso modem products
(which will be firmware-compatible with the FCDEV3B if they use TI Rita
transceiver, or will require a different fw build if we switch to one of
Silabs Aero transceivers), but not the handset product. Right now this
CONFIG_TARGET_FCMODEM preprocessor symbol is used to conditionalize
everything dealing with MCSI.
At the present moment the future of FC hardware evolution is still unknown:
it is not known whether we will ever have any beyond-FCDEV3B hardware at all
(contingent on uncertain funding), and if we do produce further FC hardware
designs, it is not known whether they will retain the same FIC modem core
(triband), if we are going to have a quadband design that still retains the
classic Rita transceiver, or if we are going to switch to Silabs Aero II
or some other transceiver. If we produce a quadband modem that still uses
Rita, it will run exactly the same fw as the FCDEV3B thanks to the way we
define TSPACT signals for the RF_FAM=12 && CONFIG_TARGET_FCFAM combination,
and the current fcdev3b build target will be renamed to fcmodem. OTOH, if
that putative quadband modem will be Aero-based, then it will require a
different fw build target, the fcdev3b target will stay as it is, and the
two targets will both define CONFIG_TARGET_FCFAM and CONFIG_TARGET_FCMODEM,
but will have different RF_FAM numbers. But no matter which way we are
going to evolve, it is not right to have conditionals on CONFIG_TARGET_FCDEV3B
in places like ACI, and the present change clears the way for future
evolution.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 01 Apr 2019 01:05:24 +0000 |
parents | c15047b3d00d |
children |
line wrap: on
line source
/* +--------------------------------------------------------------------------+ | PROJECT : PROTOCOL STACK | | FILE : p_llgmm.val | | SOURCE : "sap\llgmm.pdf" | | LastModified : "2003-03-21" | | IdAndVersion : "8441.103.99.014" | | SrcFileTime : "Thu Nov 29 09:44:54 2007" | | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 2014 | | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | +--------------------------------------------------------------------------+ */ /* PRAGMAS * PREFIX : NONE * COMPATIBILITY_DEFINES : NO (require PREFIX) * ALWAYS_ENUM_IN_VAL_FILE: NO * ENABLE_GROUP: NO * CAPITALIZE_TYPENAME: NO */ #ifndef P_LLGMM_VAL #define P_LLGMM_VAL #define CDG_ENTER__P_LLGMM_VAL #define CDG_ENTER__FILENAME _P_LLGMM_VAL #define CDG_ENTER__P_LLGMM_VAL__FILE_TYPE CDGINC #define CDG_ENTER__P_LLGMM_VAL__LAST_MODIFIED _2003_03_21 #define CDG_ENTER__P_LLGMM_VAL__ID_AND_VERSION _8441_103_99_014 #define CDG_ENTER__P_LLGMM_VAL__SRC_FILE_TIME _Thu_Nov_29_09_44_54_2007 #include "CDG_ENTER.h" #undef CDG_ENTER__P_LLGMM_VAL #undef CDG_ENTER__FILENAME /* * Value constants for VAL_ciphering_algorithm */ #define LLGMM_CIPHER_NO_ALGORITHM (0x0) /* no ciphering algorithm */ #define LLGMM_CIPHER_GPRS_A5_1 (0x1) /* GPRS A5/1 ciphering algorithm */ #define LLGMM_CIPHER_GPRS_A5_2 (0x2) /* GPRS A5/2 ciphering algorithm */ #define LLGMM_CIPHER_NA (0xff) /* value n/a */ /* * Value constants for VAL_trigger_cause */ #define LLGMM_TRICS_PAGE_RESPONSE (0x1) /* trigger was sent due to a received paging message */ #define LLGMM_TRICS_CELL_UPDATE (0x3) /* trigger was sent because of a cell update */ // VAL-FF: REL99 #define LLGMM_TRICS_CELL_UPDATE_NULL_FRAME (0x4) /* LLC can use NULL frame for cell updates */ /* * Value constants for VAL_error_cause */ #define VAL_ERROR_CAUSE___DEF (0x0) /* invalid error cause */ #define LLGMM_ERRCS_INVALID_UA (0xd064) /* invalid UA response */ #define LLGMM_ERRCS_SABM_INVALID_XID (0xd065) /* invalid XID response during connection establishment */ #define LLGMM_ERRCS_SABM_NO_PEER_RES (0xd066) /* no peer response during connection establishment */ #define LLGMM_ERRCS_XID_INVALID_XID (0xd067) /* invalid XID response during parameter negotiation */ #define LLGMM_ERRCS_XID_NO_PEER_RES (0xd068) /* no peer response during parameter negotiation */ #define LLGMM_ERRCS_DISC_NO_PEER_RES (0xd069) /* no peer response during release of connection */ #define LLGMM_ERRCS_MULT_ASS_TLLI (0xd06a) /* possible multiple assignment of a TLLI value */ #define LLGMM_ERRCS_DM1_RECEIVED (0xd06b) /* unsolicited DM response with F bit 1 in state ABM */ #define LLGMM_ERRCS_DM1_RECEIVED_REEST (0xd06c) /* unsolicited DM response with F bit 1 in state Timer Recovery; re-establishment procedure initiated */ #define LLGMM_ERRCS_ACK_NO_PEER_RES_REEST (0xd06d)/* no peer response during waiting for acknowledgement; re-establishment procedure initiated */ #define LLGMM_ERRCS_PEER_BUSY_REEST (0xd06e) /* peer receiver busy condition; re-establishment procedure initiated */ #define LLGMM_ERRCS_FRMR_COND (0xd06f) /* frame rejection condition; frame discarded */ #define LLGMM_ERRCS_FRMR_COND_REEST (0xd070) /* frame rejection condition; re-establishment procedure initiated */ #define LLGMM_ERRCS_FRMR_RECEIVED (0xd071) /* FRMR response received; frame discarded */ #define LLGMM_ERRCS_L3_REEST (0xd072) /* layer 3 initiated re-establishment procedure */ #define LLGMM_ERRCS_PEER_REEST (0xd073) /* peer initiated re-establishment procedure */ #define LLGMM_ERRCS_DM0_RECEIVED_REEST (0xd074) /* unsolicited DM response with F bit 0; re-establishment procedure initiated */ /* * Value constants for VAL_susp_cause */ #define VAL_SUSP_CAUSE___DEF (0x0) /* suspension because of Attach or RAU */ #define LLGMM_RAU (0x0) /* suspension because of Attach or RAU, GRR has to be suspended */ #define LLGMM_CALL (0x1) /* suspension because of GSM establishment request */ #define LLGMM_LIMITED (0x2) /* suspension because of limited service */ #define LLGMM_PERIODIC_RAU (0x3) /* suspension because of periodic RAU */ #define LLGMM_NO_GPRS_SERVICE (0x4) /* suspension because of no service or no GPRS supported */ /* * user defined constants */ #define LLGMM_MAX_SEQ_NR (0x1ff) #define LLGMM_NUM_SAPIS (0x10) #define LLGMM_TLLI_INVALID (0xffffffff) #include "CDG_LEAVE.h" #endif