ath11k: Disable peer fixed before setting ht-mcs or vht-mcs
PATCH 1/1 ath11k: Disable peer fixed before setting ht-mcs or vht-mcs
Peer fixed rate should be disabled before setting the ht-mcs or vht-mcs as peer fixed rate has higher priority in the rate setting.
Signed-off-by Maharaja Kennadyrajan <[email protected]>
--- drivers/net/wireless/ath/ath11k/mac.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/wireless/ath/ath11k/mac.c +4 -0
@@ -5040,6 +5040,10 @@ ath11k_mac_op_set_bitrate_mask(struct ieee80211_hw *hw,return -EINVAL ; } +ieee80211_iterate_stations_atomic (ar->hw, + ath11k_mac_disable_peer_fixed_rate, + arvif); +mutex_lock (&ar->conf_mutex); arvif->bitrate_mask = *mask;
Signature · 7 lines
2.21.0 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 6 lines · Maharaja Kennadyrajan
Peer fixed rate should be disabled before setting the ht-mcs or vht-mcs as peer fixed rate has higher priority in the rate setting.
Signed-off-by Maharaja Kennadyrajan <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath11k-bringup branch of ath.git, thanks.
a9e6c87cff1e ath11k: Disable peer fixed before setting ht-mcs or vht-mcs
Signature · 9 lines
https://patchwork.kernel.org/patch/11003535/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k