Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223871 - Intel 4965 and Intel 3945 wireless pro only capturing beacons in monitor mode
Summary: Intel 4965 and Intel 3945 wireless pro only capturing beacons in monitor mode
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
Depends on:
Reported: 2008-05-27 18:11 UTC by Michael
Modified: 2009-01-29 12:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Warning, needs cleanup (iwl4965_monitor_mode.patch,3.73 KB, patch)
2008-06-24 14:36 UTC, Michael
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2008-05-27 18:11:30 UTC
Then Intel Wireless Pro 4965 and 3945 do not capture any other pakets except beacon frames when in monitor mode when using the gentoo-sources kernel driver. The bug has been reported the the Intel wireless driver team and a tested patch exists. But it looks like it is not yet put into the offical driver not the kernel 2.6.25. It would be nice if you gentoo guys could add it at least for 2.6.25

Reproducible: Always

Steps to Reproduce:
1. Compile the kernel driver for Intel Wireless Pro 4965 in sys-kernel/gentoo-sources
2. Set the wireless interface into monitor mode using 'iwconfig wlan0 mode monitor'
3. Use wireshark or any abritary tool to read from the interface.

Actual Results:  
Only beacons of other APs are captured, no traffic.

Expected Results:  
All the other pakets should be also captured.
Comment 1 Mike Pagano gentoo-dev 2008-05-30 01:36:31 UTC
Well, our policy is usually to not add patches unless they make the mainline development tree.  But the changes in iwlwifi from 2.6.25 to dev tree are so numerous and I don't see how this could even be backported to 2.6.25 once it actually makes it to 2.6.26 dev.

So, I'm going to punt (American football reference) to Daniel. :)

Comment 2 Michael 2008-06-04 17:17:08 UTC
I must have been seriously drunk when I wrote the bug-report o.o Sorry about the language.

Anyways: Somehow the official patch from the intel bug-report does not work on my 2.6.25 sources =/

I guess that means I have to patch it by hand (ugh x.x) or wait for the 2.6.26 kernel. But I am not too happy always using the bleeding edge kernel just to get my hardware running.

Comment 3 Michael 2008-06-24 14:36:37 UTC
Created attachment 158289 [details, diff]
Warning, needs cleanup

The original Intel patch does not work with the version of iwlwifi in kernel 2.6.25
The linenumbers were off, one context was not right and a variable was renamed.

I manually patched my sources for the iwl4965 driver, but not the 3965 driver (but manually patching it should be just as easy).

I created a patch of my current 2.6.25-r4 sources against the 2.6.25-r5 sources (the Intel drivers did not change). This is probally still the wrong way to create a patch, but I hope someone might clean up my file :-)

The patch works flawlessly for me, the dirver captures everything on the current channel.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2008-06-29 16:36:42 UTC
It looks like the patch hasn't been sent/accepted upstream. Can you confirm that the bug still exists on the latest 2.6.26-rc kernel?
Comment 5 Michael 2008-07-24 02:32:18 UTC
I can confirm that this problem still exists in the new kernel 2.6.26.

The patch does not work for kernel 2.6.26. I will try to make a new one later.
Comment 6 Mike Pagano gentoo-dev 2008-08-15 00:22:28 UTC
I think this might be the fix:;a=commitdiff_plain;h=25b3f57c1f4572d9b2d5671d60e99f26d2a7a26b

Which is part of the latest git-sources (latest right now is git-sources-2.6.27_rc3-r2). 

Can someone please test this kernel version.
Comment 7 Mike Pagano gentoo-dev 2008-08-28 17:53:33 UTC
Please reopen after you've tested and report the findings.
Comment 8 Michael 2009-01-29 12:11:48 UTC
Works flawlessly with recent kernel versions. (>=2.6.27 I think)