Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49295d71 authored by Govind Singh's avatar Govind Singh Committed by Gerrit - the friendly Code Review server
Browse files

ath10k: Enable sta idle powersave



Enable STA idle powersave for WCN3990.

Change-Id: I3dea0727464eda255fee50d21eee84919ab19205
Signed-off-by: default avatarGovind Singh <govinds@codeaurora.org>
parent 09a04dab
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4507,6 +4507,13 @@ static int ath10k_start(struct ieee80211_hw *hw)
		goto err_core_stop;
	}

	param = ar->wmi.pdev_param->idle_ps_config;
	ret = ath10k_wmi_pdev_set_param(ar, param, 1);
	if (ret) {
		ath10k_warn(ar, "failed to enable idle_ps_config: %d\n", ret);
		goto err_core_stop;
	}

	if (test_bit(WMI_SERVICE_ADAPTIVE_OCS, ar->wmi.svc_map)) {
		ret = ath10k_wmi_adaptive_qcs(ar, true);
		if (ret) {