diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2010-07-18 19:28:53 -0700 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2010-07-20 22:56:10 -0700 |
commit | 7f6ec672ea429cc02bbe5532f3cc9e8892adb00c (patch) | |
tree | f5a542d82da9ea32d94d58a4ec707787d025de02 /hostapd | |
parent | f3a3e6987e2201e17cdb244e166b62325f99eb7d (diff) | |
download | external_wpa_supplicant_8_ti-7f6ec672ea429cc02bbe5532f3cc9e8892adb00c.zip external_wpa_supplicant_8_ti-7f6ec672ea429cc02bbe5532f3cc9e8892adb00c.tar.gz external_wpa_supplicant_8_ti-7f6ec672ea429cc02bbe5532f3cc9e8892adb00c.tar.bz2 |
EAP server: Add support for configuring fragment size
Diffstat (limited to 'hostapd')
-rw-r--r-- | hostapd/config_file.c | 2 | ||||
-rw-r--r-- | hostapd/hostapd.conf | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c index 8916b03..fc933f5 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -1313,6 +1313,8 @@ struct hostapd_config * hostapd_config_read(const char *fname) } else if (os_strcmp(buf, "dh_file") == 0) { os_free(bss->dh_file); bss->dh_file = os_strdup(pos); + } else if (os_strcmp(buf, "fragment_size") == 0) { + bss->fragment_size = atoi(pos); #ifdef EAP_SERVER_FAST } else if (os_strcmp(buf, "pac_opaque_encr_key") == 0) { os_free(bss->pac_opaque_encr_key); diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf index 041b947..e948c20 100644 --- a/hostapd/hostapd.conf +++ b/hostapd/hostapd.conf @@ -504,6 +504,9 @@ eap_server=0 # "openssl dhparam -out /etc/hostapd.dh.pem 1024" #dh_file=/etc/hostapd.dh.pem +# Fragment size for EAP methods +#fragment_size=1400 + # Configuration data for EAP-SIM database/authentication gateway interface. # This is a text string in implementation specific format. The example # implementation in eap_sim_db.c uses this as the UNIX domain socket name for |