Hello NXP
I am doing WLAN RF Test with reference to UM11490 but I got a problem for VHT Test. ( 5GHz, 80MHz
,MCS9)
I inputted the command as follows to measure the waveform, but an error occurs.
-Host Board: MCIMX8M-EVK
-Wifi module: 88W8997 (Laird module)
-OS: imx-android-11.0.0_2.4.0
- Driver and Firmware version: SD8997----16.92.10.p219.3-MM5X16266-GPL-(FP92)
===============================================================
echo "rf_test_mode=1" >> /proc/mwlan/adapter0/config
-echo "tx_antenna=3" >> /proc/mwlan/adapter0/config
-echo "rx_antenna=3" >> /proc/mwlan/adapter0/config
-echo "band=1" >> /proc/mwlan/adapter0/config
-echo "bw=4" >> /proc/mwlan/adapter0/config
-echo "channel=36" >> /proc/mwlan/adapter0/config
-echo "tx_power=10 2 2" >> /proc/mwlan/adapter0/config
-echo "tx_frame=1 120 0xAAA 0x100 1 20 0 0 0 0 0 0 0 05:43:3f:c4:51" >> /proc/mwlan/adapter0/config
[ 145.804948] CMD_RESP: cmd 0x89 error, result=0xffee
[ 145.809859] IOCTL failed: 00000000cb9a0299 id=0x200000, sub_id=0x200077 action=1, status_code=0x3
[ 145.818807] RF test mode cmd error
-echo "tx_continuous=1 0 0xAAA 0 0 120" >> /proc/mwlan/adapter0/config
[ 203.405580] CMD_RESP: cmd 0x89 error, result=0xffee
[ 203.410489] IOCTL failed: 00000000cb9a0299 id=0x200000, sub_id=0x200076 action=1, status_code=0x3
[ 203.419432] RF test mode cmd error
=======================================================================
When I inputted [echo "tx_continuous=1 1 0xAAA 0 0 120" >> /proc/mwlan/adapter0/config] for continuous wave , I could see waveform. but [echo "tx_continuous=0 1 0xAAA 0 0 120" >> /proc/mwlan/adapter0/config] was also error.
Please let me know if there is an fault in the command I inputted.
Thank you.
Solved! Go to Solution.
Hello @waynejeong
UM11490 have been uploaded at Dec 14, 2021. tx data rate table have been changed. You could download newest version and refer table 3 to set data rate. On my side, RF test setup is find.
Best Regards
Shaun
Hello shaun_wu
Thank you for your kindly support.
I tested it by referring to the newly updated document today.
Although I did not test all channels and all bandwidth, it seems to me, it works fine.
I saw waveform 5GHz, 80MHz, MCS9 modulation with spectrum analyzer.
I will test all channel and all bandwidth. If I get another problem, I will report it.
thank you.
Hello @waynejeong
UM11490 have been uploaded at Dec 14, 2021. tx data rate table have been changed. You could download newest version and refer table 3 to set data rate. On my side, RF test setup is find.
Best Regards
Shaun
Hello shaun_wu
Thank you for feedback.
I already tried to use labtool. but it has an issue for SDIO-UART interface.
I posted for labtool issue before and I got feedback from you.
My customer has plan to get RF certification for WLAN on next month. Please let me know how I can solve this issue.
Hello @waynejeong
1. For SDIO-WiFi Labtool issues, we do fount it not work on i.mx platform and internally reported this issues. But it works on Ubuntu laptop. So, if possible, you can do certification on Ubuntu laptop.
2. I'll internally report UM11490 issue and before get the feedback from internal expert, I'll keep update.
Best Regards
Shaun
Hello @waynejeong
We have reproduced your issue, wifi don't work at some modulation mode. you could use labtool to test first, we have verified your needs on labtool, Please check following logs:
Enter option: 88
DLL Version : 1.0.0.165
LabTool Version: 1.0.0.165
FW Version: 16.80.205.168 Mfg Version: 2.0.0.63
SOC OR Version: 2.2 Customer ID: 0
RF OR Version: 8.6 Customer ID: 0
Enter option: 35 0
DutIf_AdjustPcktSifs: 0x00000000
Enter option: 10 3 3
DutIf_SetTxRxPath: Tx path to 3 : Rx path to 3 : status 0x00000000
Enter option: 30 1
DutIf_SetModeAG: 0x00000000
Enter option: 112 4
DutIf_SetChannelBw: 0x00000000
Enter option: 12 36
DutIf_SetRfChannel: 0x00000000
RF Channel: 36 (5180.0 MHz) offset 1
Enter option: 22 3 36 10 2
DutIf_SetRfChannel: 0x00000000
DutIf_SetRfPowerCal: 0x00000000
Enter option: 35 1 120 1 100 F04
DutIf_AdjustPcktSifs: 0x00000000
TRPC ID: 0x1b
Best Regards
Shaun