Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6471322rwr; Mon, 24 Apr 2023 21:43:43 -0700 (PDT) X-Google-Smtp-Source: AKy350a7Yi9YTkpqV+18wdP31NJnCSKmtbuXigkkLfYZNRSuq99IvUTXhXgKSax1OXT6+FdttWZH X-Received: by 2002:a17:90b:f89:b0:247:13f5:47de with SMTP id ft9-20020a17090b0f8900b0024713f547demr15879730pjb.44.1682397822737; Mon, 24 Apr 2023 21:43:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682397822; cv=none; d=google.com; s=arc-20160816; b=VYZimOlaSD0yqZxJ7gaNbUttzZ1ZwKPOi4fAl+nbg8vAf8D3/UZf6AXfDiKbkkkkEx 0O7p084P8PaU/cBPpglyYmMF80zx3vGaepJXssBHxlCT9vl7cKCsvdIwFOM8jahTSQVO N4IAqaL1IUKSMZ2gmPHbvxPPQ/op4AJj6n01Gz0Bm7+FBKi13nsXqXX8a0mlklqK6QKf 2xGeuSVdKlCrPh9ojdhe495IH9xPXn6U581WEUU+aaxNwFlaEZPRcFbTNEPUc02ZFxzG +F3igwDKTDdjB6+ta2+HbEPnlBiCnlWmvCBZrRYJ+ak9fQy4pbeexT/3n2V3grskJ5TQ pHUA== 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=6XB0aeaLxewYd6ZeyT4EWyW67mlurQ+qQSnXKzbs01M=; b=dS5TqHaMABUjLo3lwA5M9NTzqxIEg5WlueKUkSU0+HfV+A270aqBGFEqT1qd1cnfpH B4HZlOpAzqyVjtlAhaf06wAXbS5qCqlRrEo/adprpLvRnU+M2Wy8G3RL4jwGtIc9qlDv RttCLN5sFZBIpnQ4Mq9YpeFiPlY0Ulrt8F7X9KkCGa6SCO5CCQ4BP5EHbUT1KVZ9pXjL weg3el/7r3KS43Gf3jzfPP+BFABEo5L4E+9rRUkDNDp7iTT2ViHs56MUT4FXWpdUY6FS oFK6Vepj0u1qCJ/54P7TONgLswU8cBWwy61RCMJjuiAD7rmmCfC2R8EKudlLsGkMDQbg TpMg== 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 y1-20020a17090aca8100b00240ac49e589si13024087pjt.3.2023.04.24.21.43.29; Mon, 24 Apr 2023 21:43:42 -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 S232222AbjDYEmp convert rfc822-to-8bit (ORCPT + 63 others); Tue, 25 Apr 2023 00:42:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbjDYEmn (ORCPT ); Tue, 25 Apr 2023 00:42:43 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB2BE3AAA; Mon, 24 Apr 2023 21:42:42 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 33P4gUxZ5000552, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 33P4gUxZ5000552 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Tue, 25 Apr 2023 12:42:30 +0800 Received: from RTEXDAG01.realtek.com.tw (172.21.6.100) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Tue, 25 Apr 2023 12:42:32 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXDAG01.realtek.com.tw (172.21.6.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 25 Apr 2023 12:42:31 +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, 25 Apr 2023 12:42:31 +0800 From: Ping-Ke Shih To: Gregg Wonderly CC: Jakub Kicinski , Kalle Valo , "netdev@vger.kernel.org" , "linux-wireless@vger.kernel.org" Subject: RE: pull-request: wireless-next-2023-04-21 Thread-Topic: pull-request: wireless-next-2023-04-21 Thread-Index: AQHZdD60u8zT35eBqkOmWCVcBjPBJa81U6EAgAX6SUD//5x0gIAAjSlw Date: Tue, 25 Apr 2023 04:42:31 +0000 Message-ID: <038b1ab2cf7043908ee7dd399627fd7c@realtek.com> References: <20230421104726.800BCC433D2@smtp.kernel.org> <20230421075404.63c04bca@kernel.org> <92FFD14B-6BE0-4AC1-9281-A37508817A3B@seqtechllc.com> In-Reply-To: <92FFD14B-6BE0-4AC1-9281-A37508817A3B@seqtechllc.com> 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: RTEXDAG01.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-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback 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 Hi Gregg, (no top posting for wireless mailing list, so I move your post to bottom) > -----Original Message----- > From: Gregg Wonderly > Sent: Tuesday, April 25, 2023 12:15 PM > To: Ping-Ke Shih > Cc: Jakub Kicinski ; Kalle Valo ; netdev@vger.kernel.org; > linux-wireless@vger.kernel.org > Subject: Re: pull-request: wireless-next-2023-04-21 > > > On Apr 24, 2023, at 9:41 PM, Ping-Ke Shih wrote: > > > > > > > >> -----Original Message----- > >> From: Jakub Kicinski > >> Sent: Friday, April 21, 2023 10:54 PM > >> To: Kalle Valo > >> Cc: netdev@vger.kernel.org; linux-wireless@vger.kernel.org > >> Subject: Re: pull-request: wireless-next-2023-04-21 > >> > >> On Fri, 21 Apr 2023 10:47:26 +0000 (UTC) Kalle Valo wrote: > >>> .../net/wireless/realtek/rtw89/rtw8851b_table.c | 14824 +++++++++++++++++++ > >>> .../net/wireless/realtek/rtw89/rtw8851b_table.h | 21 + > >> > >> We should load these like FW, see the proposal outlined in > >> https://lore.kernel.org/all/20221116222339.54052a83@kernel.org/ > >> for example. Would that not work? > >> > > > > That would work, and I think struct fields addr and val should be __le32. > > And, I have some draft ideas to handle some situations we will face: > > > > 1. upgrading to newer driver without built-in tables will break user space > > if people don't download table file from linux-firmware.git. > > Maybe, we can keep the built-in tables and support loading from files > > for couple years at least. > > > > 2. c code can do changes along with these tables, so driver should do some > > compatibility things for register version. > > > > 3. The file contains not only simple registers tables but also TX power tables > > and power tracking tables. These tables are multiple dimensions, and > > dimensions can be changed due to more channels are supported, for example. > > To be backward compatible, we need to add conversion function from > > v1, v2 ... to current. > > > > I will think further to make this change smooth. > > > > Could this be expressed in a /proc structure of files and directories? > I'm not clear what you meant. Could you please give me an example for reference? Ping-Ke