From: hyunuktak Date: Wed, 16 Dec 2015 04:45:54 +0000 (+0900) Subject: [ACR]Add new APIs for TDLS (2) X-Git-Tag: submit/tizen/20160108.030209~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcba2c493b2fde1b5a3f47399ad575d19be2a10c;p=platform%2Fcore%2Fapi%2Fwifi.git [ACR]Add new APIs for TDLS (2) - Fix description for WIFI_ERROR_PERMISSION_DENIED - Define TDLS group in document Change-Id: I92fc43d551da168d375bd9ae84e588f1859bdeed Signed-off-by: Seonah Moon --- diff --git a/doc/wifi_doc.h b/doc/wifi_doc.h index 59eb4d2..99fa2fd 100755 --- a/doc/wifi_doc.h +++ b/doc/wifi_doc.h @@ -218,4 +218,29 @@ * */ +/** + * @defgroup CAPI_NETWORK_WIFI_TDLS_MODULE + * @brief The TDLS APIs for managing TDLS. + * @ingroup CAPI_NETWORK_WIFI_MODULE + * + * @section CAPI_NETWORK_WIFI_TDLS_MODULE Required Header + * \#include + * + * @section CAPI_NETWORK_WIFI_TDLS_MODULE_OVERVIEW Overview + * The TDLS APIs for managing TDLS. + * @section CAPI_NETWORK_WIFI_TDLS_MODULE Related Features + * This API is related with the following features:\n + * - http://tizen.org/feature/network.wifi.tdls\n + * + * It is recommended to design feature related codes in your application for reliability.\n + * + * You can check if a device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, thereby controlling the procedure of your application. + * + * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.\n + * + * More details on featuring your application can be found from Feature List. + * + */ + + #endif /* __TIZEN_NETWORK_WIFI_DOC_H__ */ diff --git a/include/wifi.h b/include/wifi.h index 09d9946..e8ffb93 100755 --- a/include/wifi.h +++ b/include/wifi.h @@ -414,6 +414,7 @@ typedef bool (*wifi_config_list_cb)(const wifi_config_h config, void *user_data) * @retval #WIFI_ERROR_NONE Successful * @retval #WIFI_ERROR_INVALID_OPERATION Invalid operation * @retval #WIFI_ERROR_OPERATION_FAILED Operation failed + * @retval #WIFI_ERROR_PERMISSION_DENIED Permission Denied * @retval #WIFI_ERROR_NOT_SUPPORTED Not supported */ int wifi_initialize(void); @@ -911,6 +912,7 @@ int wifi_unset_rssi_level_changed_cb(void); * @retval #WIFI_ERROR_NONE Successful * @retval #WIFI_ERROR_INVALID_PARAMETER Invalid parameter * @retval #WIFI_ERROR_OUT_OF_MEMORY Out of memory + * @retval #WIFI_ERROR_PERMISSION_DENIED Permission Denied * @retval #WIFI_ERROR_NOT_SUPPORTED Not supported * @see wifi_ap_destroy() */ @@ -2076,7 +2078,7 @@ int wifi_config_set_eap_subject_match(wifi_config_h config, const char* subject_ */ /** - * @addtogroup CAPI_NETWORK_WIFI_TDLS + * @addtogroup CAPI_NETWORK_WIFI_TDLS_MODULE * @{ */ @@ -2108,13 +2110,14 @@ typedef void(*wifi_tdls_state_changed_cb)(wifi_tdls_state_e state, char* peer_ma * @privlevel public * @privilege %http://tizen.org/privilege/network.set * - * @param[in] ap The MAC address of the connected peer + * @param[in] peer_mac_addr The MAC address of the connected peer * * @return @c 0 on success, otherwise negative error value * @retval #WIFI_ERROR_NONE Successful * @retval #WIFI_ERROR_INVALID_OPERATION Invalid operation * @retval #WIFI_ERROR_INVALID_PARAMETER Invalid parameter * @retval #WIFI_ERROR_OPERATION_FAILED Operation failed + * @retval #WIFI_ERROR_PERMISSION_DENIED Permission Denied * @retval #WIFI_ERROR_NOT_SUPPORTED Not supported */ int wifi_tdls_disconnect(const char* peer_mac_addr); @@ -2134,6 +2137,7 @@ int wifi_tdls_disconnect(const char* peer_mac_addr); * @retval #WIFI_ERROR_INVALID_PARAMETER Invalid parameter * @retval #WIFI_ERROR_OPERATION_FAILED Operation failed * @retval #WIFI_ERROR_NO_CONNECTION No active TDLS Connection + * @retval #WIFI_ERROR_PERMISSION_DENIED Permission Denied * @retval #WIFI_ERROR_NOT_SUPPORTED Not supported */ int wifi_tdls_get_connected_peer(char** peer_mac_addr); diff --git a/packaging/capi-network-wifi.spec b/packaging/capi-network-wifi.spec index dbe4505..3914d5e 100755 --- a/packaging/capi-network-wifi.spec +++ b/packaging/capi-network-wifi.spec @@ -1,6 +1,6 @@ Name: capi-network-wifi Summary: Network Wi-Fi library in TIZEN C API -Version: 1.0.63 +Version: 1.0.64 Release: 1 Group: System/Network License: Apache-2.0