]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/ctrl_iface.c
DPP: Protocol testing framework
authorJouni Malinen <jouni@qca.qualcomm.com>
Sun, 22 Oct 2017 08:15:21 +0000 (11:15 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 22 Oct 2017 14:21:57 +0000 (17:21 +0300)
commit60239f60a613c0f7e65293f50258a640d2724217
tree98cb7f1e524a0dbfb14f5eca8c55d9310bb39540
parent7ed5337d8ce96d4cf6ef45a18728329b27635c46
DPP: Protocol testing framework

Add a generic mechanism for configuring the DPP implementation to behave
in particular different (mostly incorrect) ways for protocol testing
purposes. The new dpp_test parameter can be set to a non-zero integer to
indicate a specific behavior. This is only available in
CONFIG_TESTING_OPTIONS=y builds.

This commit include cases for an extra attribute being added after the
Wrapped Data attribute and Initiator/Responder capabilities having an
unexpected zero capability.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/ctrl_iface.c
src/common/dpp.c
src/common/dpp.h
wpa_supplicant/ctrl_iface.c