Changing Channel On-The-Fly

Jouni Malinen j at w1.fi
Sun Jan 23 11:14:57 EST 2011


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


More information about the HostAP mailing list