hostapd: Allow external management frame processing or testing
This enables more convenient protocol testing of station side functionality in various error cases and unexpected sequences without having to implement each test scenario within hostapd. 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). Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
e4a44b3c09
commit
93827f456a
3 changed files with 62 additions and 0 deletions
|
@ -240,6 +240,10 @@ struct hostapd_data {
|
|||
u8 sae_token_key[8];
|
||||
struct os_reltime last_sae_token_key_update;
|
||||
#endif /* CONFIG_SAE */
|
||||
|
||||
#ifdef CONFIG_TESTING_OPTIONS
|
||||
int ext_mgmt_frame_handling;
|
||||
#endif /* CONFIG_TESTING_OPTIONS */
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue