mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
97234b5073
This cleans up some of the hostapd include file usage and only includes the needed STA flags into driver wrappers.
36 lines
1015 B
C
36 lines
1015 B
C
/*
|
|
* hostapd - driver interface definition
|
|
* Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
* license.
|
|
*
|
|
* See README and COPYING for more details.
|
|
*/
|
|
|
|
#ifndef STA_FLAGS_H
|
|
#define STA_FLAGS_H
|
|
|
|
/* STA flags */
|
|
#define WLAN_STA_AUTH BIT(0)
|
|
#define WLAN_STA_ASSOC BIT(1)
|
|
#define WLAN_STA_PS BIT(2)
|
|
#define WLAN_STA_TIM BIT(3)
|
|
#define WLAN_STA_PERM BIT(4)
|
|
#define WLAN_STA_AUTHORIZED BIT(5)
|
|
#define WLAN_STA_PENDING_POLL BIT(6) /* pending activity poll not ACKed */
|
|
#define WLAN_STA_SHORT_PREAMBLE BIT(7)
|
|
#define WLAN_STA_PREAUTH BIT(8)
|
|
#define WLAN_STA_WMM BIT(9)
|
|
#define WLAN_STA_MFP BIT(10)
|
|
#define WLAN_STA_HT BIT(11)
|
|
#define WLAN_STA_WPS BIT(12)
|
|
#define WLAN_STA_MAYBE_WPS BIT(13)
|
|
#define WLAN_STA_NONERP BIT(31)
|
|
|
|
#endif /* STA_FLAGS_H */
|