annotate src/cs/riviera/rvm/rvm_ext_priorities.h @ 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 2d7d95e7f9c2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
228
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
1 /*******************************************************************************
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
2 * *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
3 * Name rvm_ext_priorities.h *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
4 * *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
5 * Function this file priorities defintitions for basic SWEs *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
6 * It includes a file *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
7 * *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
8 * Version 0.1 *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
9 * *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
10 * Date Modification *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
11 * ------------------------------------ *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
12 * 10/11/2000 Create *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
13 * *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
14 * Author Cristian Livadiotti (c-livadiotti@ti.com) *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
15 * *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
16 * (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
17 * *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
18 * --------------------------------------------------------------------------- *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
19 * *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
20 * History: *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
21 * *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
22 * 10/18/2001 - Updated for R2D by Christophe Favergeon *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
23 * *
93af50ca61f9 rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
24 ******************************************************************************/
0
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 #ifndef __RVM_EXT_PRIORITIES_H_
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 #define __RVM_EXT_PRIORITIES_H_
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 /* PRIORITIES SETTING: */
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 /* All user priority should be set under 250: */
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 /* Higher values are reserved */
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 /*
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 ** External Priority definitions
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 ** Note that RVM_EXPL_TASK_PRIORITY is used for testing purpose (refer to RTEST).
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 ** Hence, users have to make sure that such a priority is lower than the software
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 ** entity under test, not to starve the system.
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 */
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 #define RVM_EXPL_TASK_PRIORITY (242)
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 #define RVM_RGUI_TASK_PRIORITY (240)
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 #define RVM_R2D_TASK_PRIORITY (239)
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 #define RVM_DEV1_TASK_PRIORITY (245)
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 #define RVM_DEV2_TASK_PRIORITY (245)
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 #define RVM_DEV3_TASK_PRIORITY (245)
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 #define RVM_UVM_TASK_PRIORITY (245)
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 #define RVM_BTU_TASK_PRIORITY (248) /* was 240 */
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 #define RVM_BTUI_TASK_PRIORITY (240)
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 #define RVM_BTA_TASK_PRIORITY (248) /* rl: was 200 */
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 #define RVM_BTH_TASK_PRIORITY (200)
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54
234
0faa72eaedcb give FCBM task a more carefully chosen priority
Mychaela Falconia <falcon@freecalypso.org>
parents: 229
diff changeset
55 #define RVM_FCBM_TASK_PRIORITY (238)
229
7ec0ae23ce76 rvm_ext_priorities.h: add FCBM
Mychaela Falconia <falcon@freecalypso.org>
parents: 228
diff changeset
56
293
2d7d95e7f9c2 RVM USE ID and priority definitions for upcoming BUZM & VIBR SWEs
Mychaela Falconia <falcon@freecalypso.org>
parents: 234
diff changeset
57 #define RVM_BUZM_TASK_PRIORITY (245)
2d7d95e7f9c2 RVM USE ID and priority definitions for upcoming BUZM & VIBR SWEs
Mychaela Falconia <falcon@freecalypso.org>
parents: 234
diff changeset
58 #define RVM_VIBR_TASK_PRIORITY (245)
2d7d95e7f9c2 RVM USE ID and priority definitions for upcoming BUZM & VIBR SWEs
Mychaela Falconia <falcon@freecalypso.org>
parents: 234
diff changeset
59
0
4e78acac3d88 src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 #endif /* __RVM_EXT_PRIORITIES_H_ */