fix missing newline at end of file (acx_debug.h)
[acx-mac80211.git] / acx_mac80211.h
blob58f59a2418332a87564fb639f2bd6113710585f9
1 #ifndef _ACX_MAC80211_H_
2 #define _ACX_MAC80211_H_
4 struct acx_key {
5 u8 enabled:1;
6 u8 algorithm;
7 };
9 struct acx_interface {
10 /* Opaque ID of the operating interface (!= monitor
11 * interface) from the ieee80211 subsystem.
12 * Do not modify.
14 int if_id;
15 /* MAC address. */
16 u8 *mac_addr;
17 /* Current BSSID (if any). */
18 u8 *bssid;
20 /* Interface type. (IEEE80211_IF_TYPE_XXX) */
21 int type;
22 /* Counter of active monitor interfaces. */
23 int monitor;
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;
31 #ifdef TODO
32 # undef TODO
33 #endif
34 #define TODO() \
35 do { \
36 printk(KERN_INFO "TODO: Incomplete code in %s() at %s:%d\n", \
37 __FUNCTION__, __FILE__, __LINE__); \
38 } while (0)
40 #ifdef FIXME
41 # undef FIXME
42 #endif
43 #define FIXME() \
44 do { \
45 printk(KERN_INFO "FIXME: Possibly broken code in %s() at %s:%d\n", \
46 __FUNCTION__, __FILE__, __LINE__); \
47 } while (0)
51 #define ACX_MODE_NOTADHOC 0xFFFF
52 #define ACX_MODE_PROMISC 0x5
54 /** Rate values **/
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_ */