Message ID | 1557204554-6821-1-git-send-email-vthiagar@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Commit | df31a71e246527304765b3b67322e07e81a0903b |
Delegated to: | Kalle Valo |
Headers | show |
Series | ath11k: Fix bug in QOS capability and related configurations in STA mode | expand |
Vasanthakumar Thiagarajan <vthiagar@codeaurora.org> wrote: > set is_wme_set to true to mark the peer QOS capable for STA mode as well. > This would also properly configure other dependant capabilities like ht and > vht. This fixes low performance issue in STA mode. > > Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@codeaurora.org> Patch applied to ath.git, thanks. df31a71e2465 ath11k: Fix bug in QOS capability and related configurations in STA mode
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c index 76022fa..57387cd 100644 --- a/drivers/net/wireless/ath/ath11k/mac.c +++ b/drivers/net/wireless/ath/ath11k/mac.c @@ -1337,8 +1337,10 @@ static void ath11k_peer_assoc_h_qos(struct ath11k *ar, } break; case WMI_VDEV_TYPE_STA: - if (sta->wme) + if (sta->wme) { + arg->is_wme_set = true; arg->qos_flag = true; + } break; default: break;
set is_wme_set to true to mark the peer QOS capable for STA mode as well. This would also properly configure other dependant capabilities like ht and vht. This fixes low performance issue in STA mode. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@codeaurora.org> --- drivers/net/wireless/ath/ath11k/mac.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)