Added prototype of CAPI to get maximum scan SSIDs. 96/196196/4
authorNiraj Kumar Goit <niraj.g@samsung.com>
Wed, 26 Dec 2018 03:23:18 +0000 (08:53 +0530)
committerJaehyun Kim <jeik01.kim@samsung.com>
Tue, 4 Jun 2019 09:01:51 +0000 (09:01 +0000)
Added prototype of CAPI to get the maximum number of SSIDs
supported by wlan chipset for scan operation.

Change-Id: I88f6d9922fc38487a8bcbd1942b8f508a1649d7f
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
include/wifi-manager.h

index 245aa72..53efa29 100755 (executable)
@@ -1379,6 +1379,25 @@ int wifi_manager_specific_scan_create(wifi_manager_h wifi, wifi_manager_specific
 int wifi_manager_specific_scan_destroy(wifi_manager_h wifi, wifi_manager_specific_scan_h specific_scan);
 
 /**
+ * @brief Gets the maximum number of SSIDs supported by wlan chipset for scan operation.
+ * @since_tizen 5.5
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/network.get
+ * @param[in] wifi             The Wi-Fi handle
+ * @param[out] max_scan_ssids  The maximum number of SSIDs supported by wlan \n
+ *                             chipset for scan operation.
+ * @return 0 on success, otherwise negative error value
+ * @retval #WIFI_MANAGER_ERROR_NONE                 Successful
+ * @retval #WIFI_MANAGER_ERROR_NOT_INITIALIZED      Not initialized
+ * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER    Invalid parameter
+ * @retval #WIFI_MANAGER_ERROR_OPERATION_FAILED     Operation failed
+ * @retval #WIFI_MANAGER_ERROR_PERMISSION_DENIED    Permission Denied
+ * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED        Not supported
+ * @see wifi_manager_specific_scan_set_ssid()
+ */
+int wifi_manager_specific_scan_get_max_ssid(wifi_manager_h wifi, int *max_scan_ssids);
+
+/**
  * @brief Sets the SSID of a specific AP scan.
  * @since_tizen 4.0
  * @param[in] specific_scan     The Wi-Fi specific AP scan handle