1 #ifndef _ACX_MAC80211_H_
2 #define _ACX_MAC80211_H_
4 #include <net/mac80211.h>
11 struct acx_interface
{
12 /* Opaque ID of the operating interface (!= monitor
13 * interface) from the ieee80211 subsystem.
19 /* Current BSSID (if any). */
22 /* Interface type. (IEEE80211_IF_TYPE_XXX) */
24 /* Counter of active monitor interfaces. */
26 /* Is the card operating in AP, STA or IBSS mode? */
27 unsigned int operating
:1;
28 /* Promisc mode active?
29 * Note that (monitor != 0) implies promisc.
31 unsigned int promisc
:1;
35 #define ACX_MODE_NOTADHOC 0xFFFF
36 #define ACX_MODE_PROMISC 0x5
39 #define ACX_CCK_RATE_1MB 0x02
40 #define ACX_CCK_RATE_2MB 0x04
41 #define ACX_CCK_RATE_5MB 0x0B
42 #define ACX_CCK_RATE_11MB 0x16
43 #define ACX_OFDM_RATE_6MB 0x0C
44 #define ACX_OFDM_RATE_9MB 0x12
45 #define ACX_OFDM_RATE_12MB 0x18
46 #define ACX_OFDM_RATE_18MB 0x24
47 #define ACX_OFDM_RATE_24MB 0x30
48 #define ACX_OFDM_RATE_36MB 0x48
49 #define ACX_OFDM_RATE_48MB 0x60
50 #define ACX_OFDM_RATE_54MB 0x6C
52 #endif /* _ACX_MAC80211_H_ */