diff mbox series

wifi: ath12k: Enable IMPS for WCN7850

Message ID 20230317062533.18240-1-quic_bqiang@quicinc.com (mailing list archive)
State Accepted
Commit 72d17c3e86d0f7fad8f3ae77d87d00b7b6788a8e
Delegated to: Kalle Valo
Headers show
Series wifi: ath12k: Enable IMPS for WCN7850 | expand

Commit Message

Baochen Qiang March 17, 2023, 6:25 a.m. UTC
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 <quic_bqiang@quicinc.com>
---
 drivers/net/wireless/ath/ath12k/hw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 3df3715e556027e94246b2cb30986563362a65f4

Comments

Kalle Valo March 22, 2023, 10:06 a.m. UTC | #1
Baochen Qiang <quic_bqiang@quicinc.com> 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 <quic_bqiang@quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

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

72d17c3e86d0 wifi: ath12k: Enable IMPS for WCN7850
diff mbox series

Patch

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,