wpa_drv_zep_scan_timeout: Scan timeout - try to abort it

Hi,

My custom board has an error some times, first it disconnects and then it tries to reconnect, then I get this log lines:


[00:39:41.199,188] <inf> wpa_supp: wpa_printf_impl: wlan0: Associated with 68:3f:7d:e7:71:10
[00:39:41.199,920] <inf> wpa_supp: wpa_printf_impl: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
[00:39:51.200,195] <inf> wpa_supp: wpa_printf_impl: wlan0: Authentication with 68:3f:7d:e7:71:10 timed out.
[00:39:51.203,094] <inf> wpa_supp: wpa_printf_impl: wlan0: CTRL-EVENT-DISCONNECTED bssid=68:3f:7d:e7:71:10 reason=3 locally_generated=1
Disconnected
[00:39:51.203,948] <inf> wpa_supp: wpa_printf_impl: BSSID 68:3f:7d:e7:71:10 ignore list count incremented to 2, ignoring for 10 seconds
[00:39:51.216,125] <inf> wpa_supp: wpa_printf_impl: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
[00:40:21.307,434] <err> wpa_supp: wpa_printf_impl: wpa_drv_zep_scan_timeout: Scan timeout - try to abort it

Using net_mgmt(NET_REQUEST_WIFI_IFACE_STATUS,.... in my code I can see that scanning goes on, the pb is that it never ends. I try to net_if_down(iface) I get:

[01:01:12.319,122] <err> wifi_nrf: zep_shim_pr_err: hal_rpu_ready_wait: Timed out waiting (msg_type = 0)

[01:01:12.319,732] <err> wifi_nrf: zep_shim_pr_err: hal_rpu_cmd_process_queue: Timeout waiting to get free cmd buff from RPU

[01:01:12.320,373] <err> wifi_nrf: wifi_nrf_if_stop_zep: wifi_nrf_if_stop_zep: wifi_nrf_fmac_set_power_save failed

[01:01:12.320,861] <err> wifi_net: shutdown_wifi: Cannot bring down iface (-1)

Have you an idea?

I also would like to restart the nrf7002 like it starts at boot time, is there a solution ?

Parents Reply Children
  • Hi,

    5.2GHz and 2.4GHz it depends on the reconnection. Nothing else is connected to the acces point, but the environment has electromagnetic troubles and the deconnections happen frequently, so the reconnections happen also frequently, but some time the RPU seems to have a bug and wait for a timeout that never comes, and I do not see how restart with the nrf7002 without reboot the nrf5340.

    best regards,

    JR

  • Hi,

    In relation to disconnections/reconnections, when have you observed band change?

    How frequently do these disconnections/reconnections occur?

    Could you provide more information about your environment? Where does the interference come from? How far is your device from the source(s) of interference? Are there multiple interference sources in your environment?

    Best regards,
    Dejan

Related