aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/mac.c
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2013-11-13 05:05:10 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2013-11-15 03:58:01 -0500
commitc4dd0d01da8979bd5c7f4367661115617bc389ea (patch)
tree4f20263ac0646866003411c60292c0907dcdc9c8 /drivers/net/wireless/ath/ath10k/mac.c
parent67e3c63fef6041f41e22335852de9d3924cff7a1 (diff)
ath10k: allow dynamic bandwidth in hw rate control
Frames were never retransmitted with different/lower bandwidths, e.g. only 80MHz bandwidth was used when dealing with a VHT80 peer. Allow HW rate control to try out different bandwidths when retransmitting. This increases robustness. Also, document the parameter properly. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/mac.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 56f030ed357a..db819429134a 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -1964,7 +1964,7 @@ static int ath10k_start(struct ieee80211_hw *hw)
1964 ath10k_warn("could not enable WMI_PDEV_PARAM_PMF_QOS (%d)\n", 1964 ath10k_warn("could not enable WMI_PDEV_PARAM_PMF_QOS (%d)\n",
1965 ret); 1965 ret);
1966 1966
1967 ret = ath10k_wmi_pdev_set_param(ar, ar->wmi.pdev_param->dynamic_bw, 0); 1967 ret = ath10k_wmi_pdev_set_param(ar, ar->wmi.pdev_param->dynamic_bw, 1);
1968 if (ret) 1968 if (ret)
1969 ath10k_warn("could not init WMI_PDEV_PARAM_DYNAMIC_BW (%d)\n", 1969 ath10k_warn("could not init WMI_PDEV_PARAM_DYNAMIC_BW (%d)\n",
1970 ret); 1970 ret);