ATH11K Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath11k: Fix bug in QOS capability and related configurations in STA mode
@ 2019-05-07  4:49 Vasanthakumar Thiagarajan
  2019-05-09  9:08 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Vasanthakumar Thiagarajan @ 2019-05-07  4:49 UTC (permalink / raw)
  To: ath11k

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(-)

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;
-- 
1.9.1


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ath11k: Fix bug in QOS capability and related configurations in STA mode
  2019-05-07  4:49 [PATCH] ath11k: Fix bug in QOS capability and related configurations in STA mode Vasanthakumar Thiagarajan
@ 2019-05-09  9:08 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-05-09  9:08 UTC (permalink / raw)
  To: Vasanthakumar Thiagarajan; +Cc: ath11k

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

-- 
https://patchwork.kernel.org/patch/10932273/

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


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-09  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-07  4:49 [PATCH] ath11k: Fix bug in QOS capability and related configurations in STA mode Vasanthakumar Thiagarajan
2019-05-09  9:08 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox