comparison src/cs/layer1/p_include/l1p_sign.h @ 0:b6a5e36de839

src/cs: initial import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 04:39:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:b6a5e36de839
1 /************* Revision Controle System Header *************
2 * GSM Layer 1 software
3 * L1P_SIGN.H
4 *
5 * Filename l1p_sign.h
6 * Copyright 2003 (C) Texas Instruments
7 *
8 ************* Revision Controle System Header *************/
9
10 #define P_GPRS ( P_L1C + 2 )
11
12 // Messages Packet Transfer <-> L1A
13 #define MPHP_SINGLE_BLOCK_REQ ( ( P_GPRS << 8 ) | 1 )
14 #define MPHP_SINGLE_BLOCK_CON ( ( P_GPRS << 8 ) | 2 )
15 #define MPHP_STOP_SINGLE_BLOCK_REQ ( ( P_GPRS << 8 ) | 3 )
16 #define MPHP_STOP_SINGLE_BLOCK_CON ( ( P_GPRS << 8 ) | 4 )
17 #define L1P_SINGLE_BLOCK_CON ( ( P_GPRS << 8 ) | 5 )
18
19 #define MPHP_ASSIGNMENT_REQ ( ( P_GPRS << 8 ) | 6 )
20 #define MPHP_ASSIGNMENT_CON ( ( P_GPRS << 8 ) | 7 )
21
22 #define MPHP_TBF_RELEASE_REQ ( ( P_GPRS << 8 ) | 8 )
23 #define MPHP_TBF_RELEASE_CON ( ( P_GPRS << 8 ) | 9 )
24
25 #define MPHP_REPEAT_UL_FIXED_ALLOC_REQ ( ( P_GPRS << 8 ) | 10 )
26 #define MPHP_REPEAT_UL_FIXED_ALLOC_CON ( ( P_GPRS << 8 ) | 11 )
27
28 #define MPHP_PDCH_RELEASE_REQ ( ( P_GPRS << 8 ) | 12 )
29 #define MPHP_PDCH_RELEASE_CON ( ( P_GPRS << 8 ) | 13 )
30
31 #define MPHP_TIMING_ADVANCE_REQ ( ( P_GPRS << 8 ) | 14 )
32 #define MPHP_TIMING_ADVANCE_CON ( ( P_GPRS << 8 ) | 15 )
33
34 #define MPHP_UPDATE_PSI_PARAM_REQ ( ( P_GPRS << 8 ) | 16 )
35 #define MPHP_UPDATE_PSI_PARAM_CON ( ( P_GPRS << 8 ) | 17 )
36
37
38 #define MPHP_RA_REQ ( ( P_GPRS << 8 ) | 18 )
39 #define MPHP_RA_CON ( ( P_GPRS << 8 ) | 19 )
40 #define MPHP_RA_STOP_REQ ( ( P_GPRS << 8 ) | 20 )
41 #define MPHP_RA_STOP_CON ( ( P_GPRS << 8 ) | 21 )
42
43 #define MPHP_POLLING_RESPONSE_REQ ( ( P_GPRS << 8 ) | 22 )
44 #define MPHP_POLLING_IND ( ( P_GPRS << 8 ) | 23 )
45
46 #define L1P_RA_DONE ( ( P_GPRS << 8 ) | 24 )
47
48 // Messages Packet Idle <-> L1A
49 #define MPHP_START_PCCCH_REQ ( ( P_GPRS << 8 ) | 25 )
50 #define MPHP_STOP_PCCCH_REQ ( ( P_GPRS << 8 ) | 26 )
51 #define MPHP_STOP_PCCCH_CON ( ( P_GPRS << 8 ) | 27 )
52 #define MPHP_SCELL_PBCCH_REQ ( ( P_GPRS << 8 ) | 28 )
53 #define MPHP_SCELL_PBCCH_STOP_REQ ( ( P_GPRS << 8 ) | 29 )
54 #define MPHP_SCELL_PBCCH_STOP_CON ( ( P_GPRS << 8 ) | 30 )
55 #define MPHP_CR_MEAS_REQ ( ( P_GPRS << 8 ) | 31 )
56 #define MPHP_CR_MEAS_STOP_REQ ( ( P_GPRS << 8 ) | 32 )
57 #define MPHP_CR_MEAS_STOP_CON ( ( P_GPRS << 8 ) | 33 )
58 #define MPHP_INT_MEAS_REQ ( ( P_GPRS << 8 ) | 34 )
59 #define MPHP_INT_MEAS_STOP_REQ ( ( P_GPRS << 8 ) | 35 )
60 #define MPHP_INT_MEAS_STOP_CON ( ( P_GPRS << 8 ) | 36 )
61 #define MPHP_NCELL_PBCCH_REQ ( ( P_GPRS << 8 ) | 37 )
62 #define MPHP_NCELL_PBCCH_STOP_REQ ( ( P_GPRS << 8 ) | 38 )
63 #define MPHP_NCELL_PBCCH_STOP_CON ( ( P_GPRS << 8 ) | 39 )
64
65 #define MPHP_DATA_IND ( ( P_GPRS << 8 ) | 40 )
66 #define MPHP_CR_MEAS_IND ( ( P_GPRS << 8 ) | 41 )
67 #define MPHP_INT_MEAS_IND ( ( P_GPRS << 8 ) | 42 )
68 #define MPHP_TINT_MEAS_IND ( ( P_GPRS << 8 ) | 43 )
69 #define MPHP_NCELL_PBCCH_IND ( ( P_GPRS << 8 ) | 44 )
70 #define MPHP_TCR_MEAS_REQ ( ( P_GPRS << 8 ) | 45 )
71 #define MPHP_TCR_MEAS_IND ( ( P_GPRS << 8 ) | 46 )
72 #define MPHP_TCR_MEAS_STOP_REQ ( ( P_GPRS << 8 ) | 47 )
73 #define MPHP_TCR_MEAS_STOP_CON ( ( P_GPRS << 8 ) | 48 )
74
75 /*** L1S -> L1A communication ***/
76 #define L1P_PALLC_INFO ( ( P_GPRS << 8) | 49)
77 #define L1P_PNP_INFO ( ( P_GPRS << 8) | 50)
78 #define L1P_PEP_INFO ( ( P_GPRS << 8) | 51)
79 #define L1P_PBCCHS_INFO ( ( P_GPRS << 8) | 52)
80 #define L1P_PACCH_INFO ( ( P_GPRS << 8) | 53)
81 #define L1P_CR_MEAS_DONE ( ( P_GPRS << 8) | 54)
82 #define L1P_TRANSFER_DONE ( ( P_GPRS << 8) | 55)
83 #define L1P_TCR_MEAS_DONE ( ( P_GPRS << 8) | 56)
84 #define L1P_TBF_RELEASED ( ( P_GPRS << 8) | 57)
85 #define L1P_ITMEAS_IND ( ( P_GPRS << 8) | 58)
86 #define L1P_POLL_DONE ( ( P_GPRS << 8) | 59)
87 #define L1P_PDCH_RELEASED ( ( P_GPRS << 8) | 60)
88 #define L1P_TA_CONFIG_DONE ( ( P_GPRS << 8) | 61)
89 #define L1P_PBCCHN_INFO ( ( P_GPRS << 8) | 62)
90 #define L1P_REPEAT_ALLOC_DONE ( ( P_GPRS << 8) | 63)
91 #define L1P_ALLOC_EXHAUST_DONE ( ( P_GPRS << 8) | 64)
92