[PATCH] hostapd: fix opclass during CSA with DFS channels

Jouni Malinen j at w1.fi
Wed Apr 24 08:15:07 PDT 2024


On Tue, Apr 23, 2024 at 11:08:08AM +0200, marek at mazekey.pl wrote:
> During CSA with DFS channels, disable, enable interface
> is a part of the algorithm.
> When interface was enabled old operating class before switch
> and new channel were used causing mismatch in
> configured_fixed_chan_to_freq function.
> 
> Example of log when switch from channel 157 to 108 was triggered:
> "Could not convert op_class 124 channel 108 to operating frequency"

Could you please provide full hostapd configuration that can trigger
this and a debug log showing this? In particular, I'd like to understand
which country code was used.  This did not seem to show any issues in a
hwsim test setup with country code US, and I'd like to be able to add a
regression test case with this type of fixes.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list