Add wpa_supplicant AP mode events for Public Action frames

This commit is contained in:
Jouni Malinen 2010-04-11 20:33:33 +03:00 committed by Jouni Malinen
parent 195420b8d1
commit c706d5aa17
6 changed files with 52 additions and 4 deletions

View file

@ -172,6 +172,10 @@ struct hostapd_data {
struct hostapd_probereq_cb *probereq_cb;
size_t num_probereq_cb;
void (*public_action_cb)(void *ctx, const u8 *buf, size_t len,
int freq);
void *public_action_cb_ctx;
void (*wps_reg_success_cb)(void *ctx, const u8 *mac_addr,
const u8 *uuid_e);
void *wps_reg_success_cb_ctx;
@ -204,6 +208,7 @@ struct hostapd_iface {
* current_mode->channels */
int num_rates;
struct hostapd_rate_data *current_rates;
int freq;
u16 hw_flags;