2 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #include "net_wifi_private.h"
19 EXPORT_API int wifi_initialize(void)
21 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_initialize");
22 return WIFI_ERROR_NOT_SUPPORTED;
25 EXPORT_API int wifi_deinitialize(void)
27 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_deinitialize");
28 return WIFI_ERROR_NOT_SUPPORTED;
31 EXPORT_API int wifi_activate(wifi_activated_cb callback, void* user_data)
33 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_activate");
34 return WIFI_ERROR_NOT_SUPPORTED;
37 EXPORT_API int wifi_activate_with_wifi_picker_tested(
38 wifi_activated_cb callback, void* user_data)
40 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_activate_with_wifi_picker_tested");
41 return WIFI_ERROR_NOT_SUPPORTED;
44 EXPORT_API int wifi_deactivate(wifi_deactivated_cb callback, void* user_data)
46 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_deactivate");
47 return WIFI_ERROR_NOT_SUPPORTED;
50 EXPORT_API int wifi_is_activated(bool* activated)
52 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_is_activated");
53 return WIFI_ERROR_NOT_SUPPORTED;
56 EXPORT_API int wifi_get_mac_address(char** mac_address)
58 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_get_mac_address");
59 return WIFI_ERROR_NOT_SUPPORTED;
62 EXPORT_API int wifi_get_network_interface_name(char** name)
64 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_get_network_interface_name");
65 return WIFI_ERROR_NOT_SUPPORTED;
68 EXPORT_API int wifi_scan(wifi_scan_finished_cb callback, void* user_data)
70 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_scan");
71 return WIFI_ERROR_NOT_SUPPORTED;
74 EXPORT_API int wifi_scan_specific_ap(const char* essid, wifi_scan_finished_cb callback, void* user_data)
76 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_scan_specific_ap");
77 return WIFI_ERROR_NOT_SUPPORTED;
80 EXPORT_API int wifi_get_connected_ap(wifi_ap_h *ap)
82 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_get_connected_ap");
83 return WIFI_ERROR_NOT_SUPPORTED;
86 EXPORT_API int wifi_foreach_found_aps(wifi_found_ap_cb callback, void* user_data)
88 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_foreach_found_ap");
89 return WIFI_ERROR_NOT_SUPPORTED;
92 EXPORT_API int wifi_foreach_found_specific_aps(wifi_found_ap_cb callback, void* user_data)
94 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_foreach_found_specific_ap");
95 return WIFI_ERROR_NOT_SUPPORTED;
98 EXPORT_API int wifi_connect(wifi_ap_h ap, wifi_connected_cb callback, void* user_data)
100 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_connect");
101 return WIFI_ERROR_NOT_SUPPORTED;
104 EXPORT_API int wifi_connect_specific_ap(const char* essid,
105 wifi_security_type_e sec_type, const char *passphrase,
106 wifi_connected_cb callback, void* user_data)
108 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_connect_hidden_ap");
109 return WIFI_ERROR_NOT_SUPPORTED;
112 EXPORT_API int wifi_disconnect(wifi_ap_h ap, wifi_disconnected_cb callback, void* user_data)
114 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_disconnect");
115 return WIFI_ERROR_NOT_SUPPORTED;
118 EXPORT_API int wifi_connect_by_wps_pbc(wifi_ap_h ap, wifi_connected_cb callback, void* user_data)
120 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_connect_by_wps_pbc");
121 return WIFI_ERROR_NOT_SUPPORTED;
124 EXPORT_API int wifi_connect_by_wps_pin(wifi_ap_h ap, const char *pin, wifi_connected_cb callback, void* user_data)
126 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_connect_by_wps_pin");
127 return WIFI_ERROR_NOT_SUPPORTED;
130 EXPORT_API int wifi_forget_ap(wifi_ap_h ap)
132 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_forget_ap");
133 return WIFI_ERROR_NOT_SUPPORTED;
136 EXPORT_API int wifi_get_connection_state(wifi_connection_state_e *connection_state)
138 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_get_connection_state");
139 return WIFI_ERROR_NOT_SUPPORTED;
142 EXPORT_API int wifi_set_device_state_changed_cb(wifi_device_state_changed_cb callback, void* user_data)
144 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_set_device_state_changed_cb");
145 return WIFI_ERROR_NOT_SUPPORTED;
148 EXPORT_API int wifi_unset_device_state_changed_cb(void)
150 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_unset_device_state_changed_cb");
151 return WIFI_ERROR_NOT_SUPPORTED;
154 EXPORT_API int wifi_set_background_scan_cb(wifi_scan_finished_cb callback, void* user_data)
156 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_set_background_scan_cb");
157 return WIFI_ERROR_NOT_SUPPORTED;
160 EXPORT_API int wifi_unset_background_scan_cb(void)
162 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_unset_background_scan_cb");
163 return WIFI_ERROR_NOT_SUPPORTED;
166 EXPORT_API int wifi_set_connection_state_changed_cb(wifi_connection_state_changed_cb callback, void* user_data)
168 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_set_connection_state_changed_cb");
169 return WIFI_ERROR_NOT_SUPPORTED;
172 EXPORT_API int wifi_unset_connection_state_changed_cb(void)
174 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_unset_connection_state_changed_cb");
175 return WIFI_ERROR_NOT_SUPPORTED;
178 EXPORT_API int wifi_set_rssi_level_changed_cb(wifi_rssi_level_changed_cb callback, void* user_data)
180 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_set_rssi_level_changed_cb");
181 return WIFI_ERROR_NOT_SUPPORTED;
184 EXPORT_API int wifi_unset_rssi_level_changed_cb(void)
186 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_unset_rssi_level_changed_cb");
187 return WIFI_ERROR_NOT_SUPPORTED;
190 EXPORT_API int wifi_tdls_disconnect(const char* peer_mac_addr)
192 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_tdls_disconnect");
193 return WIFI_ERROR_NOT_SUPPORTED;
196 EXPORT_API int wifi_tdls_get_connected_peer(char** peer_mac_addr)
198 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_tdls_get_connected_peer");
199 return WIFI_ERROR_NOT_SUPPORTED;
202 EXPORT_API int wifi_tdls_set_state_changed_cb(wifi_tdls_state_changed_cb callback, void* user_data)
204 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_tdls_set_state_changed_cb");
205 return WIFI_ERROR_NOT_SUPPORTED;
208 EXPORT_API int wifi_tdls_unset_state_changed_cb(void)
210 DEPRECATED_LOG(__FUNCTION__, "wifi_manager_tdls_unset_state_changed_cb");
211 return WIFI_ERROR_NOT_SUPPORTED;