5 * Copyright (C) 2007-2008 Intel Corporation. All rights reserved.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 #include <connman/element.h>
24 #define SUPPLICANT_NAME "fi.epitest.hostap.WPASupplicant"
25 #define SUPPLICANT_INTF "fi.epitest.hostap.WPASupplicant"
26 #define SUPPLICANT_PATH "/fi/epitest/hostap/WPASupplicant"
28 struct supplicant_network {
37 struct supplicant_callback {
38 void (*scan_result) (struct connman_element *element,
39 struct supplicant_network *network);
42 int __supplicant_start(struct connman_element *element,
43 struct supplicant_callback *callback);
44 int __supplicant_stop(struct connman_element *element);
46 int __supplicant_scan(struct connman_element *element);
48 int __supplicant_connect(struct connman_element *element);
49 int __supplicant_disconnect(struct connman_element *element);