Extended channel switch announcement causes socket disconnection

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Extended channel switch announcement causes socket disconnection

1,455 Views
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?

Labels (3)
Tags (3)
0 Kudos
Reply
5 Replies

1,431 Views
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 Kudos
Reply

1,416 Views
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 Kudos
Reply

1,403 Views
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 Kudos
Reply

1,396 Views
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 Kudos
Reply

1,361 Views
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 Kudos
Reply