comparison src/cs/layer1/include/l1_signa.h @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
1 /************* Revision Controle System Header *************
2 * GSM Layer 1 software
3 * L1_SIGNA.H
4 *
5 * Filename l1_signa.h
6 * Copyright 2003 (C) Texas Instruments
7 *
8 ************* Revision Controle System Header *************/
9
10 #define P_L1C 0
11 #define P_DLL ( P_L1C + 1 )
12
13 // Messages Test/PWRMNGT <-> L1A
14
15 #if (OP_L1_STANDALONE == 1)
16 /* Message used for hardware dynamic configuration */
17 #define TST_HW_CONFIG_REQ ( ( P_L1C << 8 ) | 116)
18 #endif
19
20 #define TST_TEST_HW_REQ ( ( P_L1C << 8 ) | 1 )
21 #define TST_TEST_HW_CON ( ( P_L1C << 8 ) | 2 )
22 #define TST_TIMESTAMP_MSG ( ( P_L1C << 8 ) | 3 )
23 #define TST_SLEEP_REQ ( ( P_L1C << 8 ) | 4 )
24
25
26 // Messages L3 <-> L1A
27 #define MPHC_RXLEV_REQ ( ( P_L1C << 8 ) | 11 )
28 #define MPHC_RXLEV_IND ( ( P_L1C << 8 ) | 12 )
29
30 #define MPHC_STOP_RXLEV_REQ ( ( P_L1C << 8 ) | 13 )
31 #define MPHC_STOP_RXLEV_CON ( ( P_L1C << 8 ) | 14 )
32
33 #define MPHC_NETWORK_SYNC_REQ ( ( P_L1C << 8 ) | 15 )
34 #define MPHC_NETWORK_SYNC_IND ( ( P_L1C << 8 ) | 16 )
35
36 #define MPHC_STOP_NETWORK_SYNC_REQ ( ( P_L1C << 8 ) | 17 )
37 #define MPHC_STOP_NETWORK_SYNC_CON ( ( P_L1C << 8 ) | 18 )
38
39 #define MPHC_NEW_SCELL_REQ ( ( P_L1C << 8 ) | 19 )
40 #define MPHC_NEW_SCELL_CON ( ( P_L1C << 8 ) | 20 )
41
42 #define MPHC_START_CCCH_REQ ( ( P_L1C << 8 ) | 21 )
43 #define MPHC_STOP_CCCH_REQ ( ( P_L1C << 8 ) | 22 )
44 #define MPHC_STOP_CCCH_CON ( ( P_L1C << 8 ) | 23 )
45
46 #define MPHC_SCELL_NBCCH_REQ ( ( P_L1C << 8 ) | 24 )
47 #define MPHC_SCELL_EBCCH_REQ ( ( P_L1C << 8 ) | 25 )
48 #define MPHC_STOP_SCELL_BCCH_REQ ( ( P_L1C << 8 ) | 26 )
49 #define MPHC_STOP_SCELL_BCCH_CON ( ( P_L1C << 8 ) | 27 )
50
51 #define MPHC_NCELL_BCCH_REQ ( ( P_L1C << 8 ) | 28 )
52 #define MPHC_NCELL_BCCH_IND ( ( P_L1C << 8 ) | 29 )
53 #define MPHC_STOP_NCELL_BCCH_REQ ( ( P_L1C << 8 ) | 30 )
54 #define MPHC_STOP_NCELL_BCCH_CON ( ( P_L1C << 8 ) | 31 )
55
56 #define MPHC_NCELL_SYNC_REQ ( ( P_L1C << 8 ) | 32 )
57 #define MPHC_NCELL_SYNC_IND ( ( P_L1C << 8 ) | 33 )
58 #define MPHC_STOP_NCELL_SYNC_REQ ( ( P_L1C << 8 ) | 34 )
59 #define MPHC_STOP_NCELL_SYNC_CON ( ( P_L1C << 8 ) | 35 )
60
61 #define MPHC_RXLEV_PERIODIC_REQ ( ( P_L1C << 8 ) | 36 )
62 #define MPHC_RXLEV_PERIODIC_IND ( ( P_L1C << 8 ) | 37 )
63 #define MPHC_STOP_RXLEV_PERIODIC_REQ ( ( P_L1C << 8 ) | 38 )
64 #define MPHC_STOP_RXLEV_PERIODIC_CON ( ( P_L1C << 8 ) | 39 )
65
66 #define MPHC_CONFIG_CBCH_REQ ( ( P_L1C << 8 ) | 40 )
67 #define MPHC_CBCH_SCHEDULE_REQ ( ( P_L1C << 8 ) | 41 )
68 #define MPHC_CBCH_UPDATE_REQ ( ( P_L1C << 8 ) | 42 )
69 #define MPHC_CBCH_INFO_REQ ( ( P_L1C << 8 ) | 43 )
70 #define MPHC_STOP_CBCH_REQ ( ( P_L1C << 8 ) | 44 )
71 #define MPHC_STOP_CBCH_CON ( ( P_L1C << 8 ) | 45 )
72
73 #define MPHC_RA_REQ ( ( P_L1C << 8 ) | 46 )
74 #define MPHC_RA_CON ( ( P_L1C << 8 ) | 47 )
75
76 #define MPHC_STOP_RA_REQ ( ( P_L1C << 8 ) | 48 )
77 #define MPHC_STOP_RA_CON ( ( P_L1C << 8 ) | 49 )
78
79 #define MPHC_DATA_IND ( ( P_L1C << 8 ) | 50 )
80
81 #define MPHC_IMMED_ASSIGN_REQ ( ( P_L1C << 8 ) | 51 )
82 #define MPHC_CHANNEL_ASSIGN_REQ ( ( P_L1C << 8 ) | 52 )
83 #define MPHC_ASYNC_HO_REQ ( ( P_L1C << 8 ) | 53 )
84 #define MPHC_SYNC_HO_REQ ( ( P_L1C << 8 ) | 54 )
85 #define MPHC_PRE_SYNC_HO_REQ ( ( P_L1C << 8 ) | 55 )
86 #define MPHC_PSEUDO_SYNC_HO_REQ ( ( P_L1C << 8 ) | 56 )
87 #define MPHC_STOP_DEDICATED_REQ ( ( P_L1C << 8 ) | 57 )
88 #define MPHC_STOP_DEDICATED_CON ( ( P_L1C << 8 ) | 128 )
89
90 #define MPHC_CHANGE_FREQUENCY_CON ( ( P_L1C << 8 ) | 58 )
91 #define MPHC_ASYNC_HO_CON ( ( P_L1C << 8 ) | 59 )
92 #define MPHC_CHANNEL_ASSIGN_CON ( ( P_L1C << 8 ) | 60 )
93 #define MPHC_CHANNEL_MODE_MODIFY_CON ( ( P_L1C << 8 ) | 61 )
94 #define MPHC_HANDOVER_FAIL_CON ( ( P_L1C << 8 ) | 62 )
95 #define MPHC_IMMED_ASSIGN_CON ( ( P_L1C << 8 ) | 63 )
96 #define MPHC_PRE_SYNC_HO_CON ( ( P_L1C << 8 ) | 64 )
97 #define MPHC_SET_CIPHERING_CON ( ( P_L1C << 8 ) | 65 )
98 #define MPHC_SYNC_HO_CON ( ( P_L1C << 8 ) | 66 )
99 #define MPHC_TA_FAIL_IND ( ( P_L1C << 8 ) | 67 )
100
101 #define MPHC_HANDOVER_FINISHED ( ( P_L1C << 8 ) | 68 )
102
103 #define MPHC_CHANGE_FREQUENCY ( ( P_L1C << 8 ) | 69 )
104 #define MPHC_CHANNEL_MODE_MODIFY_REQ ( ( P_L1C << 8 ) | 70 )
105 #define MPHC_HANDOVER_FAIL_REQ ( ( P_L1C << 8 ) | 71 )
106 #define MPHC_SET_CIPHERING_REQ ( ( P_L1C << 8 ) | 72 )
107
108 #define MPHC_MEAS_REPORT ( ( P_L1C << 8 ) | 73 )
109 #define MPHC_UPDATE_BA_LIST ( ( P_L1C << 8 ) | 74 )
110
111 #define MPHC_NCELL_FB_SB_READ ( ( P_L1C << 8 ) | 75 )
112 #define MPHC_NCELL_SB_READ ( ( P_L1C << 8 ) | 76 )
113 #define MPHC_NCELL_BCCH_READ ( ( P_L1C << 8 ) | 77 )
114
115
116
117 // Messages L1S -> L1A
118 #define L1C_VALID_MEAS_INFO ( ( P_L1C << 8 ) | 80 )
119 #define L1C_FB_INFO ( ( P_L1C << 8 ) | 81 )
120 #define L1C_SB_INFO ( ( P_L1C << 8 ) | 82 )
121 #define L1C_SBCONF_INFO ( ( P_L1C << 8 ) | 83 )
122 #define L1C_BCCHS_INFO ( ( P_L1C << 8 ) | 84 )
123 #define L1C_BCCHN_INFO ( ( P_L1C << 8 ) | 85 )
124 #define L1C_NP_INFO ( ( P_L1C << 8 ) | 86 )
125 #define L1C_EP_INFO ( ( P_L1C << 8 ) | 87 )
126 #define L1C_ALLC_INFO ( ( P_L1C << 8 ) | 88 )
127 #define L1C_RXLEV_PERIODIC_DONE ( ( P_L1C << 8 ) | 89 )
128 #define L1C_CB_INFO ( ( P_L1C << 8 ) | 90 )
129 #define L1C_RA_DONE ( ( P_L1C << 8 ) | 91 )
130 #define L1C_SACCH_INFO ( ( P_L1C << 8 ) | 92 )
131 #define L1C_MEAS_DONE ( ( P_L1C << 8 ) | 93 )
132 #define L1C_DEDIC_DONE ( ( P_L1C << 8 ) | 94 )
133 #define L1C_HANDOVER_FINISHED ( ( P_L1C << 8 ) | 95 )
134 #define L1C_REDEF_DONE ( ( P_L1C << 8 ) | 96 )
135 #define L1C_STOP_DEDICATED_DONE ( ( P_L1C << 8 ) | 129 )
136
137 // Messages O&M <-> L1A
138 #define OML1_CLOSE_TCH_LOOP_REQ ( ( P_L1C << 8 ) | 97 )
139 #define OML1_OPEN_TCH_LOOP_REQ ( ( P_L1C << 8 ) | 98 )
140 #define OML1_START_DAI_TEST_REQ ( ( P_L1C << 8 ) | 99 )
141 #define OML1_STOP_DAI_TEST_REQ ( ( P_L1C << 8 ) | 100 )
142
143 #define OML1_CLOSE_TCH_LOOP_CON ( ( P_L1C << 8 ) | 101 )
144 #define OML1_OPEN_TCH_LOOP_CON ( ( P_L1C << 8 ) | 102 )
145 #define OML1_START_DAI_TEST_CON ( ( P_L1C << 8 ) | 103 )
146 #define OML1_STOP_DAI_TEST_CON ( ( P_L1C << 8 ) | 104 )
147
148
149 // Message Custom I/F <- L1S
150 #define CST_ADC_RESULT ( ( P_L1C << 8 ) | 105 )
151
152
153 // Messages for trace
154 #define L1_STATS_REQ ( ( P_L1C << 8 ) | 107 )
155 #define L1_DUMMY_FOR_SIM ( ( P_L1C << 8 ) | 108 )
156
157 #define TRACE_DSP_DEBUG ( ( P_L1C << 8 ) | 106 )
158 #define TRACE_CONFIG ( ( P_L1C << 8 ) | 123 )
159 #define TRACE_CONDENSED_PDTCH ( ( P_L1C << 8 ) | 124 )
160 #define TRACE_INFO ( ( P_L1C << 8 ) | 125 )
161 #define QUICK_TRACE ( ( P_L1C << 8 ) | 126 )
162 #define TRACE_DSP_AMR_DEBUG ( ( P_L1C << 8 ) | 127 )
163
164 #define MPHC_NETWORK_LOST_IND ( ( P_L1C << 8 ) | 110 )
165
166 // Messages MMI <-> L1A
167 #define MMI_ADC_REQ ( ( P_L1C << 8 ) | 111 )
168 #define MMI_STOP_ADC_REQ ( ( P_L1C << 8 ) | 112 )
169 #define MMI_STOP_ADC_CON ( ( P_L1C << 8 ) | 113 )
170
171 #define L1_TEST_HW_INFO ( ( P_L1C << 8 ) | 119 )
172
173 // Multi-band selection E-GSM900/DCS1800/PCS1900/GSM850
174 #define MPHC_INIT_L1_REQ ( ( P_L1C << 8 ) | 114 )
175 #define MPHC_INIT_L1_CON ( ( P_L1C << 8 ) | 115 )
176
177 // MEssage RR -> L1A for Enhanced meas.
178 #if (L1_12NEIGH ==1)
179 #define MPHC_NCELL_LIST_SYNC_REQ ( ( P_L1C << 8 ) | 122 )
180 #endif
181
182 // Messages L2 <-> L1A
183 #define PH_DATA_IND ( ( P_DLL << 8 ) | 109 )
184