Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4699748rwe; Mon, 17 Apr 2023 17:34:13 -0700 (PDT) X-Google-Smtp-Source: AKy350afkdJfD25ybfr2T0InZTHg46ue6o+yJ0lRAT742MOPgXJmiVyGpfGwnKBFgr2+XNU6e8jy X-Received: by 2002:a17:903:11c4:b0:1a5:180d:c317 with SMTP id q4-20020a17090311c400b001a5180dc317mr379631plh.43.1681778052973; Mon, 17 Apr 2023 17:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681778052; cv=none; d=google.com; s=arc-20160816; b=vv/iRtlJLISkOX5ucX+ITpbdCZ8ELj5LzwA9nqWvfdgDUaYh/I2B2N4D9uu/N8HPia CbNuyqh/LR2YRvr24R9gLAUvBeAv5rT+NvM2KGcqfGusMaW3MY5jt45yXN7bsFUSdoe3 SAT80bgKmbpyV2nCBN8HLWaMZJLfLChlta8E99Fe6EUujuH88SEdM9bjBPvkhVSyzQmJ t3V7dwzZcm2RZQC5eNoB0Z03Gmw2dZRgBbFKkrPLC6/E7OJYQNmL3yYQWnltcJPVgk0a uUfMqd5sB+ItEr6gyO1pxm0xV3eVqstyftc/psrvH+ZKfLi+Alq4H53tIVIZ/rrBZ24K DImg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=zxzYjKlEkp6SOcvzvVTvxzoW8aBQ1MXbL4pr8JSF0CY=; b=qiEoqNMCT/zukkfyO5wjGrxSvqzAHFMwSzyHsLIoGeoKmUx3rygEBxwzTPp7hXuM5x VJFj1qREX2nVXMV73Sy3G2wMldykE2D/ZMWKMXY4djKJMi7J/MAw0FJIsLDWbqZip+E0 1UOHXuGePOoXBqXFMTPcOdRc4KOlPfVuD0d1yMbrOE6AsGlECrZbXC+ZIBmrtPaPCJpv sALqwfcVLUrqfaoHI5LWQroO6N+Mz7j9WgrXk4sYz/0Ftp56iGep9GecjAYwjW13DAkx UNosNEYD1drHA9l3Gd1WItfD0JPegflr9itI22rQ0UvVRLrbE+nI5OIjnG75HuRpuwnn ooFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a10-20020a170902ee8a00b001a1f3916f4bsi12135209pld.265.2023.04.17.17.34.04; Mon, 17 Apr 2023 17:34:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230189AbjDRAdH convert rfc822-to-8bit (ORCPT + 63 others); Mon, 17 Apr 2023 20:33:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229991AbjDRAdC (ORCPT ); Mon, 17 Apr 2023 20:33:02 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E83534491; Mon, 17 Apr 2023 17:32:59 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 33I0WPVn8006225, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 33I0WPVn8006225 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Tue, 18 Apr 2023 08:32:25 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Tue, 18 Apr 2023 08:32:25 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 18 Apr 2023 08:32:25 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Tue, 18 Apr 2023 08:32:22 +0800 From: Ping-Ke Shih To: Sascha Hauer , linux-wireless CC: Hans Ulli Kroll , Larry Finger , Tim K , "Alex G ." , Nick Morrow , Viktor Petrenko , Andreas Henriksson , ValdikSS , "kernel@pengutronix.de" , "stable@vger.kernel.org" Subject: RE: [PATCH v3 1/4] wifi: rtw88: usb: fix priority queue to endpoint mapping Thread-Topic: [PATCH v3 1/4] wifi: rtw88: usb: fix priority queue to endpoint mapping Thread-Index: AQHZcTWgEHQ/QlMmyE2qS5UfkI3Uu68wN+2w Date: Tue, 18 Apr 2023 00:32:22 +0000 Message-ID: <9812ba1dc21246588c6e7b6615794f06@realtek.com> References: <20230417140358.2240429-1-s.hauer@pengutronix.de> <20230417140358.2240429-2-s.hauer@pengutronix.de> In-Reply-To: <20230417140358.2240429-2-s.hauer@pengutronix.de> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS01.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > -----Original Message----- > From: Sascha Hauer > Sent: Monday, April 17, 2023 10:04 PM > To: linux-wireless > Cc: Hans Ulli Kroll ; Larry Finger ; Ping-Ke Shih > ; Tim K ; Alex G . ; Nick Morrow > ; Viktor Petrenko ; Andreas Henriksson ; > ValdikSS ; kernel@pengutronix.de; Sascha Hauer ; > stable@vger.kernel.org > Subject: [PATCH v3 1/4] wifi: rtw88: usb: fix priority queue to endpoint mapping > > The RTW88 chipsets have four different priority queues in hardware. For > the USB type chipsets the packets destined for a specific priority queue > must be sent through the endpoint corresponding to the queue. This was > not fully understood when porting from the RTW88 USB out of tree driver > and thus violated. > > This patch implements the qsel to endpoint mapping as in > get_usb_bulkout_id_88xx() in the downstream driver. > > Without this the driver often issues "timed out to flush queue 3" > warnings and often TX stalls completely. > > Signed-off-by: Sascha Hauer > Tested-by: ValdikSS > Tested-by: Alexandru gagniuc > Tested-by: Larry Finger > Cc: stable@vger.kernel.org Reviewed-by: Ping-Ke Shih [...]