]> git.baikalelectronics.ru Git - kernel.git/commit
brcmsmac: AP mode: update beacon when TIM changes
authorAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
Wed, 3 Oct 2018 16:21:39 +0000 (19:21 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 13 Oct 2018 17:00:42 +0000 (20:00 +0300)
commit259b200aba906f18cffd4928078285378c80b2c1
treed62bde9c80242d3780305f3922f2c435d6200990
parent974f0ddda11061e4e1f844805e26923855432e8e
brcmsmac: AP mode: update beacon when TIM changes

Beacons are not updated to reflect TIM changes. This is not compliant with
power-saving client stations as the beacons do not have valid TIM and can
cause the network to stall at random occasions and to have highly variable
latencies.
Fix it by updating beacon templates on mac80211 set_tim callback.

Addresses an issue described in:
https://marc.info/?i=20180911163534.21312d08%20()%20manjaro

Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h