AN14114: random errors

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

AN14114: random errors

ソリューションへジャンプ
577件の閲覧回数
pierluigi_p
Senior Contributor I

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

タグ(2)
0 件の賞賛
返信
1 解決策
459件の閲覧回数
Christine_Li
NXP TechSupport
NXP TechSupport

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.

Christine_Li_0-1758248564575.png

Christine_Li_1-1758248761431.png

Please have try with Table 3's mode index.

Please let me know whether it works for you.

 

Best regards,

Christine.

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
542件の閲覧回数
Christine_Li
NXP TechSupport
NXP TechSupport

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.

 

 

0 件の賞賛
返信
500件の閲覧回数
pierluigi_p
Senior Contributor I

Hi @Christine_Li,

  1. sorry for the typo, you are right: I wrote it correctly in the subject but wrongly in the body
  2. yes, WiFi is IW611
  3. /proc/mwlan/adapter0 is the only available adapter in the system: the Wifi itself is working fine and the problems is only related to the test mode
  4. attached you can find the logs got using ">>", but the error persists
  5. the error persists also after the reset

Please let me know if you need further details.

Thanks

Best Regards

Pier

タグ(2)
0 件の賞賛
返信
487件の閲覧回数
pierluigi_p
Senior Contributor I
0 件の賞賛
返信
460件の閲覧回数
Christine_Li
NXP TechSupport
NXP TechSupport

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.

Christine_Li_0-1758248564575.png

Christine_Li_1-1758248761431.png

Please have try with Table 3's mode index.

Please let me know whether it works for you.

 

Best regards,

Christine.

0 件の賞賛
返信
449件の閲覧回数
Marco8105
Contributor I

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

 

タグ(1)
0 件の賞賛
返信
432件の閲覧回数
Christine_Li
NXP TechSupport
NXP TechSupport

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.

0 件の賞賛
返信