Refactored "NetlinkScan" DBus method.
[platform/core/connectivity/net-config.git] / include / wifi-netlink-scan.h
index 1bd0ce5..b3c1d93 100755 (executable)
@@ -29,6 +29,7 @@ extern "C" {
 #define NETCONFIG_SSID_LEN                     32
 #define NETCONFIG_BSSID_LEN                    17
 #define NETCONFIG_MAX_VSIE_LEN                 255
+#define NETCONFIG_VENDOR_SPECIFIC_ID           221
 
 #define NL80211_CMD_SCAN_ABORTED               35
 #define NL80211_CMD_GET_SCAN                   32
@@ -41,6 +42,7 @@ extern "C" {
 #define NL80211_BSS_MAX                                15
 #define NL80211_ATTR_BSS                       47
 #define NL80211_ATTR_IFINDEX                   3
+#define NL80211_ATTR_IE                                42
 #define NL80211_ATTR_SCAN_SSIDS                        45
 #define NL80211_ATTR_MAX                       221
 
@@ -71,8 +73,7 @@ typedef struct {
 } netconfig_nl_global;
 
 void __netconfig_notify_netlink_scan_done(void);
-int handle_netlink_scan(Wifi *wifi, GDBusMethodInvocation *context);
-int handle_netlink_specific_scan(Wifi *wifi, GDBusMethodInvocation *context, gchar *ssid);
+int handle_netlink_scan(Wifi *wifi, GDBusMethodInvocation *context, GVariant *params);
 
 #ifdef __cplusplus
 }