Skip to contentSkip to conversation

ath11k: Fix enabling dynamic bandwidth param

PATCH In review Sriram R 2 participants 2 messages Jul 16, 2019 – Jul 18, 2019 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore

Sriram R

author
#0 lore raw

PATCH 1/1 ath11k: Fix enabling dynamic bandwidth param

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.

---
 drivers/net/wireless/ath/ath11k/mac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/mac.c +1 -1
index dd164b5..3dc0615 100644
@@ -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);
Signature · 7 lines
2.7.4


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#1 lore raw
Quoted 8 lines · 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.

Patch applied to ath11k-bringup branch of ath.git, thanks.

8e22fb7f66e2 ath11k: Fix enabling dynamic bandwidth param

Signature · 9 lines
https://patchwork.kernel.org/patch/11046185/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k