diff 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
line wrap: on
line diff
--- a/autocal/txbandmain.c	Tue Feb 13 04:39:33 2018 +0000
+++ b/autocal/txbandmain.c	Tue Feb 13 05:06:28 2018 +0000
@@ -56,12 +56,24 @@
 	{783, 810, 796}
 };
 
+unsigned tx_calchan_low_selections[] = {0,0,0, 1,1,1,1, 2,2,2,2, 3,3,3,3};
+
+unsigned tx_calchan_low_plnum[] = {5, 8, 12, 16};
+
+unsigned tx_calchan_high_selections[] = {0,0,0,0, 1,1,1,1, 2,2,2,2, 3,3,3,3};
+
+unsigned tx_calchan_high_plnum[] = {0, 4, 8, 12};
+
 struct txcal_band txcal_band_list[] = {
-	{"850",  RFPW_STD_BAND_850,  190, 5, 19, tx_calchan_850,  4},
-	{"900",  RFPW_STD_BAND_900,   40, 5, 19, tx_calchan_900,  1},
-	{"1800", RFPW_STD_BAND_1800, 700, 0, 15, tx_calchan_1800, 4},
-	{"1900", RFPW_STD_BAND_1900, 660, 0, 15, tx_calchan_1900, 3},
-	{0,	 0,		     0,   0, 0,  0,               0}
+	{"850",  RFPW_STD_BAND_850,  190, 5, 19, tx_calchan_850,  4,
+		tx_calchan_low_selections, tx_calchan_low_plnum},
+	{"900",  RFPW_STD_BAND_900,   40, 5, 19, tx_calchan_900,  1,
+		tx_calchan_low_selections, tx_calchan_low_plnum},
+	{"1800", RFPW_STD_BAND_1800, 700, 0, 15, tx_calchan_1800, 4,
+		tx_calchan_high_selections, tx_calchan_high_plnum},
+	{"1900", RFPW_STD_BAND_1900, 660, 0, 15, tx_calchan_1900, 3,
+		tx_calchan_high_selections, tx_calchan_high_plnum},
+	{0,	 0,		     0,   0, 0,  0,               0, 0, 0}
 };
 
 struct txcal_band *txcal_band;