Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4703098rwe; Mon, 17 Apr 2023 17:38:38 -0700 (PDT) X-Google-Smtp-Source: AKy350YV07rdSm7K9lm8/cjBZM3he0JVE56agWwPbmKIWeFW/9EB1DqyZuRdY2wnVD0XC3Qm4dcq X-Received: by 2002:a17:90a:ea01:b0:244:af48:c4f3 with SMTP id w1-20020a17090aea0100b00244af48c4f3mr365839pjy.7.1681778318747; Mon, 17 Apr 2023 17:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681778318; cv=none; d=google.com; s=arc-20160816; b=u3BLBenfvrF4P3Wt9tIKc/lQ5O0AVVOJaHHjqHgBRKQrPvFtu4xDRYtzQdJyWRfd1h QKInBMWwz3/EzM/PIyshz/v92e/p3F4HozRxKt2ntttsblb5HumHXVp0NioLNoi2dDbP gTut70pLbWb6IOl6qIYkKAHS39m3oXW33CDSMOCfqP+TAv5ACM7JBs9Ji984Gw4magPH hs9kShMDxoibGzWny7oR4Owdv3oX9NKZ9hM+b6RsTIhlJyQspio2BdSEFeZq2TQWXasW MJjbAuzw6rxa26ylkH6mv+0T0HUqJgmsZTlEb5arWWJW5XeTKaoO5WPB05VYj30JLwB2 dA5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=3KK8kQB436tA5YXZp12c6eJGeLHmIV1yjgDO1gzu++E=; b=oM79guTis4QDCmCadmT8juslpcPxKqvjoKPF4umk4gCt9JaL/hJsLwi0oi+bD6OOQe WklgClqNTPL72Q0Gn913WR2HDzPYxaeDZ92C8YjrswCPlgj7YB/Ey6+dgLDBD0d0RLRR zosamrpYf05LvwOeCiVexbZa1JE8+iw+Mes2qVualeSlMbUnMjfubznn0JhG5PwF93tW uzuslNp0aIUUKrTh17827AIGlWz9IS7qh1SDfDEY56QfCx3l+CIQUhgtvIjsBk6IxyFz 8hjpkXTYxT/DPOA16nuy08FQy3RCJzs4PDSz9XV5Ln7dpenz2HYRc4MmJ13Cs1ELyc3+ 3plg== 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 e3-20020a17090a818300b0024666c4e8d8si6939105pjn.187.2023.04.17.17.38.29; Mon, 17 Apr 2023 17:38:38 -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 S229575AbjDRAhf convert rfc822-to-8bit (ORCPT + 63 others); Mon, 17 Apr 2023 20:37:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbjDRAhe (ORCPT ); Mon, 17 Apr 2023 20:37:34 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF0532718 for ; Mon, 17 Apr 2023 17:37:32 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 33I0b9Qw9008620, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 33I0b9Qw9008620 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Tue, 18 Apr 2023 08:37:09 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Tue, 18 Apr 2023 08:37:09 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS01.realtek.com.tw (172.21.6.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 18 Apr 2023 08:37:09 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Tue, 18 Apr 2023 08:37:03 +0800 From: Ping-Ke Shih To: Sascha Hauer , linux-wireless CC: Hans Ulli Kroll , Larry Finger , Tim K , "Alex G ." , Nick Morrow , Viktor Petrenko , Andreas Henriksson , ValdikSS , "kernel@pengutronix.de" Subject: RE: [PATCH v3 4/4] wifi: rtw88: call rtw8821c_switch_rf_set() according to chip variant Thread-Topic: [PATCH v3 4/4] wifi: rtw88: call rtw8821c_switch_rf_set() according to chip variant Thread-Index: AQHZcTWi+jI4vOtbCUmy915TdE5ybK8wOUHA Date: Tue, 18 Apr 2023 00:37:03 +0000 Message-ID: <63392288710b4a83bb966be6c8507b03@realtek.com> References: <20230417140358.2240429-1-s.hauer@pengutronix.de> <20230417140358.2240429-5-s.hauer@pengutronix.de> In-Reply-To: <20230417140358.2240429-5-s.hauer@pengutronix.de> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS01.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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-wireless@vger.kernel.org > -----Original Message----- > From: Sascha Hauer > Sent: Monday, April 17, 2023 10:04 PM > To: linux-wireless > Cc: Hans Ulli Kroll ; Larry Finger ; Ping-Ke Shih > ; Tim K ; Alex G . ; Nick Morrow > ; Viktor Petrenko ; Andreas Henriksson ; > ValdikSS ; kernel@pengutronix.de; Sascha Hauer > Subject: [PATCH v3 4/4] wifi: rtw88: call rtw8821c_switch_rf_set() according to chip variant > > We have to call rtw8821c_switch_rf_set() with SWITCH_TO_WLG or > SWITCH_TO_BTG according to the chip variant as denoted in rfe_option. > The information which argument to use for which variant has been > taken from the vendor driver. > > Signed-off-by: Sascha Hauer Reviewed-by: Ping-Ke Shih [...]