ath11k: convert ath11k_wmi_pdev_set_ps_mode() to use enum wmi_sta_ps_mode
authorKalle Valo <kvalo@codeaurora.org>
Mon, 8 Nov 2021 12:38:25 +0000 (14:38 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 10 Nov 2021 12:40:37 +0000 (14:40 +0200)
commitaf3d89649bb69bd5be273cf6c001cd19c2604ca2
treed0caa64ebbe4fa6c4d63f7f348884084a4169ea7
parentcfdf6b19e750f7de8ae71a26932f63b52e3bf74c
ath11k: convert ath11k_wmi_pdev_set_ps_mode() to use enum wmi_sta_ps_mode

It's more descriptive to use the actual enum used by the firmware instead of a
boolean so change ath11k_wmi_pdev_set_ps_mode() to use a boolean.

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

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211108123826.8463-1-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/wmi.c
drivers/net/wireless/ath/ath11k/wmi.h