2012-10-22 13:13:46

by Ronald

[permalink] [raw]
Subject: [regression][bisected] Handling of channel contexts causes wireless to fail (i.e. no wlan* devices)

The following commit causes wireless interfaces to not show up (i.e.
wlan* is non existant):

fe57d9f: mac80211: track whether to use channel contexts

Reverting this commit on top of current wireless-testing resulted in
undefined references to chanctx.

I have observed this behaviour on two chipsets on two seperate systems
(desktop and laptop):

- rt2860pci
05:08.0 Network controller: Ralink corp. RT2800 802.11n PCI
Subsystem: SiteCom Europe BV Device 0016
Flags: bus master, slow devsel, latency 32, IRQ 18
05:08.0 0280: 1814:0601
Subsystem: 182d:0016
- b43
03:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
Subsystem: Hewlett-Packard Company BCM4311 802.11b/g Wireless LAN Controller
03:00.0 0280: 14e4:4311 (rev 01)
Subsystem: 103c:1364

[ 0.190034] ssb: Found chip with id 0x4311, rev 0x01 and package 0x00
[ 0.190039] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x11, vendor 0x4243)
[ 0.190044] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x0A,
vendor 0x4243)
[ 0.190049] ssb: Core 2 found: USB 1.1 Host (cc 0x817, rev 0x03,
vendor 0x4243)
[ 0.190054] ssb: Core 3 found: PCI-E (cc 0x820, rev 0x01, vendor 0x4243)
[ 0.330087] ssb: Sonics Silicon Backplane found on PCI device 0000:03:00.0
[ 5.810937] b43-phy0: Broadcom 4311 WLAN found (core revision 10)
[ 5.910007] b43-phy0: Found PHY: Analog 4, Type 2 (G), Revision 8

This e-mail is a last resort as I was not able to find this issue
mentioned in the last 3 days on the mailing list archives from marc.

Ronald


2012-10-22 14:02:40

by Ronald

[permalink] [raw]
Subject: Re: [regression][bisected] Handling of channel contexts causes wireless to fail (i.e. no wlan* devices)

2012/10/22 Johannes Berg <[email protected]>:
> On Mon, 2012-10-22 at 15:13 +0200, Ronald wrote:
>> The following commit causes wireless interfaces to not show up (i.e.
>> wlan* is non existant):
>>
>> fe57d9f: mac80211: track whether to use channel contexts
>>
>> Reverting this commit on top of current wireless-testing resulted in
>> undefined references to chanctx.
>
> Oops, my mistake, this should fix it:
>
> http://p.sipsolutions.net/cd55626ca51fc3c5.txt
>
> johannes
>

I can confirm that the attached patch fixes the issue reported.

Thanks!

2012-10-22 13:20:06

by Johannes Berg

[permalink] [raw]
Subject: Re: [regression][bisected] Handling of channel contexts causes wireless to fail (i.e. no wlan* devices)

On Mon, 2012-10-22 at 15:13 +0200, Ronald wrote:
> The following commit causes wireless interfaces to not show up (i.e.
> wlan* is non existant):
>
> fe57d9f: mac80211: track whether to use channel contexts
>
> Reverting this commit on top of current wireless-testing resulted in
> undefined references to chanctx.

Oops, my mistake, this should fix it:

http://p.sipsolutions.net/cd55626ca51fc3c5.txt

johannes