aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-27 23:10:07 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-27 23:10:07 (GMT)
commitccd286d0259d1569e9bec4b9bd6ad042e2397aec (patch)
tree0f0e50cda78dd224e328032409a34bfbdb578b33 /wpa_supplicant/dbus/dbus_new.h
parent99a6a63f2546ed0afb5c15c633e5304dad7118fa (diff)
downloadhostap-ccd286d0259d1569e9bec4b9bd6ad042e2397aec.zip
hostap-ccd286d0259d1569e9bec4b9bd6ad042e2397aec.tar.gz
hostap-ccd286d0259d1569e9bec4b9bd6ad042e2397aec.tar.bz2
dbus: Use the new BSS table with the new D-Bus API
Replace the scan results -based implementation with the use of information from the new BSS table maintained by wpa_supplicant to get a more stable source of BSS data. Change the use of BSSID as the key for the BSS object to use the BSS table unique identifier so that multi-SSID APs can be handled properly.
Diffstat (limited to 'wpa_supplicant/dbus/dbus_new.h')
-rw-r--r--wpa_supplicant/dbus/dbus_new.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/wpa_supplicant/dbus/dbus_new.h b/wpa_supplicant/dbus/dbus_new.h
index e263945..7ec4560 100644
--- a/wpa_supplicant/dbus/dbus_new.h
+++ b/wpa_supplicant/dbus/dbus_new.h
@@ -63,9 +63,10 @@ struct wpas_dbus_callbacks {
void (*signal_network_enabled_changed)(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid);
- int (*register_bss)(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN]);
+ int (*register_bss)(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN],
+ unsigned int id);
int (*unregister_bss)(struct wpa_supplicant *wpa_s,
- u8 bssid[ETH_ALEN]);
+ u8 bssid[ETH_ALEN], unsigned int id);
void (*signal_prop_changed)(struct wpa_supplicant *wpa_s,
enum wpas_dbus_prop property);
@@ -123,8 +124,6 @@ struct wpas_dbus_callbacks {
#define WPAS_DBUS_ERROR_BLOB_UNKNOWN \
WPAS_DBUS_NEW_IFACE_INTERFACE ".BlobUnknown"
-#define WPAS_DBUS_BSSID_FORMAT "%02x%02x%02x%02x%02x%02x"
-
struct wpas_dbus_callbacks * wpas_dbus_get_callbacks(void);
const char * wpas_dbus_get_path(struct wpa_supplicant *wpa_s);