Message ID | 1560927014-17823-1-git-send-email-mkenna@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Commit | a9e6c87cff1e3eb93f9885bb5a6a0f79702b485e |
Delegated to: | Kalle Valo |
Headers | show |
Series | ath11k: Disable peer fixed before setting ht-mcs or vht-mcs | expand |
Maharaja Kennadyrajan <mkenna@codeaurora.org> wrote: > 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 <mkenna@codeaurora.org> > Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Patch applied to ath11k-bringup branch of ath.git, thanks. a9e6c87cff1e ath11k: Disable peer fixed before setting ht-mcs or vht-mcs
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c index 8c47e09a84e7..3de17bfec689 100644 --- a/drivers/net/wireless/ath/ath11k/mac.c +++ b/drivers/net/wireless/ath/ath11k/mac.c @@ -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;
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 <mkenna@codeaurora.org> --- drivers/net/wireless/ath/ath11k/mac.c | 4 ++++ 1 file changed, 4 insertions(+)