FreeCalypso > hg > fc-magnetite
view cdg211/cdginc/p_llgmm.val @ 660:293c7db5f10f
bmi3: fixed the mysterious "mute on first call" bug
When UI-enabled fw boots on a previously blank (no /mmi/* files) FFS
for the first time, the output_volume member of the persistent UI settings
structure was left uninitialized, corresponding to the earpiece volume
being set to mute, which is an invalid setting. Because of other quirks
in the far-from-finished UI code, this volume setting takes effect only
when the first call is answered, producing the odd behaviour seen at the
user level.
The current fix is to set the blank-FFS default for output_volume to
volume level 4, which is the same -6 dB Iota volume as the ACI default.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 14 May 2020 02:50:41 +0000 |
parents | 56abf6cf8a0b |
children |
line wrap: on
line source
/* +--------------------------------------------------------------------------+ | PROJECT : PROTOCOL STACK | | FILE : p_llgmm.val | | SOURCE : "__out__\g23m_dfile\prim\llgmm.pdf" | | LastModified : "2003-03-21" | | IdAndVersion : "8441.103.99.014" | | SrcFileTime : "Thu Jul 8 11:39:12 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_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_Jul_8_11_39_12_2004 #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 */ /* * 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