Merge "Added support to set and get IP configuration details." into tizen
[platform/core/connectivity/net-config.git] / src / wifi.c
index 3ec8d94..d47a352 100755 (executable)
@@ -31,6 +31,7 @@
 #include "wifi-eap.h"
 #include "wifi-wps.h"
 #include "wifi-bssid-scan.h"
+#include "wifi-netlink-scan.h"
 #include "wifi-power.h"
 #include "wifi-state.h"
 #include "wifi-agent.h"
@@ -41,6 +42,7 @@
 #include "ip-conflict-detect.h"
 #include "wifi-config.h"
 #include "wifi-tdls.h"
+#include "wifi-key-encryption.h"
 #include "wifi-extension.h"
 
 #define SPRD_CP2_FIRMWARE_PATH "/usr/bin/cp2-downloader"
@@ -166,6 +168,8 @@ void wifi_object_create_and_init(void)
                        G_CALLBACK(handle_request_bssid_scan), NULL);
        g_signal_connect(wifi_object, "handle-get-bssid-list",
                        G_CALLBACK(handle_get_bssid_list), NULL);
+       g_signal_connect(wifi_object, "handle-netlink-scan",
+                       G_CALLBACK(handle_netlink_scan), NULL);
 
        /* WPS Connect */
        g_signal_connect(wifi_object, "handle-request-wps-connect",
@@ -279,6 +283,12 @@ void wifi_object_create_and_init(void)
        g_signal_connect(wifi_object, "handle-tdls-cancel-channel-switch",
                        G_CALLBACK(handle_tdls_cancel_channel_switch), NULL);
 
+       /* Passphrase Encryption */
+       g_signal_connect(wifi_object, "handle-encrypt-passphrase",
+                       G_CALLBACK(handle_encrypt_passphrase), NULL);
+       g_signal_connect(wifi_object, "handle-decrypt-passphrase",
+                       G_CALLBACK(handle_decrypt_passphrase), NULL);
+
        if (!g_dbus_interface_skeleton_export(interface_wifi, connection,
                        NETCONFIG_WIFI_PATH, NULL)) {
                ERR("Export WIFI_PATH for wifi failed");