Merge "ath10k: Enable sta idle powersave"
This commit is contained in:
commit
90c1f488e7
1 changed files with 7 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue