nRF5340 + nRF7002: failed to connect to Android phone or iPhone hotspot with WPA3-Personal

Hi,
We have a device already in production.
We have an issue where the device fails to connect to an Android phone or iPhone hotspot with WPA3-Personal.

We tried to change the credential header type to the following but still fails:
WIFI_SECURITY_TYPE_SAE
WIFI_SECURITY_TYPE_SAE_HNP
WIFI_SECURITY_TYPE_SAE_H2E
WIFI_SECURITY_TYPE_SAE_AUTO
WIFI_SECURITY_TYPE_WPA_AUTO_PERSONAL


These are some scenarios that device is able to connect:
1. Android phone hotspot with WPA2-Personal 
2. a TP-Link router with WPA3-Personal only or a combination of WPA2/WPA3-Personal 

Any help to enlighten us on this issue is highly appreciated.
Thanks very much  

SDK version: 3.0.2

Parents
  • Hi Winston,

    Could you try to connect via wifi shell? Ie:

    wifi connect -s MY_AP -k 3 -p passphrase

    And it would be great if you could get me some verbose logs.

    Regards,

    Elfving

  • Hi Elfving,

    I have tried the command above in the wifi shell example on SDK v3.0.2


    Here are some logs:
    please note:
    test-network-5g  ---> TP_Link router with WPA3-Personal
    Redmi Note 14  ---> android phone hotspot with WPA3-Personal


    uart:~$ wifi connect -s test-network-5g -k 3 -p @passphrase
    Connection requested
    [00:04:35.749,267] <inf> wpa_supp: wlan0: SME: Trying to authenticate with ac:15:a2:5a:80:06 (SSID='test-network-5g' freq=5805 MHz)
    [00:04:36.675,415] <inf> wpa_supp: wlan0: SME: Trying to authenticate with ac:15:a2:5a:80:06 (SSID='test-network-5g' freq=5805 MHz)
    [00:04:36.681,121] <inf> wpa_supp: wlan0: Trying to associate with ac:15:a2:5a:80:06 (SSID='test-network-5g' freq=5805 MHz)
    [00:04:36.729,949] <inf> wpa_supp: wlan0: Associated with ac:15:a2:5a:80:06
    [00:04:36.730,621] <inf> wpa_supp: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
    Connected
    [00:04:36.892,059] <inf> wpa_supp: wlan0: WPA: Key negotiation completed with ac:15:a2:5a:80:06 [PTK=CCMP GTK=CCMP]
    [00:04:36.892,272] <inf> wpa_supp: wlan0: CTRL-EVENT-CONNECTED - Connection to ac:15:a2:5a:80:06 completed [id=0 id_str=]
    [00:04:40.245,605] <inf> net_dhcpv4: Received: 192.168.0.42
    uart:~$ wifi connect -s Redmi Note 14 -k 3 -p @passphrase
    Disconnected
    Connection requested
    [00:07:01.276,123] <inf> wpa_supp: wlan0: CTRL-EVENT-DISCONNECTED bssid=ac:15:a2:5a:80:06 reason=3 locally_generated=1
    uart:~$

    From my observation, it was able to connect to the TP-Link router but unable to connect in the android hotspot which coincides with my previous findings.
    Please let me know your thoughts.

    Thanks,

  • Hi Elfving,

    I tried to change SSID from "Redmi Note 14" to "RedmiNote14" omiting spaces. Still connection failed.
    Here is the logs:

    uart:~$ wifi connect -s RedmiNote14 -k 3 -p @passphrase
    Connection requested
    [00:00:37.083,343] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:00:37.904,235] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:00:42.910,308] <inf> wpa_supp: wlan0: Added BSSID 0e:49:af:cd:cf:98 into ignore list, ignoring for 10 seconds
    [00:00:47.554,260] <inf> wpa_supp: wlan0: Removed BSSID 0e:49:af:cd:cf:98 from ignore list (clear)
    [00:00:48.479,614] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:00:48.925,720] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:00:48.934,967] <inf> wpa_supp: wlan0: Trying to associate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:00:53.943,206] <inf> wpa_supp: wlan0: Added BSSID 0e:49:af:cd:cf:98 into ignore list, ignoring for 10 seconds
    [00:00:58.990,234] <inf> wpa_supp: wlan0: Removed BSSID 0e:49:af:cd:cf:98 from ignore list (clear)
    [00:01:00.020,751] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:00.483,856] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:05.490,264] <inf> wpa_supp: wlan0: Added BSSID 0e:49:af:cd:cf:98 into ignore list, ignoring for 10 seconds
    [00:01:11.034,240] <inf> wpa_supp: wlan0: Removed BSSID 0e:49:af:cd:cf:98 from ignore list (clear)
    [00:01:11.959,472] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:12.406,982] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:12.416,503] <inf> wpa_supp: wlan0: Trying to associate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:17.424,804] <inf> wpa_supp: wlan0: Added BSSID 0e:49:af:cd:cf:98 into ignore list, ignoring for 10 seconds
    [00:01:17.425,018] <inf> wpa_supp: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="RedmiNote14" auth_failures=1 duration=10 reason=CONN_FAILED
    [00:01:27.968,475] <inf> wpa_supp: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="RedmiNote14"
    [00:01:28.907,135] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:29.375,976] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:34.382,080] <inf> wpa_supp: wlan0: BSSID 0e:49:af:cd:cf:98 ignore list count incremented to 2, ignoring for 10 seconds
    [00:01:34.382,293] <inf> wpa_supp: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="RedmiNote14" auth_failures=2 duration=20 reason=CONN_FAILED
    [00:01:59.474,090] <inf> wpa_supp: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="RedmiNote14"
    [00:02:00.413,391] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:02:00.885,650] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:02:00.895,538] <inf> wpa_supp: wlan0: Trying to associate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:02:05.903,747] <inf> wpa_supp: wlan0: BSSID 0e:49:af:cd:cf:98 ignore list count incremented to 3, ignoring for 60 seconds
    [00:02:05.903,961] <inf> wpa_supp: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="RedmiNote14" auth_failures=3 duration=30 reason=CONN_FAILED


    Thanks,

