Tool/software:
Ric is trying to get ANT1 / ANT2 (ONLY) for radio tuning lab.
1) I did try both the set_antenna_mode_24G and set_antenna_mode_5G commands with all possible combinations.1) I tried 3 ways to disable each antenna. The first was exactly what is written in section 5 of swru562, ANT1 and ANT2 Assembly Validation for Production. The result was that RF was emitted on both antennas no matter the configuration. The results are in this comment on Jira https://eimedical.atlassian.net/browse/ZYN-653?focusedCommentId=12909
2) The second way I tried disabling either antenna was by changing the antenna gain calculation in the set_tx_power command. This is in section 3.4 of swru562, Set TX Power. For 2.4GHz this changes which antenna has higher emissions, but both antennas still transmit. For 5GHz there is no effect on the output and both antennas transmit. The 2.4GHz results can be seen in this comment on Jira https://eimedical.atlassian.net/browse/ZYN-653?focusedCommentId=12911
The commands used for this test with 2.4GHz are
calibrator wlan0 plt power_mode on
calibrator wlan0 wl18xx_plt tune_channel ${CHANNEL} 0 1
calibrator wlan0 wl18xx_plt set_tx_power 20000 0 0 ${CHANNEL} 0 ${ANTENNA} 0 1 0 0 0 0
calibrator wlan0 wl18xx_plt start_tx 400 19 3000 0 0 1 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0
The commands used for this test with 5GHz are
calibrator wlan0 plt power_mode on
calibrator wlan0 wl18xx_plt tune_channel ${CHANNEL} 1 1
calibrator wlan0 wl18xx_plt set_tx_power 20000 0 1 ${CHANNEL} 0 ${ANTENNA} 0 1 0 0 0 0
calibrator wlan0 wl18xx_plt set_antenna_mode_5G 1 1 0 1
calibrator wlan0 wl18xx_plt start_tx 400 19 3000 0 0 0 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0
CHANNEL is the 2.4GHz (1-11) or 5GHz (36-177) channel and ANTENNA is one of the values from section 3.4.
3) The third way I tried disabling either antenna was by using the set_antenna_mode_24G and set_antenna_mode_5G commands. This had the same result as the first way, section 5. Both antennas transmit at 2.4GHz, one with higher emission than the other regardless of what values are set with set_antenna_mode_24G. Both antennas also transmit at 5GHz, but at the same level, and there is no change. I tried all possible combinations of these commands, even those not listed as valid in swru562.
The commands used for this test with 2.4GHz are
calibrator wlan0 plt power_mode on
calibrator wlan0 wl18xx_plt tune_channel ${CHANNEL} 0 1
calibrator wlan0 wl18xx_plt set_tx_power 20000 0 0 ${CHANNEL} 0 0 0 1 0 0 0 0
calibrator wlan0 wl18xx_plt set_antenna_mode_24G 2 2 0 1 0 1
calibrator wlan0 wl18xx_plt start_tx 400 19 3000 0 0 1 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0
The commands used for this test with 5GHz are
calibrator wlan0 plt power_mode on
calibrator wlan0 wl18xx_plt tune_channel ${CHANNEL} 1 1
calibrator wlan0 wl18xx_plt set_tx_power 20000 0 1 ${CHANNEL} 0 0 0 1 0 0 0 0
calibrator wlan0 wl18xx_plt set_antenna_mode_5G 1 1 0 1
calibrator wlan0 wl18xx_plt start_tx 400 19 3000 0 0 0 0 0 00:11:22:33:44:55 01:02:03:04:05:06 0
Ric Clark
Engineer II
E.I. Medical Imaging