Christian Lamparter <chunkeey@xxxxxxxxx> wrote: > The common DT property can be used to limit the available channels > but ath9k has to manually call wiphy_read_of_freq_limits(). > > I would have put this into ath9k_of_init(). But it didn't work there. > The reason is that in ath9k_of_init() the channels and bands are not yet > registered in the wiphy struct. So there isn't any channel to flag as > disabled. > > Signed-off-by: Christian Lamparter <chunkeey@xxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 03469e79fee9 ath9k: support DT ieee80211-freq-limit property to limit channels -- https://patchwork.kernel.org/project/linux-wireless/patch/20211009212847.1781986-1-chunkeey@xxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches