Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp503431iog; Thu, 30 Jun 2022 05:09:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tbQ+4Xq4pDdW954wZPTnzpjMDf/csxjMi1+uF9MEavtYYRldXCyHndRSSP90jH1ZmQ807V X-Received: by 2002:a63:3409:0:b0:40c:9736:287 with SMTP id b9-20020a633409000000b0040c97360287mr7442286pga.14.1656590950360; Thu, 30 Jun 2022 05:09:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656590950; cv=none; d=google.com; s=arc-20160816; b=tJtN/gaAU1nbdO78xQWsSUMmargBU6pZ9e+FWd5hSu6BZMizu2rMD4UjSuEXET337S KUmHfgAwc4FpuG3xGd6AfRS9Rz4hQvAQiqmdYOdszLGnvXv23r1imZoVgu0ePa+w21UT Erpbx//jfkm+7TwMMx0Ua8exumEEe7+h0C2dE7XPrO2cPNjH8AmljKwiDr5cSyN52Z9F dIbMt71LUsy6KUOhRZMMD2esRXQ+OGaqgFGd3Itpr4RBIv6KgBuZyUANFL9sOhXIhZTi Ns6ugm/Bcdlp4eatpr5EPRXxwH8Z9WOXJWmuqMr3H+rSlRAxLTil1ofSL7TLo8O4LaST wMdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=P4gK4LQBos82bQ6ebAAf+syRMTyyfTAswBfTkvvFQWc=; b=WnBaMWrfqb2WyA+G5of5qdd66pyxCRePsi6cHqalQpatql9qqYSQ8utIFNGGXQVLBU dB1yIncYHWIfXp/tF2azZWNTnBuSUO5gc8Ci469i8rQfdkoNSZPdDGu2CRVJOuSriVc5 es5rwCSPnYVMg9/qJVgPi7KVWM0nrGL89PyKVYiCizFHWbmH0BB+2++2N3ylzNEuCEQY WPg1zw8Kvt3XswGmGdx7R7jqQBNEmAMBnwFcTtYXC4ZaqfquNAdxhTvrJ2i5Kct8MK4r UN1kLkj0shTdqLxv33vfkM5wJe4Z+fwa8kN26eOwiPedLdbIWZE+y9EmQjMXd2ne4Xgm BWPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 h11-20020a170902f7cb00b001697cf98e70si818079plw.404.2022.06.30.05.08.57; Thu, 30 Jun 2022 05:09:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235150AbiF3LrC (ORCPT + 99 others); Thu, 30 Jun 2022 07:47:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235169AbiF3LrA (ORCPT ); Thu, 30 Jun 2022 07:47:00 -0400 Received: from smtpbg516.qq.com (smtpbg516.qq.com [203.205.250.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CA555A47A for ; Thu, 30 Jun 2022 04:46:52 -0700 (PDT) X-QQ-mid: bizesmtp78t1656589595tu32ek8s Received: from localhost.localdomain ( [58.240.82.166]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 30 Jun 2022 19:46:31 +0800 (CST) X-QQ-SSF: 01400000002000G0S000B00A0000000 X-QQ-FEAT: Ut0pB98mtT+/43S/LX/0XKO1oFH7DNq54rVcpUXYCg38a5NPqt+Pn5EjXuROK TZN5G4/wU1eyw6PKbdcUjumKmVKUWrQQPKJ72C8EaHgwqbZYpO44lyLeAB0RyC+PgJtSenM QlkqAYl2ePH7UINHjca903mFupeaqTUtqyZdLixtDHxYlLZdMZe1XUYDKKXlhNoaUIKIIBx MFQ3NnUxylv16Or4WdnLYGRns2XrfwIXYJkiYd1+D88/Ep2F7vUF3UG2GBLbZryaPlkvbLg gUjKO/rIC1NZbgqWQpoZbuTnFUXksX1p3QjNSDgETcrDTlqqyQSwYIZXP5uhCl6x2h6R6cv eocyhOnuiqdI+sl95S8set5Hmw11h7RfJCeolWXo0p8mWW0PJJ9ynAicAYE0w== X-QQ-GoodBg: 2 From: Meng Tang To: stable@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Meng Tang , Ping-Ke Shih , masterzorag , Larry Finger , Kalle Valo Subject: [PATCH 5.15 2/2] rtw88: rtw8821c: enable rfe 6 devices Date: Thu, 30 Jun 2022 19:46:21 +0800 Message-Id: <20220630114621.19688-2-tangmeng@uniontech.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220630114621.19688-1-tangmeng@uniontech.com> References: <20220630114621.19688-1-tangmeng@uniontech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:uniontech.com:qybgforeign:qybgforeign4 X-QQ-Bgrelay: 1 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,PDS_BTC_ID, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_HELO_TEMPERROR autolearn=no 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-kernel@vger.kernel.org commit e109e3617e5d563b431a52e6e2f07f0fc65a93ae upstream. Ping-Ke Shih answered[1] a question for a user about an rtl8821ce device that reported RFE 6, which the driver did not support. Ping-Ke suggested a possible fix, but the user never reported back. A second user discovered the above thread and tested the proposed fix. Accordingly, I am pushing this change, even though I am not the author. [1] https://lore.kernel.org/linux-wireless/3f5e2f6eac344316b5dd518ebfea2f95@realtek.com/ Signed-off-by: Ping-Ke Shih Reported-and-tested-by: masterzorag Signed-off-by: Larry Finger Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20220107024739.20967-1-Larry.Finger@lwfinger.net Signed-off-by: Meng Tang --- drivers/net/wireless/realtek/rtw88/rtw8821c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/realtek/rtw88/rtw8821c.c b/drivers/net/wireless/realtek/rtw88/rtw8821c.c index 746f6f8967d8..897da3ed2f02 100644 --- a/drivers/net/wireless/realtek/rtw88/rtw8821c.c +++ b/drivers/net/wireless/realtek/rtw88/rtw8821c.c @@ -1513,6 +1513,7 @@ static const struct rtw_rfe_def rtw8821c_rfe_defs[] = { [0] = RTW_DEF_RFE(8821c, 0, 0), [2] = RTW_DEF_RFE_EXT(8821c, 0, 0, 2), [4] = RTW_DEF_RFE_EXT(8821c, 0, 0, 2), + [6] = RTW_DEF_RFE(8821c, 0, 0), }; static struct rtw_hw_reg rtw8821c_dig[] = { -- 2.20.1