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>
This commit is contained in:
Beni Lev 2017-08-21 19:43:53 +03:00 committed by Jouni Malinen
parent 19677b77c3
commit 076f1ea1d9
7 changed files with 66 additions and 6 deletions

View file

@ -241,6 +241,9 @@ struct hostapd_config * hostapd_config_defaults(void)
* environments for the current frequency band in the country. */
conf->country[2] = ' ';
conf->rssi_reject_assoc_rssi = 0;
conf->rssi_reject_assoc_timeout = 30;
return conf;
}