Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp635768ybi; Fri, 14 Jun 2019 00:26:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqySnkbp14+ZF98GDoyh/2WXSBdGLIvhOu5Ii+hoZwtm2qXdPOUx2vefgZVL7rmWMnQos9Oi X-Received: by 2002:a17:90a:24ac:: with SMTP id i41mr9452660pje.124.1560497179045; Fri, 14 Jun 2019 00:26:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560497179; cv=none; d=google.com; s=arc-20160816; b=AhDfVtLamsfv4Lj4/Sp4vWq1Z7SZ8pGUk4orACAH2KeM4pRHR3T61U+xoh/rsTLrp9 24wATi7FDfvQXZutIo2KYbzyCo8yIAb4CIbEGGqJMu50jOetOvie0ys5Yl3iBYyZhTD9 qBz59t1BV2hGaWEgd01nB/v1eIYLVcKtaR3itllm9a/zNYDpee7SsS6n7hJXhyIMIpJV vvIXpE78T+Myc4kIIO/7iwF//WF7vHC33mLkpA3tGxYOlnxSLa1LK+iQSPjThFuk1LFU rW045Ldxs6LYz0YnvLUXSRajElO2qYvI6TlvSusVmWO1T1tXW4/jZImm1qdKclidwViM Sl6g== 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=C6ghI50w/OSddBN7S7UfF7YeB9NsKiCN3CwxWYVljfjrcGK5p2v1wNUT7NbAX7wqLm aXI8ufjNLP+yZy4EmY7lS0IIghp3lEFORtIiW9yjtdL1Fbz3kmf526Fzi4CbVMkoabB+ o/YJCpcH4taYJNZCakI3R5ku626Ecaar0dNte9aL+7/SOmBGBPJX0vNsgnHK+VqAwFZz ltv7rJdZA7m8gDMAvn5X8FV/Rzp1rEtxC3RaohdUM2Ag+LW3EFXZsiZ40Npv78n0E497 6XhAJ1TJvD2d4GrH9Cw7xPYaPIvXr2aklQx0tAgJ8JgkY/We03ARCpPl4vpE4yz2xVRj tJEw== 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 m26si1761364pgv.388.2019.06.14.00.26.03; Fri, 14 Jun 2019 00:26:19 -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 S1726700AbfFNHYc (ORCPT + 99 others); Fri, 14 Jun 2019 03:24:32 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:48182 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726552AbfFNHYa (ORCPT ); Fri, 14 Jun 2019 03:24:30 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x5E7OQNo024971, 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 x5E7OQNo024971 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 14 Jun 2019 15:24:26 +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; Fri, 14 Jun 2019 15:24:25 +0800 From: To: CC: Subject: [PATCH v2 10/11] rtw88: rsvd page should go though management queue Date: Fri, 14 Jun 2019 15:24:14 +0800 Message-ID: <1560497055-17197-11-git-send-email-yhchuang@realtek.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560497055-17197-1-git-send-email-yhchuang@realtek.com> References: <1560497055-17197-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