diff options
author | Pontus Fuchs <pontus.fuchs@gmail.com> | 2016-04-18 22:00:40 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-04-25 20:37:04 +0300 |
commit | 91c3eeba45e13ab7edfb50610df8672d52809394 (patch) | |
tree | ef2a77d9f86abbc7742b8ce047d3ce8542c33c2b /drivers/net/wireless/ath/wcn36xx/debug.c | |
parent | 25d217d6e0723481bf90db1d8be02ab475d16002 (diff) | |
download | linux-91c3eeba45e13ab7edfb50610df8672d52809394.tar.gz linux-91c3eeba45e13ab7edfb50610df8672d52809394.tar.xz |
wcn36xx: Pad TIM PVM if needed
The wcn36xx FW expects a fixed size TIM PVM in the beacon template. If
supplied with a shorter than expected PVM it will overwrite the IE
following the TIM.
Squashed with fix from Jason Mobarak <jam@cozybit.com>:
Patch "wcn36xx: Pad TIM PVM if needed" has caused a regression in mesh
beaconing. The field tim_off is always 0 for mesh mode, and thus
pvm_len (referring to the TIM length field) and pad are both incorrectly
calculated. Thus, msg_body.beacon_length is incorrectly calculated for
mesh mode. Fix this.
Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Signed-off-by: Jason Mobarak <jam@cozybit.com>
[bjorn: squashed in Jason's fixup]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx/debug.c')
0 files changed, 0 insertions, 0 deletions