Skip to content

Commit

Permalink
ath10k: enable Adaptive Noise Immunity (ANI) by default
Browse files Browse the repository at this point in the history
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: Ashok Raj Nagarajan <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
  • Loading branch information
Ashok Raj Nagarajan authored and kvalo committed Mar 23, 2015
1 parent 4a7898f commit 575f1c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/net/wireless/ath/ath10k/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 575f1c3

Please sign in to comment.