Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > From: Zong-Zhe Yang <kevin_yang@xxxxxxxxxxx> > > In path of setting channel and setting TX power, the rtw89_chan instance > to be used is controlled by top and passed down. The set_tx_shape_dfir() > is in path of setting TX power, so it should use the passed rtw89_chan > instead of querying it itself. Otherwise, it might encounter mismatch > between parameters if multi-channel. > > For example, > rtw89_8852ce 0000:04:00.0: set tx shape dfir by unknown ch: 155 on 2GHz > > Signed-off-by: Zong-Zhe Yang <kevin_yang@xxxxxxxxxxx> > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-next.git, thanks. 764f07f4565d wifi: rtw89: use passed channel in set_tx_shape_dfir() -- https://patchwork.kernel.org/project/linux-wireless/patch/20230201032057.7349-1-pkshih@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches