comparison autocal/txbandmain.c @ 114:ae8da516681c

fc-rfcal-txband: data struct preparation for channel calibration
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 13 Feb 2018 05:06:28 +0000
parents 661d122ed8e7
children 4ce87a30383f
comparison
equal deleted inserted replaced
113:01bae2629ffd 114:ae8da516681c
54 {727, 754, 740}, 54 {727, 754, 740},
55 {755, 782, 768}, 55 {755, 782, 768},
56 {783, 810, 796} 56 {783, 810, 796}
57 }; 57 };
58 58
59 unsigned tx_calchan_low_selections[] = {0,0,0, 1,1,1,1, 2,2,2,2, 3,3,3,3};
60
61 unsigned tx_calchan_low_plnum[] = {5, 8, 12, 16};
62
63 unsigned tx_calchan_high_selections[] = {0,0,0,0, 1,1,1,1, 2,2,2,2, 3,3,3,3};
64
65 unsigned tx_calchan_high_plnum[] = {0, 4, 8, 12};
66
59 struct txcal_band txcal_band_list[] = { 67 struct txcal_band txcal_band_list[] = {
60 {"850", RFPW_STD_BAND_850, 190, 5, 19, tx_calchan_850, 4}, 68 {"850", RFPW_STD_BAND_850, 190, 5, 19, tx_calchan_850, 4,
61 {"900", RFPW_STD_BAND_900, 40, 5, 19, tx_calchan_900, 1}, 69 tx_calchan_low_selections, tx_calchan_low_plnum},
62 {"1800", RFPW_STD_BAND_1800, 700, 0, 15, tx_calchan_1800, 4}, 70 {"900", RFPW_STD_BAND_900, 40, 5, 19, tx_calchan_900, 1,
63 {"1900", RFPW_STD_BAND_1900, 660, 0, 15, tx_calchan_1900, 3}, 71 tx_calchan_low_selections, tx_calchan_low_plnum},
64 {0, 0, 0, 0, 0, 0, 0} 72 {"1800", RFPW_STD_BAND_1800, 700, 0, 15, tx_calchan_1800, 4,
73 tx_calchan_high_selections, tx_calchan_high_plnum},
74 {"1900", RFPW_STD_BAND_1900, 660, 0, 15, tx_calchan_1900, 3,
75 tx_calchan_high_selections, tx_calchan_high_plnum},
76 {0, 0, 0, 0, 0, 0, 0, 0, 0}
65 }; 77 };
66 78
67 struct txcal_band *txcal_band; 79 struct txcal_band *txcal_band;
68 char *txlevels_profile; 80 char *txlevels_profile;
69 81