aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_config.h
diff options
context:
space:
mode:
authorBeni Lev <beni.lev@intel.com>2017-08-21 16:43:53 (GMT)
committerJouni Malinen <j@w1.fi>2019-01-01 16:18:50 (GMT)
commit076f1ea1d9d78a2ecca678e3a7dddec128ff19fc (patch)
tree1c286b2629c213510e9716d35da25348a75dc81c /src/ap/ap_config.h
parent19677b77c3a48116eb2fa5db06966da7220cd76d (diff)
downloadhostap-076f1ea1d9d78a2ecca678e3a7dddec128ff19fc.zip
hostap-076f1ea1d9d78a2ecca678e3a7dddec128ff19fc.tar.gz
hostap-076f1ea1d9d78a2ecca678e3a7dddec128ff19fc.tar.bz2
OCE: Add RSSI based association rejection support (AP)
An AP might reject a STA association request due to low RSSI. In such case, the AP informs the STA the desired RSSI improvement and a retry timeout. The STA might retry to associate even if the RSSI hasn't improved if the retry timeout expired. Signed-off-by: Beni Lev <beni.lev@intel.com>
Diffstat (limited to 'src/ap/ap_config.h')
-rw-r--r--src/ap/ap_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h
index f0645dc..c49e2c1 100644
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
@@ -849,6 +849,9 @@ struct hostapd_config {
#define CH_SWITCH_VHT_ENABLED BIT(0)
#define CH_SWITCH_VHT_DISABLED BIT(1)
unsigned int ch_switch_vht_config;
+
+ int rssi_reject_assoc_rssi;
+ int rssi_reject_assoc_timeout;
};