Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 131017

Summary: ipw2200 monitor mode kernel option
Product: Gentoo Linux Reporter: Raymond Lewis Rebbeck <dystopianray>
Component: New packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: trivial CC: m.debruijne
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=2c0f63166a5998102ddc7697706af83cbff49317
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to add missing CONFIG_IPW2200_MONITOR option
Patch to allow ipw2220 to use firmware 3.0

Description Raymond Lewis Rebbeck 2006-04-23 13:06:11 UTC
CONFIG_IPW2200_MONITOR is missing from all kernels up to and including 2.6.16 The attached patch puts an option in to enable monitor mode when using menuconfig/xconfig/etc with gentoo-sources-2.6.16-r3, it probably applies cleanly to other kernels as well it's very trivial, although I've not tried. I also have no idea if this has been corrected in any 2.6.17 releases.

The patch is the same from the URL included although it has been redone to apply to gentoo-sources-2.6.16-r3
Comment 1 Raymond Lewis Rebbeck 2006-04-23 13:06:59 UTC
Created attachment 85297 [details, diff]
patch to add missing CONFIG_IPW2200_MONITOR option
Comment 2 Henrik Brix Andersen 2006-04-23 14:23:29 UTC
Yes, this patch is part of linux-2.6.17-rcX.

Daniel, can we get this included in genpatches-2.6.16-x, please?
Comment 3 Raymond Lewis Rebbeck 2006-04-23 15:02:45 UTC
Actually judging from Bug 119337 it might not be the best idea to include the previous patch based on the issues in firmware-2.4

However, the following patch allows ipw2200 in gentoo-sources-2.6.16-r3 to use firmware-3.0 which resolves the firmware-2.4 issues with monitor mode. It is the patch from http://ipw2200.sourceforge.net/patches/ipw2200-1.1.0-fw-3.0.patch which hunks 4 to 7 manually merged and the rest applying successfully. It has a few warnings and doesn't exactly match the patch from upstream, so maybe best to wait till 2.6.17 or somebody else might want to look over it. I was able to connect to my AP and browse the web without issues and monitor mode seemed to work perfectly fine, during my short test.
Comment 4 Raymond Lewis Rebbeck 2006-04-23 15:03:57 UTC
Created attachment 85307 [details, diff]
Patch to allow ipw2220 to use firmware 3.0
Comment 5 Henrik Brix Andersen 2006-04-24 00:45:39 UTC
Comment on attachment 85307 [details, diff]
Patch to allow ipw2220 to use firmware 3.0

We can not accept this patch for genpatches. If you wish to use firmware 3.0 you will have to use the external net-wireless/ipw2200 driver for now.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-04-24 07:58:13 UTC
Brix, you still want the monitor one in regardless?
Comment 7 Henrik Brix Andersen 2006-04-24 09:09:59 UTC
(In reply to comment #6)
> Brix, you still want the monitor one in regardless?

Yes, please.
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2006-04-25 10:11:37 UTC
Fixed in gentoo-sources-2.6.16-r4 (genpatches-2.6.16-6)