diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-07-02 21:18:18 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-07-02 21:18:18 +0000 |
commit | fda36925f4af33882616c1fddacb67450579844b (patch) | |
tree | df17421364b1c8379a4ce5a8e1825bad5b387609 /sys | |
parent | 09bde7be5889b1bcd91a1977c03ea993f149751d (diff) |
remove more unused stuff.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net80211/ieee80211.h | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index 5c2876fbbe2..ee42d8d45bf 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211.h,v 1.24 2007/07/02 20:42:30 damien Exp $ */ +/* $OpenBSD: ieee80211.h,v 1.25 2007/07/02 21:18:17 damien Exp $ */ /* $NetBSD: ieee80211.h,v 1.6 2004/04/30 23:51:53 dyoung Exp $ */ /*- @@ -234,25 +234,6 @@ struct ieee80211_frame_cfend { /* NB: also CF-End+CF-Ack */ /* FCS */ } __packed; -/* - * BEACON management packets - * - * octet timestamp[8] - * octet beacon interval[2] - * octet capability information[2] - * information element - * octet elemid - * octet length - * octet information[length] - */ - -typedef u_int8_t *ieee80211_mgt_beacon_t; - -#define IEEE80211_BEACON_INTERVAL(beacon) \ - ((beacon)[8] | ((beacon)[9] << 8)) -#define IEEE80211_BEACON_CAPABILITY(beacon) \ - ((beacon)[10] | ((beacon)[11] << 8)) - #define IEEE80211_CAPINFO_ESS 0x0001 #define IEEE80211_CAPINFO_IBSS 0x0002 #define IEEE80211_CAPINFO_CF_POLLABLE 0x0004 @@ -307,25 +288,6 @@ typedef u_int8_t *ieee80211_mgt_beacon_t; (IEEE80211_CHAN_2GHZ | IEEE80211_CHAN_OFDM | IEEE80211_CHAN_TURBO) /* - * 802.11i/WPA information element (maximally sized). - */ -struct ieee80211_ie_wpa { - u_int8_t wpa_id; /* IEEE80211_ELEMID_VENDOR */ - u_int8_t wpa_len; /* length in bytes */ - u_int8_t wpa_oui[3]; /* 0x00, 0x50, 0xf2 */ - u_int8_t wpa_type; /* OUI type */ - u_int16_t wpa_version; /* spec revision */ - u_int32_t wpa_mcipher[1]; /* multicast/group key cipher */ - u_int16_t wpa_uciphercnt; /* # pairwise key ciphers */ - u_int32_t wpa_uciphers[8];/* ciphers */ - u_int16_t wpa_authselcnt; /* authentication selector cnt*/ - u_int32_t wpa_authsels[8];/* selectors */ - u_int16_t wpa_caps; /* 802.11i capabilities */ - u_int16_t wpa_pmkidcnt; /* 802.11i pmkid count */ - u_int16_t wpa_pmkids[8]; /* 802.11i pmkids */ -} __packed; - -/* * Management information element payloads */ union ieee80211_information { |