]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
wpa_supplicant: Allow external management frame processing for testing
authorJouni Malinen <j@w1.fi>
Sat, 8 Mar 2014 18:21:21 +0000 (20:21 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 8 Mar 2014 18:21:21 +0000 (20:21 +0200)
commit60b893dfb3b56a0804200e6720c898d92511a302
tree3e9289d45458a30d5f7b47283f1716fddcfcb01b
parent5cf880118156fc98a51fd094af638a22c6ed6514
wpa_supplicant: Allow external management frame processing for testing

This enables more convenient protocol testing of AP and P2P
functionality in various error cases and unexpected sequences without
having to implement each test scenario within wpa_supplicant.
ext_mgmt_frame_handle parameter can be set to 1 to move all management
frame processing into an external program through control interface
events (MGMT-RX and MGMT-TX-STATUS) and command (MGMT_TX). This is
similar to the test interface that was added to hostapd previously, but
allows more control on offchannel operations and more direct integration
with the internal P2P module.

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