diff options
Diffstat (limited to 'net-wireless/ipw2200')
-rw-r--r-- | net-wireless/ipw2200/ChangeLog | 396 | ||||
-rw-r--r-- | net-wireless/ipw2200/Manifest | 5 | ||||
-rw-r--r-- | net-wireless/ipw2200/files/digest-ipw2200-1.2.0 | 3 | ||||
-rw-r--r-- | net-wireless/ipw2200/files/ipw2200-1.2.0-inject.patch | 98 | ||||
-rw-r--r-- | net-wireless/ipw2200/files/ipw2200-1.2.0-modverdir.patch | 20 | ||||
-rw-r--r-- | net-wireless/ipw2200/ipw2200-1.2.0.ebuild | 87 |
6 files changed, 609 insertions, 0 deletions
diff --git a/net-wireless/ipw2200/ChangeLog b/net-wireless/ipw2200/ChangeLog new file mode 100644 index 00000000..5c4dc899 --- /dev/null +++ b/net-wireless/ipw2200/ChangeLog @@ -0,0 +1,396 @@ +# ChangeLog for net-wireless/ipw2200 +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.70 2006/09/13 12:33:35 phreak Exp $ + +*ipw2200-1.2.0 (13 Sep 2006) + + 13 Sep 2006; Christian Heim <phreak@gentoo.org> + +files/ipw2200-1.2.0-modverdir.patch, +ipw2200-1.2.0.ebuild: + Version bump. Fixes #147319 (thanks David Li for reporting). + +*ipw2200-1.1.3 (13 Jul 2006) + + 13 Jul 2006; Christian Heim <phreak@gentoo.org> + +files/ipw2200-1.1.3-modverdir.patch, metadata.xml, +ipw2200-1.1.3.ebuild: + Version bump; Taking temporary maintainership + + 30 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> + -files/ipw2200-1.0.8-broadcast.patch, + -files/ipw2200-1.0.8-slabcorrupt.patch, -files/ipw2200-1.0.8-txbusy.patch, + -files/ipw2200-1.0.9-qos.patch, -files/ipw2200-1.0.11-debug.patch, + -files/ipw2200-1.1.1-diversity.patch, + -files/ipw2200-1.1.1-fw_endian.patch, -ipw2200-1.0.8-r1.ebuild, + -ipw2200-1.0.9.ebuild, -ipw2200-1.0.10.ebuild, -ipw2200-1.0.11.ebuild, + -ipw2200-1.0.11-r1.ebuild, -ipw2200-1.0.12.ebuild, -ipw2200-1.0.13.ebuild, + -ipw2200-1.1.0.ebuild, -ipw2200-1.1.1.ebuild, -ipw2200-1.1.1-r1.ebuild, + -ipw2200-1.1.2.ebuild: + Pruned old ebuilds. + + 22 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> + ipw2200-1.1.2-r1.ebuild: + Stable on x86. + +*ipw2200-1.1.2-r1 (11 Apr 2006) + + 11 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> + +files/ipw2200-1.1.2-cflags.patch, +files/ipw2200-1.1.2-scan_fix.patch, + +ipw2200-1.1.2-r1.ebuild: + Add a couple of patches from upstream. + + 02 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> + files/digest-ipw2200-1.1.2, Manifest: + Updated digest to match changed distribution file, thanks to StijnT. + + 26 Mar 2006; Henrik Brix Andersen <brix@gentoo.org> ipw2200-1.1.0.ebuild: + Stable on x86. + + 25 Mar 2006; Henrik Brix Andersen <brix@gentoo.org> + -files/ipw2200-1.1.1-rtap_iface.patch, ipw2200-1.1.1-r1.ebuild: + Move large patch to mirrors, thanks to Halcy0n in bug #123634. + +*ipw2200-1.1.1-r1 (24 Mar 2006) + + 24 Mar 2006; Henrik Brix Andersen <brix@gentoo.org> + +files/ipw2200-1.1.1-diversity.patch, + +files/ipw2200-1.1.1-fw_endian.patch, + +files/ipw2200-1.1.1-rtap_iface.patch, +ipw2200-1.1.1-r1.ebuild: + Added various updates from upstream. + +*ipw2200-1.1.1 (08 Mar 2006) + + 08 Mar 2006; Henrik Brix Andersen <brix@gentoo.org> +ipw2200-1.1.1.ebuild: + Version bump. + +*ipw2200-1.1.0 (24 Feb 2006) + + 24 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> +ipw2200-1.1.0.ebuild: + Version bump. + + 23 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + -files/ipw2200-1.0.1-is_multicast_ether_addr.patch, + -files/ipw2200-1.0.1-suspend2.patch, + -files/ipw2200-1.0.3-is_multicast_ether_addr.patch, + -files/ipw2200-1.0.3-suspend2.patch, + -files/ipw2200-1.0.4-is_multicast_ether_addr.patch, + -files/ipw2200-1.0.6-a_txpow.patch, -files/ipw2200-1.0.6-broadcast.patch, + -files/ipw2200-1.0.6-channel_change_fw_err.patch, + -files/ipw2200-1.0.6-dup-without-retry.patch, + -files/ipw2200-1.0.6-hwcrypt-wpa-fix4.patch, + -files/ipw2200-1.0.6-ibss-wep.patch, -files/ipw2200-1.0.6-init_scan.patch, + -files/ipw2200-1.0.6-irq_override.patch, + -files/ipw2200-1.0.6-monitor_wep_fix.patch, + -files/ipw2200-1.0.6-open_frag.patch, + -files/ipw2200-1.0.6-pci_link-fix.patch, + -files/ipw2200-1.0.6-reset-mode-fix.patch, + -files/ipw2200-1.0.6-suspend2.patch, -files/ipw2200-1.0.7-broadcast.patch, + -files/ipw2200-1.0.7-wireless_ext-capa.patch, -ipw2200-1.0.1.ebuild, + -ipw2200-1.0.3.ebuild, -ipw2200-1.0.4.ebuild, -ipw2200-1.0.5.ebuild, + -ipw2200-1.0.6.ebuild, -ipw2200-1.0.6-r1.ebuild, -ipw2200-1.0.6-r2.ebuild, + -ipw2200-1.0.6-r3.ebuild, -ipw2200-1.0.7.ebuild, -ipw2200-1.0.7-r1.ebuild, + -ipw2200-1.0.8.ebuild: + Pruned old ebuilds. + + 22 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> ipw2200-1.0.10.ebuild: + Stable on x86. + +*ipw2200-1.0.13 (22 Feb 2006) + + 22 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + +ipw2200-1.0.13.ebuild: + Version bump. + +*ipw2200-1.0.12 (17 Feb 2006) + + 17 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + +ipw2200-1.0.12.ebuild: + Version bump. + +*ipw2200-1.0.11-r1 (15 Feb 2006) + + 15 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + +files/ipw2200-1.0.11-debug.patch, +ipw2200-1.0.11-r1.ebuild: + Fix debug support. + +*ipw2200-1.0.11 (15 Feb 2006) + + 15 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + +ipw2200-1.0.11.ebuild: + Version bump. + +*ipw2200-1.0.10 (09 Jan 2006) + + 09 Jan 2006; Henrik Brix Andersen <brix@gentoo.org> + +ipw2200-1.0.10.ebuild: + Version bump. + +*ipw2200-1.0.9 (06 Jan 2006) + + 06 Jan 2006; Henrik Brix Andersen <brix@gentoo.org> + +files/ipw2200-1.0.9-qos.patch, +ipw2200-1.0.9.ebuild: + Version bump. + + 17 Nov 2005; Henrik Brix Andersen <brix@gentoo.org> + ipw2200-1.0.8-r1.ebuild: + Stable on x86. + +*ipw2200-1.0.8-r1 (17 Nov 2005) + + 17 Nov 2005; Henrik Brix Andersen <brix@gentoo.org> + +files/ipw2200-1.0.8-broadcast.patch, + +files/ipw2200-1.0.8-slabcorrupt.patch, +files/ipw2200-1.0.8-txbusy.patch, + +ipw2200-1.0.8-r1.ebuild: + Added a few upstream patches. + +*ipw2200-1.0.8 (21 Oct 2005) + + 21 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> +ipw2200-1.0.8.ebuild: + Version bump. + +*ipw2200-1.0.7-r1 (20 Oct 2005) + + 20 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> + +files/ipw2200-1.0.7-broadcast.patch, + +files/ipw2200-1.0.7-wireless_ext-capa.patch, +ipw2200-1.0.7-r1.ebuild: + Patch from upstream to fix broadcast issues and compile problems with older + wireless extensions. + +*ipw2200-1.0.7 (18 Oct 2005) + + 18 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> +ipw2200-1.0.7.ebuild: + Version bump. + + 15 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> + ipw2200-1.0.6-r3.ebuild: + Stable on x86, bug #108613. + + 08 Sep 2005; Henrik Brix Andersen <brix@gentoo.org> + ipw2200-1.0.6-r3.ebuild: + Updated to depend on >=net-wireless/ieee80211-1.0.3-r2, bug #105235. + +*ipw2200-1.0.6-r3 (06 Sep 2005) + + 06 Sep 2005; Henrik Brix Andersen <brix@gentoo.org> + +files/ipw2200-1.0.6-a_txpow.patch, files/ipw2200-1.0.6-broadcast.patch, + +files/ipw2200-1.0.6-channel_change_fw_err.patch, + +files/ipw2200-1.0.6-dup-without-retry.patch, + +files/ipw2200-1.0.6-ibss-wep.patch, +files/ipw2200-1.0.6-init_scan.patch, + +files/ipw2200-1.0.6-irq_override.patch, + +files/ipw2200-1.0.6-monitor_wep_fix.patch, + +files/ipw2200-1.0.6-open_frag.patch, + +files/ipw2200-1.0.6-pci_link-fix.patch, + +files/ipw2200-1.0.6-reset-mode-fix.patch, +ipw2200-1.0.6-r3.ebuild: + Apply bugfixes from upstream, bail out if no ieee80211 kernel module is found. + +*ipw2200-1.0.6-r2 (02 Sep 2005) + + 02 Sep 2005; Henrik Brix Andersen <brix@gentoo.org> + +files/ipw2200-1.0.6-broadcast.patch, +ipw2200-1.0.6-r2.ebuild: + Fix DHCP issues with some Access Points. + +*ipw2200-1.0.6-r1 (29 Aug 2005) + + 29 Aug 2005; Henrik Brix Andersen <brix@gentoo.org> + +files/ipw2200-1.0.6-hwcrypt-wpa-fix4.patch, + +files/ipw2200-1.0.6-suspend2.patch, +ipw2200-1.0.6-r1.ebuild: + Add fix for WPA when using hwcrypto. Allow compiling against + sys-kernel/suspend2-sources-2.6.13. + + 16 Aug 2005; Henrik Brix Andersen <brix@gentoo.org> ipw2200-1.0.6.ebuild: + Stable on x86. + + 09 Aug 2005; Henrik Brix Andersen <brix@gentoo.org> ipw2200-1.0.6.ebuild: + Added ~amd64 keyword, bug #98823. + +*ipw2200-1.0.6 (14 Jul 2005) + + 14 Jul 2005; <brix@gentoo.org> +ipw2200-1.0.6.ebuild: + Version bump. + +*ipw2200-1.0.5 (12 Jul 2005) + + 12 Jul 2005; <brix@gentoo.org> +ipw2200-1.0.5.ebuild: + Version bump. + + 11 Jul 2005; <brix@gentoo.org> ipw2200-1.0.1.ebuild, ipw2200-1.0.3.ebuild, + ipw2200-1.0.4.ebuild: + Block upcoming net-wireless/ieee80211 package. + + 24 Jun 2005; <brix@gentoo.org> + +files/ipw2200-1.0.1-is_multicast_ether_addr.patch, + +files/ipw2200-1.0.1-suspend2.patch, +ipw2200-1.0.1.ebuild: + Resurrected for the 2005.1 livecd. + + 20 Jun 2005; <brix@gentoo.org> + +files/ipw2200-1.0.3-is_multicast_ether_addr.patch, ipw2200-1.0.3.ebuild: + Backported patch to 1.0.3, bug #96495. + + 18 Jun 2005; <brix@gentoo.org> + +files/ipw2200-1.0.4-is_multicast_ether_addr.patch, ipw2200-1.0.4.ebuild: + Apply patch for allow compiling against linux-2.6.12. + +*ipw2200-1.0.4 (18 May 2005) + + 18 May 2005; <brix@gentoo.org> +ipw2200-1.0.4.ebuild: + Version bump. This release includes monitor mode and hardware-based crypto + support. + + 15 May 2005; <brix@gentoo.org> -ipw2200-1.0.1.ebuild, + -ipw2200-1.0.2.ebuild, -ipw2200-1.0.2-r1.ebuild: + Pruned old ebuilds. + + 05 May 2005; <brix@gentoo.org> +files/ipw2200-1.0.3-suspend2.patch, + ipw2200-1.0.3.ebuild: + Allow compiling against Software Suspend 2.1.8.7 patched kernel, + restructured ebuild. + + 04 May 2005; <brix@gentoo.org> ipw2200-1.0.3.ebuild: + Stable on x86. + + 28 Apr 2005; <brix@gentoo.org> ipw2200-1.0.2-r1.ebuild: + Stable on x86. + +*ipw2200-1.0.3 (08 Apr 2005) + + 08 Apr 2005; <brix@gentoo.org> +ipw2200-1.0.3.ebuild: + Version bump. + +*ipw2200-1.0.2-r1 (05 Apr 2005) + + 05 Apr 2005; <brix@gentoo.org> +ipw2200-1.0.2-r1.ebuild: + Fix problem with wrong tarball propagated on sf.net + +*ipw2200-1.0.2 (25 Mar 2005) + + 25 Mar 2005; <brix@gentoo.org> ipw2200-1.0.1.ebuild, +ipw2200-1.0.2.ebuild: + Version bump and fix for bug #84508. + + 12 Mar 2005; Henrik Brix Andersen <brix@gentoo.org> -ipw2200-1.0.0.ebuild: + Pruned old version. + + 02 Mar 2005; Henrik Brix Andersen <brix@gentoo.org> ipw2200-1.0.1.ebuild: + Stable on x86. + + 25 Feb 2005; Simon Stelling <blubb@gentoo.org> ipw2200-1.0.1.ebuild: + added ~amd64 + + 10 Feb 2005; Henrik Brix Andersen <brix@gentoo.org> -ipw2200-0.11.ebuild, + -ipw2200-0.12.ebuild, -ipw2200-0.13.ebuild, -ipw2200-0.15.ebuild, + -ipw2200-0.16.ebuild, -ipw2200-0.17.ebuild, -ipw2200-0.18.ebuild, + -ipw2200-0.19.ebuild, -ipw2200-0.21.ebuild: + Pruned old versions. + +*ipw2200-1.0.1 (08 Feb 2005) + + 08 Feb 2005; Henrik Brix Andersen <brix@gentoo.org> +ipw2200-1.0.1.ebuild: + Version bump. This version includes preliminary WPA support. + + 01 Feb 2005; Henrik Brix Andersen <brix@gentoo.org> metadata.xml: + Transferred ownership to brix@gentoo.org. + + 01 Feb 2005; Jeremy Maitin-Shepard <jbms@gentoo.org> ipw2200-1.0.0.ebuild: + Replaced the ebuild with the correct version of the v 0.21 ebuild. + +*ipw2200-1.0.0 (01 Feb 2005) + + 01 Feb 2005; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-1.0.0.ebuild: + Version bump. + +*ipw2200-0.21 (18 Jan 2005) + + 18 Jan 2005; Henrik Brix Andersen <brix@gentoo.org> +ipw2200-0.21.ebuild: + Version bump, ported to use linux-mod.eclass, split firmware from ebuild, + re-enabled debug, disabled yet-to-be-completed WPA and promiscuous support. + + 18 Jan 2005; Henrik Brix Andersen <brix@gentoo.org> ipw2200-0.11.ebuild, + ipw2200-0.12.ebuild, ipw2200-0.13.ebuild, ipw2200-0.15.ebuild, + ipw2200-0.16.ebuild, ipw2200-0.17.ebuild, ipw2200-0.18.ebuild, + ipw2200-0.19.ebuild: + Block net-wireless/ipw2200-firmware in preparation for splitting firmware from + driver ebuild. + +*ipw2200-0.19 (22 Dec 2004) + + 22 Dec 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.19.ebuild: + Version bump. + +*ipw2200-0.18 (14 Dec 2004) + + 14 Dec 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.18.ebuild: + Version bump. Resolves bug #73801. + +*ipw2200-0.16 (11 Dec 2004) + + 11 Dec 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.16.ebuild, + +ipw2200-0.17.ebuild: + Version bump. Resolves bug #73801. + +*ipw2200-0.15 (25 Nov 2004) + + 25 Nov 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.15.ebuild, + -ipw2200-0.3.ebuild, -ipw2200-0.4-r1.ebuild, -ipw2200-0.4.ebuild, + -ipw2200-0.5.ebuild, -ipw2200-0.6.ebuild, -ipw2200-0.7.ebuild, + -ipw2200-0.8.ebuild: + Version bump. Resolves Bug #72473. + +*ipw2200-0.13 (11 Nov 2004) + + 11 Nov 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.13.ebuild: + Version bump. + +*ipw2200-0.12 (16 Oct 2004) + + 16 Oct 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.12.ebuild: + Version bump. Firmware is now installed to /lib/firmware, with a symlink to + /usr/lib/hotplug/firmware, rather than the reverse. Resolves bug #67641. + +*ipw2200-0.11 (01 Oct 2004) + + 01 Oct 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.11.ebuild: + Version bump. Creates symlinks to the firmware in the new firmware location. + Resolves bug #65784 and bug #65059. + +*ipw2200-0.8 (19 Sep 2004) + + 19 Sep 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.8.ebuild: + Version bump. + +*ipw2200-0.7 (04 Sep 2004) + + 04 Sep 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.7.ebuild: + Version bump. + +*ipw2200-0.6 (02 Sep 2004) + + 02 Sep 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.6.ebuild: + Version bump. Resolves bug #62653. + +*ipw2200-0.5 (02 Sep 2004) + + 02 Sep 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.5.ebuild: + Version bump. Resolves bug #62445. + +*ipw2200-0.4-r1 (17 Aug 2004) + + 17 Aug 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> ipw2200-0.3.ebuild, + +ipw2200-0.4-r1.ebuild, ipw2200-0.4.ebuild: + A block on net-wireless/ipw2100 was added to all versions, at the + request of latexer, because the ieee80211 module is built by both + packages. + WPA support is now built, starting with 0.4-r1. + + 16 Aug 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> ipw2200-0.4.ebuild: + Added a check for ARC4 cryptographic support in the kernel. + +*ipw2200-0.4 (16 Aug 2004) + + 16 Aug 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.4.ebuild: + Version bump. Resolves Bug #60614. + +*ipw2200-0.3 (14 Aug 2004) + + 14 Aug 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> +ipw2200-0.3.ebuild: + Initial ebuild, based on the ebuild for the 2100 driver, for the first + version of this driver that actually supports transmitting and + receiving data. WEP, G-band and Ad-hoc mode are currently not + supported by the driver. Resolves Bug #60288. + diff --git a/net-wireless/ipw2200/Manifest b/net-wireless/ipw2200/Manifest new file mode 100644 index 00000000..85198a7f --- /dev/null +++ b/net-wireless/ipw2200/Manifest @@ -0,0 +1,5 @@ +AUX ipw2200-1.2.0-inject.patch 2896 RMD160 dcdbe9440eaa7c5f8df13f1b1b50cd6fa8e2f823 SHA1 541e533ab8cee5127c812a376c6ec337c320f041 SHA256 c7df435dec979d6febb2e52faafe2ba9e7c3338f982f3d63109209fed58d8cc2 +AUX ipw2200-1.2.0-modverdir.patch 528 RMD160 1b704ed1ae7773ff403ea01184d39918af3a7ed0 SHA1 ae4aec08a23189a8906d37f832ef404ed6210838 SHA256 9ae31bf0d63b9c31cf74be1eeb0178da0bdedc90ab9a743397e917b7a32e8e7c +DIST ipw2200-1.2.0.tgz 139374 RMD160 5b2e6836a552b82b0320f84b088addec21863b21 SHA1 d2b327357afc94a94701d260936b037abf4212e8 SHA256 69c7089e5ec40c2f89f841e02703e6db4c96e045131f06bafa6d5ec4a969f074 +EBUILD ipw2200-1.2.0.ebuild 2408 RMD160 93965ae3d4e390cb39fb56dad2f621bd584c56bb SHA1 4d85d1c2ef98817e5d30c58d5a09abc62a08a39e SHA256 56c3aec2b275c3d638fbb937e307fc11160e1da5381d96ad0d2b96f1a97024f3 +MISC ChangeLog 13729 RMD160 f6e6431eead73866f1e7bf8eb7c8d186d7708a3c SHA1 459f158a974254132003227ec5de51bbfeda7a09 SHA256 180654c43d98a27a15b79bcdbaca60ccdf15b3db708a200f1f6ed1700277b94c diff --git a/net-wireless/ipw2200/files/digest-ipw2200-1.2.0 b/net-wireless/ipw2200/files/digest-ipw2200-1.2.0 new file mode 100644 index 00000000..7e92a718 --- /dev/null +++ b/net-wireless/ipw2200/files/digest-ipw2200-1.2.0 @@ -0,0 +1,3 @@ +MD5 cfd26b4526186d61a4feeaee217493b9 ipw2200-1.2.0.tgz 139374 +RMD160 5b2e6836a552b82b0320f84b088addec21863b21 ipw2200-1.2.0.tgz 139374 +SHA256 69c7089e5ec40c2f89f841e02703e6db4c96e045131f06bafa6d5ec4a969f074 ipw2200-1.2.0.tgz 139374 diff --git a/net-wireless/ipw2200/files/ipw2200-1.2.0-inject.patch b/net-wireless/ipw2200/files/ipw2200-1.2.0-inject.patch new file mode 100644 index 00000000..2ce56d84 --- /dev/null +++ b/net-wireless/ipw2200/files/ipw2200-1.2.0-inject.patch @@ -0,0 +1,98 @@ +diff -ur ipw2200-1.1.4/ipw2200.c ipw2200-1.1.4-inject/ipw2200.c +--- ipw2200-1.1.4/ipw2200.c 2006-08-21 04:38:32.000000000 +0200 ++++ ipw2200-1.1.4-inject/ipw2200.c 2006-08-23 14:20:31.000000000 +0200 +@@ -1945,6 +1945,66 @@ + static DEVICE_ATTR(net_stats, S_IWUSR | S_IRUGO, + show_net_stats, store_net_stats); + ++static int ipw_tx_skb(struct ipw_priv *priv, struct ieee80211_txb *txb, int pri); ++ ++/* SYSFS INJECT */ ++static ssize_t store_inject(struct device *d, ++#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12) ++ struct device_attribute *attr, ++#endif ++ const char *buf, size_t count) ++{ ++ struct ipw_priv *priv = (struct ipw_priv *)d->driver_data; ++ struct ieee80211_device *ieee = priv->ieee; ++ struct ieee80211_txb * txb; ++ struct sk_buff *skb_frag; ++ unsigned char * newbuf; ++ unsigned long flags; ++ ++ // should test (ieee->is_queue_full) ++ ++ // Fw only accepts data, so avoid accidental fw errors. ++ if ( (buf[0]&0x0c) != '\x08') { ++ //printk("ipw2200: inject: discarding non-data frame (type=%02X)\n",(int)(unsigned char)buf[0]); ++ return count; ++ } ++ ++ if (count>1500) { ++ count=1500; ++ printk("ipw2200: inject: cutting down frame to 1500 bytes\n"); ++ } ++ ++ spin_lock_irqsave(&priv->lock, flags); ++ ++ // Create a txb with one skb ++ txb = kmalloc(sizeof(struct ieee80211_txb) + sizeof(u8 *), GFP_ATOMIC); ++ if (!txb) ++ goto nosepuede; ++ txb->nr_frags=1; ++ txb->frag_size = ieee->tx_headroom; ++ txb->fragments[0]=__dev_alloc_skb(count + ieee->tx_headroom, GFP_ATOMIC); ++ if (!txb->fragments[0]) { ++ kfree(txb); ++ goto nosepuede; ++ } ++ skb_reserve(txb->fragments[0], ieee->tx_headroom); ++ txb->encrypted=0; ++ txb->payload_size=count; ++ skb_frag = txb->fragments[0]; ++ newbuf=skb_put(skb_frag, count); ++ ++ // copy data into txb->skb and send it ++ memcpy(newbuf, buf, count); ++ ++ ipw_tx_skb(priv, txb, 0); ++ ++nosepuede: ++ spin_unlock_irqrestore(&priv->lock, flags); ++ return count; ++} ++ ++static DEVICE_ATTR(inject, S_IWUSR, NULL, store_inject); ++ + static void notify_wx_assoc_event(struct ipw_priv *priv) + { + union iwreq_data wrqu; +@@ -11478,6 +11538,7 @@ + #ifdef CONFIG_IPW2200_PROMISCUOUS + &dev_attr_rtap_iface.attr, + &dev_attr_rtap_filter.attr, ++ &dev_attr_inject.attr, + #endif + NULL + }; +diff -ur ipw2200-1.1.4/Makefile ipw2200-1.1.4-inject/Makefile +--- ipw2200-1.1.4/Makefile 2006-08-21 04:38:29.000000000 +0200 ++++ ipw2200-1.1.4-inject/Makefile 2006-08-23 14:22:06.000000000 +0200 +@@ -30,14 +30,14 @@ + # simply uncomment: + # + # NOTE: To use RADIOTAP you must also enable MONITOR above. +-#CONFIG_IPW2200_RADIOTAP=y ++CONFIG_IPW2200_RADIOTAP=y + + # The above monitor mode provides standard monitor mode. The following + # will create a new interface (named rtap%d) which will be sent all + # 802.11 frames received on the interface + # + # NOTE: To use PROMISCUOUS you must also enable MONITOR above. +-#CONFIG_IPW2200_PROMISCUOUS=y ++CONFIG_IPW2200_PROMISCUOUS=y + + endif + diff --git a/net-wireless/ipw2200/files/ipw2200-1.2.0-modverdir.patch b/net-wireless/ipw2200/files/ipw2200-1.2.0-modverdir.patch new file mode 100644 index 00000000..12d70206 --- /dev/null +++ b/net-wireless/ipw2200/files/ipw2200-1.2.0-modverdir.patch @@ -0,0 +1,20 @@ +Index: ipw2200-1.2.0/Makefile +=================================================================== +--- ipw2200-1.2.0.orig/Makefile ++++ ipw2200-1.2.0/Makefile +@@ -153,14 +153,8 @@ clean: + distclean: clean + rm -f tags TAGS + +-TMP=$(PWD)/tmp +-MODVERDIR=$(TMP)/.tmp_versions +- + modules: +- mkdir -p $(MODVERDIR) +- -cp $(IEEE80211_MODVERDIR)/*.mod $(MODVERDIR) +- -cp $(IEEE80211_MODVERDIR)/../Modules.symvers $(PWD) +- $(MAKE) -C $(KSRC) M=$(PWD) MODVERDIR=$(MODVERDIR) modules ++ $(MAKE) -C $(KSRC) M=$(PWD) modules + + + patch_kernel: diff --git a/net-wireless/ipw2200/ipw2200-1.2.0.ebuild b/net-wireless/ipw2200/ipw2200-1.2.0.ebuild new file mode 100644 index 00000000..697fdf34 --- /dev/null +++ b/net-wireless/ipw2200/ipw2200-1.2.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils linux-mod + +# The following works with both pre-releases and releases +MY_P=${P/_/-} +S=${WORKDIR}/${MY_P} + +IEEE80211_VERSION="1.2.15" +FW_VERSION="3.0" + +DESCRIPTION="Driver for the Intel 2200BG/2915ABG miniPCI/PCI adapters patched with modified inject patches" +HOMEPAGE="http://ipw2200.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug inject" +DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION} + sys-apps/sed" +RDEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION} + >=net-wireless/ipw2200-firmware-${FW_VERSION} + net-wireless/wireless-tools" + +BUILD_TARGETS="all" +MODULE_NAMES="ipw2200(net/wireless:)" +MODULESD_IPW2200_DOCS="README.ipw2200" + +CONFIG_CHECK="NET_RADIO FW_LOADER !IPW2200" +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." +ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." +ERROR_IPW2200="${P} requires the in-kernel version of the IPW2200 driver to be disabled (CONFIG_IPW2200)" + +pkg_setup() { + linux-mod_pkg_setup + + if kernel_is 2 4; then + die "${P} does not support building against kernel 2.4.x" + fi + + if [[ ! -f ${ROOT}/lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} ]]; then + eerror + eerror "Looks like you forgot to remerge net-wireless/ieee80211 after" + eerror "upgrading your kernel." + eerror + eerror "Hint: use sys-kernel/module-rebuild for keeping track of which" + eerror "modules needs to be remerged after a kernel upgrade." + eerror + die "${ROOT}/lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} not found" + fi + + BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include" +} + +src_unpack() { + local debug="n" radiotap="n" + + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/${P}-modverdir.patch" + if use inject; then + epatch "${FILESDIR}/${P}-inject.patch" + fi + + use debug && debug="y" + sed -i -e "s:^\(CONFIG_IPW2200_DEBUG\)=.*:\1=${debug}:" "${S}"/Makefile +} + +src_compile() { + linux-mod_src_compile + + einfo + einfo "You may safely ignore any warnings from above compilation about" + einfo "undefined references to the ieee80211 subsystem." + einfo +} + +src_install() { + linux-mod_src_install + + dodoc CHANGES ISSUES +} |