wpa_supplicant: Configurable EAP fragment size in AP mode
authorLior David <qca_liord@qca.qualcomm.com>
Sat, 16 Jan 2016 16:57:54 +0000 (18:57 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 24 Jun 2016 16:02:58 +0000 (19:02 +0300)
commitb94fff1d93e894b55656dea1a833b33b93e8c4f0
treebde33898d337702f9e51b408b921bdec02c687dc
parent617593c37f0089c1ea330b6115df6dda1808d986
wpa_supplicant: Configurable EAP fragment size in AP mode

In wpa_supplicant AP mode, allow configuration of the EAP fragment size
using the fragment_size member of network block (wpa_ssid), similar to
the fragment_size in hostapd configuration. bss->fragment_size default
value of 0 is treated specially in some EAP code paths (such as MTU
initialization in eap_pwd_init). In order to preserve the existing
behavior, bss->fragment_size will only be set if the network block
specified a value different from the default which is
DEFAULT_FRAGMENT_SIZE(1398) bytes.

Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
wpa_supplicant/ap.c