All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dylan Cristiani <d.cristiani@idem-tech.it>
To: b43-dev@lists.infradead.org
Subject: Trouble using bcm4318 compact flash with b43 driver
Date: Sat, 15 Jan 2011 08:05:00 +0100	[thread overview]
Message-ID: <20110115080500.00001c48@unknown> (raw)
In-Reply-To: <4D309B73.8050402@lwfinger.net>

On Fri, 14 Jan 2011 12:52:35 -0600
Larry Finger <Larry.Finger@lwfinger.net> wrote:

> On 01/14/2011 11:21 AM, dylan cristiani wrote:
> > Hi folks, i'm using a compact flash module, based on broadcom
> > bcm4318 chipset, together with b43 driver from kernel mainline, and
> > i get 'some' troubles trying to associate with APs; here follows
> > 'uname' and 'dmesg' logs:
> > 
> >> uname -a  
> > Linux nylux 2.6.36 #167 Thu Jan 06 00:37:29 CET 2011 armv5tel
> > GNU/Linux
> > 
> >> dmesg  
> >  ......
> >  bus: 'ssb': registered
> >  bus: 'pcmcia': add driver b43-pcmcia
> >  bus: 'pcmcia': driver_probe_device: matched device 0.0 with driver
> >  b43-pcmcia bus: 'pcmcia': really_probe: probing driver b43-pcmcia
> > with device 0.0
> >  ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
> >  ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
> >  ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
> >  ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
> >  ssb: chipcommon status is 0x0
> >  device: 'ssb0:0': device_add
> >  bus: 'ssb': add device ssb0:0
> >  ssb: Sonics Silicon Backplane found on PCMCIA device pcmcia0.0
> >  driver: '0.0': driver_bound: bound to device 'b43-pcmcia'
> >  bus: 'pcmcia': really_probe: bound device 0.0 to driver b43-pcmcia
> >  bus: 'ssb': add driver b43
> >  bus: 'ssb': driver_probe_device: matched device ssb0:0 with driver
> > b43 bus: 'ssb': really_probe: probing driver b43 with device ssb0:0
> >  b43-phy0: Broadcom 4318 WLAN found (core revision 9)
> >  b43-phy0 debug: Found PHY: Analog 3, Type 2, Revision 7
> >  b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision
> > 8 device: 'phy0': device_add
> >  ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> >  device: 'wlan0': device_add
> >  driver: 'ssb0:0': driver_bound: bound to device 'b43'
> >  bus: 'ssb': really_probe: bound device ssb0:0 to driver b43
> >  Broadcom 43xx driver loaded [ Features: M, Firmware-ID: FW13 ]
> >  rev= 9
> >  b43 ssb0:0: firmware: requesting b43/ucode5.fw
> >  device: 'ssb0:0': device_add
> >  device: 'ssb0:0': device_unregister
> >  b43 ssb0:0: firmware: requesting b43/pcm5.fw
> >  device: 'ssb0:0': device_add
> >  device: 'ssb0:0': device_unregister
> >  b43 ssb0:0: firmware: requesting b43/b0g0initvals5.fw
> >  device: 'ssb0:0': device_add
> >  device: 'ssb0:0': device_unregister
> >  b43 ssb0:0: firmware: requesting b43/b0g0bsinitvals5.fw
> >  device: 'ssb0:0': device_add
> >  device: 'ssb0:0': device_unregister
> >  b43-phy0: Loading firmware version 4
> >  b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
> >  b43-phy0 debug: Chip initialized
> >  b43-phy0 debug: PIO initialized
> >  b43-phy0 debug: QoS enabled
> >  device: 'hw_random': device_add
> >  b43-phy0 debug: Wireless interface started
> >  b43-phy0 debug: Adding Interface type 2
> >  ieee80211 phy0: device no longer idle - scanning
> >  ieee80211 phy0: device now idle
> >  b43-phy0 debug: Removing Interface type 2
> >  b43-phy0 debug: Wireless interface stopped
> >  device: 'hw_random': device_unregister
> >  device: 'hw_random': device_create_release
> >  b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
> >  b43-phy0 debug: Chip initialized
> >  b43-phy0 debug: PIO initialized
> >  b43-phy0 debug: QoS enabled
> >  device: 'hw_random': device_add
> >  b43-phy0 debug: Wireless interface started
> >  b43-phy0 debug: Adding Interface type 2
> >  ieee80211 phy0: device no longer idle - scanning
> >  ieee80211 phy0: device now idle
> >  ieee80211 phy0: device no longer idle - working
> >  wlan0: authenticate with 00:15:70:e2:3c:a1 (try 1)
> >  wlan0: authenticated
> >  ieee80211 phy0: device now idle
> >  ieee80211 phy0: device no longer idle - working
> >  wlan0: associate with 00:15:70:e2:3c:a1 (try 1)
> >  wlan0: RX AssocResp from 00:15:70:e2:3c:a1 (capab=0x411 status=0
> > aid=3) wlan0: associated
> >  ieee80211 phy0: Allocated STA 00:15:70:e2:3c:a1
> >  ieee80211 phy0: Inserted STA 00:15:70:e2:3c:a1
> >  cfg80211: Calling CRDA for country: IT
> >  b43-phy0 debug: Using hardware based encryption for keyidx: 0, mac:
> >  00:15:70:e2:3c:a1 b43-phy0 debug: Using hardware based encryption
> > for keyidx: 1, mac: ff:ff:ff:ff:ff:ff
> 
> Does /var/log/messages indicate how long a time elapsed between the
> keyidx message above, and the beacon loss below? \
i'll try to set the kernel option timestamp to se elapsed time but
as far as i can 'count' by my self it's very short time!

