Changing Channel On-The-Fly

Kahn, Gery geryk at
Mon Jan 24 09:50:07 EST 2011

It looks like roaming case, isn't it?

On Sun, Jan 23, 2011 at 18:14, Jouni Malinen <j at> wrote:
> On Thu, Jan 20, 2011 at 04:01:20PM +0200, Volkan YAZICI wrote:
>> How can I change the channel hostapd is operating at without losing
>> established connections? Editing hostapd.conf and sending a SIGHUP makes
>> hostapd change the channel, but it loses established connections. On the
>> other hand, I don't want to edit hostapd.conf; I want to make this
>> configuration from a C/C++ application. (Hence, ioctl() calls, libnl
>> uses are welcome.) Any helps will be really appreciated.
> This is not currently supported, but will be needed for proper DFS/radar
> detection support, so there is interest in getting proper channel switch
> support added in the near future. Since hostapd is in control of the
> Beacon frame template with some drivers, it needs to know the current
> channel and direct ioctl/libnl use is not a viable direction for this in
> many cases.
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at

More information about the HostAP mailing list