diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-07-07 11:01:13 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-07-07 11:01:13 +0000 |
commit | 2221d0e49ce86e3c485c1d7d4a0451dde9a011b0 (patch) | |
tree | ee6c30329b66d70fb48f7a4f4df83b931d4f02b2 /net-wireless/madwifi-ng/files | |
parent | fix bug #144727 and bug #147756 (bump to 0.99 and cleanup old (broken ?) vers... (diff) | |
download | gentoo-2-2221d0e49ce86e3c485c1d7d4a0451dde9a011b0.tar.gz gentoo-2-2221d0e49ce86e3c485c1d7d4a0451dde9a011b0.tar.bz2 gentoo-2-2221d0e49ce86e3c485c1d7d4a0451dde9a011b0.zip |
remove old vulnerable, fix help text variable
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'net-wireless/madwifi-ng/files')
10 files changed, 0 insertions, 715 deletions
diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.2.1 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.2.1 deleted file mode 100644 index acf9974b479a..000000000000 --- a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.2.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 bf5509fccd3852e22551826063b1b61e madwifi-0.9.2.1.tar.bz2 3476892 -RMD160 ccbe1d7ae262286a147b37bda960d74284e4af3e madwifi-0.9.2.1.tar.bz2 3476892 -SHA256 38f1c9980b473a52f11b63981d68326e3706c41f0ca4ba5da90d38bbd6870843 madwifi-0.9.2.1.tar.bz2 3476892 diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.3-r2 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.3-r2 deleted file mode 100644 index c898ea732b56..000000000000 --- a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.3-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 26c31e8e1528fd098e3aaa11c0d34d99 madwifi-0.9.3.tar.bz2 3488332 -RMD160 52eb553669ab83a9c594afd4eb1e297bea07089c madwifi-0.9.3.tar.bz2 3488332 -SHA256 847596646417abbdce9cfd0e1dca2cced29c6a8b814d1bd28d0c7301e9e4e9d8 madwifi-0.9.3.tar.bz2 3488332 diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.3-r3 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.3-r3 deleted file mode 100644 index c898ea732b56..000000000000 --- a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.3-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 26c31e8e1528fd098e3aaa11c0d34d99 madwifi-0.9.3.tar.bz2 3488332 -RMD160 52eb553669ab83a9c594afd4eb1e297bea07089c madwifi-0.9.3.tar.bz2 3488332 -SHA256 847596646417abbdce9cfd0e1dca2cced29c6a8b814d1bd28d0c7301e9e4e9d8 madwifi-0.9.3.tar.bz2 3488332 diff --git a/net-wireless/madwifi-ng/files/madwifi-association-fix.patch b/net-wireless/madwifi-ng/files/madwifi-association-fix.patch deleted file mode 100644 index 41b6b4043e18..000000000000 --- a/net-wireless/madwifi-ng/files/madwifi-association-fix.patch +++ /dev/null @@ -1,79 +0,0 @@ -Index: net80211/ieee80211_wireless.c -=================================================================== ---- net80211/ieee80211_wireless.c (revision 1704) -+++ net80211/ieee80211_wireless.c (working copy) -@@ -120,39 +120,6 @@ - iq->level = iq->noise + iq->qual; - iq->updated = IW_QUAL_ALL_UPDATED; - } -- --static void --preempt_scan(struct net_device *dev, int max_grace, int max_wait) --{ -- struct ieee80211vap *vap = dev->priv; -- struct ieee80211com *ic = vap->iv_ic; -- int total_delay = 0; -- int cancelled = 0, ready = 0; -- while (!ready && total_delay < max_grace + max_wait) { -- if ((ic->ic_flags & IEEE80211_F_SCAN) == 0) { -- ready = 1; -- } else { -- if (!cancelled && total_delay > max_grace) { -- /* -- Cancel any existing active scan, so that any new parameters -- in this scan ioctl (or the defaults) can be honored, then -- wait around a while to see if the scan cancels properly. -- */ -- IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN, -- "%s: cancel pending scan request\n", __func__); -- (void) ieee80211_cancel_scan(vap); -- cancelled = 1; -- } -- mdelay (1); -- total_delay += 1; -- } -- } -- if (!ready) { -- IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN, -- "%s: Timeout cancelling current scan.\n", -- __func__); -- } --} - - static struct iw_statistics * - ieee80211_iw_getstats(struct net_device *dev) -@@ -1515,34 +1482,6 @@ - /* XXX always manual... */ - IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN, - "%s: active scan request\n", __func__); -- preempt_scan(dev, 100, 100); --#if WIRELESS_EXT > 17 -- if (data && (data->flags & IW_SCAN_THIS_ESSID)) { -- struct iw_scan_req req; -- struct ieee80211_scan_ssid ssid; -- int copyLength; -- IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN, -- "%s: SCAN_THIS_ESSID requested\n", __func__); -- if (data->length > sizeof req) { -- copyLength = sizeof req; -- } else { -- copyLength = data->length; -- } -- memset(&req, 0, sizeof req); -- if (copy_from_user(&req, data->pointer, copyLength)) -- return -EFAULT; -- memcpy(&ssid.ssid, req.essid, sizeof ssid.ssid); -- ssid.len = req.essid_len; -- IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN, -- "%s: requesting scan of essid '%s'\n", __func__, ssid.ssid); -- (void) ieee80211_start_scan(vap, -- IEEE80211_SCAN_ACTIVE | -- IEEE80211_SCAN_NOPICK | -- IEEE80211_SCAN_ONCE, IEEE80211_SCAN_FOREVER, -- 1, &ssid); -- return 0; -- } --#endif - (void) ieee80211_start_scan(vap, IEEE80211_SCAN_ACTIVE | - IEEE80211_SCAN_NOPICK | IEEE80211_SCAN_ONCE, - IEEE80211_SCAN_FOREVER, diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-allow-cipher-none.diff b/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-allow-cipher-none.diff deleted file mode 100644 index ed4af2bc1138..000000000000 --- a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-allow-cipher-none.diff +++ /dev/null @@ -1,20 +0,0 @@ -*** net80211/ieee80211_wireless.c.orig Sat Jan 13 07:14:39 2007 ---- net80211/ieee80211_wireless.c Sat Jan 13 07:15:19 2007 -*************** -*** 2079,2085 **** - retv = ENETRESET; - break; - case IEEE80211_PARAM_UCASTCIPHER: -! if ((rsn->rsn_ucastcipherset & cipher2cap(value)) == 0) - return -EINVAL; - rsn->rsn_ucastcipher = value; - break; ---- 2079,2086 ---- - retv = ENETRESET; - break; - case IEEE80211_PARAM_UCASTCIPHER: -! if ((value != IEEE80211_CIPHER_NONE) -! && ((rsn->rsn_ucastcipherset & cipher2cap(value)) == 0)) - return -EINVAL; - rsn->rsn_ucastcipher = value; - break; diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-ath_intr.diff b/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-ath_intr.diff deleted file mode 100644 index 6dc16f3e62ff..000000000000 --- a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-ath_intr.diff +++ /dev/null @@ -1,29 +0,0 @@ -Index: trunk/ath/if_ath.c -=================================================================== ---- trunk/ath/if_ath.c (revision 1751) -+++ trunk/ath/if_ath.c (revision 1752) -@@ -1600,5 +1600,9 @@ - */ - irqreturn_t -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) -+ath_intr(int irq, void *dev_id) -+#else - ath_intr(int irq, void *dev_id, struct pt_regs *regs) -+#endif - { - struct net_device *dev = dev_id; -Index: trunk/ath/if_athvar.h -=================================================================== ---- trunk/ath/if_athvar.h (revision 1726) -+++ trunk/ath/if_athvar.h (revision 1752) -@@ -727,5 +727,9 @@ - void ath_suspend(struct net_device *); - void ath_shutdown(struct net_device *); --irqreturn_t ath_intr(int, void *, struct pt_regs *); -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) -+irqreturn_t ath_intr(int, void *); -+#else -+irqreturn_t ath_intr(int, void *, struct pt_regs *regs); -+#endif - int ath_ioctl_ethtool(struct ath_softc *, int, void __user *); - void bus_read_cachesize(struct ath_softc *, u_int8_t *); diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-config.h.diff b/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-config.h.diff deleted file mode 100644 index a78a57186ad5..000000000000 --- a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-config.h.diff +++ /dev/null @@ -1,372 +0,0 @@ -Index: trunk/ath/if_ath.c -=================================================================== ---- trunk/ath/if_ath.c (revision 1720) -+++ trunk/ath/if_ath.c (revision 1721) -@@ -45,5 +45,7 @@ - #include "opt_ah.h" - -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/ath/if_ath_ahb.c -=================================================================== ---- trunk/ath/if_ath_ahb.c (revision 1714) -+++ trunk/ath/if_ath_ahb.c (revision 1721) -@@ -11,5 +11,7 @@ - #endif - -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/ath/if_ath_pci.c -=================================================================== ---- trunk/ath/if_ath_pci.c (revision 1714) -+++ trunk/ath/if_ath_pci.c (revision 1721) -@@ -43,5 +43,7 @@ - #endif - -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/ath_rate/amrr/amrr.c -=================================================================== ---- trunk/ath_rate/amrr/amrr.c (revision 1667) -+++ trunk/ath_rate/amrr/amrr.c (revision 1721) -@@ -44,5 +44,7 @@ - * Mathieu Lacage, Hossein Manshaei, Thierry Turletti - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/ath_rate/onoe/onoe.c -=================================================================== ---- trunk/ath_rate/onoe/onoe.c (revision 1667) -+++ trunk/ath_rate/onoe/onoe.c (revision 1721) -@@ -40,5 +40,7 @@ - * Atsushi Onoe's rate control algorithm. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/ath_rate/sample/sample.c -=================================================================== ---- trunk/ath_rate/sample/sample.c (revision 1667) -+++ trunk/ath_rate/sample/sample.c (revision 1721) -@@ -42,5 +42,7 @@ - */ - -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/hal/linux/ah_osdep.c -=================================================================== ---- trunk/hal/linux/ah_osdep.c (revision 1711) -+++ trunk/hal/linux/ah_osdep.c (revision 1721) -@@ -42,5 +42,7 @@ - #endif - -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211.c -=================================================================== ---- trunk/net80211/ieee80211.c (revision 1666) -+++ trunk/net80211/ieee80211.c (revision 1721) -@@ -39,5 +39,7 @@ - * IEEE 802.11 generic handler - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_acl.c -=================================================================== ---- trunk/net80211/ieee80211_acl.c (revision 1614) -+++ trunk/net80211/ieee80211_acl.c (revision 1721) -@@ -46,5 +46,7 @@ - * or rejected (ACL_POLICY_DENT). - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_beacon.c -=================================================================== ---- trunk/net80211/ieee80211_beacon.c (revision 1575) -+++ trunk/net80211/ieee80211_beacon.c (revision 1721) -@@ -39,5 +39,7 @@ - * IEEE 802.11 beacon handling routines - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_crypto.c -=================================================================== ---- trunk/net80211/ieee80211_crypto.c (revision 1426) -+++ trunk/net80211/ieee80211_crypto.c (revision 1721) -@@ -39,5 +39,7 @@ - * IEEE 802.11 generic crypto support. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_crypto_ccmp.c -=================================================================== ---- trunk/net80211/ieee80211_crypto_ccmp.c (revision 1643) -+++ trunk/net80211/ieee80211_crypto_ccmp.c (revision 1721) -@@ -39,5 +39,7 @@ - * it's license is included below. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_crypto_none.c -=================================================================== ---- trunk/net80211/ieee80211_crypto_none.c (revision 1426) -+++ trunk/net80211/ieee80211_crypto_none.c (revision 1721) -@@ -35,5 +35,7 @@ - * IEEE 802.11 NULL crypto support. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_crypto_tkip.c -=================================================================== ---- trunk/net80211/ieee80211_crypto_tkip.c (revision 1426) -+++ trunk/net80211/ieee80211_crypto_tkip.c (revision 1721) -@@ -39,5 +39,7 @@ - * it's license is included below. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_crypto_wep.c -=================================================================== ---- trunk/net80211/ieee80211_crypto_wep.c (revision 1443) -+++ trunk/net80211/ieee80211_crypto_wep.c (revision 1721) -@@ -35,5 +35,7 @@ - * IEEE 802.11 WEP crypto support. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_input.c -=================================================================== ---- trunk/net80211/ieee80211_input.c (revision 1713) -+++ trunk/net80211/ieee80211_input.c (revision 1721) -@@ -39,5 +39,7 @@ - * IEEE 802.11 input handling. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_linux.c -=================================================================== ---- trunk/net80211/ieee80211_linux.c (revision 1690) -+++ trunk/net80211/ieee80211_linux.c (revision 1721) -@@ -34,5 +34,7 @@ - * IEEE 802.11 support (Linux-specific code) - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_monitor.c -=================================================================== ---- trunk/net80211/ieee80211_monitor.c (revision 1720) -+++ trunk/net80211/ieee80211_monitor.c (revision 1721) -@@ -35,5 +35,7 @@ - * IEEE 802.11 monitor mode - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_node.c -=================================================================== ---- trunk/net80211/ieee80211_node.c (revision 1640) -+++ trunk/net80211/ieee80211_node.c (revision 1721) -@@ -39,5 +39,7 @@ - * IEEE 802.11 node handling support. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_output.c -=================================================================== ---- trunk/net80211/ieee80211_output.c (revision 1637) -+++ trunk/net80211/ieee80211_output.c (revision 1721) -@@ -39,5 +39,7 @@ - * IEEE 802.11 output handling. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_power.c -=================================================================== ---- trunk/net80211/ieee80211_power.c (revision 1637) -+++ trunk/net80211/ieee80211_power.c (revision 1721) -@@ -39,5 +39,7 @@ - * IEEE 802.11 power save support. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_proto.c -=================================================================== ---- trunk/net80211/ieee80211_proto.c (revision 1699) -+++ trunk/net80211/ieee80211_proto.c (revision 1721) -@@ -39,5 +39,7 @@ - * IEEE 802.11 protocol support. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/kmod.h> -Index: trunk/net80211/ieee80211_scan.c -=================================================================== ---- trunk/net80211/ieee80211_scan.c (revision 1698) -+++ trunk/net80211/ieee80211_scan.c (revision 1721) -@@ -38,5 +38,7 @@ - * IEEE 802.11 scanning support. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_scan_ap.c -=================================================================== ---- trunk/net80211/ieee80211_scan_ap.c (revision 1698) -+++ trunk/net80211/ieee80211_scan_ap.c (revision 1721) -@@ -38,5 +38,7 @@ - * IEEE 802.11 ap scanning support. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_scan_sta.c -=================================================================== ---- trunk/net80211/ieee80211_scan_sta.c (revision 1698) -+++ trunk/net80211/ieee80211_scan_sta.c (revision 1721) -@@ -38,5 +38,7 @@ - * IEEE 802.11 station scanning support. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/ieee80211_wireless.c -=================================================================== ---- trunk/net80211/ieee80211_wireless.c (revision 1717) -+++ trunk/net80211/ieee80211_wireless.c (revision 1721) -@@ -40,5 +40,7 @@ - * Wireless extensions support for 802.11 common code. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - - #ifdef CONFIG_NET_WIRELESS -Index: trunk/net80211/ieee80211_xauth.c -=================================================================== ---- trunk/net80211/ieee80211_xauth.c (revision 1426) -+++ trunk/net80211/ieee80211_xauth.c (revision 1721) -@@ -47,5 +47,7 @@ - * entirely from messages about stations joining and leaving. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/net80211/if_media.c -=================================================================== ---- trunk/net80211/if_media.c (revision 1614) -+++ trunk/net80211/if_media.c (revision 1721) -@@ -50,5 +50,7 @@ - #endif - -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/regression/ccmp/test_ccmp.c -=================================================================== ---- trunk/regression/ccmp/test_ccmp.c (revision 1426) -+++ trunk/regression/ccmp/test_ccmp.c (revision 1721) -@@ -45,5 +45,7 @@ - * 1, 2, and 3. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/regression/tkip/test_tkip.c -=================================================================== ---- trunk/regression/tkip/test_tkip.c (revision 1426) -+++ trunk/regression/tkip/test_tkip.c (revision 1721) -@@ -35,5 +35,7 @@ - * TKIP test module. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> -Index: trunk/regression/wep/test_wep.c -=================================================================== ---- trunk/regression/wep/test_wep.c (revision 1426) -+++ trunk/regression/wep/test_wep.c (revision 1721) -@@ -45,5 +45,7 @@ - * 1, 2, and 3. - */ -+#ifndef AUTOCONF_INCLUDED - #include <linux/config.h> -+#endif - #include <linux/version.h> - #include <linux/module.h> diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-crypto_cipher_encrypt_one.diff b/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-crypto_cipher_encrypt_one.diff deleted file mode 100644 index dd660c81a6cd..000000000000 --- a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2-crypto_cipher_encrypt_one.diff +++ /dev/null @@ -1,19 +0,0 @@ -Index: trunk/net80211/ieee80211_crypto_ccmp.c -=================================================================== ---- trunk/net80211/ieee80211_crypto_ccmp.c (revision 1732) -+++ trunk/net80211/ieee80211_crypto_ccmp.c (revision 1745) -@@ -300,4 +300,8 @@ - rijndael_encrypt(struct crypto_tfm *tfm, const void *src, void *dst) - { -+/* FIXME: check for Linux 2.6.19 or newer once it's released */ -+#ifdef CRYPTO_ALG_ASYNC -+ crypto_cipher_encrypt_one(tfm, dst, src); -+#else - struct scatterlist sg_src; - struct scatterlist sg_dst; -@@ -311,4 +315,5 @@ - sg_dst.length = AES_BLOCK_LEN; - crypto_cipher_encrypt(tfm, &sg_dst, &sg_src, AES_BLOCK_LEN); -+#endif - } - diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2.1-linux-2.6.20.patch b/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2.1-linux-2.6.20.patch deleted file mode 100644 index aa7d28627cc1..000000000000 --- a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.2.1-linux-2.6.20.patch +++ /dev/null @@ -1,175 +0,0 @@ -Index: madwifi-0.9.2.1/ath_hal/ah_osdep.h -=================================================================== ---- madwifi-0.9.2.1.orig/hal/linux/ah_osdep.h -+++ madwifi-0.9.2.1/hal/linux/ah_osdep.h -@@ -40,12 +40,12 @@ - - /* -- * Starting with 2.6.4 the kernel supports a configuration option -- * to pass parameters in registers. If this is enabled we must -- * mark all function interfaces in+out of the HAL to pass parameters -- * on the stack as this is the convention used internally (for -- * maximum portability). -+ * Linux on i386 may pass parameters in registers. This is an option -+ * starting with Linux 2.6.4. Starting with Linux 2.6.20, it's done -+ * unconditionally. However, the HAL uses standard ABI whereas the -+ * parameters are passed on the stack (for maximum portability). -+ * "asmlinkage" forces the standard ABI for the HAL calls. - */ --#ifdef CONFIG_REGPARM --#define __ahdecl __attribute__((regparm(0))) -+#ifdef __i386__ -+#define __ahdecl asmlinkage - #else - #define __ahdecl -Index: madwifi-0.9.2.1/ath/if_ath.c -=================================================================== ---- madwifi-0.9.2.1.orig/ath/if_ath.c -+++ madwifi-0.9.2.1/ath/if_ath.c -@@ -118,7 +118,7 @@ static void ath_fatal_tasklet(TQUEUE_ARG - static void ath_rxorn_tasklet(TQUEUE_ARG); - static void ath_bmiss_tasklet(TQUEUE_ARG); - static void ath_bstuck_tasklet(TQUEUE_ARG); --static void ath_radar_task(TQUEUE_ARG); -+static void ath_radar_task(struct work_struct *); - static void ath_dfs_test_return(unsigned long); - - static int ath_stop_locked(struct net_device *); -@@ -414,7 +414,7 @@ ath_attach(u_int16_t devid, struct net_d - ATH_INIT_TQUEUE(&sc->sc_bstucktq,ath_bstuck_tasklet, dev); - ATH_INIT_TQUEUE(&sc->sc_rxorntq, ath_rxorn_tasklet, dev); - ATH_INIT_TQUEUE(&sc->sc_fataltq, ath_fatal_tasklet, dev); -- ATH_INIT_SCHED_TASK(&sc->sc_radartask, ath_radar_task, dev); -+ ATH_INIT_WORK(&sc->sc_radartask, ath_radar_task); - - /* - * Attach the hal and verify ABI compatibility by checking -@@ -934,7 +934,7 @@ ath_detach(struct net_device *dev) - ath_hal_setpower(sc->sc_ah, HAL_PM_AWAKE); - /* Flush the radar task if it's scheduled */ - if (sc->sc_rtasksched == 1) -- ATH_FLUSH_TASKS(); -+ flush_scheduled_work(); - - sc->sc_invalid = 1; - -@@ -1707,10 +1707,9 @@ ath_intr(int irq, void *dev_id, struct p - } - - static void --ath_radar_task(TQUEUE_ARG data) -+ath_radar_task(struct work_struct *thr) - { -- struct net_device *dev = (struct net_device *)data; -- struct ath_softc *sc = dev->priv; -+ struct ath_softc *sc = container_of(thr, struct ath_softc, sc_radartask); - struct ath_hal *ah = sc->sc_ah; - struct ieee80211com *ic = &sc->sc_ic; - struct ieee80211_channel ichan; -@@ -5634,7 +5633,7 @@ rx_next: - ath_hal_rxmonitor(ah, &sc->sc_halstats, &sc->sc_curchan); - if (ath_hal_radar_event(ah)) { - sc->sc_rtasksched = 1; -- ATH_SCHEDULE_TASK(&sc->sc_radartask); -+ schedule_work(&sc->sc_radartask); - } - #undef PA2DESC - } -Index: madwifi-0.9.2.1/ath/if_athvar.h -=================================================================== ---- madwifi-0.9.2.1.orig/ath/if_athvar.h -+++ madwifi-0.9.2.1/ath/if_athvar.h -@@ -71,22 +71,22 @@ typedef void *TQUEUE_ARG; - #include <linux/sched.h> - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,41) - #include <linux/tqueue.h> --#define ATH_WORK_THREAD tq_struct --#define ATH_SCHEDULE_TASK(t) schedule_task((t)) --#define ATH_INIT_SCHED_TASK(t, f, d) do { \ -+#define work_struct tq_struct -+#define schedule_work(t) schedule_task((t)) -+#define flush_scheduled_work() flush_scheduled_tasks() -+#define ATH_INIT_WORK(t, f) do { \ - memset((t),0,sizeof(struct tq_struct)); \ - (t)->routine = (void (*)(void*)) (f); \ -- (t)->data=(void *) (d); \ -+ (t)->data=(void *) (t); \ - } while (0) --#define ATH_FLUSH_TASKS flush_scheduled_tasks - #else - #include <linux/workqueue.h> --#define ATH_SCHEDULE_TASK(t) schedule_work((t)) - --#define ATH_INIT_SCHED_TASK(_t, _f, _d) INIT_WORK((_t), (void (*)(void *))(_f), (void *)(_d)); -- --#define ATH_WORK_THREAD work_struct --#define ATH_FLUSH_TASKS flush_scheduled_work -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) -+#define ATH_INIT_WORK(_t, _f) INIT_WORK((_t), (void (*)(void *))(_f), (void *)(_t)); -+#else -+#define ATH_INIT_WORK(_t, _f) INIT_WORK((_t), (_f)); -+#endif - #endif /* KERNEL_VERSION < 2.5.41 */ - - /* -@@ -613,7 +613,7 @@ struct ath_softc { - - struct timer_list sc_cal_ch; /* calibration timer */ - HAL_NODE_STATS sc_halstats; /* station-mode rssi stats */ -- struct ATH_WORK_THREAD sc_radartask; /* Schedule task for DFS handling */ -+ struct work_struct sc_radartask; /* Schedule task for DFS handling */ - - #ifdef CONFIG_SYSCTL - struct ctl_table_header *sc_sysctl_header; -Index: madwifi-0.9.2.1/hal/linux/ah_osdep.c -=================================================================== ---- madwifi-0.9.2.1.orig/hal/linux/ah_osdep.c -+++ madwifi-0.9.2.1/hal/linux/ah_osdep.c -@@ -51,6 +51,7 @@ - #include <linux/kernel.h> - #include <linux/slab.h> - #include <linux/delay.h> -+#include <linux/jiffies.h> - - #include <linux/sysctl.h> - #include <linux/proc_fs.h> -Index: madwifi-0.9.2.1/net80211/ieee80211_linux.h -=================================================================== ---- madwifi-0.9.2.1.orig/net80211/ieee80211_linux.h -+++ madwifi-0.9.2.1/net80211/ieee80211_linux.h -@@ -276,9 +276,15 @@ struct ieee80211_cb { - * mbuf packet header to store this data. - * XXX use private cb area - */ --#define M_AGE_SET(skb,v) (skb->csum = v) --#define M_AGE_GET(skb) (skb->csum) --#define M_AGE_SUB(skb,adj) (skb->csum -= adj) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20) -+#define skb_age csum_offset -+#else -+#define skb_age csum -+#endif -+ -+#define M_AGE_SET(skb,v) (skb->skb_age = v) -+#define M_AGE_GET(skb) (skb->skb_age) -+#define M_AGE_SUB(skb,adj) (skb->skb_age -= adj) - - struct ieee80211com; - struct ieee80211vap; -@@ -415,6 +421,8 @@ static __inline unsigned long msecs_to_j - - #endif - -+#include <linux/jiffies.h> -+ - #ifndef CLONE_KERNEL - /* - * List of flags we want to share for kernel threads, -@@ -423,6 +431,7 @@ static __inline unsigned long msecs_to_j - #define CLONE_KERNEL (CLONE_FS | CLONE_FILES | CLONE_SIGHAND) - #endif - -+#include <linux/mm.h> - #ifndef offset_in_page - #define offset_in_page(p) ((unsigned long) (p) & ~PAGE_MASK) - #endif diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-uudecode-gcda-fix.patch b/net-wireless/madwifi-ng/files/madwifi-ng-uudecode-gcda-fix.patch deleted file mode 100644 index 06a3f1bbf1a8..000000000000 --- a/net-wireless/madwifi-ng/files/madwifi-ng-uudecode-gcda-fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: ath/Makefile -=================================================================== ---- ath/Makefile (revision 1648) -+++ ath/Makefile (working copy) -@@ -61,6 +61,7 @@ - ath_hal-objs := ah_osdep.o ${TARGET}.hal.o - - hostprogs-y := uudecode -+uudecode-objs := uudecode.o - - # For older 2.6 kernels - host-progs := $(hostprogs-y) |