Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp974882rwl; Fri, 31 Mar 2023 05:14:07 -0700 (PDT) X-Google-Smtp-Source: AKy350bcUd+EKNTdw7+n9gAncAG9ouxiBw0uw5AHTdnpaA4MSUyKngtCvFm89phZTwq6XjBu6f+b X-Received: by 2002:a17:906:ca4a:b0:92b:e330:a79e with SMTP id jx10-20020a170906ca4a00b0092be330a79emr9539798ejb.29.1680264847492; Fri, 31 Mar 2023 05:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680264847; cv=none; d=google.com; s=arc-20160816; b=cbHF+AqC4tjiV2NqApz9qpESwDqxBL3UpflTbF7UEd7Y7SEmm0p7r4xjeVy7vlkTyu cD38By8kE5vPOBKgtxeU/IhqBWPN5qNCxmriRuHkNxwm5S8c7lG22oMCToMS04GM1k60 ge0jTgv4zC1k8I2K0jaSCiS/Ve/q6avjAqSaxTKZ0imLdqxJ5jOpBl03yCEf4lnmAfjZ +a9J5rllI0/1Yf31T5d2WX+D3G2Fwv2G2UgDHme3xenRuD1I6TMw1vqt00cRhjiUx7ya p8QvDkl8lFGC6Ezm2VNSY9VCdDR52sONGOrChyFq85i2Tbv6QZX7iOfw36st0lDVL3ZO wCJA== 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=AY8c7kJkwRTKKUEHFqESN2c0P1yOSgiqRI97kgXRguY=; b=qNtgIx29cHAHgxs6hSAHSdcC25/3ElIW1hXm/zfKr6gLpcI8SKgsoL47LaszANaYgG hgnbm8FfPxB3NfXsbKQp3f8Mnq4vDUi4XVzXI8RYzE0hb82/1Fmr8ai29BZ+hrkdxuAk YVITYw5F27y1/9sHLp3n4qBNBMFI9SM9AhQkNLZ7J9s5BfQfM75xcKnSbbJxJPGmwkz1 E6q65Jm/wfWJza6ZBiVBxyxO/+/CifWTu1arGSiN3irvfOIpGMTh25dkDmy5LDJx6/EJ RANdwJvoSXkNVrXtQ+HN99bHI3Z3hPBpDQxlZrTrFGZvX5JiGM+af6SKp/EAmcAaEVxC gn1Q== 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 bh1-20020a170906a0c100b00947bac8a3cbsi778943ejb.546.2023.03.31.05.13.49; Fri, 31 Mar 2023 05:14:07 -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 S232046AbjCaMLP (ORCPT + 58 others); Fri, 31 Mar 2023 08:11:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230112AbjCaMLO (ORCPT ); Fri, 31 Mar 2023 08:11:14 -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 B6FC8AD1B for ; Fri, 31 Mar 2023 05:11: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 1piDaw-0007FG-1z; Fri, 31 Mar 2023 14:11:02 +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 1piDas-007zAJ-JN; Fri, 31 Mar 2023 14:10:58 +0200 Received: from sha by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1piDar-001AI2-Gf; Fri, 31 Mar 2023 14:10:57 +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, stable@vger.kernel.org, Sascha Hauer Subject: [PATCH 0/2] RTW88 USB bug fixes Date: Fri, 31 Mar 2023 14:10:52 +0200 Message-Id: <20230331121054.112758-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. 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