* [PATCH] ath11k: Fix enabling dynamic bandwidth param
@ 2019-07-16 14:40 Sriram R
2019-07-18 11:16 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Sriram R @ 2019-07-16 14:40 UTC (permalink / raw)
To: ath11k; +Cc: Sriram R
Currently the dynamic bandwidth pdev param is not enabled.
Correct the parameter passed to enable this feature. This
is required to dynamically switch bandwidth, for eg. when
noise in injected in secondary channel of a 40MHz channel
the fw will switch to 20MHz when this feature is enabled.
Signed-off-by: Sriram R <srirrama@codeaurora.org>
---
drivers/net/wireless/ath/ath11k/mac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index dd164b5..3dc0615 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -3505,7 +3505,7 @@ static int ath11k_mac_op_start(struct ieee80211_hw *hw)
goto err;
}
- ret = ath11k_wmi_pdev_set_param(ar, WMI_PDEV_PARAM_DYNAMIC_BW, 0,
+ ret = ath11k_wmi_pdev_set_param(ar, WMI_PDEV_PARAM_DYNAMIC_BW, 1,
pdev->pdev_id);
if (ret) {
ath11k_err(ar->ab, "failed to enable dynamic bw: %d\n", ret);
--
2.7.4
_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-18 11:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-16 14:40 [PATCH] ath11k: Fix enabling dynamic bandwidth param Sriram R
2019-07-18 11:16 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox