1 #ifndef _ACX_MAC80211_H_
2 #define _ACX_MAC80211_H_
10 /* Opaque ID of the operating interface (!= monitor
11 * interface) from the ieee80211 subsystem.
17 /* Current BSSID (if any). */
20 /* Interface type. (IEEE80211_IF_TYPE_XXX) */
22 /* Counter of active monitor interfaces. */
24 /* Is the card operating in AP, STA or IBSS mode? */
25 unsigned int operating
:1;
26 /* Promisc mode active?
27 * Note that (monitor != 0) implies promisc.
29 unsigned int promisc
:1;
36 printk(KERN_INFO "TODO: Incomplete code in %s() at %s:%d\n", \
37 __FUNCTION__, __FILE__, __LINE__); \
45 printk(KERN_INFO "FIXME: Possibly broken code in %s() at %s:%d\n", \
46 __FUNCTION__, __FILE__, __LINE__); \
51 #define ACX_MODE_NOTADHOC 0xFFFF
52 #define ACX_MODE_PROMISC 0x5
55 #define ACX_CCK_RATE_1MB 0x02
56 #define ACX_CCK_RATE_2MB 0x04
57 #define ACX_CCK_RATE_5MB 0x0B
58 #define ACX_CCK_RATE_11MB 0x16
59 #define ACX_OFDM_RATE_6MB 0x0C
60 #define ACX_OFDM_RATE_9MB 0x12
61 #define ACX_OFDM_RATE_12MB 0x18
62 #define ACX_OFDM_RATE_18MB 0x24
63 #define ACX_OFDM_RATE_24MB 0x30
64 #define ACX_OFDM_RATE_36MB 0x48
65 #define ACX_OFDM_RATE_48MB 0x60
66 #define ACX_OFDM_RATE_54MB 0x6C
68 #endif /* _ACX_MAC80211_H_ */