]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Add mechanism for indicating non-standard WPS errors
authorChao-Wen Yang <Chao-Wen.Yang@Atheros.com>
Thu, 13 Jan 2011 15:50:59 +0000 (17:50 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 13 Jan 2011 15:50:59 +0000 (17:50 +0200)
commitc5cf0a18f1ac9caac20966f17be20c6e0892daa1
treeec2fe1d6d7f3e9450dccb852a37a334a6780ae54
parente24cf97c0dbd08a35c83f285b3b44d6fafef4121
WPS: Add mechanism for indicating non-standard WPS errors

Previously, only the Configuration Error values were indicated in
WPS-FAIL events. Since those values are defined in the specification
it is not feasible to extend them for indicating other errors. Add
a new error indication value that is internal to wpa_supplicant and
hostapd to allow other errors to be indicated.

Use the new mechanism to indicate if negotiation fails because of
WEP or TKIP-only configurations being disallows by WPS 2.0.
src/ap/wps_hostapd.c
src/wps/wps.h
src/wps/wps_common.c
src/wps/wps_defs.h
src/wps/wps_enrollee.c
src/wps/wps_i.h
src/wps/wps_registrar.c
wpa_supplicant/wps_supplicant.c