All of lore.kernel.org
 help / color / mirror / Atom feed
* BCM4321 (b43) on AppleTV (1st gen)
@ 2013-02-07 23:01 Dag Wieers
  2013-02-08  1:06 ` Dag Wieers
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Dag Wieers @ 2013-02-07 23:01 UTC (permalink / raw)
  To: linux-wireless

Hi,

For the OpenELEC project I am looking into getting better performance out 
of the b43 driver on the AppleTV (1st gen) device . The website reports 
the driver can do 802.11n (albeit on 2.4Ghz only), however using kernel 
3.7.5 (and earlier) I cannot get more than 3 MB/sec out of it (usually 
much less).

Here's the information of the device from the PCI bus:
----
02:00.0 Network controller: Broadcom Corporation BCM4321 802.11a/b/g/n (rev 05)
         Subsystem: Apple Inc. Device 008c
         Physical Slot: 1
         Flags: bus master, fast devsel, latency 0, IRQ 16
         Memory at 22100000 (64-bit, non-prefetchable) [size=16K]
         Capabilities: [40] Power Management version 3
         Capabilities: [58] Vendor Specific Information: Len=78 <?>
         Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
         Capabilities: [d0] Express Endpoint, MSI 00
         Capabilities: [100] Advanced Error Reporting
         Capabilities: [13c] Virtual Channel
         Capabilities: [160] Device Serial Number 4a-7a-12-ff-ff-27-00-23
         Capabilities: [16c] Power Budgeting <?>
         Kernel driver in use: b43-pci-bridge
         Kernel modules: wl
----

And the output of iwconfig:
----
wlan0     IEEE 802.11bg  ESSID:"zelfbestuur"
           Mode:Managed  Frequency:2.462 GHz  Access Point: 74:44:01:8D:90:5E
           Bit Rate=54 Mb/s   Tx-Power=20 dBm
           Retry  long limit:7   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:off
           Link Quality=63/70  Signal level=-47 dBm
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:33  Invalid misc:1987   Missed beacon:0
----

The device's bit rate never exceeds 54 MB/s while other wireless devices 
have iwconfig report e.g. IEEE 802.11abgn on the same netwerk:
----
wlan0     IEEE 802.11abgn  ESSID:"zelfbestuur"
           Mode:Managed  Frequency:2.462 GHz  Access Point: 74:44:01:8D:90:5E
           Bit Rate=130 Mb/s   Tx-Power=15 dBm
           Retry  long limit:7   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:off
           Link Quality=55/70  Signal level=-55 dBm
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:4867638  Invalid misc:22386   Missed beacon:0

03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 (rev 34)
         Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN
         Flags: bus master, fast devsel, latency 0, IRQ 45
         Memory at f1400000 (64-bit, non-prefetchable) [size=8K]
         Capabilities: [c8] Power Management version 3
         Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
         Capabilities: [e0] Express Endpoint, MSI 00
         Capabilities: [100] Advanced Error Reporting
         Capabilities: [140] Device Serial Number 8c-70-5a-ff-ff-c3-f2-64
         Kernel driver in use: iwlwifi
         Kernel modules: iwlwifi
----

Is there anything I can do to troubleshoot ? Are there any module 
parameters that could help ?

I have to mention that the device's interrupt is shared with the nvidia 
driver.
----
  16:    6374726   IO-APIC-fasteoi   b43, nvidia
----

And that the kernel has been compiled using:
----
CONFIG_B43=m
CONFIG_B43_SSB=y
CONFIG_B43_PCI_AUTOSELECT=y
CONFIG_B43_PCICORE_AUTOSELECT=y
CONFIG_B43_PIO=y
CONFIG_B43_PHY_N=y
CONFIG_B43_PHY_LP=y
CONFIG_B43_PHY_HT=y
CONFIG_B43_LEDS=y
CONFIG_B43_DEBUG=y
----

If the above can be trimmed down for this type of device I'd like to hear 
that as well (e.g. I am not sure if we need PIO or LEDS in this case).

PS I am also interested in any power management capabilities the 
device has and that we could enable when the device is idle, since the 
system lacks proper power management capabilities by itself 
(suspend/hibernate) and seems to have a limited ACPI implementation.

Thanks in advance for any insights,
-- 
-- dag wieers, dag@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, info@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]

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

end of thread, other threads:[~2013-04-03 10:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-07 23:01 BCM4321 (b43) on AppleTV (1st gen) Dag Wieers
2013-02-08  1:06 ` Dag Wieers
2013-02-08 16:24 ` Larry Finger
2013-02-08 16:46 ` Jonas Gorski
     [not found] ` <CACna6rwrq1qF4Rmf81OhO7jrXouUdjcAvnMtJcnCb4s=zm7a2w@mail.gmail.com>
2013-04-03  9:16   ` Dag Wieers
2013-04-03  9:16     ` Dag Wieers
2013-04-03 10:35     ` Rafał Miłecki
2013-04-03 10:35       ` Rafał Miłecki

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.