FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/tm_include/l1tm_defty.h @ 745:74cfa6727aa3
rr_srv.c compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 05 Oct 2014 22:38:19 +0000 |
parents | 57ad8f4d5cb5 |
children |
rev | line source |
---|---|
519
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /************* Revision Controle System Header ************* |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 * GSM Layer 1 software |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 * L1TM_DEFTY.H |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 * |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 * Filename l1tm_defty.h |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 * Copyright 2003 (C) Texas Instruments |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 * |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 ************* Revision Controle System Header *************/ |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 // Max size of data portion of a testmode packet |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 #define TM_PAYLOAD_UPLINK_SIZE_MAX 128 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 // CID, STATUS and CHECKSUM |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 #define TM_UPLINK_PACKET_OVERHEAD 3 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 typedef struct |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 { |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 UWORD32 toa_sum; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 UWORD32 toa_sq_sum; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 UWORD32 toa_recent; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 UWORD32 pm_sum; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 UWORD32 pm_sq_sum; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 UWORD16 pm_recent; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 WORD16 angle_sum; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 UWORD32 angle_sq_sum; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 WORD16 angle_min; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 WORD16 angle_max; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 WORD16 angle_recent; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 UWORD32 snr_sum; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 UWORD32 snr_sq_sum; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 UWORD32 snr_recent; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 UWORD8 rssi_fifo[4]; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 UWORD8 rssi_recent; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 WORD32 loop_count; //Must be signed for divide operation in statistics!!! |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 WORD32 flag_count; //Must be signed for divide operation in statistics!!! |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 UWORD32 flag_recent; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 UWORD8 bsic; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 UWORD32 fn; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 UWORD32 qual_acc_full; // Fullset: accu. rxqual meas. |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 UWORD32 qual_nbr_meas_full; // Fullset: nbr meas. of rxqual. |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 #if L1_GPRS |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 UWORD8 nb_dl_pdtch_slots; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 #endif |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 } |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 T_TM_STATS; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 typedef struct |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
49 { |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
50 UWORD8 dedicated_active; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 UWORD32 rx_counter; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
52 UWORD16 num_bcchs; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
53 #if L1_GPRS |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
54 BOOL packet_transfer_active; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
55 #endif |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
56 } |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
57 T_TM_STATE; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
58 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
59 typedef struct |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
60 { |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
61 UWORD16 prbs1_seed; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
62 // UWORD16 prbs2_seed; //for future use |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
63 } |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
64 T_TM_PRBS; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
65 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
66 // Global TM variable |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
67 typedef struct |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
68 { |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
69 BOOL tm_msg_received; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
70 T_TM_STATS tmode_stats; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
71 T_TM_STATE tmode_state; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
72 T_TM_PRBS tmode_prbs; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
73 } |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
74 T_L1TM_GLOBAL; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
75 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
76 typedef struct |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
77 { |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
78 UWORD16 bcch_arfcn; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
79 UWORD16 tch_arfcn; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
80 UWORD16 mon_arfcn; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
81 #if L1_GPRS |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
82 UWORD16 pdtch_arfcn; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
83 UWORD8 multislot_class; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
84 #endif |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
85 UWORD8 down_up; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
86 UWORD8 channel_type; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
87 UWORD8 subchannel; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
88 UWORD8 tmode_continuous; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
89 UWORD8 reload_ramps_flag; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
90 BOOL mon_report; //Used to determine wether RX stats are done in Monitor channel or TCH channel |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
91 BOOL mon_tasks; //Used to enable tasks associated with Monitor Channel |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
92 } |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
93 T_TM_RF_PARAMS; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
94 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
95 typedef struct |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
96 { |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
97 UWORD8 slot_num; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
98 WORD8 agc; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
99 WORD8 lna_off; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
100 UWORD8 number_of_measurements; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
101 UWORD8 place_of_measurement; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
102 BOOL pm_enable; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
103 UWORD8 rssi_band; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
104 #if L1_GPRS |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
105 UWORD8 timeslot_alloc; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
106 UWORD8 coding_scheme; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
107 #endif |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
108 } |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
109 T_TM_RX_PARAMS; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
110 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
111 typedef struct |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
112 { |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
113 UWORD8 tsc; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
114 UWORD8 txpwr; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
115 UWORD8 txpwr_skip; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
116 UWORD8 timing_advance; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
117 UWORD8 burst_type; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
118 UWORD8 burst_data; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
119 #if L1_GPRS |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
120 UWORD8 timeslot_alloc; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
121 UWORD8 txpwr_gprs[8]; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
122 UWORD8 coding_scheme; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
123 UWORD8 rlc_buffer_size; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
124 UWORD16 rlc_buffer[27]; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
125 #endif |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
126 } |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
127 T_TM_TX_PARAMS; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
128 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
129 typedef struct |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
130 { |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
131 UWORD32 num_loops; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
132 UWORD32 auto_result_loops; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
133 UWORD32 auto_reset_loops; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
134 UWORD8 stat_type; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
135 UWORD16 stat_bitmask; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
136 #if L1_GPRS |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
137 UWORD8 stat_gprs_slots; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
138 #endif |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
139 } |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
140 T_TM_STATS_CONFIG; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
141 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
142 typedef struct |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
143 { |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
144 T_TM_RF_PARAMS rf_params; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
145 T_TM_RX_PARAMS rx_params; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
146 T_TM_TX_PARAMS tx_params; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
147 T_TM_STATS_CONFIG stats_config; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
148 } |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
149 T_TM_PARAMS; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
150 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
151 typedef struct |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
152 { |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
153 UWORD8 cid; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
154 UWORD8 index; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
155 UWORD8 status; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
156 UWORD16 size; // size of result[] array |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
157 UWORD8 result[TM_PAYLOAD_UPLINK_SIZE_MAX]; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
158 } |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
159 T_TM_RETURN; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
160 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
161 typedef struct |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
162 { |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
163 UWORD8 cid; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
164 UWORD8 index; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
165 UWORD8 status; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
166 UWORD16 size; // size of result[] array |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
167 UWORD8 result[5]; |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
168 } |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
169 T_TM_RETURN_ABBREV; |