> 
> >  wlan0: detected beacon loss from AP - sending probe request
> >  ieee80211 phy0: wlan0: No probe response from AP 00:15:70:e2:3c:a1
> >  after 500ms, try 1 ieee80211 phy0: wlan0: No probe response from AP
> >  00:15:70:e2:3c:a1 after 500ms, try 2
> >  ieee80211 phy0: wlan0: No probe response from AP 00:15:70:e2:3c:a1
> >  after 500ms, try 3 ieee80211 phy0: wlan0: No probe response from AP
> >  00:15:70:e2:3c:a1 after 500ms, try 4
> >  ieee80211 phy0: wlan0: No probe response from AP 00:15:70:e2:3c:a1
> >  after 500ms, disconnecting. b43-phy0 debug: Disabling hardware
> > based encryption for keyidx: 0, mac: 00:15:70:e2:3c:a1
> >  ieee80211 phy0: Removed STA 00:15:70:e2:3c:a1
> >  ieee80211 phy0: Destroyed STA 00:15:70:e2:3c:a1
> >  ieee80211 phy0: device now idle
> >  b43-phy0 debug: Disabling hardware based encryption for keyidx: 1,
> >  mac: ff:ff:ff:ff:ff:ff cfg80211: All devices are disconnected,
> > going to restore regulatory settings
> >  cfg80211: Restoring regulatory settings
> >  cfg80211: Calling CRDA to update world regulatory domain
> >  ieee80211 phy0: device no longer idle - scanning
> >  ieee80211 phy0: device now idle
> > 
> > Note that same stuff happens also with kernel 2.6.37, and same with
> > old firmware version 410.2160 (2007-05-26 15:32:10) cutted from
> > http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
> > 
> > while other firmware (version 478.104 (2008-07-01 00:50:23)) was
> > from
> > http://downloads.openwrt.org/sources/broadcom-wl-4.178.10.4.tar.bz2
> > 
> > Any help will be very very very appreciated
> 
> At this point, I have no idea why the interface authenticated and
> associated, then suddenly stopped receiving beacons. If necessary,
> could you set up another box with wireshark to capture the traffic
> to/from the 4318?
it will be hard i must try to find some sniffer somewhere
> 
> Larry
for now tks larry!

  reply	other threads:[~2011-01-15  7:05 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14 17:21 Trouble using bcm4318 compact flash with b43 driver dylan cristiani
2011-01-14 18:52 ` Larry Finger
2011-01-15  7:05   ` Dylan Cristiani [this message]
2011-01-15 16:38     ` Larry Finger
2011-01-17 10:06       ` dylan cristiani
2011-01-17 13:51         ` dylan cristiani
2011-01-18 10:58           ` dylan cristiani
2011-01-18 14:34             ` Larry Finger
2011-01-19 13:03               ` dylan cristiani
2011-01-21 15:51                 ` Dylan Cristiani
2011-01-21 17:22                   ` Larry Finger
2011-01-21 21:54                     ` Dylan Cristiani
2011-01-21 22:13                       ` Larry Finger
2011-01-22 10:48                         ` Dylan Cristiani
2011-02-01 14:41                           ` dylan cristiani
2011-02-01 20:40                             ` Larry Finger
2011-02-02  9:11                               ` dylan cristiani
2011-02-02 11:55                                 ` dylan cristiani
2011-02-02 15:30                                   ` dylan cristiani
2011-02-02 21:58                                     ` Larry Finger
2011-02-03  8:28                                       ` dylan cristiani
2011-02-02 22:40                                     ` Michael Büsch
2011-02-03  8:45                                       ` dylan cristiani
2011-02-03 10:29                                         ` Michael Büsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110115080500.00001c48@unknown \
    --to=d.cristiani@idem-tech.it \
    --cc=b43-dev@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.