ath11k: enable idle power save mode
authorCarl Huang <cjhuang@codeaurora.org>
Thu, 1 Oct 2020 09:34:49 +0000 (12:34 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 1 Oct 2020 19:33:17 +0000 (22:33 +0300)
commitc83c500b55b6de7b59c90070167c3a8e2ab40f87
tree5065803e7eba3bb91f6c3ce0f2b9e91c8b2f363f
parent9b309970c4eafdf49e99b66232e7fceec9fb191a
ath11k: enable idle power save mode

Host sends wmi command to allow hardware enter idle power
save mode in ath11k_mac_op_start function.

hw parameter idle_ps indicates whether idle power save is supported.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Carl Huang <cjhuang@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1601544890-13450-8-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/hw.h
drivers/net/wireless/ath/ath11k/mac.c