Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5384527ybi; Wed, 12 Jun 2019 01:25:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBvaht9Fn3payClUBQE87IMVBBfbe/LISpDjsl2iqrF+X+LkijUVJMFpooSSv/dHqV0uqq X-Received: by 2002:a17:90a:a404:: with SMTP id y4mr20820704pjp.58.1560327951256; Wed, 12 Jun 2019 01:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560327951; cv=none; d=google.com; s=arc-20160816; b=QBXzZxipVmt+1hHRq1bbkHLjNAsulSjrBrreW5geOM7SU1hsLN2s4zq66F65wMsrc1 BXiC8i8R0grRsMpJtL1nXDxMHh2fluV9x4SmQeWvfQNteAG8TzW2ple/ymRJ1BhLyc7c A/04czVfm78P8BVlo6FuSae4e51bB8gckhZnfguRL+kEqMH96aAhLbKZafmxSReBXgjr rCh4aYT7P3LS2EBdBPbrvQgWa6xrpn6KitwJtI4Z65+fKhTeSrQKBKZl25FNZu/8xb15 JoLQtnNrSu/0PP5E/n60CgSD64rJkQRiVoPc9YDbQLqRPGIqEbJvQA8uheqXTWw4fiHW KxJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:authenticated-by; bh=F+8+rRJibm37N9YSsQS1wltHZlJGas56VNA3VMEluO8=; b=IyF+zWDOr/CdndR2xnvw8gksAgw43VVj3B8ALwmeivu9GOnaeVS7dffCzg9RqDJOGT f54pWj8re1bLk2w+aowG3J4rM7Jwp63eHxPIvSQFKFaHrW2QEmnXUuUk1N0mkAko5ttx bmB4EI9/sa8KudoESgiNdXD2F1eN9qKG+WYWs4COK6aHSgOxHpmJQyxBdRLfEFnP/8O/ FmMum1NW+I10sCy//MdDH8jK4cQ1JI78N7x+qoZQMDdAC6kJ+p5VopCgbHpqV6SCIn5r R3/KVpMBKyR3k8idvEIGG6SFcuxgzAzmkvXRcJFUEBqVPz0Ux2hBu6M6a0mEWPLtJK3W DRrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c19si16572088pfn.0.2019.06.12.01.25.35; Wed, 12 Jun 2019 01:25:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731259AbfFLGpi (ORCPT + 99 others); Wed, 12 Jun 2019 02:45:38 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:51312 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731251AbfFLGpi (ORCPT ); Wed, 12 Jun 2019 02:45:38 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x5C6jY0H004388, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtitcasv01.realtek.com.tw[172.21.6.18]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x5C6jY0H004388 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 12 Jun 2019 14:45:34 +0800 Received: from localhost.localdomain (172.21.68.126) by RTITCASV01.realtek.com.tw (172.21.6.18) with Microsoft SMTP Server id 14.3.439.0; Wed, 12 Jun 2019 14:45:33 +0800 From: To: CC: Subject: [PATCH 10/11] rtw88: rsvd page should go though management queue Date: Wed, 12 Jun 2019 14:45:16 +0800 Message-ID: <1560321917-17751-11-git-send-email-yhchuang@realtek.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560321917-17751-1-git-send-email-yhchuang@realtek.com> References: <1560321917-17751-1-git-send-email-yhchuang@realtek.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.21.68.126] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Yan-Hsuan Chuang The hardware default uses management queue to transmit frames that are downloaded into reserved page, so we need to clearly assign the frames to use qsel in TX_DESC_QSEL_MGMT to avoid using wrong queue. Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtw88/tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw88/tx.c b/drivers/net/wireless/realtek/rtw88/tx.c index e32faf8..8eaa980 100644 --- a/drivers/net/wireless/realtek/rtw88/tx.c +++ b/drivers/net/wireless/realtek/rtw88/tx.c @@ -362,6 +362,6 @@ void rtw_rsvd_page_pkt_info_update(struct rtw_dev *rtwdev, pkt_info->bmc = bmc; pkt_info->tx_pkt_size = skb->len; pkt_info->offset = chip->tx_pkt_desc_sz; - pkt_info->qsel = skb->priority; + pkt_info->qsel = TX_DESC_QSEL_MGMT; pkt_info->ls = true; } -- 2.7.4