On Thu, 2023-03-30 at 19:30 +0300, Jouni Malinen wrote: > On Tue, Mar 28, 2023 at 11:42:17AM +0200, Johannes Berg wrote: > > On Tue, 2023-03-28 at 15:01 +0530, Veerendranath Jakkam wrote: > > > Add support to configure the list of allowed 20 MHz channels for AP > > > operation using an array of channel center frequencies in MHz, this > > > configuration is valid until the AP is stopped. Driver shall filter out > > > channels on top of this list of channels based on regulatory or other > > > constraints during channel switch etc. Driver shall stop the AP > > > operation if all the channels are filtered out during such operation. > > > > Normally hostapd is doing anything related to the channel picking, so > > you need to explain why this is needed. > > hostapd does this for many cases, but there are drivers, including a > couple of the upstream drivers, that select a channel internally for > channel switch cases. Those would be able to use this information. Is > that of sufficient generic interest or do you prefer vendor commands to > be used for such functionality? Oh, no, I'm entirely happy with this happening in nl80211, it's just the age-old question again of whether those upstream drivers will ever even get support for it, or if we end up with more code that effectively looks dead as far as upstream is concerned :-) If this actually came with a driver patch using it, the question wouldn't even arise, since then it's clear why it's needed and what for... johannes