# HG changeset patch # User Mychaela Falconia # Date 1639972321 0 # Node ID 94e8a410d6bde4866bee8148a30aac3caa2940f1 # Parent 8e26cb57c7f8a74fdf20062eb24d122658ca02b6 fc-rfcal-txcheck: pass PCL to tester (txpwr-cal-pcl) diff -r 8e26cb57c7f8 -r 94e8a410d6bd autocal/txpwrmeas.c --- a/autocal/txpwrmeas.c Mon Dec 20 03:29:23 2021 +0000 +++ b/autocal/txpwrmeas.c Mon Dec 20 03:52:01 2021 +0000 @@ -18,6 +18,16 @@ return(0); } +pass_pcl_to_tester(pcl) + unsigned pcl; +{ + char cmd[80]; + + sprintf(cmd, "txpwr-cal-pcl %u\n", pcl); + tsid_command(cmd); + return(0); +} + double tx_power_meas() { diff -r 8e26cb57c7f8 -r 94e8a410d6bd autocal/txstandchk.c --- a/autocal/txstandchk.c Mon Dec 20 03:29:23 2021 +0000 +++ b/autocal/txstandchk.c Mon Dec 20 03:52:01 2021 +0000 @@ -86,6 +86,7 @@ for (plnum = selected_band->start_plnum; plnum <= selected_band->end_plnum; plnum++, spec_dbm -= 2) { do_txpw(TX_PWR_LEVEL, plnum); + pass_pcl_to_tester(plnum); usleep(20000); meas = tx_power_meas(); printf(