Add option to reject authentication on 2.4 GHz from dualband STA
authorJouni Malinen <j@w1.fi>
Sat, 5 Sep 2015 16:00:03 +0000 (19:00 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 5 Sep 2015 16:11:02 +0000 (19:11 +0300)
commit0e2412d0864f0323e0d560edc024421bfae0b8bd
tree2a4395fc2acb5f7ef3656815e591b484cd8d1e4f
parentec4387f9c92a66e921ee8b71d10807cb36b99697
Add option to reject authentication on 2.4 GHz from dualband STA

The new no_auth_if_seen_on=<ifname> parameter can now be used to
configure hostapd to reject authentication from a station that was seen
on another radio.

This can be used with enabled track_sta_max_num configuration on another
interface controlled by the same hostapd process to reject
authentication attempts from a station that has been detected to be
capable of operating on another band, e.g., to try to reduce likelihood
of the station selecting a 2.4 GHz BSS when the AP operates both a 2.4
GHz and 5 GHz BSS concurrently.

Note: Enabling this can cause connectivity issues and increase latency for
connecting with the AP.

Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.c
src/ap/ap_config.h
src/ap/beacon.c
src/ap/beacon.h
src/ap/ieee802_11.c
src/common/ieee802_11_defs.h