Merge "ath10k: Enable sta idle powersave"

This commit is contained in:
Linux Build Service Account 2017-09-03 11:43:31 -07:00 committed by Gerrit - the friendly Code Review server
commit 90c1f488e7

View file

@ -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) {