|
@@ -31,7 +31,8 @@ enum wps_event;
|
|
union wps_event_data;
|
|
union wps_event_data;
|
|
|
|
|
|
struct hostapd_probereq_cb {
|
|
struct hostapd_probereq_cb {
|
|
- int (*cb)(void *ctx, const u8 *sa, const u8 *ie, size_t ie_len);
|
|
|
|
|
|
+ int (*cb)(void *ctx, const u8 *sa, const u8 *da, const u8 *bssid,
|
|
|
|
+ const u8 *ie, size_t ie_len);
|
|
void *ctx;
|
|
void *ctx;
|
|
};
|
|
};
|
|
|
|
|
|
@@ -247,6 +248,7 @@ void hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta,
|
|
/* utils.c */
|
|
/* utils.c */
|
|
int hostapd_register_probereq_cb(struct hostapd_data *hapd,
|
|
int hostapd_register_probereq_cb(struct hostapd_data *hapd,
|
|
int (*cb)(void *ctx, const u8 *sa,
|
|
int (*cb)(void *ctx, const u8 *sa,
|
|
|
|
+ const u8 *da, const u8 *bssid,
|
|
const u8 *ie, size_t ie_len),
|
|
const u8 *ie, size_t ie_len),
|
|
void *ctx);
|
|
void *ctx);
|
|
void hostapd_prune_associations(struct hostapd_data *hapd, const u8 *addr);
|
|
void hostapd_prune_associations(struct hostapd_data *hapd, const u8 *addr);
|
|
@@ -256,7 +258,7 @@ int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr,
|
|
const u8 *ie, size_t ielen, int reassoc);
|
|
const u8 *ie, size_t ielen, int reassoc);
|
|
void hostapd_notif_disassoc(struct hostapd_data *hapd, const u8 *addr);
|
|
void hostapd_notif_disassoc(struct hostapd_data *hapd, const u8 *addr);
|
|
void hostapd_event_sta_low_ack(struct hostapd_data *hapd, const u8 *addr);
|
|
void hostapd_event_sta_low_ack(struct hostapd_data *hapd, const u8 *addr);
|
|
-int hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa,
|
|
|
|
- const u8 *ie, size_t ie_len);
|
|
|
|
|
|
+int hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa, const u8 *da,
|
|
|
|
+ const u8 *bssid, const u8 *ie, size_t ie_len);
|
|
|
|
|
|
#endif /* HOSTAPD_H */
|
|
#endif /* HOSTAPD_H */
|