FreeCalypso > hg > fc-rfcal-tools
annotate autocal/txband.h @ 74:d388732c2f73
autocal: rxband.c renamed to rxbandmain.c for consistency
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 15 Jul 2017 18:20:48 +0000 |
parents | 2db97ef5e169 |
children | 93653fe9b4ef |
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; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 }; |
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 #define MAX_BASIS_POINTS 15 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 #define MAX_TX_LEVELS 16 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 typedef double vout_t; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 struct tx_basis_point { |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 unsigned apc; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 vout_t vout; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 vout_t slope; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 }; |
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 struct tx_level { |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 double target; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 unsigned apc; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 vout_t slope; |
2db97ef5e169
autocal: started defining structures for fc-rfcal-txband
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 }; |