Go to the documentation of this file.
53 #ifndef _LINUX_P80211NETDEV_H
54 #define _LINUX_P80211NETDEV_H
57 #include <linux/wireless.h>
58 #include <linux/netdevice.h>
63 #define WLAN_RELEASE "0.3.0-staging"
65 #define WLAN_DEVICE_CLOSED 0
66 #define WLAN_DEVICE_OPEN 1
68 #define WLAN_MACMODE_NONE 0
69 #define WLAN_MACMODE_IBSS_STA 1
70 #define WLAN_MACMODE_ESS_STA 2
71 #define WLAN_MACMODE_ESS_AP 3
74 #define WLAN_MSD_HWPRESENT_PENDING 1
75 #define WLAN_MSD_HWFAIL 2
76 #define WLAN_MSD_HWPRESENT 3
77 #define WLAN_MSD_FWLOAD_PENDING 4
78 #define WLAN_MSD_FWLOAD 5
79 #define WLAN_MSD_RUNNING_PENDING 6
80 #define WLAN_MSD_RUNNING 7
83 #define ETH_P_ECONET 0x0018
86 #define ETH_P_80211_RAW (ETH_P_ECONET + 1)
88 #ifndef ARPHRD_IEEE80211
89 #define ARPHRD_IEEE80211 801
92 #ifndef ARPHRD_IEEE80211_PRISM
93 #define ARPHRD_IEEE80211_PRISM 802
97 #define P80211_NSDCAP_HARDWAREWEP 0x01
98 #define P80211_NSDCAP_SHORT_PREAMBLE 0x10
99 #define P80211_NSDCAP_HWFRAGMENT 0x80
100 #define P80211_NSDCAP_AUTOJOIN 0x100
101 #define P80211_NSDCAP_NOSCAN 0x200
147 #define NUM_WEPKEYS 4
148 #define MAX_KEYLEN 32
150 #define HOSTWEP_DEFAULTKEY_MASK (BIT(1)|BIT(0))
151 #define HOSTWEP_SHAREDKEY BIT(3)
152 #define HOSTWEP_DECRYPT BIT(4)
153 #define HOSTWEP_ENCRYPT BIT(5)
154 #define HOSTWEP_PRIVACYINVOKED BIT(6)
155 #define HOSTWEP_EXCLUDEUNENCRYPTED BIT(7)