]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 7 Mar 2022 15:35:28 +0000 (16:35 +0100)
commit015c59ba351c53d5ad6ca40566316795759cda15
treeda0f7d0179bb33c9175a4290ed681858c73d91f0
parentda89b2fc0f3a502fc6dce14d2ca07372932c05f1
wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND

BugLink: https://bugs.launchpad.net/bugs/1960566
[ Upstream commit 588b45c88ae130fe373a8c50edaf54735c3f4fe3 ]

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: 8e84c2582169 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/wireless/ath/wcn36xx/smd.c