From: Niraj Kumar Goit Date: Wed, 26 Dec 2018 03:23:18 +0000 (+0530) Subject: Added prototype of CAPI to get maximum scan SSIDs. X-Git-Tag: accepted/tizen/unified/20190605.215637~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3145f151a08a66e5cb7d26e64adb52961a30dea1;p=platform%2Fcore%2Fapi%2Fwifi-manager.git Added prototype of CAPI to get maximum scan SSIDs. 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 --- diff --git a/include/wifi-manager.h b/include/wifi-manager.h index 245aa72..53efa29 100755 --- a/include/wifi-manager.h +++ b/include/wifi-manager.h @@ -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