public inbox for b43-dev@lists.infradead.org
 help / color / mirror / Atom feed
* b43: BCM 4331: MacBook 8,1: No connection after suspend
       [not found] <20111118173242.GA2101@schottelius.org>
@ 2011-11-18 19:22 ` John W. Linville
       [not found] ` <20111118173921.GB2101@schottelius.org>
  1 sibling, 0 replies; 3+ messages in thread
From: John W. Linville @ 2011-11-18 19:22 UTC (permalink / raw)
  To: Nico -telmich- Schottelius, LKML, netdev, Arend van Spriel
  Cc: b43-dev, linux-wireless, Rafał Miłecki, Larry Finger,
	Michael Buesch

Arend has nothing to do with b43, and b43 has it's own
mailing list, b43-dev at lists.infradead.org.  Even if it didn't,
linux-wireless at vger.kernel.org would be a more appropriate list than
this one.

John

On Fri, Nov 18, 2011 at 06:32:42PM +0100, Nico -telmich- Schottelius wrote:
> Hello,
> 
> new notebook, new problems (*):
> 
> Running 3.2.0-rc1 on the MacBook Pro 8,1 with the BCM4331
> (14e4:4331) the WLAN indeed works:
> 
> [   86.231702] b43-phy0: Broadcom 4331 WLAN found (core revision 29)
> [   86.269190] ieee80211 phy0: Selected rate control algorithm
> 'minstrel_ht'
> [   86.270486] Broadcom 43xx driver loaded [ Features: PMNLS ]
> [   87.677265] b43-phy0: Loading firmware version 666.2 (2011-02-23
> 01:15:07)
> 
> But: After a suspend it seems not to receive any packets anymore:
> 
> [ 2334.494845] wlan0: authenticate with 64:87:d7:37:89:89 (try 1)
> [ 2334.694035] wlan0: authenticate with 64:87:d7:37:89:89 (try 2)
> [ 2334.893909] wlan0: authenticate with 64:87:d7:37:89:89 (try 3)
> [ 2335.093824] wlan0: authentication with 64:87:d7:37:89:89 timed out
> 
> wpa_supplicant thus retries to connect to the network again and again
> without success.
> 
> This is reproducable on the MBP 8,1 and is *NOT* fixed if I unload
> b43 and modprobe it again. It is also "not fixed" when doing
> multiple suspends/resumes.
> 
> Any pointers to this?
> 
> Cheers,
> 
> Nico
> 
> 
> (*) feels like in good old times...
> 
> -- 
> PGP key: 7ED9 F7D3 6B10 81D7 0EC5  5C09 D7DC C8E4 3187 7DF0
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

-- 
John W. Linville		Someday the world will need a hero, and you
linville at tuxdriver.com			might be all we have.  Be ready.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* b43: BCM 4331: MacBook 8,1: No connection after suspend
       [not found]     ` <4EC6BB5E.4010101@broadcom.com>
@ 2011-11-18 23:08       ` Rafał Miłecki
       [not found]         ` <20111119200234.GA2140@schottelius.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Rafał Miłecki @ 2011-11-18 23:08 UTC (permalink / raw)
  To: Arend van Spriel
  Cc: Nico Schottelius, Nico -telmich- Schottelius, LKML,
	netdev@vger.kernel.org, b43-dev@lists.infradead.org

2011/11/18 Arend van Spriel <arend@broadcom.com>:
> On 11/18/2011 09:02 PM, Arend van Spriel wrote:
>> On 11/18/2011 06:39 PM, Nico Schottelius wrote:
>>> Nico -telmich- Schottelius [Fri, Nov 18, 2011 at 06:32:42PM +0100]:
>>>> Hello,
>>>>
>>>> new notebook, new problems (*):
>>>
>>> + full dmesg attached.
>>>
>>
>> It seems you are running b43 + bcma. Adding Rafa? and friends.
>>
>> Gr. AvS
>
> Hi Rafa?,
>
> In brcmsmac we reprogram the PCI BAR windows upon resume. Not sure if
> that is done or needed in bcma, but may be worth checking.

Good point.

Please reload b43 *and bcma*. Both drivers. Share your results.

-- 
Rafa?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* b43: BCM 4331: MacBook 8,1: No connection after suspend
       [not found]         ` <20111119200234.GA2140@schottelius.org>
@ 2011-11-19 20:14           ` Rafał Miłecki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafał Miłecki @ 2011-11-19 20:14 UTC (permalink / raw)
  To: Nico Schottelius, Rafał Miłecki, Arend van Spriel, LKML,
	netdev@vger.kernel.org, b43-dev@lists.infradead.org

2011/11/19 Nico Schottelius <nico-linux-20111118@schottelius.org>:
> Rafa? Mi?ecki [Sat, Nov 19, 2011 at 12:08:51AM +0100]:
>> > In brcmsmac we reprogram the PCI BAR windows upon resume. Not sure if
>> > that is done or needed in bcma, but may be worth checking.
>>
>> Good point.
>>
>> Please reload b43 *and bcma*. Both drivers. Share your results.
>
> Well, 100 points for you!
>
> rmmod of b43 and bcma and modprobe of b43 afterwards restores
> the ability to connect!

Great! :)


> Btw, I've found another issue: The signal level seems to be set
> to 0 for all networks, thus wpa_supplicant does not select the
> best network (Follow the white rabbit! in my case). Thus
> I've used "select_network 9" to force connection to the right
> networt.

Sorry, you're probably missing two important patches:
b43: fill ctl1 word on all newer PHYs, fix PHY errors
b43: HT-PHY: report signal to mac80211
I believe both will appear in 3.2-rc3.

-- 
Rafa?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-19 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20111118173242.GA2101@schottelius.org>
2011-11-18 19:22 ` b43: BCM 4331: MacBook 8,1: No connection after suspend John W. Linville
     [not found] ` <20111118173921.GB2101@schottelius.org>
     [not found]   ` <4EC6B9E9.50204@broadcom.com>
     [not found]     ` <4EC6BB5E.4010101@broadcom.com>
2011-11-18 23:08       ` Rafał Miłecki
     [not found]         ` <20111119200234.GA2140@schottelius.org>
2011-11-19 20:14           ` Rafał Miłecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox