[PATCH v11 4/7] hostapd: Support 80/160/320 MHz widths in hostapd_is_usable_chans

Allen Ye (葉芷勳) Allen.Ye at mediatek.com
Tue Apr 7 23:39:55 PDT 2026


On Sun, 2026-04-05 at 12:09 +0300, Jouni Malinen wrote:
> This breaks hwsim test cases he_downgrade_40mhz_plus_minus_to_20mhz
> and
> he_downgrade_40mhz_to_20mhz. I did not look at details on what
> exactly
> is causing this, but something breaks the check for usable channels
> in
> this special case where a 40 MHz channel has to be changed to 20 MHz
> due to regulatory constraints.
Hi Jouni,

Thanks for reporting, I will fix this in the next v12 series.

Btw, I also found that the latest regulatory.db causes main branch fail
with the two cases. That is caused by a change which that adds the DFS
requirement on the country used in two testcases.
https://git.kernel.org/pub/scm/linux/kernel/git/wens/wireless-regdb.git/commit/db.txt?id=bd70876463fe096ab50d839dcfa0dd2df91fddf6
Maybe we need to use a different country code for the test?

Thanks,
Allen



More information about the Hostap mailing list