X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fwifi-tdls.h;h=93019710eb0df1b9b12f2ec62adf804feadb32c1;hb=5ef2801fb3dd1e5443de822f834d3f2ce43c9ddd;hp=3b9bf0e2a9db2b32a3d48523167a1be22a1af73b;hpb=fd923f0bf938ceefa8610485bd50e81fd62479a8;p=platform%2Fcore%2Fconnectivity%2Fnet-config.git diff --git a/include/wifi-tdls.h b/include/wifi-tdls.h index 3b9bf0e..9301971 100755 --- a/include/wifi-tdls.h +++ b/include/wifi-tdls.h @@ -26,6 +26,16 @@ #include #include "netsupplicant.h" + +typedef enum { + NETCONFIG_ERROR_TDLS_NO_ERROR = 0x00, + NETCONFIG_ERROR_TDLS_FAIL_DISCOVER = 0x01, + NETCONFIG_ERROR_TDLS_FAIL_DISCONNECT = 0x02, + NETCONFIG_ERROR_TDLS_FAIL_CONNECT = 0x03, + NETCONFIG_ERROR_TDLS_ALREADY_DONE = 0x04, + NETCONFIG_ERROR_TDLS_FAIL_CHANNEL_SWITCH = 0x05, +} netconfig_tdls_error_e; + void netconfig_wifi_tdls_peer_found_event(GVariant *message); void netconfig_wifi_tdls_connected_event(GVariant *message); void netconfig_wifi_tdls_disconnected_event(GVariant *message); @@ -34,6 +44,11 @@ gboolean handle_tdls_disconnect(Wifi *wifi, GDBusMethodInvocation *context, gcha gboolean handle_tdls_connected_peer(Wifi *wifi, GDBusMethodInvocation *context); gboolean handle_tdls_connect(Wifi *wifi, GDBusMethodInvocation *context, gchar *peer_mac_Addr); gboolean handle_tdls_discover(Wifi *wifi, GDBusMethodInvocation *context, gchar *peer_mac_Addr); +gboolean handle_tdls_channel_switch(Wifi *wifi, GDBusMethodInvocation *context, + gchar *peer_mac_Addr, int freq); +gboolean handle_tdls_cancel_channel_switch(Wifi *wifi, GDBusMethodInvocation *context, + gchar *peer_mac_Addr); + #ifdef __cplusplus