]> www.infradead.org Git - users/dwmw2/linux.git/commit
wcn36xx: Fix dynamic power saving
authorLoic Poulain <loic.poulain@linaro.org>
Mon, 11 Dec 2017 08:52:22 +0000 (09:52 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 4 Jan 2018 16:41:48 +0000 (18:41 +0200)
commit0856655a25476d4431005e39d606e349050066b0
treeec2eba6341770a5e2dc4aff4710d03436b96db73
parentf859b4af1c52493ec21173ccc73d0b60029b5b88
wcn36xx: Fix dynamic power saving

Since driver does not report hardware dynamic power saving cap,
this is up to the mac80211 to manage power saving timeout and
state machine, using the ieee80211 config callback to report
PS changes. This patch enables/disables PS mode according to
the new configuration.

Remove old behaviour enabling PS mode in a static way, this make
the device unusable when power save is enabled since device is
forced to PS regardless RX/TX traffic.

Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/main.c
drivers/net/wireless/ath/wcn36xx/pmc.c