sta_flags.h 1015 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * hostapd - driver interface definition
  3. * Copyright (c) 2002-2009, 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 STA_FLAGS_H
  15. #define STA_FLAGS_H
  16. /* STA flags */
  17. #define WLAN_STA_AUTH BIT(0)
  18. #define WLAN_STA_ASSOC BIT(1)
  19. #define WLAN_STA_PS BIT(2)
  20. #define WLAN_STA_TIM BIT(3)
  21. #define WLAN_STA_PERM BIT(4)
  22. #define WLAN_STA_AUTHORIZED BIT(5)
  23. #define WLAN_STA_PENDING_POLL BIT(6) /* pending activity poll not ACKed */
  24. #define WLAN_STA_SHORT_PREAMBLE BIT(7)
  25. #define WLAN_STA_PREAUTH BIT(8)
  26. #define WLAN_STA_WMM BIT(9)
  27. #define WLAN_STA_MFP BIT(10)
  28. #define WLAN_STA_HT BIT(11)
  29. #define WLAN_STA_WPS BIT(12)
  30. #define WLAN_STA_MAYBE_WPS BIT(13)
  31. #define WLAN_STA_NONERP BIT(31)
  32. #endif /* STA_FLAGS_H */