Commit 575f1c3d authored by Ashok Raj Nagarajan's avatar Ashok Raj Nagarajan Committed by Kalle Valo
Browse files

ath10k: enable Adaptive Noise Immunity (ANI) by default



ANI helps to improve connectvity and performance in a noisy environment.
Enabling this feature would help the user experience a better and stable
wireless connection in a noisy environmnet. This feature is currently not
enabled for ath10k. Enable this feature by default.

Signed-off-by: default avatarAshok Raj Nagarajan <arnagara@qti.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 4a7898fe
......@@ -3153,6 +3153,14 @@ static int ath10k_start(struct ieee80211_hw *hw)
goto err_core_stop;
}
ret = ath10k_wmi_pdev_set_param(ar,
ar->wmi.pdev_param->ani_enable, 1);
if (ret) {
ath10k_warn(ar, "failed to enable ani by default: %d\n",
ret);
goto err_core_stop;
}
ar->num_started_vdevs = 0;
ath10k_regd_update(ar);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment