Wi-Fi STA sample not connecting in NCS v3.1.0 (works in v2.9.2)

Hi,
I am trying to run the Wi-Fi STA sample on nRF7002DK.

  • With nRF Connect SDK v2.9.2, the STA sample connects successfully to my Wi-Fi AP (router).

  • With NCS v3.1.0, the exact same STA sample does not connect.

Logs in v2.9.2 show that the STA attempts to connect, connection success.

Logs in v3.1.0 show that the STA attempts to connect with same nrf7002dk, but fails 

Questions:

  1. Is there any restriction, change, or configuration update required for Wi-Fi STA in v3.1.0 compared to v2.9.2?

  2. Has anything changed in the Wi-Fi driver, supplicant, or configuration (Kconfig/prj.conf) that would prevent connection in v3.1.0?

  3. Could you please guide me on how to fix this issue and get STA working in v3.1.0?

Setup:

  • Board: nRF7002DK

  • SDK versions tested:

    • v2.9.2 → STA connects fine

    •  v3.1.0 → STA fails to connect

Parents Reply Children
  • Hi Benjamin,

    Thanks for your update. Along with the Wi-Fi router, I also tested using my mobile phone as an access point. It was able to connect over Wi-Fi 4, but when I tried with another mobile phone, it couldn’t connect to the same network. I’m not sure how to proceed with this issue, so kindly help me figure it out.

  • Hi, please discard my previous message. I can connect on both NCS versions just fine. It was an unrelated issue. So just to confirm this issue happens when you try to connect your DK to a mobile phone? What phone do you use?

  • Hi, I have used a OnePlus 10R this was not connecting,
    I’m unable to connect to Wi-Fi router. The same router was connecting with the sample from SDK v2.9.2, but the sample from v3.1.0 is not connecting. Have you encountered this issue or changed any configuration in the new version?

  • Can you list all differences between the working router and the faulty one?

    Also, the sample shows some changes, but it’s hard to say whether the issue come from sample code or other changes in drivers or APIs. Running a git bisect would help identify the exact commit where it breaks, but you would have to do that as I cannot reproduce the issue.

  • Both setups use the same configuration and the same Wi-Fi router (I only have one router). The difference is only in the SDK version: the wifi/sta sample from SDK v2.9.2 connects successfully, but the wifi/sta sample from SDK v3.1.0 does not connect. The only difference is the SDK sample, not the Wi-Fi router. I have downloaded the sdk form vs code and the dk also same nrf7002dk.

    1. Has anything changed in the Wi-Fi driver or configuration between SDK v2.9.2 and v3.1.0 that could cause this issue?

    2. Are there additional settings or configurations required in v3.1.0 for the wifi/sta sample to connect?

    3. Could this be a known issue in SDK v3.1.0?

Related