Ping-Ke Shih <pkshih@xxxxxxxxxxx> 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 <pkshih@xxxxxxxxxxx> 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@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches