hostapd: Remove unused passive scan functionality

This was not really supported by any of the included driver wrappers. If
this functionality is desired in the future, this (or something similar)
can be added with the changes needed into a driver wrapper to use the
mechanism.
This commit is contained in:
Jouni Malinen 2009-04-17 15:47:37 +03:00 committed by Jouni Malinen
parent c811d5bc78
commit 61693eaa80
11 changed files with 7 additions and 100 deletions

View file

@ -1298,9 +1298,6 @@ struct wpa_driver_ops {
int (*bss_add)(void *priv, const char *ifname, const u8 *bssid);
int (*bss_remove)(void *priv, const char *ifname);
int (*valid_bss_mask)(void *priv, const u8 *addr, const u8 *mask);
int (*passive_scan)(void *priv, int now, int our_mode_only,
int interval, int _listen, int *channel,
int *last_rx);
int (*if_add)(const char *iface, void *priv,
enum hostapd_driver_if_type type, char *ifname,
const u8 *addr);
@ -1747,8 +1744,6 @@ struct hostapd_frame_info {
u32 channel;
u32 datarate;
u32 ssi_signal;
unsigned int passive_scan:1;
};
void hostapd_mgmt_rx(struct hostapd_data *hapd, u8 *buf, size_t len,

View file

@ -3255,7 +3255,6 @@ const struct wpa_driver_ops wpa_driver_ndis_ops = {
NULL /* bss_add */,
NULL /* bss_remove */,
NULL /* valid_bss_mask */,
NULL /* passive_scan */,
NULL /* if_add */,
NULL /* if_update */,
NULL /* if_remove */,

View file

@ -851,7 +851,6 @@ struct wpa_driver_ops wpa_driver_privsep_ops = {
NULL /* bss_add */,
NULL /* bss_remove */,
NULL /* valid_bss_mask */,
NULL /* passive_scan */,
NULL /* if_add */,
NULL /* if_update */,
NULL /* if_remove */,

View file

@ -2558,7 +2558,6 @@ const struct wpa_driver_ops wpa_driver_test_ops = {
NULL /* bss_add */,
NULL /* bss_remove */,
NULL /* valid_bss_mask */,
NULL /* passive_scan */,
NULL /* if_add */,
NULL /* if_update */,
NULL /* if_remove */,