Dear NXP support,
we are randomly observing the following error, trying the example from AN14144 on page 31:
root@compass:/proc/mwlan/adapter0# ifconfig wlan0 down
[ 106.985739] wlan: Received disassociation request on wlan0, reason: 3
[ 106.992290] wlan: REASON: (Deauth) Sending STA is leaving (or has left) IBSS or ESS
root@compass:/proc/mwlan/adapter0# echo "rf_test_mode=1" > config
root@compass:/proc/mwlan/adapter0# echo "radio_mode=0 11" > config
root@compass:/proc/mwlan/adapter0# echo "tx_antenna=1" > config
root@compass:/proc/mwlan/adapter0# echo "bw=0" > config
root@compass:/proc/mwlan/adapter0# echo "channel=6" > config
[ 164.581703] RFTM_COMMAND ERROR: 0xffffffff
Can you provide additional details about this error ?
Thanks
Best Regards
Pier
解決済! 解決策の投稿を見る。
Hi, @pierluigi_p
Thanks for providing me logs.
From your given log, I saw you are using this command:
echo "radio_mode=0 11" >> /proc/mwlan/adapter0/config
But it is for dual Wi-Fi radios only. IW611 is 1x1 radio.
Please have try with Table 3's mode index.
Please let me know whether it works for you.
Best regards,
Christine.
Hi, @pierluigi_p
1.Firstly, I think there is a typo in your description, I believe you mean our AN14114, not AN14144. Am I right?
2.Which Wi-Fi product are you using? Is it IW611?
3.Can you please check whether /proc/mwlan/adapter0 is correct Wi-Fi interface? is there any other adapters in your /proc/mwlan/ directory? Or you can list all of the adapters to try which one is correct one.
4. You command is: echo "rf_test_mode=1" > config seems different with ours, can you please correct it and try again?
echo "rf_test_mode=1" >> /proc/mwlan/adapter1/config
echo "radio_mode=0 11" >> /proc/mwlan/adapter1/config
echo "tx_antenna=1" >> /proc/mwlan/adapter1/config
echo "bw=0" >> /proc/mwlan/adapter1/config
echo "channel=6" >> /proc/mwlan/adapter1/config
5. Totally reset your device, whether still can repro this issue?
To better understand what happened, could you please help to provide logs of this issue? like dmesg logs and console logs?
Best regards,
Christine.
Hi @Christine_Li,
Please let me know if you need further details.
Thanks
Best Regards
Pier
Hi, @pierluigi_p
Thanks for providing me logs.
From your given log, I saw you are using this command:
echo "radio_mode=0 11" >> /proc/mwlan/adapter0/config
But it is for dual Wi-Fi radios only. IW611 is 1x1 radio.
Please have try with Table 3's mode index.
Please let me know whether it works for you.
Best regards,
Christine.
Hi Christine
I'm Marco, the engineer who is actually working with the device.
Yes, this hint solves the problem. Thanks.
But it's somewhat unfortunate, that the command syntax for the two channel device has the same form as for a one channel device, just the second parameter being obsolete. That's confusing. I would have expected an error to be returned already on the radio_mode command, not on the channel selection command.
And a list of error descriptions would also greatly help. May You can add that to AN14114.
best regards
Marco
Hi, @Marco8105
Thanks for your reply.
Yes, I think so. It is a little confusing for the new users.
Think about your suggestions, and I will discuss with our internal team to see how to change the commands to better understanding and avoid confusions.
Thanks for your valuable suggestions.
Based on the issue has been resolved, would you mind me close this ticket?
Please help to mark my previous answer as a solution for this issue if there is no other queries on this case.
And please feel free to create new case to us if you meet any other issue during using our product.
Best regards,
Christine.