diff options
Diffstat (limited to 'net-wireless/ieee80211/files')
12 files changed, 0 insertions, 220 deletions
diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.0.1 b/net-wireless/ieee80211/files/digest-ieee80211-1.0.1 deleted file mode 100644 index 8f1fb39a4637..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.0.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 3b211ee69c6450aeac6848d5cace87f6 ieee80211-1.0.1.tgz 55641 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.0.2 b/net-wireless/ieee80211/files/digest-ieee80211-1.0.2 deleted file mode 100644 index 88667cae6e4b..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.0.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 4db85585abdbfaf458a56dae57312ac3 ieee80211-1.0.2.tgz 55777 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3 b/net-wireless/ieee80211/files/digest-ieee80211-1.0.3 deleted file mode 100644 index bb51c85dc9c8..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 49870c030278e3716194ff5b64f9cbaa ieee80211-1.0.3.tgz 63355 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r1 b/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r1 deleted file mode 100644 index bb51c85dc9c8..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 49870c030278e3716194ff5b64f9cbaa ieee80211-1.0.3.tgz 63355 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r2 b/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r2 deleted file mode 100644 index bb51c85dc9c8..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.0.3-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 49870c030278e3716194ff5b64f9cbaa ieee80211-1.0.3.tgz 63355 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.1.5 b/net-wireless/ieee80211/files/digest-ieee80211-1.1.5 deleted file mode 100644 index 5f10503e90c7..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.1.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 e05fb14fab25462710955f464e1a7c5d ieee80211-1.1.5.tgz 70185 diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.1.5-r1 b/net-wireless/ieee80211/files/digest-ieee80211-1.1.5-r1 deleted file mode 100644 index 5f10503e90c7..000000000000 --- a/net-wireless/ieee80211/files/digest-ieee80211-1.1.5-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 e05fb14fab25462710955f464e1a7c5d ieee80211-1.1.5.tgz 70185 diff --git a/net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch b/net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch deleted file mode 100644 index cb7ba41a2111..000000000000 --- a/net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -urp ieee80211-1.0.3/net/ieee80211.h ieee80211-1.0.3-broadcast/net/ieee80211.h ---- ieee80211-1.0.3/net/ieee80211.h 2005-07-15 01:53:35.000000000 +0200 -+++ ieee80211-1.0.3-broadcast/net/ieee80211.h 2005-09-02 19:39:01.000000000 +0200 -@@ -720,6 +720,11 @@ static inline int is_multicast_ether_add - return addr[0] & 0x01; - } - #endif -+static inline int is_broadcast_ether_addr(const u8 *addr) -+{ -+ return (addr[0] == 0xff && addr[1] == 0xff && addr[2] == 0xff && -+ addr[3] == 0xff && addr[4] == 0xff && addr[5] == 0xff); -+} - - #define CFG_IEEE80211_RESERVE_FCS (1<<0) - #define CFG_IEEE80211_COMPUTE_FCS (1<<1) diff --git a/net-wireless/ieee80211/files/ieee80211-1.0.3-keep_restricted_bit.patch b/net-wireless/ieee80211/files/ieee80211-1.0.3-keep_restricted_bit.patch deleted file mode 100644 index 7173adbbb55e..000000000000 --- a/net-wireless/ieee80211/files/ieee80211-1.0.3-keep_restricted_bit.patch +++ /dev/null @@ -1,28 +0,0 @@ -[Bug 768] Keep auth mode unchanged after iwconfig key off/on. - -Signed-off-by: Zhu Yi <yi.zhu@intel.com> --- -diff -urp ieee80211-1.0.3/ieee80211_wx.c ieee80211-1.0.3-keep_restricted_bit/ieee80211_wx.c ---- ieee80211-1.0.3/ieee80211_wx.c 2005-07-15 07:53:35.000000000 +0800 -+++ ieee80211-1.0.3-keep_restricted_bit/ieee80211_wx.c 2005-09-01 13:03:16.000000000 +0800 -@@ -413,11 +413,15 @@ int ieee80211_wx_set_encode(struct ieee8 - sec.flags |= SEC_ACTIVE_KEY; - } - } -- ieee->open_wep = !(erq->flags & IW_ENCODE_RESTRICTED); -- sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; -- sec.flags |= SEC_AUTH_MODE; -- IEEE80211_DEBUG_WX("Auth: %s\n", sec.auth_mode == WLAN_AUTH_OPEN ? -- "OPEN" : "SHARED KEY"); -+ if (erq->flags & (IW_ENCODE_OPEN | IW_ENCODE_RESTRICTED)) { -+ ieee->open_wep = !(erq->flags & IW_ENCODE_RESTRICTED); -+ sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : -+ WLAN_AUTH_SHARED_KEY; -+ sec.flags |= SEC_AUTH_MODE; -+ IEEE80211_DEBUG_WX("Auth: %s\n", -+ sec.auth_mode == WLAN_AUTH_OPEN ? -+ "OPEN" : "SHARED KEY"); -+ } - - /* For now we just support WEP, so only set that security level... - * TODO: When WPA is added this is one place that needs to change */ diff --git a/net-wireless/ieee80211/files/ieee80211-1.0.3-open_frag.patch b/net-wireless/ieee80211/files/ieee80211-1.0.3-open_frag.patch deleted file mode 100644 index 11dfa4ca7d83..000000000000 --- a/net-wireless/ieee80211/files/ieee80211-1.0.3-open_frag.patch +++ /dev/null @@ -1,63 +0,0 @@ -Add host_open_frag to indicate if fragmentation is need to be done by host. - -Signed-off-by: Hong Liu <hong.liu@intel.com> -Signed-off-by: Zhu Yi <yi.zhu@intel.com> --- -diff -urp ieee80211-1.0.3/ieee80211_module.c ieee80211-1.0.3-open-frag/ieee80211_module.c ---- ieee80211-1.0.3/ieee80211_module.c 2005-07-15 07:53:35.000000000 +0800 -+++ ieee80211-1.0.3-open-frag/ieee80211_module.c 2005-08-03 16:12:25.000000000 +0800 -@@ -137,6 +137,11 @@ struct net_device *alloc_ieee80211(int s - /* Default to enabling full open WEP with host based encrypt/decrypt */ - ieee->host_encrypt = 1; - ieee->host_decrypt = 1; -+ /* Host fragementation in Open mode. Default is enabled. Note host -+ * fragmentation is always enabled if host encryption is enabled. -+ * For cards can do hardware encryption, they can do hardware -+ * fragmentation as well. So we don't need a variable host_enc_frag. */ -+ ieee->host_open_frag = 1; - ieee->ieee802_1x = 1; /* Default to supporting 802.1x */ - - INIT_LIST_HEAD(&ieee->crypt_deinit_list); -@@ -151,7 +156,6 @@ struct net_device *alloc_ieee80211(int s - ieee->tkip_countermeasures = 0; - ieee->drop_unencrypted = 0; - ieee->privacy_invoked = 0; -- ieee->ieee802_1x = 1; - - return dev; - -diff -urp ieee80211-1.0.3/ieee80211_tx.c ieee80211-1.0.3-open-frag/ieee80211_tx.c ---- ieee80211-1.0.3/ieee80211_tx.c 2005-07-15 07:53:35.000000000 +0800 -+++ ieee80211-1.0.3-open-frag/ieee80211_tx.c 2005-08-03 16:12:25.000000000 +0800 -@@ -363,7 +363,7 @@ int ieee80211_xmit(struct sk_buff *skb, - skb_pull(skb, hdr_len); - } - -- if (host_encrypt) { -+ if (host_encrypt || ieee->host_open_frag) { - /* Determine fragmentation size based on destination (multicast - * and broadcast are not fragmented) */ - if (is_multicast_ether_addr(dest)) -@@ -382,8 +382,9 @@ int ieee80211_xmit(struct sk_buff *skb, - - /* Each fragment may need to have room for encryptiong - * pre/postfix */ -- bytes_per_frag -= crypt->ops->extra_mpdu_prefix_len + -- crypt->ops->extra_mpdu_postfix_len; -+ if (host_encrypt) -+ bytes_per_frag -= crypt->ops->extra_mpdu_prefix_len + -+ crypt->ops->extra_mpdu_postfix_len; - - /* Number of fragments is the total - * bytes_per_frag / payload_per_fragment */ -diff -urp ieee80211-1.0.3/net/ieee80211.h ieee80211-1.0.3-open-frag/net/ieee80211.h ---- ieee80211-1.0.3/net/ieee80211.h 2005-07-15 07:53:35.000000000 +0800 -+++ ieee80211-1.0.3-open-frag/net/ieee80211.h 2005-08-03 16:12:25.000000000 +0800 -@@ -798,6 +798,7 @@ struct ieee80211_device { - int host_encrypt; - int host_encrypt_msdu; - int host_decrypt; -+ int host_open_frag; - int ieee802_1x; /* is IEEE 802.1X used */ - - /* WPA data */ diff --git a/net-wireless/ieee80211/files/ieee80211-1.1.5-broadcast.patch b/net-wireless/ieee80211/files/ieee80211-1.1.5-broadcast.patch deleted file mode 100644 index 83f6e7de5879..000000000000 --- a/net-wireless/ieee80211/files/ieee80211-1.1.5-broadcast.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -urp ieee80211-1.1.5/ieee80211_rx.c ieee80211-1.1.5-broadcast/ieee80211_rx.c ---- ieee80211-1.1.5/ieee80211_rx.c 2005-10-14 02:12:12.000000000 +0800 -+++ ieee80211-1.1.5-broadcast/ieee80211_rx.c 2005-10-19 15:52:46.000000000 +0800 -@@ -409,8 +409,9 @@ int ieee80211_rx(struct ieee80211_device - return 1; - } - -- if (is_multicast_ether_addr(hdr->addr1) ? ieee->host_mc_decrypt : -- ieee->host_decrypt) { -+ if ((is_multicast_ether_addr(hdr->addr1) || -+ ieee80211_is_broadcast_ether_addr(hdr->addr1)) ? ieee->host_mc_decrypt : -+ ieee->host_decrypt) { - int idx = 0; - if (skb->len >= hdrlen + 3) - idx = skb->data[hdrlen + 3] >> 6; -diff -urp ieee80211-1.1.5/ieee80211_tx.c ieee80211-1.1.5-broadcast/ieee80211_tx.c ---- ieee80211-1.1.5/ieee80211_tx.c 2005-10-14 02:12:12.000000000 +0800 -+++ ieee80211-1.1.5-broadcast/ieee80211_tx.c 2005-10-19 15:55:38.000000000 +0800 -@@ -338,7 +338,8 @@ int ieee80211_xmit(struct sk_buff *skb, - if (host_encrypt || ieee->host_open_frag) { - /* Determine fragmentation size based on destination (multicast - * and broadcast are not fragmented) */ -- if (is_multicast_ether_addr(dest)) -+ if (is_multicast_ether_addr(dest) || -+ ieee80211_is_broadcast_ether_addr(dest)) - frag_size = MAX_FRAG_THRESHOLD; - else - frag_size = ieee->fts; -diff -urp ieee80211-1.1.5/net/ieee80211.h ieee80211-1.1.5-broadcast/net/ieee80211.h ---- ieee80211-1.1.5/net/ieee80211.h 2005-10-14 02:12:12.000000000 +0800 -+++ ieee80211-1.1.5-broadcast/net/ieee80211.h 2005-10-19 15:51:31.000000000 +0800 -@@ -962,6 +962,12 @@ static inline int is_multicast_ether_add - } - #endif - -+static inline int ieee80211_is_broadcast_ether_addr(const u8 *addr) -+{ -+ return (addr[0] == 0xff && addr[1] == 0xff && addr[2] == 0xff && -+ addr[3] == 0xff && addr[4] == 0xff && addr[5] == 0xff); -+} -+ - static inline void *ieee80211_priv(struct net_device *dev) - { - return ((struct ieee80211_device *)netdev_priv(dev))->priv; diff --git a/net-wireless/ieee80211/files/ieee80211-1.1.5-we18.patch b/net-wireless/ieee80211/files/ieee80211-1.1.5-we18.patch deleted file mode 100644 index b8510de7c28d..000000000000 --- a/net-wireless/ieee80211/files/ieee80211-1.1.5-we18.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff --git a/net/ieee80211.h b/net/ieee80211.h ---- a/net/ieee80211.h -+++ b/net/ieee80211.h -@@ -29,6 +29,21 @@ - #include <linux/kernel.h> /* ARRAY_SIZE */ - #include <linux/wireless.h> - -+#if WIRELESS_EXT < 18 -+#define IW_QUAL_QUAL_UPDATED 0x01 /* Value was updated since last read */ -+#define IW_QUAL_LEVEL_UPDATED 0x02 -+#define IW_QUAL_NOISE_UPDATED 0x04 -+#define IW_QUAL_ALL_UPDATED 0x07 -+#define IW_QUAL_QUAL_INVALID 0x10 /* Driver doesn't provide value */ -+#define IW_QUAL_LEVEL_INVALID 0x20 -+#define IW_QUAL_NOISE_INVALID 0x40 -+#define IW_QUAL_ALL_INVALID 0x70 -+#endif -+ -+#if WIRELESS_EXT < 19 -+#define IW_QUAL_DBM 0x08 /* Level + Noise are dBm */ -+#endif -+ - #define IEEE80211_VERSION "1.1.5" - - #define IEEE80211_DATA_LEN 2304 -diff --git a/ieee80211_crypt_tkip.c b/ieee80211_crypt_tkip.c ---- a/ieee80211_crypt_tkip.c -+++ b/ieee80211_crypt_tkip.c -@@ -555,6 +555,7 @@ static void ieee80211_michael_mic_failur - struct ieee80211_hdr_4addr *hdr, - int keyidx) - { -+#if WIRELESS_EXT >= 18 - union iwreq_data wrqu; - struct iw_michaelmicfailure ev; - -@@ -570,6 +571,7 @@ static void ieee80211_michael_mic_failur - memset(&wrqu, 0, sizeof(wrqu)); - wrqu.data.length = sizeof(ev); - wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *)&ev); -+#endif - } - - static int ieee80211_michael_mic_verify(struct sk_buff *skb, int keyidx, -diff --git a/ieee80211_wx.c b/ieee80211_wx.c ---- a/ieee80211_wx.c -+++ b/ieee80211_wx.c -@@ -488,6 +488,7 @@ int ieee80211_wx_get_encode(struct ieee8 - return 0; - } - -+#if WIRELESS_EXT >= 18 - int ieee80211_wx_set_encodeext(struct ieee80211_device *ieee, - struct iw_request_info *info, - union iwreq_data *wrqu, char *extra) -@@ -721,6 +722,7 @@ int ieee80211_wx_get_encodeext(struct ie - - EXPORT_SYMBOL(ieee80211_wx_set_encodeext); - EXPORT_SYMBOL(ieee80211_wx_get_encodeext); -+#endif - - EXPORT_SYMBOL(ieee80211_wx_get_scan); - EXPORT_SYMBOL(ieee80211_wx_set_encode); |