NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
2.8.7 Set Tx frame
This section shows how to set Tx frame. The test requires first to load the driver modules
to bring-up NXP-based 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 - Start Tx frame
First stop any ongoing Tx frame:
root@imx8mqevk:~# echo "tx_frame=0" >> /proc/mwlan/adapterX/config
Command to start Tx frame with duty cycle:
root@imx8mqevk:~# echo "tx_frame=1 7 0xAAA 0x100 1 20 0 0 0 0 0 0 0
05:43:3f:c4:51" >> /proc/mwlan/adapterX/config
tx_frame
combines the following parameters:
tx_continuous= <start/stop> <tx data rate> <payload pattern> <payload
length> <adjust burst SIFS gap> <adjust SIFS> <short preamble>
<active subchannel> <short GI> <adv coding> <beamforming> <greenfield
mode> <STBC> <BSSID>
Where:
Parameter
Definition
start/stop
Start/stop enable
•
0 = disable
•
1 = enable
tx data rate
Transmit the data rate index corresponding to the legacy/HT/VHT
payload pattern
Payload pattern value in the range of 0 to 0xFFFFFFFF.
payload length
Payload length value in the range of 1 to 0x400.
adjust burst SIFS
gap
•
0 = disable
•
1 = enable
adjust SIFS
Burst SIFS duration in us, in the range of 0 to 255 us
short preamble
•
0 = disable
•
1 = enable
active subchannel
•
0 = low
•
1 = upper
•
3 = both
short GI
Short guard interval
•
0 = disable
•
1 = enable
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
35 / 88