hostapd: Add testing option to use only ECSA
Some APs don't include a CSA IE when an ECSA IE is generated, and mac80211 used to fail following their channel switch. Add a testing option to hostapd to allow reproducing the behavior. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
fa53d74c9e
commit
2b6e121676
5 changed files with 13 additions and 0 deletions
|
@ -180,6 +180,7 @@ struct hostapd_config * hostapd_config_defaults(void)
|
|||
conf->ignore_assoc_probability = 0.0;
|
||||
conf->ignore_reassoc_probability = 0.0;
|
||||
conf->corrupt_gtk_rekey_mic_probability = 0.0;
|
||||
conf->ecsa_ie_only = 0;
|
||||
#endif /* CONFIG_TESTING_OPTIONS */
|
||||
|
||||
conf->acs = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue