Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4010744iog; Tue, 28 Jun 2022 07:19:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ucztC30rKomHkS7w7Rq29qnTtN2bat+zxBu32qWiEE/eelWQbiTbmOjuNRIi8764Au1+B9 X-Received: by 2002:aa7:8f30:0:b0:525:3ad6:fb67 with SMTP id y16-20020aa78f30000000b005253ad6fb67mr3927410pfr.78.1656425939984; Tue, 28 Jun 2022 07:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656425939; cv=none; d=google.com; s=arc-20160816; b=hjRC2AfHJw7V/K0bRJtyhsuk6jOR5iGIIlO641EPpiBsbKOjE7oC8Kvo4J+XY0tR5y 8NOMfkKMvTvre7i2kISaTPUI7cZ+yA7TL/1neY+dH9GEyZ49meMYuu4VHU1gVscthSyM WePIFPkyE6EPCQks66NisD4AoIoZNDbzXMUhZldxscp4q+LljqKzNK20Nw0BlPq+3l0D 02dWweXBPY8FZaOfWmoiCx9s7S/s8Q6zj0hjSzATeKHoktHjcCVoqSUgy6CYFOjrsYoE 4kDDRdVCVKYDs5FcikFWIDo+5+svAEhjnLuYToX/4GboGMbuVnV2AWrQOvnefr9vq7fV domA== 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=ca1bGidMkbdT0a8nquq9S3TpjUqhKGtRYkPZWtCBkgw=; b=JwQn3HQXEsx53btMx2qDys8d9FUvFUbXQkUP8kjO+7b8WqJl5ePSjWfAtksLcVHc1V uuzNszLEpvZAC33Ec57yDgML6FI1Z/LDGtMQo+6/iboUwtngq0FkvEYCREFRgc+q84rE DKVPr6CB5blrqlgsCrwwY0s81lxdnunMIIzkCUYE8mSIa38EeYeZyguJhQW9KgViV+7X JuJqN5hkMNngrO7yLQFqJC+FNTHBfPAfrOW8Atko49HIMR/YjE75SuL2v6rHkb2ls9xd SG08BqDtYPeWrv2pmff7/yXVk9siwWvCOst6OOVHLARLi6mlkIU3L/gBr866fkSrt0BM UHFA== 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 m21-20020a63f615000000b003fbd7285a83si17080699pgh.817.2022.06.28.07.18.41; Tue, 28 Jun 2022 07:18:59 -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 S1346224AbiF1Ncx (ORCPT + 99 others); Tue, 28 Jun 2022 09:32:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345929AbiF1NcS (ORCPT ); Tue, 28 Jun 2022 09:32:18 -0400 Received: from smtpbguseast1.qq.com (smtpbguseast1.qq.com [54.204.34.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DBDC2D1C2 for ; Tue, 28 Jun 2022 06:31:29 -0700 (PDT) X-QQ-mid: bizesmtp78t1656423065tqijenko Received: from localhost.localdomain ( [58.240.82.166]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 28 Jun 2022 21:31:03 +0800 (CST) X-QQ-SSF: 01400000002000G0S000B00A0000000 X-QQ-FEAT: 4LFlwc+MlXnChWxg3oOtFJfgLn7urosoV/9rl2dk+8gxm5PSaDOW+ATgGdXwo 1IlJfMixzWnih6orY1V4z0UOzxhXvTCzfAUZ5HQKKsWoXzXWLJSV6hj82Ewlhe6nXlzbhE/ gmpovedVoA+2a1DSkKh0O1gF2SOzV9Bbj74Y9i0f2ZnNJePqj8IfLgYGM6/seRHjhJ00lfz X2U54K7QgtGv1OrM2Kfs/myObSwpHy/KPU2kERdkMEvEpvmdNRIoKl8XUXdRBPZCGnSTuVr aqeBsfjzn2NUxh7ntPzdsf+2fFv7n5Pmp7HeVJ4ICGvnZlqQUwT2UohDM5ZEByThQqk+oh1 /OYA+IUyCrJjYMUYAOx6G2/0Rc9grKYQUg/fXrsG2ZMY4zZg4eLpiy3C1tZEXaH32erz1D8 X-QQ-GoodBg: 2 From: Meng Tang To: stable@vger.kernel.org, tony0620emma@gmail.com, kvalo@codeaurora.org, davem@davemloft.net, kuba@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.10 3/3] commit e109e3617e5d ("rtw88: rtw8821c: enable rfe 6 devices") Date: Tue, 28 Jun 2022 21:30:46 +0800 Message-Id: <20220628133046.2474-3-tangmeng@uniontech.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220628133046.2474-1-tangmeng@uniontech.com> References: <20220628133046.2474-1-tangmeng@uniontech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:uniontech.com:qybgforeign:qybgforeign10 X-QQ-Bgrelay: 1 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,PDS_BTC_ID, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 These commits can fix the problem of wifi not loading properly, so I think that 5.10 need to merge these commits. 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 9c8fbc96f536..cbb4c761c5cb 100644 --- a/drivers/net/wireless/realtek/rtw88/rtw8821c.c +++ b/drivers/net/wireless/realtek/rtw88/rtw8821c.c @@ -1468,6 +1468,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