ath11k: Fix enabling dynamic bandwidth param
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.
Signed-off-by Sriram R <[email protected]>
--- drivers/net/wireless/ath/ath11k/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/mac.c +1 -1
@@ -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
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.
Signed-off-by Sriram R <[email protected]>Signed-off-by Kalle Valo <[email protected]>
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