]> git.baikalelectronics.ru Git - kernel.git/commit
wcn36xx: Advertise beacon filtering support in bmps
authorLoic Poulain <loic.poulain@linaro.org>
Thu, 18 Jun 2020 09:17:43 +0000 (11:17 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 1 Oct 2020 19:34:04 +0000 (22:34 +0300)
commit0a3f9fa4a56131d9008bfa3fa0791d047055abee
treef679d8a4a9995e5f39394747242a54a8f56741fd
parent4c9bfe87be58b140887cb0252f56c24c076141f7
wcn36xx: Advertise beacon filtering support in bmps

In bmps mode, beacons are filtered, and firmware is in charge
of monitoring the beacons and report changes or loss.

mac80211 must be advertised about such change to prevent it's
internal timer based beacon monitor to report beacon loss.

Fix that by setting/clearing the IEEE80211_VIF_BEACON_FILTER
vif flag on bmps entry/exit.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1592471863-31402-2-git-send-email-loic.poulain@linaro.org
drivers/net/wireless/ath/wcn36xx/pmc.c