]> git.baikalelectronics.ru Git - kernel.git/commit
wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Wed, 27 Oct 2021 23:25:29 +0000 (00:25 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 1 Nov 2021 14:19:29 +0000 (16:19 +0200)
commit351556bebdcd4089f6a82d30cdc6ed5a3366e8ca
tree44b3bc6d84e23e36e9f9796b237c3b8dde3010b8
parentdd4222a634608e9db3251fa9ecff3254e43cc507
wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND

Firmware can trigger a missed beacon indication, this is not the same as a
lost signal.

Flag to Linux the missed beacon and let the WiFi stack decide for itself if
the link is up or down by sending its own probe to determine this.

We should only be signalling the link is lost when the firmware indicates

Fixes: 29b7b74be440 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680 hardware")
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211027232529.657764-1-bryan.odonoghue@linaro.org
drivers/net/wireless/ath/wcn36xx/smd.c