Reply
  • Hi Elfving,

    I tried to change SSID from "Redmi Note 14" to "RedmiNote14" omiting spaces. Still connection failed.
    Here is the logs:

    uart:~$ wifi connect -s RedmiNote14 -k 3 -p @passphrase
    Connection requested
    [00:00:37.083,343] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:00:37.904,235] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:00:42.910,308] <inf> wpa_supp: wlan0: Added BSSID 0e:49:af:cd:cf:98 into ignore list, ignoring for 10 seconds
    [00:00:47.554,260] <inf> wpa_supp: wlan0: Removed BSSID 0e:49:af:cd:cf:98 from ignore list (clear)
    [00:00:48.479,614] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:00:48.925,720] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:00:48.934,967] <inf> wpa_supp: wlan0: Trying to associate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:00:53.943,206] <inf> wpa_supp: wlan0: Added BSSID 0e:49:af:cd:cf:98 into ignore list, ignoring for 10 seconds
    [00:00:58.990,234] <inf> wpa_supp: wlan0: Removed BSSID 0e:49:af:cd:cf:98 from ignore list (clear)
    [00:01:00.020,751] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:00.483,856] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:05.490,264] <inf> wpa_supp: wlan0: Added BSSID 0e:49:af:cd:cf:98 into ignore list, ignoring for 10 seconds
    [00:01:11.034,240] <inf> wpa_supp: wlan0: Removed BSSID 0e:49:af:cd:cf:98 from ignore list (clear)
    [00:01:11.959,472] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:12.406,982] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:12.416,503] <inf> wpa_supp: wlan0: Trying to associate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:17.424,804] <inf> wpa_supp: wlan0: Added BSSID 0e:49:af:cd:cf:98 into ignore list, ignoring for 10 seconds
    [00:01:17.425,018] <inf> wpa_supp: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="RedmiNote14" auth_failures=1 duration=10 reason=CONN_FAILED
    [00:01:27.968,475] <inf> wpa_supp: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="RedmiNote14"
    [00:01:28.907,135] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:29.375,976] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:01:34.382,080] <inf> wpa_supp: wlan0: BSSID 0e:49:af:cd:cf:98 ignore list count incremented to 2, ignoring for 10 seconds
    [00:01:34.382,293] <inf> wpa_supp: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="RedmiNote14" auth_failures=2 duration=20 reason=CONN_FAILED
    [00:01:59.474,090] <inf> wpa_supp: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="RedmiNote14"
    [00:02:00.413,391] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:02:00.885,650] <inf> wpa_supp: wlan0: SME: Trying to authenticate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:02:00.895,538] <inf> wpa_supp: wlan0: Trying to associate with 0e:49:af:cd:cf:98 (SSID='RedmiNote14' freq=5200 MHz)
    [00:02:05.903,747] <inf> wpa_supp: wlan0: BSSID 0e:49:af:cd:cf:98 ignore list count incremented to 3, ignoring for 60 seconds
    [00:02:05.903,961] <inf> wpa_supp: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="RedmiNote14" auth_failures=3 duration=30 reason=CONN_FAILED


    Thanks,

Children
Related