public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* Missing BEACON_LOSS event
@ 2025-07-29 13:03 Alexander Wilhelm
  2025-07-30  7:52 ` Nicolas Escande
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Wilhelm @ 2025-07-29 13:03 UTC (permalink / raw)
  To: Jeff Johnson; +Cc: ath11k, linux-wireless

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-30  9:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-29 13:03 Missing BEACON_LOSS event Alexander Wilhelm
2025-07-30  7:52 ` Nicolas Escande
2025-07-30  9:00   ` Alexander Wilhelm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox