[PATCH] DFS: respect manual channel selection when channels are unaviable

Jouni Malinen j at w1.fi
Thu Mar 19 10:10:12 PDT 2026


On Wed, Mar 04, 2026 at 03:52:00PM +0100, Nicolas Escande wrote:
> When operating on a DFS channel, the code checks whether any of the spanned
> subchannels are unavailable & selects a new operating channel if need be. This
> is all good when using ACS as we do not care for the exact channel used in the
> end but it shouldn't happen when the user explicitely provided a specific
> channel number to use. We should respect it.

I'm assuming the current behavior is actually by design to meet certain
regulatory requirements related to having to select a random operating
channel. As such, I'm not sure the proposed change should really be
applied. Do you have more specific justification for proposing this
modification to behavior?

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list