Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > From: Zong-Zhe Yang <kevin_yang@xxxxxxxxxxx> > > One chip can have different RFE (RF front end) types which we will judge > at runtime. And, different RFE types may use different RF parameter tables. > Though we didn't really meet this case previously, we are going to meet it > on upcoming chip RTL8851B. So, this commit handles parameter tables for > runtime RFE type. > > We now encapsulate rtw89_txpwr_rule_<2/5/6>ghz tables into rtw89_rfe_parms. > Then, each chip defines its default parameter tables, and if needed, it can > configure extra parameter tables by RFE type. Finally we determine runtime > parameter tables by RFE type if one is configured. Otherwise, we use the > default parameter tables. > > For now, we just move all settings under default parameter tables. We will > configure parameter tables by RFE types in separate commits afterwards. > > Signed-off-by: Zong-Zhe Yang <kevin_yang@xxxxxxxxxxx> > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-next.git, thanks. 5395482afabb wifi: rtw89: support parameter tables by RFE type -- https://patchwork.kernel.org/project/linux-wireless/patch/20230330080331.37155-1-pkshih@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches