2023-03-17 06:26:24

by Baochen Qiang

[permalink] [raw]
Subject: [PATCH] wifi: ath12k: Enable IMPS for WCN7850

To reduce power consumption, change idle_ps to true to enable
idle mode power save (IMPS) for WCN7850.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4

Signed-off-by: Baochen Qiang <[email protected]>
---
drivers/net/wireless/ath/ath12k/hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath12k/hw.c b/drivers/net/wireless/ath/ath12k/hw.c
index 91d576fd4b0f..1ffac7e3deaa 100644
--- a/drivers/net/wireless/ath/ath12k/hw.c
+++ b/drivers/net/wireless/ath/ath12k/hw.c
@@ -944,7 +944,7 @@ static const struct ath12k_hw_params ath12k_hw_params[] = {
.interface_modes = BIT(NL80211_IFTYPE_STATION),
.supports_monitor = false,

- .idle_ps = false,
+ .idle_ps = true,
.download_calib = false,
.supports_suspend = false,
.tcl_ring_retry = false,

base-commit: 3df3715e556027e94246b2cb30986563362a65f4
--
2.25.1



2023-03-22 10:14:55

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] wifi: ath12k: Enable IMPS for WCN7850

Baochen Qiang <[email protected]> wrote:

> To reduce power consumption, change idle_ps to true to enable
> Idle Mode Power Save (IMPS) for WCN7850.
>
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
>
> Signed-off-by: Baochen Qiang <[email protected]>
> Signed-off-by: Kalle Valo <[email protected]>

Patch applied to ath-next branch of ath.git, thanks.

72d17c3e86d0 wifi: ath12k: Enable IMPS for WCN7850

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches