#define NL80211_CMD_NEW_SCAN_RESULTS 34
#define NL80211_BSS_BSSID 1
#define NL80211_BSS_FREQUENCY 2
+#define NL80211_BSS_CAPABILITY 5
#define NL80211_BSS_INFORMATION_ELEMENTS 6
#define NL80211_BSS_SIGNAL_MBM 7
#define NL80211_BSS_MAX 15
#define NL80211_ATTR_SCAN_SSIDS 45
#define NL80211_ATTR_MAX 221
+#define WLAN_CAPABILITY_PRIVACY (1<<4)
+
struct bss_scan_info_t {
char bssid[NETCONFIG_BSSID_LEN+1];
char ssid[NETCONFIG_SSID_LEN+1];
struct nl_msg *msg;
} netconfig_nl_global;
-void __netconfig_notify_netlink_scan_done(void);
-int handle_netlink_scan(Wifi *wifi, GDBusMethodInvocation *context, GVariant *params);
+void __netconfig_notify_netlink_scan_done(const char *interface_name);
+int handle_netlink_scan(Wifi *wifi, GDBusMethodInvocation *context,
+ const gchar *ifname, GVariant *params);
#ifdef __cplusplus
}