2 * wlantest control interface
3 * Copyright (c) 2010, Jouni Malinen <j@w1.fi>
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.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
15 #ifndef WLANTEST_CTRL_H
16 #define WLANTEST_CTRL_H
18 #define WLANTEST_SOCK_NAME "w1.fi.wlantest"
19 #define WLANTEST_CTRL_MAX_CMD_LEN 1000
20 #define WLANTEST_CTRL_MAX_RESP_LEN 1000
22 enum wlantest_ctrl_cmd
{
23 WLANTEST_CTRL_SUCCESS
,
24 WLANTEST_CTRL_FAILURE
,
25 WLANTEST_CTRL_INVALID_CMD
,
26 WLANTEST_CTRL_UNKNOWN_CMD
,
28 WLANTEST_CTRL_TERMINATE
,
29 WLANTEST_CTRL_LIST_BSS
,
30 WLANTEST_CTRL_LIST_STA
,
33 enum wlantest_ctrl_attr
{
35 WLANTEST_ATTR_STA_ADDR
,
38 #endif /* WLANTEST_CTRL_H */