WPS: Make fragment size configurable for EAP-WSC peer

"wpa_cli set wps_fragment_size <val>" can now be used to configure the
fragment size limit for EAP-WSC.
This commit is contained in:
Jouni Malinen 2010-07-22 10:24:23 -07:00 committed by Jouni Malinen
parent ecece754db
commit 42f50264c0
4 changed files with 11 additions and 0 deletions

View file

@ -224,6 +224,8 @@ static void * eap_wsc_init(struct eap_sm *sm)
data->fragment_size = res;
else
data->fragment_size = WSC_FRAGMENT_SIZE;
wpa_printf(MSG_DEBUG, "EAP-WSC: Fragment size limit %u",
(unsigned int) data->fragment_size);
if (registrar && cfg.pin) {
wps_registrar_add_pin(data->wps_ctx->registrar, NULL, NULL,