]> 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)
commit18334a3abd83dbc43d540512c6b4368ede29a6d6
treed62bde9c80242d3780305f3922f2c435d6200990
parenta4d42c5e5a9753d025ba590f25bae4b69c2f4a33
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