Add external EAPOL transmission option for testing purposes

The new ext_eapol_frame_io parameter can be used to configure hostapd
and wpa_supplicant to use control interface for receiving and
transmitting EAPOL frames. This makes it easier to implement automated
test cases for protocol testing. This functionality is included only in
CONFIG_TESTING_OPTIONS=y builds.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2014-10-10 18:01:15 +03:00 committed by Jouni Malinen
parent 61fc90483f
commit 9d4ff04af3
8 changed files with 160 additions and 1 deletions

View file

@ -247,7 +247,8 @@ struct hostapd_data {
#endif /* CONFIG_SAE */
#ifdef CONFIG_TESTING_OPTIONS
int ext_mgmt_frame_handling;
unsigned int ext_mgmt_frame_handling:1;
unsigned int ext_eapol_frame_io:1;
#endif /* CONFIG_TESTING_OPTIONS */
};