Skip to contentSkip to conversation

ath11k: Fix bug in QOS capability and related configurations in STA mode

PATCH In review Vasanthakumar Thiagarajan 2 participants 2 messages May 7, 2019 – May 9, 2019 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath11k: Fix bug in QOS capability and related configurations in STA mode

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.

---
 drivers/net/wireless/ath/ath11k/mac.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/mac.c +3 -1
index 76022fa..57387cd 100644
@@ -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;
Signature · 7 lines
1.9.1


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#1 lore raw
Quoted 5 lines · Vasanthakumar Thiagarajan

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.

Patch applied to ath.git, thanks.

df31a71e2465 ath11k: Fix bug in QOS capability and related configurations in STA mode

Signature · 9 lines
https://patchwork.kernel.org/patch/10932273/

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


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k