NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
2.8 RF test mode
This section shows how to use RF test mode to set the Tx/Rx antenna configuration and
the RF band.
Read more in the
README_MLAN
located in
/usr/share/nxp_wireless/bin_mxm_wifiex/
directory.
2.8.1 Set Tx/Rx antenna configuration
This section describes how to test either Tx or Rx antenna mode. The test requires to
first load the driver modules to bring-up the wireless module and to set the antenna to
either transmit or receive mode.
Step 1 - Enable RF test mode
root@imx8mqevk:~# echo "rf_test_mode=1" >> /proc/mwlan/
adapterX/config
Verify that the value of
rf_test_mode
is
1
.
root@imx8mqevk:~# cat /proc/mwlan/adapterX/config
Step 2 - Set the antenna configuration
•
Command to set the antenna configuration for
transmission mode
which will be used
later when the transmission happens.
root@imx8mqevk:~# echo "tx_antenna=1" >> /proc/mwlan/adapterX/
config
Verify that the value of
tx_antenna
is
1
.
root@imx8mqevk:~# cat /proc/mwlan/adapterX/config
•
Command to set the antenna configuration for
receive mode
:
root@imx8mqevk:~# echo "rx_antenna=1" >> /proc/mwlan/adapterX/
config
Verify that the value of
rx_antenna
is
1
.
root@imx8mqevk:~# cat /proc/mwlan/adapterX/config
UM11490
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2021. All rights reserved.
User manual
Rev. 2 — 29 January 2021
29 / 88