Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2532740rdb; Fri, 22 Sep 2023 01:02:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsm4bFYjJqTBhIqgOiwrG7Hsdb4z9GZjrI9tryDMjweSSIz8+HD39zSyDfvH0XpXLOoUO0 X-Received: by 2002:a17:903:1103:b0:1c0:c3cc:d12a with SMTP id n3-20020a170903110300b001c0c3ccd12amr9113707plh.20.1695369745900; Fri, 22 Sep 2023 01:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695369745; cv=none; d=google.com; s=arc-20160816; b=BnZEcr3pUy1qB4ZglWKYbW8yCTtAlJ1VVH2yIHMJqFJTofW8ZFZqY5znVvSKV7DrXQ hmnmprfBy7HBhXXdfRoJCjlCymW/uM3EENHyY2OwUZONq+e/jWnQDoZCMbfRfY3l2e0e t13Vdd+CaYVXbdjZAJCqPNUXCCNavAToknPKQzGGP1atE21JwWrZBmsS9Cq9xzJUb3aC /O9zDZozocCJmjVeoHt1hvyJVKBkcVESZsAyH8+jKLykfGXhipw12E6vNLoIU9F+DXjf Kgt4k+PhN1w+fT6XE1hcuYVvMpVrfwny6ttEECrnUmfy4cz386k34dZehGmlaVkVQ0R7 VVHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=Rt0FUhb5s4t0Qdh3TJT5WQJrAIRQC/PgWbFAgoemDzE=; fh=nVgiLdLc+MV9s3ZKgUGT84t6sn7RE01PukgCYzHVZnA=; b=sBauUDLAbTIZET9B9ZFKhipu1YXS4elR96WrsJu8tGgYK09RsjLdDLeAhLmeEBOel5 /jKZ9nYMXDmy/oeAzZriy7/PfEhwUhwhwbJmsteQcAH+bo7CLFn1JX9E8Ad2HN3p8fZr tbaU3yRk2j9htua8G5cBVbT9tvjKLVa8SDBbZ/ipXvcW0iawSERHKg6WM4kTYI+AttJX Yr7rCJSkjr0PZ+llCZNVbdLqEVpH2I1sMLZV6aleEe9GH72WHqtntoRveDpSJYvYR06s GMifgh+yikMwumd3zq8RIOQ6bWJseM1JVFGqambcf3J7NyqYOVN3cLiQI0Ke775X/QUb m+JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mhxawKxu; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id jb22-20020a170903259600b001c4e9d53508si3046153plb.346.2023.09.22.01.02.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 01:02:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mhxawKxu; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 393D28093487; Fri, 22 Sep 2023 00:46:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231862AbjIVHqI (ORCPT + 56 others); Fri, 22 Sep 2023 03:46:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231878AbjIVHpp (ORCPT ); Fri, 22 Sep 2023 03:45:45 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B7D119BA for ; Fri, 22 Sep 2023 00:44:24 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5776FC433C9; Fri, 22 Sep 2023 07:44:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695368664; bh=4J0YpT7AiSnhsgyKDdI1p4GbzGZK4PWSE/jvZEH5l6Y=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=mhxawKxuzRc1KQdx8en3S88LSiOACAIlvmifNk+VEQg1Y6RNagE2cuO1OYiO5O2cH 04ix2EIlj7VXzY5mRHXD/bpYrdaj0mvdtQLYXDmb8bOrTVndebI4gyB83iXHhk//T6 9ICAim+3Hu+7MnzuqF3ys6yPRfgN/NlZtOXW51yTPG++QfXuWgRD7x/LnTWVSmpQBw VDVFg0VDXaOlVgNPNpxchFDQAEguq1+xyeeqE2q3bTP3WO1Tit5SGkqyBw/j7NPwaJ jK5X4Zcbjv1Xl32SwL7T6xhaQ9MIUiKVQqcDLdiYx/rhZbi5BSOFkLflTwzInIIbCm umSWquiN6XLug== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/7] wifi: rtw89: add subband index of primary channel to struct rtw89_chan From: Kalle Valo In-Reply-To: <20230920074322.42898-2-pkshih@realtek.com> References: <20230920074322.42898-2-pkshih@realtek.com> To: Ping-Ke Shih Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169536866144.2011393.5748552700226455609.kvalo@kernel.org> Date: Fri, 22 Sep 2023 07:44:23 +0000 (UTC) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 22 Sep 2023 00:46:10 -0700 (PDT) Ping-Ke Shih wrote: > The subband index is a hardware value of relationship between primary > channel and bandwidth, and it is used by setting channel/bandwidth to > specify the primary channel. > > Because this index is only needed when bandwidth >= 20 MHz, adjust > order of enumerator bandwidth to access offsets array easier. To prevent > misuse RTW89_CHANNEL_WIDTH_NUM as size, change it to > RTW89_CHANNEL_WIDTH_ORDINARY_NUM that will be the size of array. The > enumerator values of bandwidth (before ordinary number) will be also > used by upcoming TX power table built in firmware file, so add a comment > to remind keeping the order. > > Signed-off-by: Ping-Ke Shih 7 patches applied to wireless-next.git, thanks. 9483d8b3aac8 wifi: rtw89: add subband index of primary channel to struct rtw89_chan 1bf24172cc75 wifi: rtw89: indicate TX shape table inside RFE parameter 4cc05e315650 wifi: rtw89: indicate TX power by rate table inside RFE parameter 634fd9920c28 wifi: rtw89: phy: refine helpers used for raw TX power 9707ea6d6822 wifi: rtw89: load TX power by rate when RFE parms setup f6d601c7590f wifi: rtw89: phy: extend TX power common stuffs for Wi-Fi 7 chips 5ee7b2ea07cc wifi: rtw89: load TX power related tables from FW elements -- https://patchwork.kernel.org/project/linux-wireless/patch/20230920074322.42898-2-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches