annotate rvinterf/include/l1tm.h @ 700:db9a8e88e63f

target-utils lunadrv program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 May 2020 02:19:51 +0000
parents cae9cb333c2c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
116
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * This header file contains various definitions for talking to the
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * L1TM firmware component.
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 */
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 enum RF_PARAM
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 {
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 BCCH_ARFCN = 1,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 TCH_ARFCN = 2,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 MON_ARFCN = 3,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 PDTCH_ARFCN = 4,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 STD_BAND_FLAG = 7,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 AFC_ENA_FLAG = 8,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 AFC_DAC_VALUE = 9,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 INITIAL_AFC_DAC = 10,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 MULTISLOT_CLASS = 20
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 };
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 enum RF_TABLE
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 {
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 RX_AGC_TABLE = 8,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 AFC_PARAMS = 9,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 RX_AGC_GLOBAL_PARAMS = 12,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 RX_IL_2_AGC_MAX = 13,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 RX_IL_2_AGC_PWR = 14,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 RX_IL_2_AGC_AV = 15,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 TX_LEVELS = 16, // 16=GSM900, 32=DCS1800, 48=PCS1900
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 TX_CAL_CHAN = 17, // 17=GSM900, 33=DCS1800, 49=PCS1900
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 TX_CAL_TEMP = 20, // 20=GSM900, 36=DCS1800, 52=PCS1900
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 TX_CAL_EXTREME = 19, // 19=GSM900, 35=DCS1800, 51=PCS1900
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 RX_CAL_CHAN = 25, // 25=GSM900, 41=DCS1800, 57=PCS1900
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 RX_CAL_TEMP = 26, // 26=GSM900, 42=DCS1800, 58=PCS1900
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 RX_CAL_LEVEL = 27, // 27=GSM900, 43=DCS1800, 59=PCS1900
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 RX_AGC_PARAMS = 31, // 31=GSM900, 47=DCS1800, 63=PCS1900
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 RX_AGC_PARAMS_PCS = 63,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 TX_DATA_BUFFER = 80,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 RLC_TX_BUFFER_CS1 = 81,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 RLC_TX_BUFFER_CS2 = 82,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 RLC_TX_BUFFER_CS3 = 83,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 RLC_TX_BUFFER_CS4 = 84
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 };
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 enum RX_PARAM
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 {
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 RX_AGC_GAIN = 1,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 RX_TIMESLOT = 2,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 RX_AGC_ENA_FLAG = 8,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 RX_PM_ENABLE = 9,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 RX_FRONT_DELAY = 10,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 RX_FLAGS_CAL = 14,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 RX_FLAGS_PLATFORM = 15,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 RX_FLAGS_IQ_SWAP = 17,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 RX_FLAGS_ALL = 18,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 RX_GPRS_SLOTS = 28,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 RX_GPRS_CODING = 29
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 };
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 enum TX_PARAM
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 {
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 TX_PWR_LEVEL = 1,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 TX_APC_DAC = 4,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 TX_RAMP_TEMPLATE = 5,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 TX_CHAN_CAL_TABLE = 6,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 TX_RESERVED = 7,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 TX_BURST_TYPE = 8,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 TX_BURST_DATA = 9,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 TX_TIMING_ADVANCE = 10,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 TX_TRAINING_SEQ = 11,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 TX_PWR_SKIP = 13,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 TX_FLAGS_CAL = 14,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 TX_FLAGS_PLATFORM = 15,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 TX_FLAGS_IQ_SWAP = 17,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 TX_FLAGS_ALL = 18,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 TX_GPRS_POWER0 = 20,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 TX_GPRS_POWER1 = 21,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 TX_GPRS_POWER2 = 22,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 TX_GPRS_POWER3 = 23,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 TX_GPRS_POWER4 = 24,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 TX_GPRS_POWER5 = 25,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 TX_GPRS_POWER6 = 26,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 TX_GPRS_POWER7 = 27,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 TX_GPRS_SLOTS = 28,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 TX_GPRS_CODING = 29
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 };
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 enum MISC_PARAM
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 {
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 GPIOSTATE0 = 8,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 GPIODIR0 = 9,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90 GPIOSTATE1 = 10,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 GPIODIR1 = 11,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 GPIOSTATE0P = 12,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93 GPIODIR0P = 13,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94 GPIOSTATE1P = 14,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 GPIODIR1P = 15,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96 ADC_INTERVAL = 18,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 ADC_ENA_FLAG = 19,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98 CONVERTED_ADC0 = 20,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99 CONVERTED_ADC1 = 21,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
100 CONVERTED_ADC2 = 22,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
101 CONVERTED_ADC3 = 23,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
102 CONVERTED_ADC4 = 24,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
103 CONVERTED_ADC5 = 25,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
104 CONVERTED_ADC6 = 26,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
105 CONVERTED_ADC7 = 27,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106 CONVERTED_ADC8 = 28,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107 RAW_ADC0 = 30,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108 RAW_ADC1 = 31,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
109 RAW_ADC2 = 32,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
110 RAW_ADC3 = 33,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
111 RAW_ADC4 = 34,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
112 RAW_ADC5 = 35,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
113 RAW_ADC6 = 36,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
114 RAW_ADC7 = 37,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
115 RAW_ADC8 = 38,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
116 ADC0_COEFF_A = 50,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
117 ADC1_COEFF_A = 51,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
118 ADC2_COEFF_A = 52,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
119 ADC3_COEFF_A = 53,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
120 ADC4_COEFF_A = 54,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
121 ADC5_COEFF_A = 55,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
122 ADC6_COEFF_A = 56,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
123 ADC7_COEFF_A = 57,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
124 ADC8_COEFF_A = 58,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
125 ADC0_COEFF_B = 60,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
126 ADC1_COEFF_B = 61,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
127 ADC2_COEFF_B = 62,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
128 ADC3_COEFF_B = 63,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
129 ADC4_COEFF_B = 64,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
130 ADC5_COEFF_B = 65,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
131 ADC6_COEFF_B = 66,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
132 ADC7_COEFF_B = 67,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
133 ADC8_COEFF_B = 68,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
134 SLEEP_MODE = 80,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
135 CURRENT_TM_MODE = 127
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
136 };
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
137
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
138 enum STATS_CONFIG
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
139 {
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
140 LOOPS = 16,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
141 AUTO_RESULT_LOOPS = 17,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
142 AUTO_RESET_LOOPS = 18,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
143 STAT_GPRS_SLOTS = 20,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
144 STAT_TYPE = 24,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
145 STAT_BITMASK = 25
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
146 };
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
147
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
148 enum STATS_READ
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
149 {
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
150 ACCUMULATED_RX_STATS = 1,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
151 MOST_RECENT_RX_STATS = 2
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
152 };
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
153
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
154 enum BITMASK
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
155 {
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
156 RSSI = 0x0001,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
157 DSP_PM = 0x0002,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
158 ANGLE_MEAN = 0x0004,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
159 ANGLE_VAR = 0x0008,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
160 SNR_MEAN = 0x0010,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
161 SNR_VAR = 0x0020,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
162 TOA_MEAN = 0x0040,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
163 TOA_VAR = 0x0080,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
164 RESERVED1 = 0x0100,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
165 RESERVED2 = 0x0200,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
166 ANGLE_MIN = 0x0400,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
167 ANGLE_MAX = 0x0800,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
168 FRAME_NUMBER = 0x1000,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
169 RUNS = 0x2000,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
170 SUCCESSES = 0x4000,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
171 BSIC = 0x8000
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
172 };
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
173
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
174 enum RF_ENABLE_E
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
175 {
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
176 STOP_ALL = 0,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
177 RX_TCH = 1,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
178 TX_TCH = 2,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
179 RX_TX_TCH = 3,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
180 RX_TX_PDTCH = 4,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
181 RX_TCH_CONT = 8,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
182 TX_TCH_CONT = 9,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
183 BCCH_LOOP = 10,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
184 SB_LOOP = 11,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
185 FB1_LOOP = 12,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
186 FB0_LOOP = 13,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
187 SINGLE_PM = 15,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
188 RX_TX_PDTCH_MON = 16,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
189 RX_TX_MON_TCH = 19,
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
190 RX_TX_MON = 27
3eb75280b38b rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
191 };
121
4070847293a9 fc-tmsh: RF table reading code implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 116
diff changeset
192
131
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
193 enum ME_CFG_WRITE_E
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
194 {
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
195 CFG_WRITE_MKDIRS = 100,
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
196 CFG_WRITE_RF_CAL = 102,
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
197 CFG_WRITE_RF_CFG = 103,
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
198 CFG_WRITE_TX_CAL = 104,
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
199 CFG_WRITE_TX_CFG = 105,
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
200 CFG_WRITE_RX_CAL = 106,
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
201 CFG_WRITE_RX_CFG = 107,
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
202 CFG_WRITE_SYS_CAL = 108,
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
203 CFG_WRITE_SYS_CFG = 109
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
204 };
cae9cb333c2c fc-tmsh: me command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 121
diff changeset
205
121
4070847293a9 fc-tmsh: RF table reading code implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 116
diff changeset
206 #define MAX_RF_TABLE_SIZE 128