[ACR]Add new APIs for TDLS (2) 26/55626/1
authorhyunuktak <hyunuk.tak@samsung.com>
Wed, 16 Dec 2015 04:45:54 +0000 (13:45 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 28 Dec 2015 08:21:44 +0000 (17:21 +0900)
- Fix description for WIFI_ERROR_PERMISSION_DENIED
- Define TDLS group in document

Change-Id: I92fc43d551da168d375bd9ae84e588f1859bdeed
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
doc/wifi_doc.h
include/wifi.h
packaging/capi-network-wifi.spec

index 59eb4d2..99fa2fd 100755 (executable)
  *
  */
 
+/**
+ * @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 <wifi.h>
+ *
+ * @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 <a href="https://developer.tizen.org/development/getting-started/native-application/understanding-tizen-programming/application-filtering"><b>Feature List</b>.
+ *
+ */
+
+
 #endif /* __TIZEN_NETWORK_WIFI_DOC_H__ */
index 09d9946..e8ffb93 100755 (executable)
@@ -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);
index dbe4505..3914d5e 100755 (executable)
@@ -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