]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
Add data test functionality
authorJouni Malinen <j@w1.fi>
Sun, 19 Oct 2014 17:51:45 +0000 (20:51 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 19 Oct 2014 17:51:45 +0000 (20:51 +0300)
commit4a6cc86272ec8367d934e06d7be1c74d3ea02255
tree8b8699ef01ce75153d94890b3387a0427492c20e
parenta8375c94c01c480e87262f2036b7656b85d1d11b
Add data test functionality

It is now possible to run hwsim_test like data connectivity test through
wpa_supplicant/hostapd control interface if CONFIG_TESTING_OPTIONS=y is
used for the build. Test functionality is enabled/disabled at runtime
with "DATA_TEST_CONFIG <1/0>". The "DATA_TEST_TX <dst> <src> <tos>"
command can be used to request a test frame to be transmitted.
"DATA-TEST-RX <dst> <src>" event is generated when the test frame is
received.

Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/ctrl_iface.c
src/ap/hostapd.h
wpa_supplicant/ctrl_iface.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h