NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
2.8.2 Set the RF frequency band
This section shows how to set the RF frequency band to 2.4 GHz or 5 GHz. The test
requires first to load the driver modules to bring-up the wireless module.
Step 1 - Enable the RF test mode
root@imx8mqevk:~# echo "rf_test_mode=1" >> /proc/mwlan/
adapterX/config
Verify that the output value of
rf_test_mode
is
1
.
root@imx8mqevk:~# cat /proc/mwlan/adapterX/config
Step 2 - Set the RF frequency band to 2.4 GHz
For example:
root@imx8mqevk:~# echo "band=0" >> /proc/mwlan/adapterX/config
Verify the output value of
band
parameter.
root@imx8mqevk:~# cat /proc/mwlan/adapterX/config
Parameter
Definition
band
RF band
•
0 = 2.4 GHz
•
1 = 5 GHz
Step 3 - Run a negative test
Use an invalid input for
band
parameter, for example band=2.
root@imx8mqevk:~# echo "band=2" > /proc/mwlan/adapterX/config
Verify that the command fails and returns
command error
which shows that the wrong
input was provided.
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
30 / 88