wlantest_ctrl.h 765 B

123456789101112131415161718192021222324252627282930
  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. #ifndef WLANTEST_CTRL_H
  15. #define WLANTEST_CTRL_H
  16. #define WLANTEST_SOCK_NAME "w1.fi.wlantest"
  17. #define WLANTEST_CTRL_MAX_CMD_LEN 1000
  18. #define WLANTEST_CTRL_MAX_RESP_LEN 1000
  19. enum wlantest_ctrl_cmd {
  20. WLANTEST_CTRL_SUCCESS,
  21. WLANTEST_CTRL_FAILURE,
  22. WLANTEST_CTRL_UNKNOWN_CMD,
  23. WLANTEST_CTRL_PING,
  24. WLANTEST_CTRL_TERMINATE,
  25. };
  26. #endif /* WLANTEST_CTRL_H */