Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > From: Zong-Zhe Yang <kevin_yang@xxxxxxxxxxx> > > We need to invoke the callback of the changed band at the first > set_channel() after every power-off. Originally, we forced the > channel to be 0 when doing power-off, and then determined things > by comparing channel with 0. > > However, deciding on such things by channel might be confusing. > It's also confusing to use this kind of decision when we consider > multiple channels in the follow-up patches. So, another flag, > entity_active, is added ahead to HAL to deal with this. > > Besides, we also need to check if entity is active when we set > TX power. > > Signed-off-by: Zong-Zhe Yang <kevin_yang@xxxxxxxxxxx> > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> 13 patches applied to wireless-next.git, thanks. 967439c7a2a6 wifi: rtw89: rewrite decision on channel by entity state 3e5831cac1e6 wifi: rtw89: introduce rtw89_chan for channel stuffs cbb145b98b63 wifi: rtw89: re-arrange channel related stuffs under HAL bb8152b386c3 wifi: rtw89: create rtw89_chan centrally to avoid breakage 07ef5f2fa3f3 wifi: rtw89: txpwr: concentrate channel related control to top 010d0051f7ec wifi: rtw89: rfk: concentrate parameter control while set_channel() ce57e55c0b70 wifi: rtw89: concentrate parameter control for setting channel callback 494399b2130c wifi: rtw89: concentrate chandef setting to stack callback a88b6cc483ab wifi: rtw89: initialize entity and configure default chandef 7cf674ffc852 wifi: rtw89: introduce entity mode and its recalculated prototype 84b50f4187fc wifi: rtw89: add skeleton of mac80211 chanctx ops support 7fc06a071cd5 wifi: rtw89: declare support for mac80211 chanctx ops by chip deebea35d699 wifi: rtw89: early recognize FW feature to decide if chanctx -- https://patchwork.kernel.org/project/linux-wireless/patch/20220809104952.61355-2-pkshih@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches