WPS: Testing mechanism to force auth/encr type flags
authorJouni Malinen <j@w1.fi>
Fri, 1 Jan 2016 11:03:25 +0000 (13:03 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 1 Jan 2016 11:42:04 +0000 (13:42 +0200)
commit6e379c6c166953b53824a62e9170efb07a886d4e
tree15d3e6b531fe5f53eee2d93fea9545ff181392a0
parentea319127e4ad93a62ca7b730f5698c360ae1ac88
WPS: Testing mechanism to force auth/encr type flags

The new wps_force_{auth,encr}_types parameters can be used in test build
(CONFIG_WPS_TESTING) to force wpa_supplicant to use the specified value
in the Authentication/Encryption Type flags attribute. This can be used
to test AP behavior on various error cases for which there are
workarounds to cover deployed device behavior.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/wps/wps.c
src/wps/wps_attr_build.c
src/wps/wps_defs.h
wpa_supplicant/ctrl_iface.c