hostapd configuration for Beacon protection
Add a new hostapd configuration parameter beacon_prot=<0/1> to allow Beacon protection to be enabled. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
cb86e8bac8
commit
92d407dbd6
5 changed files with 11 additions and 0 deletions
|
@ -349,6 +349,7 @@ struct hostapd_bss_config {
|
|||
int wpa_key_mgmt;
|
||||
enum mfp_options ieee80211w;
|
||||
int group_mgmt_cipher;
|
||||
int beacon_prot;
|
||||
/* dot11AssociationSAQueryMaximumTimeout (in TUs) */
|
||||
unsigned int assoc_sa_query_max_timeout;
|
||||
/* dot11AssociationSAQueryRetryTimeout (in TUs) */
|
||||
|
|
|
@ -188,6 +188,7 @@ struct wpa_auth_config {
|
|||
int okc;
|
||||
int tx_status;
|
||||
enum mfp_options ieee80211w;
|
||||
int beacon_prot;
|
||||
int group_mgmt_cipher;
|
||||
int sae_require_mfp;
|
||||
#ifdef CONFIG_OCV
|
||||
|
|
|
@ -67,6 +67,7 @@ static void hostapd_wpa_auth_conf(struct hostapd_bss_config *conf,
|
|||
#endif /* CONFIG_OCV */
|
||||
wconf->okc = conf->okc;
|
||||
wconf->ieee80211w = conf->ieee80211w;
|
||||
wconf->beacon_prot = conf->beacon_prot;
|
||||
wconf->group_mgmt_cipher = conf->group_mgmt_cipher;
|
||||
wconf->sae_require_mfp = conf->sae_require_mfp;
|
||||
#ifdef CONFIG_IEEE80211R_AP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue