From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hNs3K-0001ga-DR for ath11k@lists.infradead.org; Tue, 07 May 2019 04:50:07 +0000 Received: from vasanth-lnx.qca.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vthiagar@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 691646079C for ; Tue, 7 May 2019 04:50:03 +0000 (UTC) From: Vasanthakumar Thiagarajan Subject: [PATCH] ath11k: Fix bug in QOS capability and related configurations in STA mode Date: Tue, 7 May 2019 10:19:14 +0530 Message-Id: <1557204554-6821-1-git-send-email-vthiagar@codeaurora.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath11k" Errors-To: ath11k-bounces+kvalo=adurom.com@lists.infradead.org To: ath11k@lists.infradead.org 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 --- 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