]> git.baikalelectronics.ru Git - kernel.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)
commitb69063b19835a7933d14e4b4186b4512d768ae79
treeec2eba6341770a5e2dc4aff4710d03436b96db73
parentab39a6dda8bbaa3c627a76e5da214c64358c0a0c
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