FreeCalypso > hg > fc-rfcal-tools
annotate autocal/txband.h @ 90:713749548df6
fc-rfcal-tri900 script and fc-rfcal-tee helper implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 17 Jul 2017 05:51:31 +0000 |
parents | 93653fe9b4ef |
children | ae8da516681c |
rev | line source |
---|---|
72
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* internal structures for fc-rfcal-txband */ |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 struct tx_calchan_range { |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 unsigned lower_bound; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 unsigned upper_bound; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 unsigned test_arfcn; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 }; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 struct txcal_band { |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 char *name; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 unsigned rfpw_std_band; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 unsigned main_arfcn; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 unsigned start_plnum; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 unsigned end_plnum; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 struct tx_calchan_range *calchan_ranges; |
75
93653fe9b4ef
fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
72
diff
changeset
|
16 unsigned ref_subband; |
72
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 }; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 #define MAX_BASIS_POINTS 15 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 #define MAX_TX_LEVELS 16 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 typedef double vout_t; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 struct tx_basis_point { |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 unsigned apc; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 vout_t vout; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 vout_t slope; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 }; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 struct tx_level { |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 double target; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 unsigned apc; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 vout_t slope; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 }; |