Forcing clients into 2.4 or 5 GHz band

Jouni Malinen j at
Sat Sep 5 16:38:55 EDT 2015

On Thu, Sep 03, 2015 at 12:23:45AM +0200, Robert Senger wrote:
> Instead of requiring the users to set their device to 2.4 or 5 GHz only,
> I would like to force the clients into 5 GHz network server side. 
> The only way I've found to do this is to put the mac address of the
> Android clients into a deny_mac_file and add this option to the 2.4 GHz
> configuration file (to force them to use 5 GHz).
> This is not very elegant, so I would like to ask if there is a better
> way to do this.

There is not any completely robust approach for this, but this is an
area that has some work going on that will hopefully make it easier to
do this reliably in the future. The main issues with currently deployed
devices are that the AP does not really always know whether the station
supports multiple bands (that is not clearly identified by most, if not
more or less all, deployed stations) and there is no generic means for
the AP to steer the station to another BSS in a way that would work with
all deployed stations.

I added some basic framework to hostapd to enable more experimentations
for this. These are far from perfect, but anyway, suitable for testing.
Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list