]>
Commit | Line | Data |
---|---|---|
644fb8c8 JM |
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, | |
6f2346c1 | 25 | WLANTEST_CTRL_INVALID_CMD, |
644fb8c8 JM |
26 | WLANTEST_CTRL_UNKNOWN_CMD, |
27 | WLANTEST_CTRL_PING, | |
28 | WLANTEST_CTRL_TERMINATE, | |
6f2346c1 JM |
29 | WLANTEST_CTRL_LIST_BSS, |
30 | WLANTEST_CTRL_LIST_STA, | |
d356bd63 | 31 | WLANTEST_CTRL_FLUSH, |
6f2346c1 JM |
32 | }; |
33 | ||
34 | enum wlantest_ctrl_attr { | |
35 | WLANTEST_ATTR_BSSID, | |
36 | WLANTEST_ATTR_STA_ADDR, | |
644fb8c8 JM |
37 | }; |
38 | ||
39 | #endif /* WLANTEST_CTRL_H */ |