comparison autocal/txbandmain.c @ 80:b0da2db4e36b

fc-rfcal-txband: basis run implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Jul 2017 21:22:38 +0000
parents 3f63e71b6422
children 83b24a1dfd4a
comparison
equal deleted inserted replaced
79:394daa4ad6e8 80:b0da2db4e36b
22 {214, 229, 222}, 22 {214, 229, 222},
23 {230, 251, 241} 23 {230, 251, 241}
24 }; 24 };
25 25
26 struct tx_calchan_range tx_calchan_900[] = { 26 struct tx_calchan_range tx_calchan_900[] = {
27 { 0, 27, 14}, 27 { 0, 27, 14},
28 { 28, 47, 40}, 28 { 28, 47, 40},
29 { 48, 66, 57}, 29 { 48, 66, 57},
30 { 67, 85, 76}, 30 { 67, 85, 76},
31 { 86, 104, 95}, 31 { 86, 104, 95},
32 { 105, 124, 114}, 32 {105, 124, 114},
33 { 975, 994, 985}, 33 {975, 994, 985},
34 { 995, 1023, 1009} 34 {995, 1023, 1009}
35 }; 35 };
36 36
37 struct tx_calchan_range tx_calchan_1800[] = { 37 struct tx_calchan_range tx_calchan_1800[] = {
38 {512, 553, 533}, 38 {512, 553, 533},
39 {554, 594, 574}, 39 {554, 594, 574},
113 do_rfpw(STD_BAND_FLAG, txcal_band->rfpw_std_band); 113 do_rfpw(STD_BAND_FLAG, txcal_band->rfpw_std_band);
114 do_rfpw(TCH_ARFCN, txcal_band->main_arfcn); 114 do_rfpw(TCH_ARFCN, txcal_band->main_arfcn);
115 do_rfpw(AFC_ENA_FLAG, 0); 115 do_rfpw(AFC_ENA_FLAG, 0);
116 116
117 /* any previous calchan needs to be cleared out first */ 117 /* any previous calchan needs to be cleared out first */
118 printf("Initializing calchan table\n");
118 init_tx_calchan(); 119 init_tx_calchan();
119 upload_tx_calchan(); 120 upload_tx_calchan();
121 /* run the basis measurements */
122 txcal_basis_run();
120 123
121 124
122 } 125 }