Missing BEACON_LOSS event

Alexander Wilhelm alexander.wilhelm at westermo.com
Tue Jul 29 06:03:57 PDT 2025


Hello devs,

can someone help with the following issue?

I'm using a QCN9074-based device in STA mode, connected to an access point. When
the AP is powered off (without sending a deauthentication frame), the client
remains indefinitely associated. There is no disconnect, no beacon loss event,
and the RSSI remains stuck at the last known value.

Here is what I see in the logs:

    daemon.debug wpa_supplicant[6960]: nl80211: Drv Event 64 (NL80211_CMD_NOTIFY_CQM) received for wlan0
    daemon.debug wpa_supplicant[6960]: nl80211: Packet loss event for 04:f0:21:bd:63:1f (num_packets 10)
    daemon.debug wpa_supplicant[6960]: wlan0: Event STATION_LOW_ACK (32) received

As a comparison, with an ath10k-based device, I get the expected disconnect sequence:

    daemon.debug wpa_supplicant[5859]: nl80211: Drv Event 64 (NL80211_CMD_NOTIFY_CQM) received for wlan0
    daemon.debug wpa_supplicant[5859]: nl80211: Beacon loss event
    daemon.debug wpa_supplicant[5859]: wlan0: Event BEACON_LOSS (53) received
    daemon.notice wpa_supplicant[5859]: wlan0: CTRL-EVENT-BEACON-LOSS
    daemon.debug wpa_supplicant[5859]: RTM_NEWLINK: ifi_index=13 ifname=wlan0 operstate=33554432 linkmode=16777216 ifi_family=0 ifi_flags=0x1003 ([UP])
    daemon.notice netifd: Network device 'wlan0' link is down
    daemon.notice netifd: Interface 'wlan' has link connectivity loss
    daemon.debug wpa_supplicant[5859]: nl80211: Drv Event 20 (NL80211_CMD_DEL_STATION) received for wlan0
    daemon.debug wpa_supplicant[5859]: nl80211: Delete station 04:f0:21:bd:63:1f
    daemon.debug wpa_supplicant[5859]: nl80211: Drv Event 39 (NL80211_CMD_DEAUTHENTICATE) received for wlan0
    daemon.debug wpa_supplicant[5859]: nl80211: Deauthenticate event
    daemon.debug wpa_supplicant[5859]: wlan0: Event DEAUTH (11) received
    daemon.debug wpa_supplicant[5859]: wlan0: Deauthentication notification
    daemon.debug wpa_supplicant[5859]: wlan0:  * reason 4 (DISASSOC_DUE_TO_INACTIVITY) locally_generated=1
    daemon.debug wpa_supplicant[5859]: wlan0:  * address 04:f0:21:bd:63:1f
    daemon.debug wpa_supplicant[5859]: Deauthentication frame IE(s) - hexdump(len=0): [NULL]
    daemon.notice wpa_supplicant[5859]: wlan0: CTRL-EVENT-DISCONNECTED bssid=04:f0:21:bd:63:1f reason=4 locally_generated=1

>From what I can tell, the function `ath11k_mac_handle_beacon_miss()` exists and
is wired up via `ath11k_roam_event()`, but the firmware never seems to send
`WMI_ROAM_EVENTID`, so the handler is never triggered.

Is this expected behavior? Does the firmware need to be configured differently
to enable beacon miss detection in STA mode? Or is this a known limitation? Any
help or clarification would be appreciated.


Best regards
Alexander Wilhelm



More information about the ath11k mailing list