]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/config.c
Allow AP mode to disconnect STAs based on low ACK condition
authorJohannes Berg <johannes.berg@intel.com>
Tue, 28 Dec 2010 15:15:01 +0000 (17:15 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 28 Dec 2010 15:15:01 +0000 (17:15 +0200)
commit0d7e5a3a29efd4bc138e74b19657e750d22c2887
tree1393ad2d01258c17ae21fe6fd228d653687435d1
parentd3e01b9d71046cdf77e4ff4ee6226c9d90d2e549
Allow AP mode to disconnect STAs based on low ACK condition

The nl80211 driver can report low ACK condition (in fact it reports
complete loss right now only). Use that, along with a config option, to
disconnect stations when the data connection is not working properly,
e.g., due to the STA having went outside the range of the AP. This is
disabled by default and can be enabled with disassoc_low_ack=1 in
hostapd or wpa_supplicant configuration file.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
14 files changed:
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.h
src/ap/drv_callbacks.c
src/ap/hostapd.h
src/common/ieee802_11_defs.h
src/drivers/driver.h
src/drivers/driver_nl80211.c
wpa_supplicant/ap.c
wpa_supplicant/config.c
wpa_supplicant/config.h
wpa_supplicant/config_file.c
wpa_supplicant/config_winreg.c
wpa_supplicant/events.c