WPS 2.0: Validate WPS attributes in management frames and WSC messages
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 26 May 2010 14:16:14 +0000 (17:16 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 9 Sep 2010 13:07:48 +0000 (06:07 -0700)
commit54f489be451b6c38574cbb0972f18d623bf0a17a
treef5ffbf7781cba58f75ef5e71c57bfcc1a833f71e
parent00ae50bc879479f556c6919d8003dbfdb3e24c2d
WPS 2.0: Validate WPS attributes in management frames and WSC messages

If CONFIG_WPS_STRICT is set, validate WPS IE(s) in management frames and
reject the frames if any of the mandatory attributes is missing or if an
included attribute uses an invalid value. In addition, verify that all
mandatory attributes are included and have valid values in the WSC
messages.
13 files changed:
hostapd/Makefile
src/ap/drv_callbacks.c
src/ap/ieee802_11.c
src/ap/wps_hostapd.c
src/wps/wps.h
src/wps/wps_enrollee.c
src/wps/wps_registrar.c
src/wps/wps_validate.c [new file with mode: 0644]
wpa_supplicant/Makefile
wpa_supplicant/events.c
wpa_supplicant/scan.c
wpa_supplicant/scan.h
wpa_supplicant/wps_supplicant.c