summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/mac_wifi.h
diff options
context:
space:
mode:
authorzf162725 <none@none>2007-04-27 09:21:03 -0700
committerzf162725 <none@none>2007-04-27 09:21:03 -0700
commita399b7655a1d835aa8606c2b29e4e777baac8635 (patch)
treeded6ac776bafd9c346919868094dcbb1f8861bef /usr/src/uts/common/sys/mac_wifi.h
parent2d52664353b360bce2f87239f9d1342d66b7c9cd (diff)
downloadillumos-gate-a399b7655a1d835aa8606c2b29e4e777baac8635.tar.gz
PSARC 2006/046 Wireless WPA Supplicant
PSARC 2007/223 Wireless WPA Supplicant Addendum 6363273 Need access to WPA/TKIP functionality
Diffstat (limited to 'usr/src/uts/common/sys/mac_wifi.h')
-rw-r--r--usr/src/uts/common/sys/mac_wifi.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/src/uts/common/sys/mac_wifi.h b/usr/src/uts/common/sys/mac_wifi.h
index 7ed4a9c0a1..a7d5523118 100644
--- a/usr/src/uts/common/sys/mac_wifi.h
+++ b/usr/src/uts/common/sys/mac_wifi.h
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -48,7 +48,8 @@ extern "C" {
* May change in the future as new features are added.
*/
#define WIFI_HDRSIZE (sizeof (struct ieee80211_frame) + \
- IEEE80211_WEP_IVLEN + IEEE80211_WEP_KIDLEN + sizeof (struct ieee80211_llc))
+ IEEE80211_WEP_IVLEN + IEEE80211_WEP_KIDLEN + IEEE80211_WEP_EXTIVLEN + \
+ sizeof (struct ieee80211_llc))
enum wifi_stat {
/* statistics described in ieee802.11(5) */
@@ -72,7 +73,8 @@ enum wifi_stat {
*/
enum wifi_secmode {
WIFI_SEC_NONE,
- WIFI_SEC_WEP
+ WIFI_SEC_WEP,
+ WIFI_SEC_WPA
};
/*