Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5600754rwl; Tue, 4 Apr 2023 00:25:59 -0700 (PDT) X-Google-Smtp-Source: AKy350bJMZORKNv+Z9XYko80Jf3j40UEeiAKgeN1gvjP16tvk9I12/vqrDYuKfZUUn4lOe4HROnT X-Received: by 2002:a17:90b:1bca:b0:23d:54e8:3bb7 with SMTP id oa10-20020a17090b1bca00b0023d54e83bb7mr1567339pjb.17.1680593159270; Tue, 04 Apr 2023 00:25:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680593159; cv=none; d=google.com; s=arc-20160816; b=MNrRarbfztDzGsOgThkQ62BQeClUIBs+qx8HcgRwFTgrf0qHVlN5R+wBAL0rpRqq5a S132UzYGphv3o6TuhdXyRmxsKHkrG/vqIASUHqm0oootWA9PdLY284IllJF8UtUdQYTz gbbzkzx+IqxiC+TnkSlgnWpKvNx5XeeiifwWjYU1meDnXEilB8/7mKJTZlozvXl0hP/A ZpsJJhKJfMynOWeNy1I5Q6W2vLndOyYfSahRzf+jaoMYxvr0pX3YP9ZD/zz6zlqH7+hw fiJc59KlijDNd1f39APGRvjQHsSrQkVaN4wdUzl4A5jbCTccklkfgH1SdTO2CaRMEK1B sxOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=gff6Qpvfb7jbLgrlfNuFjd9Zd4JOyuTWH1To4WhT4uc=; b=l4RH5WqeP+uiIQQjkfNs1AXCv9WB0j+canlMc+j8PI7BL8jSc1rwHYUjyTOGHXaCHO rvUC/xnse9WVlQs1n6tvu6tGvWVMGqSzYKKtBKd1qQagWRzw7igFhzqdZptUV6u78DHg V2eFXhev5RKZ0gNmD81NuYwjYJS1sCRFe0c/VMQRrp0z4YHSk5hreBmShTC5eQqqZy8t qfFDx70T04LPo7j8XrAWZiY9OCRAEQVZp/nGzjEy8uwP9dlrb9j9j6crLVZofQWFLcr6 QbblAGn9uQeBUTNz8VUPgI5ziTwuTSeLa13adqKWCmUv/a0CYHMD2bLjR7Jj7bKkOkXj bVDw== 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 k19-20020a170902761300b001a229e52c19si9649506pll.91.2023.04.04.00.25.52; Tue, 04 Apr 2023 00:25:59 -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 S230038AbjDDHZ2 (ORCPT + 60 others); Tue, 4 Apr 2023 03:25:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233873AbjDDHZS (ORCPT ); Tue, 4 Apr 2023 03:25:18 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F55D2D4B for ; Tue, 4 Apr 2023 00:25:12 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pjb2U-00073q-OK; Tue, 04 Apr 2023 09:25:10 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pjb2U-008rci-2g; Tue, 04 Apr 2023 09:25:10 +0200 Received: from sha by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pjb2T-002UPS-FU; Tue, 04 Apr 2023 09:25:09 +0200 From: Sascha Hauer To: linux-wireless Cc: Hans Ulli Kroll , Larry Finger , Pkshih , Tim K , "Alex G ." , Nick Morrow , Viktor Petrenko , Andreas Henriksson , ValdikSS , kernel@pengutronix.de, Sascha Hauer Subject: [PATCH v2 0/2] RTW88 USB bug fixes Date: Tue, 4 Apr 2023 09:25:06 +0200 Message-Id: <20230404072508.578056-1-s.hauer@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 This series fixes two bugs in the RTW88 USB driver I was reported from several people and that I also encountered myself. The first one resulted in "timed out to flush queue 3" messages from the driver and sometimes a complete stall of the TX queues. The second one is specific to the RTW8821CU chipset. Here 2GHz networks were hardly seen and impossible to connect to. This goes down to misinterpreting the rfe_option field in the efuse. Changes since v1: - Add Cc: stable@vger.kernel.org tag to the patches rather than Cc'ing stable@ directly - Add Tested-by: tags Sascha Hauer (2): wifi: rtw88: usb: fix priority queue to endpoint mapping wifi: rtw88: rtw8821c: Fix rfe_option field width drivers/net/wireless/realtek/rtw88/rtw8821c.c | 3 +- drivers/net/wireless/realtek/rtw88/usb.c | 70 +++++++++++++------ 2 files changed, 48 insertions(+), 25 deletions(-) -- 2.39.2