aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-12-28 15:15:01 (GMT)
committerJouni Malinen <j@w1.fi>2010-12-28 15:15:01 (GMT)
commit0d7e5a3a29efd4bc138e74b19657e750d22c2887 (patch)
tree1393ad2d01258c17ae21fe6fd228d653687435d1 /wpa_supplicant/config.h
parentd3e01b9d71046cdf77e4ff4ee6226c9d90d2e549 (diff)
downloadhostap-0d7e5a3a29efd4bc138e74b19657e750d22c2887.zip
hostap-0d7e5a3a29efd4bc138e74b19657e750d22c2887.tar.gz
hostap-0d7e5a3a29efd4bc138e74b19657e750d22c2887.tar.bz2
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>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index f288b2c..c0ac41f 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -400,6 +400,11 @@ struct wpa_config {
* changed_parameters - Bitmap of changed parameters since last update
*/
unsigned int changed_parameters;
+
+ /**
+ * disassoc_low_ack - disassocenticate stations with massive packet loss
+ */
+ int disassoc_low_ack;
};