OSDN Git Service

wcn36xx: Send NULL data packet when exiting BMPS
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 24 Nov 2020 15:59:19 +0000 (17:59 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 2 Dec 2020 18:33:27 +0000 (20:33 +0200)
commit9bc3a55f4ae5c1c32b4b0b028b423833f1565c62
tree1cc90fd9e4d02c52f3f30d64a74d469b709728ad
parentad37a46e8cb5e108ddb564ca431d05c4ba7cf052
wcn36xx: Send NULL data packet when exiting BMPS

This commit updates the BMPS exit path to be consistent with downstream in
terms of exiting BMPS mode. Downstream sets the flag to send a NULL data
frame to the host on exiting BMPS.

This will tell the AP to send any queued frames to the STA immediately.
Verified the relevant bit toggle in wireshark.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201120021403.2646574-2-bryan.odonoghue@linaro.org
drivers/net/wireless/ath/wcn36xx/smd.c