Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp654316iog; Thu, 30 Jun 2022 07:45:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s+fw59sMTwp/EGMWdTefdXuqtzpIp92+AjFHn48wzCoYFi92Gvod1RD2s0mcXcOIbtuICD X-Received: by 2002:a05:6402:150:b0:437:b93c:3a9 with SMTP id s16-20020a056402015000b00437b93c03a9mr11677966edu.82.1656600356866; Thu, 30 Jun 2022 07:45:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656600356; cv=none; d=google.com; s=arc-20160816; b=e5XQunbBG5i33P2eOKa3cfqM+2wto33vRXRgMNCav8E3B0j819fllu5fEM1IW+Qjzx RN6K+k7nUrTdlHXbsCharrb+Axpl/Ud1RHLzJ+G6Fxj4dhlRubEUtJIXSvpAJisFgIz8 jwCFf5HHuWKjCXWKRkrSP1TmLiducA4zVKcgP6dLFV7JHcDcBYrW+22l5bwUukHyu5w1 7CmWs0FsFuCJtsw3Tizm+UsxyhRZeV3eS8eHscrEjBPXwcaSSAmPu3sSGu0JeYAsBADO le5xGdvvqd9GY5RhMERmTKd6/hp7WCn0B0jU7xoTUXp45LT9SGZvspK+jug+ISaG8+Fm 7aug== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=x9dC8iDu+ok4oYhP9wdI4Oqi+wQ7GtzLSaWNR94Fr8Q=; b=ZVLJ0Ea96144YgoSniDWOxYAAxCBTx99YhPAZ+t3s1EcQ7PlJxx2c8anTuWm9NizD0 fCuTKsFKNXQ7XRKOg/du34VAvbUSWsCcV0TkJ/iyKq6yWa3BqRCV9yAyghikv3I3uBHf x9tOKd/MGD0BK+GQJiTHE3rAKUOrFYoBQGhrirQyq7R7xme0mo3vn8Xkf2OQsfyKPIEX W/bPFJwkBq4ywU6DyIdX899ABGgUvhB2EraaK0QAzxLJoBsAgd9OjE+Ei6AXoGovYUoJ dqe4ozReS8nagrhuPINGSP96im6NGWNE32zVUlxWG1DIZQx9ILwl6/Tzu/l/4Ak/uydf lwVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HQCidDt4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m25-20020aa7d359000000b004354b21c8a0si21326929edr.60.2022.06.30.07.45.32; Thu, 30 Jun 2022 07:45:56 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HQCidDt4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236610AbiF3OKJ (ORCPT + 99 others); Thu, 30 Jun 2022 10:10:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236570AbiF3OI1 (ORCPT ); Thu, 30 Jun 2022 10:08:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C15E73916; Thu, 30 Jun 2022 06:55:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 39DEC620E4; Thu, 30 Jun 2022 13:55:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47493C34115; Thu, 30 Jun 2022 13:55:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656597314; bh=5Hs42u4n4+SLrM71tzC8RqAQC1Y6FoSI/2TDv8QZ5VQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HQCidDt4mJUIt9kkGAp0Hd0kOumf5de4GxhwX8acriqh/LWfZGdK4IRnxp4JDQGLW j77/nro3bWUwRZBG1Aqzus0p2yu2IG9SesuSM6xFEATsrCNhUevLPfbLsnLOyfjldv q4EjB/QcEbTQ7FKzMTKtjXhR3Eovh7h+cQKicuXY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ping-Ke Shih , Larry Finger , Kalle Valo , Meng Tang , masterzorag Subject: [PATCH 5.15 26/28] rtw88: rtw8821c: enable rfe 6 devices Date: Thu, 30 Jun 2022 15:47:22 +0200 Message-Id: <20220630133233.700605953@linuxfoundation.org> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220630133232.926711493@linuxfoundation.org> References: <20220630133232.926711493@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,PDS_BTC_ID, RCVD_IN_DNSWL_HI,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-kernel@vger.kernel.org From: Ping-Ke Shih 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 Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/realtek/rtw88/rtw8821c.c | 1 + 1 file changed, 1 insertion(+) --- 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 [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[] = {