]> git.ipfire.org Git - thirdparty/hostap.git/blob - wlantest/wlantest_ctrl.h
wlantest: Add list_bss and list_sta commands
[thirdparty/hostap.git] / wlantest / wlantest_ctrl.h
1 /*
2 * wlantest control interface
3 * Copyright (c) 2010, Jouni Malinen <j@w1.fi>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
11 *
12 * See README and COPYING for more details.
13 */
14
15 #ifndef WLANTEST_CTRL_H
16 #define WLANTEST_CTRL_H
17
18 #define WLANTEST_SOCK_NAME "w1.fi.wlantest"
19 #define WLANTEST_CTRL_MAX_CMD_LEN 1000
20 #define WLANTEST_CTRL_MAX_RESP_LEN 1000
21
22 enum wlantest_ctrl_cmd {
23 WLANTEST_CTRL_SUCCESS,
24 WLANTEST_CTRL_FAILURE,
25 WLANTEST_CTRL_INVALID_CMD,
26 WLANTEST_CTRL_UNKNOWN_CMD,
27 WLANTEST_CTRL_PING,
28 WLANTEST_CTRL_TERMINATE,
29 WLANTEST_CTRL_LIST_BSS,
30 WLANTEST_CTRL_LIST_STA,
31 };
32
33 enum wlantest_ctrl_attr {
34 WLANTEST_ATTR_BSSID,
35 WLANTEST_ATTR_STA_ADDR,
36 };
37
38 #endif /* WLANTEST_CTRL_H */