Extended channel switch announcement causes socket disconnection

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Extended channel switch announcement causes socket disconnection

2,369 次查看
bshannon
Contributor III

Greetings,

My company is using the Murata 1ZM wifi chip with the 1064 in our product. When we are using the wifi chip in AP mode and sending packets to the PC, occasionally we will see a print statement "Switch to channel 1 success!" and our tcp socket drops and we lose connection with the PC. My team believes that the wifi chip is performing an Extended channel switch announcement due to the wifi chip detecting interference on the current channel. Do you know why our tcp socket disconnects during this? If not how can we disable ECSA and is it safe to do so?

标签 (3)
标记 (3)
0 项奖励
回复
5 回复数

2,345 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

My name is Daniel and I will be happy to help you.

In order to better understand your situation, I kindly ask you to help me with the following information.

  • Are you using an EVK or your own custom board?
  • SDK version you are using.
  • Are you trying an SDK example or your own application?
  • Could you please share with me the whole log file? All the information you receive in the terminal with all the steps you execute to get to this scenario.

Best regards, Daniel.

0 项奖励
回复

2,330 次查看
bshannon
Contributor III

Thank you for responding to my question. Here are the answer to your questions.

  • Are you using an EVK or your own custom board?
    • Custom board
  • SDK version you are using.
    • 2.12.1
  • Are you trying an SDK example or your own application?
    • Own application
  • Could you please share with me the whole log file? All the information you receive in the terminal with all the steps you execute to get to this scenario. 
    • I do not have a log file or screenshot, sorry. It is very difficult to reproduce this scenario. We had our product sending packets to the PC for over 2 hours when this issue occurred. When it happens again I will take a screenshot. I do know that it occurs in the 
      wlcm_process_channel_switch function in wlan.c file.
0 项奖励
回复

2,317 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Thank you for letting me know.

In order to try to recreate your issue, have you found a similar situation with an SDK example?

The packets you are sending to the PC, are they ping packets?

0 项奖励
回复

2,310 次查看
bshannon
Contributor III

I have not found a similar issue with an sdk example. Our product is receiving CAN messages approximately every 1 to 3ms and sends them to the PC. The PC will also send messages for our product to transmit on the CAN bus (PC also send ping packets). So our traffic is pretty busy.

0 项奖励
回复

2,275 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

So this problem doesn’t happen to you at all times, am I right?

Unfortunately, it is very hard to my to find a workaround for this specific issue, since I don’t have a similar setup as you. May I have more information about your setup?

Please, if you find a way that I can force this scenario to happen, i.e. with an SDK example, let me know and I will check it so I can try to find a workaround.

Right now the best recommendation I can give you is to try this with the latest version of the SDK.

I’m sorry for the inconvenience this might cause you.

Best regards,

Daniel.

0 项奖励
回复