FreeCalypso > hg > fc-magnetite
view cdg211/cdginc/p_gmmrr.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 | 56abf6cf8a0b |
children |
line wrap: on
line source
/* +--------------------------------------------------------------------------+ | PROJECT : PROTOCOL STACK | | FILE : p_gmmrr.val | | SOURCE : "__out__\g23m_dfile\prim\gmmrr.pdf" | | LastModified : "2003-09-02" | | IdAndVersion : "8441.101.03.025" | | SrcFileTime : "Tue Aug 10 15:45:16 2004" | | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:15 2007 | | !!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_GMMRR_VAL #define P_GMMRR_VAL #define CDG_ENTER__P_GMMRR_VAL #define CDG_ENTER__FILENAME _P_GMMRR_VAL #define CDG_ENTER__P_GMMRR_VAL__FILE_TYPE CDGINC #define CDG_ENTER__P_GMMRR_VAL__LAST_MODIFIED _2003_09_02 #define CDG_ENTER__P_GMMRR_VAL__ID_AND_VERSION _8441_101_03_025 #define CDG_ENTER__P_GMMRR_VAL__SRC_FILE_TIME _Tue_Aug_10_15_45_16_2004 #include "CDG_ENTER.h" #undef CDG_ENTER__P_GMMRR_VAL #undef CDG_ENTER__FILENAME /* * Value constants for VAL_old_tlli */ #define GMMRR_TLLI_INVALID (0xffffffff)/* TLLI invalid (see GSM 3.03) */ /* * Value constants for VAL_service_state */ #define GMMRR_SERVICE_NONE (0x0) /* No service */ #define GMMRR_SERVICE_LIMITED (0x1) /* Limited service */ #define GMMRR_SERVICE_FULL (0x2) /* Full service */ #define GMMRR_SERVICE_UNKNOWN (0x3) /* Service unknown */ /* * Value constants for VAL_net_mode */ #define GMMRR_NET_MODE_I (0x0) /* Network operation mode I, only one Paging channel for both: PCCCH or CCCH */ #define GMMRR_NET_MODE_II (0x1) /* Network operation mode II, Paging only on CCCH */ #define GMMRR_NET_MODE_III (0x2) /* Network operation mode III, Paging on CCCH for CS and either on CCCH or on PCCCH for GPRS, if PCCH allocated in the cell */ /* * Value constants for VAL_standby_cause */ #define GMMRR_TIMEOUT_OF_T3314 (0x1) /* GMM enters state STANDBY because of timeout of READY timer T3314 */ #define GMMRR_RESET_OF_T3314 (0x2) /* GMM enters state STANDBY because GMM receives a message witrh timer_value 0 */ #define GMMRR_FORCE_TO_STANDBY (0x3) /* GMM receives a message indicating FORCE TO STANDBY */ /* * Value constants for VAL_old_ptmsi */ #define GMMRR_TMSI_INVALID (0xffffffff)/* P-TMSI or TMSI invalid (see GSM 3.03) */ /* * Value constants for VAL_v_mid */ #define V_MID_NOT_PRES (0x0) /* not present */ #define V_MID_PRES (0x1) /* present */ /* * Value constants for VAL_id_type */ #define TYPE_NO_ID (0x0) /* no identity */ #define TYPE_IMSI (0x1) /* IMSI */ #define TYPE_TMSI (0x4) /* TMSI */ /* * Value constants for VAL_response */ #define VAL_RESPONSE___DEF (0x0) /* The call is confirmed */ #define GMMRR_CS_PAGE_REJ (0x0) /* The call is rejected */ #define GMMRR_CS_PAGE_CNF (0x1) /* The call is confirmed */ /* * Value constants for VAL_page_id */ #define VAL_PAGE_ID___DEF (0x0) /* P-TMSI */ #define GMMRR_IMSI (0x0) /* IMSI */ #define GMMRR_PTMSI (0x1) /* P-TMSI */ /* * Value constants for VAL_mobile_class */ #define VAL_MOBILE_CLASS___DEF (0x0) /* Combined GPRS attach */ #define GMMRR_CLASS_A (0x1) /* Combined GPRS */ #define GMMRR_CLASS_B (0x2) /* GPRS and GSM */ #define GMMRR_CLASS_BC (0x3) /* Combined GPRS if possible, otherwise GSM only */ #define GMMRR_CLASS_BG (0x4) /* Combined GPRS if possible, otherwise GPRS only */ #define GMMRR_CLASS_CC (0x5) /* reserved. (GSM-only) */ #define GMMRR_CLASS_CG (0x6) /* GPRS-only */ /* * Value constants for VAL_susp_gprs */ #define VAL_SUSP_GPRS___DEF (0x0) /* Suspend GPRS */ #define GMMRR_NOT_SUSP_GPRS (0x0) /* Do not suspend GPRS */ #define GMMRR_SUSP_GPRS (0x1) /* Suspend GPRS */ /* * Value constants for VAL_split_pg_cycle */ #define GMMRR_NO_DRX (0x2c0) /* Non DRX mode */ /* * Value constants for VAL_lac */ #define VAL_LAC___DEF (0x0) /* lac */ #define GMMRR_LA_INVALID (0xfffe) /* la invalid */ /* * Value constants for VAL_rac */ #define GMMRR_RAC_INVALID (0xff) /* routing area code invalid */ /* * Value constants for VAL_gmmrr_non_drx_timer */ #define DRX_NO (0x0) /* no non-DRX mode after transfer state */ #define DRX_1_SEC (0x1) /* max. 1 sec non-DRX mode after transfer */ #define DRX_2_SEC (0x2) /* max. 2 sec non-DRX mode after transfer */ #define DRX_4_SEC (0x3) /* max. 4 sec non-DRX mode after transfer */ #define DRX_8_SEC (0x4) /* max. 8 sec non-DRX mode after transfer */ #define DRX_16_SEC (0x5) /* max. 16 sec non-DRX mode after transfer */ #define DRX_32_SEC (0x6) /* max. 32 sec non-DRX mode after transfer */ #define DRX_64_SEC (0x7) /* max. 64 sec non-DRX mode after transfer */ /* * Value constants for VAL_gmmrr_susp_cause */ #define GMMRR_ABNORMAL_RELEASE (0x0) /* GRR should release immediately the running TBF */ #define GMMRR_NORMAL_RELEASE (0x1) /* GRR should wait until TBF is released */ /* * Value constants for VAL_spgc_ccch_supp */ #define GMMRR_SPGC_CCCH_SUPP_NO (0x0) /* Split paging cycle on CCCH is not supported by the mobile station */ #define GMMRR_SPGC_CCCH_SUPP_YES (0x1) /* Split paging cycle on CCCH is supported by the mobile station */ /* * Value constants for VAL_cu_cause */ #define GMMRR_RA_DEFAULT (0x0) /* GRR should not perform Cell Update Access */ #define GMMRR_RA_CU (0x1) /* GRR should perforn Random Access with cause Cell Update */ /* * user defined constants */ #define MAX_DIGITS (0x10) #define SIZE_MCC (0x3) #define SIZE_MNC (0x3) #include "CDG_LEAVE.h" #endif