FreeCalypso > hg > fc-tourmaline
view cdg-hybrid/cdginc/m_rr_short_pd.val @ 303:f76436d19a7a default tip
!GPRS config: fix long-standing AT+COPS chance hanging bug
There has been a long-standing bug in FreeCalypso going back years:
sometimes in the AT command bring-up sequence of an ACI-only MS,
the AT+COPS command would produce only a power scan followed by
cessation of protocol stack activity (only L1 ADC traces), instead
of the expected network search sequence. This behaviour was seen
in different FC firmware versions going back to Citrine, and seemed
to follow some law of chance, not reliably repeatable.
This bug has been tracked down and found to be specific to !GPRS
configuration, stemming from our TCS2/TCS3 hybrid and reconstruction
of !GPRS support that was bitrotten in TCS3.2/LoCosto version.
ACI module psa_mms.c, needed only for !GPRS, was missing in the TCS3
version and had to be pulled from TCS2 - but as it turns out,
there is a new field in the MMR_REG_REQ primitive that needs to be
set correctly, and that psa_mms.c module is the place where this
initialization needed to be added.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 08 Jun 2023 08:23:37 +0000 |
parents | 35f7a1dc9f7d |
children |
line wrap: on
line source
/* +--------------------------------------------------------------------------+ | PROJECT : PROTOCOL STACK | | FILE : m_rr_short_pd.val | | SOURCE : "msg\rr_short_pd.mdf" | | LastModified : "2003-11-06" | | IdAndVersion : "8010.602.03.001" | | SrcFileTime : "Wed Nov 28 10:21:00 2007" | | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 | | !!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 * CCDNAME: RR_SHORT */ #ifndef M_RR_SHORT_PD_VAL #define M_RR_SHORT_PD_VAL #define CDG_ENTER__M_RR_SHORT_PD_VAL #define CDG_ENTER__FILENAME _M_RR_SHORT_PD_VAL #define CDG_ENTER__M_RR_SHORT_PD_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_RR_SHORT_PD_VAL__LAST_MODIFIED _2003_11_06 #define CDG_ENTER__M_RR_SHORT_PD_VAL__ID_AND_VERSION _8010_602_03_001 #define CDG_ENTER__M_RR_SHORT_PD_VAL__SRC_FILE_TIME _Wed_Nov_28_10_21_00_2007 #include "CDG_ENTER.h" #undef CDG_ENTER__M_RR_SHORT_PD_VAL #undef CDG_ENTER__FILENAME #include "m_rr_com.val" /* Access values independent from the corresponding h-file. */ /* * Value constants for VAL_bsic_seen */ #define NO_INV_BSIC_SEEN (0x0) /* No cell with invalid BSIC and allowed NCC part of BSIC is seen. */ #define INV_BSIC_SEEN (0x1) /* One cell or more with invalid BSIC and allowed NCC part of BSIC is seen. */ /* * Value constants for VAL_cv_bep */ #define CV_BEP_0 (0x0) /* 2.00 > std(BEP)/mean(BEP) > 1.75 */ #define CV_BEP_1 (0x1) /* 1.75 > std(BEP)/mean(BEP) > 1.50 */ #define CV_BEP_2 (0x2) /* 1.50 > std(BEP)/mean(BEP) > 1.25 */ #define CV_BEP_3 (0x3) /* 1.25 > std(BEP)/mean(BEP) > 1.00 */ #define CV_BEP_4 (0x4) /* 1.00 > std(BEP)/mean(BEP) > 0.75 */ #define CV_BEP_5 (0x5) /* 0.75 > std(BEP)/mean(BEP) > 0.50 */ #define CV_BEP_6 (0x6) /* 0.50 > std(BEP)/mean(BEP) > 0.25 */ #define CV_BEP_7 (0x7) /* 0.25 > std(BEP)/mean(BEP) > 0.00 */ /* * Value constants for VAL_dtx_used */ #define DTX_USED_NO (0x0) /* DTX was not used */ #define DTX_USED_YES (0x1) /* DTX was used */ /* * Value constants for VAL_inv_bsic_rep */ #define NO_REPORT (0x0) /* Indicates that GSM cells with invalid BSIC and allowed NCC part should not be reported */ #define YES_REPORT (0x1) /* Indicates that GSM cells with invalid BSIC and allowed NCC part should be reported */ /* * Value constants for VAL_pow_ctrl */ #define POW_CTRL_NO (0x0) /* PWRC is not set */ #define POW_CTRL_YES (0x1) /* PWRC is set */ /* * Value constants for VAL_rep_rate */ #define NORMAL_RATE (0x0) /* SACCH rate reporting. */ #define REDUCED_RATE (0x1) /* Reduced reporting rate allowed. */ /* * Value constants for VAL_report_type */ #define RT_EMR (0x0) /* MS shall use the Enhanced Measurement Report message, if at least one BSIC is allocated to each BA frequency, otherwise the Measurement Report message. */ #define RT_MR (0x1) /* The MS shall use the Measurement Report message for reporting. */ /* * Value constants for VAL_scale */ #define SCALE_ZERO_DB (0x0) /* 0 dB offset is used for the reported RXLEV values */ #define SCALE_TEN_DB (0x1) /* +10 dB offset is used for the reported RXLEV values */ /* * Value constants for VAL_scale_ord */ #define SC_ORD_ZERO_DB (0x0) /* 0 dB offset, which shall be used for the reported RXLEV values */ #define SC_ORD_TEN_DB (0x1) /* +10 dB offset, which shall be used for the reported RXLEV values */ #define SC_ORD_AUTOMATIC (0x2) /* automatic offset, which shall be used for the reported RXLEV values */ /* * Value constants for VAL_sl2h */ #define VAL_SL2H___DEF (0x0) /* reserved */ #define SL2H_0 (0x0) /* Short Layer 2 header: UI command frame */ /* * user defined constants */ #define L3MAX_ACK (0xfb) #define L3MAX (0xfb) #define MAX_NNC (0x60) #define MAX_BSICI (0x8) #define MAX_2GEXT (0x84) #include "CDG_LEAVE.h" #endif