Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419347 - iwlwifi driver in gentoo-sources-3.4.0 incorrectly sets max TX power limits
Summary: iwlwifi driver in gentoo-sources-3.4.0 incorrectly sets max TX power limits
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://thread.gmane.org/gmane.linux.k...
Whiteboard: >= 3.4.4
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-06-02 12:43 UTC by nvinson234
Modified: 2012-08-23 14:30 UTC (History)
1 user (show)

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


Attachments
Patch based on inlined email transcript (iwlwifi.patch,2.42 KB, patch)
2012-06-02 18:24 UTC, nvinson234
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nvinson234 2012-06-02 12:43:56 UTC
The iwlwifi driver in gentoo-sources-3.4.0 incorrectly sets the max TX power limit to 0dBm (for reference the limit was 15dBm in gentoo-sources-3.3.5). 

The below email transcript is a condensed summary of the issue:

>>> What I am seeing is a difference in TX-power (as reported by
>>> iwconfig) which affects my connectivity to my AP.
>> Interesting. Can you show/compare the output of "iw list" (not "iwlist") on
> both kernels?
>
> Certainly,  see the attached files.
Thanks. As you can see all the channels are listed with 0 dBm max TX power, this is due to a bug I just found recently. Please try this patch, it's on the way to upstream and 3.4.x stable:

http://thread.gmane.org/gmane.linux.kernel.wireless.general/91661

johannes

Reproducible: Always

Steps to Reproduce:
Build gentoo-sources 3.4.0
Observe 'iw list' output for Intel Centrino Wireless 6300 card
Actual Results:  
output will list max tx power as 0dBm

Expected Results:  
output should list max tx power as >0dBm (15dBm according to 3.3.5 kernel)

I am working on patching the 3.4.0 sources with the changes Johannes pointed out.  However, my latest attempt caused the kernel to crash at boot.  If I get a working patch, I will post it here.
Comment 1 nvinson234 2012-06-02 18:24:28 UTC
Created attachment 313953 [details, diff]
Patch based on inlined email transcript

This is the patch I created based on the email transcript I inlined in the bug report.  I just started using it, but so far it looks good.
Comment 2 Mike Pagano gentoo-dev 2012-07-17 15:46:09 UTC
Can you test a kernel >= 3.4.4. (vanilla or gentoo-sources).

The referenced patch is in both kernels.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=a5fdde28b4f5fb756032e7ad2c6fcdcffde20958
Comment 3 nvinson234 2012-07-21 20:22:04 UTC
(In reply to comment #2)
> Can you test a kernel >= 3.4.4. (vanilla or gentoo-sources).
> 
> The referenced patch is in both kernels.
> 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;
> a=commitdiff_plain;h=a5fdde28b4f5fb756032e7ad2c6fcdcffde20958

Patch was committed in 3.4.4.  Based on previous conversations with upstream and wifi behavior, the issue looks like it is fixed in that version.
Comment 4 Mike Pagano gentoo-dev 2012-08-23 14:30:32 UTC
Patch released in current kernels.