About supporting of BCM4312 [14e4:4315] with Low Power PHY
Dear Michael and Stefano,
I have a project which integrate Broadcom Wifi chip. But the mainline b43 still does not support this chip, because it has Low Power PHY.
Here is my lspci -vvnn output for this device:
------
07:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
Subsystem: Dell Device [1028:000c]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at f0100000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [d0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us
ClockPM+ Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
------
Do you guys know how to support this device in 2.6.31 kernel? Need I backport some code from wireless-testing? I enabled the PHY_LP config manually in 2.6.31 kernel and b43 driver recognized the hardware wifi device, but it still does not work at all.
Or there is no choice but Broadcom's STA driver? I do not like such non-GPL stuff.
Thanks a lot
Signature · 5 lines
Bryan Wu <[email protected]> Kernel Developer +86.138-1617-6545 Mobile Ubuntu Kernel Team | Hardware Enablement Team Canonical Ltd. www.canonical.com Ubuntu - Linux for human beings | www.ubuntu.com
This chip works (though not quite "supported", that is, can't guarantee that it will work for you, and speed is not up to par with wl_hybrid) in wireless-testing. It should also work in compat-wireless, though compat-wireless is having problems with 64-bit DMA lately (probably also affects the G-PHY 4311/02). Specifically, the Dell 1397 (half-mini version of the 1395) and the HP 459263-002 are known to work.
Quoted 52 lines · Bryan Wu
Dear Michael and Stefano,
I have a project which integrate Broadcom Wifi chip. But the mainline b43 still does not support this chip, because it has Low Power PHY.
Here is my lspci -vvnn output for this device:
------
07:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
Subsystem: Dell Device [1028:000c]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory atf0100000(64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mAPME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [d0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us ClockPM+ Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
------Do you guys know how to support this device in 2.6.31 kernel? Need I backport some code from wireless-testing? I enabled the
PHY_LPconfig manually in 2.6.31 kernel and b43 driver recognized the hardware wifi device, but it still does not work at all.Or there is no choice but Broadcom's STA driver? I do not like such non-GPL stuff.
Thanks a lot
--
Bryan Wu <[email protected]>
Kernel Developer +86.138-1617-6545 Mobile
Ubuntu Kernel Team | Hardware Enablement Team
Canonical Ltd. www.canonical.com
Ubuntu - Linux for human beings | www.ubuntu.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
Hi Gabor,
I tried the latest cmpat-wireless 09-16 snapshot on my machine which runs on 2.6.31 Ubuntu Karmic latest kernel. The hardware probing passes and wlan1 interface shows up. But the iwlist scanning got no data from wlan1 interface,
dmesg:
---
[ 364.371703] b43-pci-bridge 0000:07:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 364.371761] b43-pci-bridge 0000:07:00.0: setting latency timer to 64 [ 364.437779] ssb: Sonics Silicon Backplane found on PCI device 0000:07:00.0 [ 364.491488] b43-phy0: Broadcom 4312 WLAN found (core revision 15) [ 364.533562] b43-phy0 debug: Found PHY: Analog 6, Type 5, Revision 1 [ 364.533604] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2062, Revision 2 [ 364.693040] phy0: Selected rate control algorithm 'minstrel' [ 364.701666] Broadcom 43xx driver loaded [ Features: PML, Firmware-ID: FW13 ] [ 364.748486] udev: renamed network interface wlan0 to wlan1 [ 364.824296] b43 ssb0:0: firmware: requesting b43/ucode15.fw [ 364.901848] b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw [ 364.931482] b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw [ 365.140212] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10) [ 365.144349] b43-phy0 debug: b2062: Using crystal tab entry 19200 kHz. [ 365.412558] b43-phy0 debug: Chip initialized [ 365.413163] b43-phy0 debug: 64-bit DMA initialized [ 365.413356] b43-phy0 debug: QoS enabled [ 365.434064] Registered led device: b43-phy0::tx [ 365.434315] Registered led device: b43-phy0::rx [ 365.434545] Registered led device: b43-phy0::radio [ 365.435079] b43-phy0 debug: Wireless interface started [ 365.435208] b43-phy0 debug: Adding Interface type 2
----
ifconfig:
---
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:24:e8:bd:c9:3d
inet addr:10.101.46.6 Bcast:10.101.46.255 Mask:255.255.255.0
inet6 addr: fe80::224:e8ff:febd:c93d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:797 errors:0 dropped:0 overruns:0 frame:0
TX packets:663 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:76364 (76.3 KB) TX bytes:452350 (452.3 KB)
Interrupt:30 Base address:0xc000 lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:29 errors:0 dropped:0 overruns:0 frame:0 TX packets:29 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:6202 (6.2 KB) TX bytes:6202 (6.2 KB)
wlan1 Link encap:Ethernet HWaddr 00:25:56:a0:15:58
UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
---
$ iwconfig wlan1
wlan1 IEEE 802.11bg Mode:Managed Access Point: Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off$ sudo iwlist wlan1 scanning wlan1 No scan results
Do you guys think it is related to 64bit DMA issue? I really want to help to develop this b43 opensource driver, anything need me to do, please feel free ping me.
Thanks
-Bryan
Quoted 63 lines · Gábor Stefanik
This chip works (though not quite "supported", that is, can't guarantee that it will work for you, and speed is not up to par with
wl_hybrid) in wireless-testing. It should also work in compat-wireless, though compat-wireless is having problems with 64-bit DMA lately (probably also affects the G-PHY 4311/02). Specifically, the Dell 1397 (half-mini version of the 1395) and the HP 459263-002 are known to work.Quoted 52 lines · Bryan Wu
Dear Michael and Stefano,
I have a project which integrate Broadcom Wifi chip. But the mainline b43 still does not support this chip, because it has Low Power PHY.
Here is my lspci -vvnn output for this device:
------
07:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
Subsystem: Dell Device [1028:000c]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory atf0100000(64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mAPME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [d0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us
ClockPM+ Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
------Do you guys know how to support this device in 2.6.31 kernel? Need I backport some code from wireless-testing? I enabled the
PHY_LPconfig manually in 2.6.31 kernel and b43 driver recognized the hardware wifi device, but it still does not work at all.Or there is no choice but Broadcom's STA driver? I do not like such non-GPL stuff.
Thanks a lot
--
Bryan Wu <[email protected]>
Kernel Developer +86.138-1617-6545 Mobile
Ubuntu Kernel Team | Hardware Enablement Team
Canonical Ltd. www.canonical.com
Ubuntu - Linux for human beings | www.ubuntu.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
2009/9/16 Bryan Wu <[email protected]>:
Quoted 6 lines
Hi Gabor,
I tried the latest cmpat-wireless 09-16 snapshot on my machine which runs on 2.6.31 Ubuntu Karmic latest kernel. The hardware probing passes and wlan1 interface shows up. But the iwlist scanning got no data from wlan1 interface,
Quoted 15 lines
dmesg:
---
[ 364.371703] b43-pci-bridge 0000:07:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 364.371761] b43-pci-bridge 0000:07:00.0: setting latency timer to 64 [ 364.437779] ssb: Sonics Silicon Backplane found on PCI device 0000:07:00.0 [ 364.491488] b43-phy0: Broadcom 4312 WLAN found (core revision 15)
[ 364.533562] b43-phy0 debug: Found PHY: Analog 6, Type 5, Revision 1
[ 364.533604] b43-phy0 debug: Found Radio: Manuf0x17F, Version0x2062, Revision 2 [ 364.693040] phy0: Selected rate control algorithm 'minstrel'
[ 364.701666] Broadcom 43xx driver loaded [ Features: PML, Firmware-ID: FW13 ] [ 364.748486] udev: renamed network interface wlan0 to wlan1
[ 364.824296] b43 ssb0:0: firmware: requesting b43/ucode15.fw
[ 364.901848] b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
[ 364.931482] b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
[ 365.140212] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Please test with v478 or newer.
Quoted 4 lines
[ 365.144349] b43-phy0 debug: b2062: Using crystal tab entry 19200 kHz. [ 365.412558] b43-phy0 debug: Chip initialized
[ 365.413163] b43-phy0 debug: 64-bit DMA initialized
[ 365.413356] b43-phy0 debug: QoS enabled
Try disabling QoS via modparam. Also, try earlier compat-wireless versions.
Quoted 37 lines
[ 365.434064] Registered led device: b43-phy0::tx [ 365.434315] Registered led device: b43-phy0::rx [ 365.434545] Registered led device: b43-phy0::radio [ 365.435079] b43-phy0 debug: Wireless interface started [ 365.435208] b43-phy0 debug: Adding Interface type 2
----ifconfig:
---$ ifconfig eth0 Link encap:Ethernet HWaddr 00:24:e8:bd:c9:3d inet addr:10.101.46.6 Bcast:10.101.46.255 Mask:255.255.255.0 inet6 addr: fe80::224:e8ff:febd:c93d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:797 errors:0 dropped:0 overruns:0 frame:0 TX packets:663 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:76364 (76.3 KB) TX bytes:452350 (452.3 KB) Interrupt:30 Base address:0xc000lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:29 errors:0 dropped:0 overruns:0 frame:0 TX packets:29 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:6202 (6.2 KB) TX bytes:6202 (6.2 KB)wlan1 Link encap:Ethernet HWaddr 00:25:56:a0:15:58 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
---
Quoted 8 lines
$ iwconfig wlan1 wlan1 IEEE 802.11bg Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Power Management:off$ sudo iwlist wlan1 scanning wlan1 No scan results
Use "sudo iw dev wlan1 scan" with mac80211 drivers.
Quoted 72 lines
Do you guys think it is related to 64bit DMA issue? I really want to help to develop this b43 opensource driver, anything need me to do, please feel free ping me.
Thanks
-BryanQuoted 63 lines · Gábor Stefanik
This chip works (though not quite "supported", that is, can't guarantee that it will work for you, and speed is not up to par with
wl_hybrid) in wireless-testing. It should also work in compat-wireless, though compat-wireless is having problems with 64-bit DMA lately (probably also affects the G-PHY 4311/02). Specifically, the Dell 1397 (half-mini version of the 1395) and the HP 459263-002 are known to work.Quoted 52 lines · Bryan Wu
Dear Michael and Stefano,
I have a project which integrate Broadcom Wifi chip. But the mainline b43 still does not support this chip, because it has Low Power PHY.
Here is my lspci -vvnn output for this device:
------
07:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
Subsystem: Dell Device [1028:000c]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory atf0100000(64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mAPME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [d0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us ClockPM+ Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
------Do you guys know how to support this device in 2.6.31 kernel? Need I backport some code from wireless-testing? I enabled the
PHY_LPconfig manually in 2.6.31 kernel and b43 driver recognized the hardware wifi device, but it still does not work at all.Or there is no choice but Broadcom's STA driver? I do not like such non-GPL stuff.
Thanks a lot
--
Bryan Wu <[email protected]>
Kernel Developer +86.138-1617-6545 Mobile
Ubuntu Kernel Team | Hardware Enablement Team
Canonical Ltd. www.canonical.com
Ubuntu - Linux for human beings | www.ubuntu.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
Quoted 23 lines · Gábor Stefanik
2009/9/16 Bryan Wu <[email protected]>:
Quoted 8 lines
Hi Gabor,
I tried the latest cmpat-wireless 09-16 snapshot on my machine which runs on 2.6.31 Ubuntu Karmic latest kernel. The hardware probing passes and wlan1 interface shows up. But the iwlist scanning got no data from wlan1 interface,
dmesg:
---Quoted 13 lines
[ 364.371703] b43-pci-bridge 0000:07:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 364.371761] b43-pci-bridge 0000:07:00.0: setting latency timer to 64 [ 364.437779] ssb: Sonics Silicon Backplane found on PCI device 0000:07:00.0 [ 364.491488] b43-phy0: Broadcom 4312 WLAN found (core revision 15) [ 364.533562] b43-phy0 debug: Found PHY: Analog 6, Type 5, Revision 1 [ 364.533604] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2062, Revision 2 [ 364.693040] phy0: Selected rate control algorithm 'minstrel' [ 364.701666] Broadcom 43xx driver loaded [ Features: PML, Firmware-ID: FW13 ] [ 364.748486] udev: renamed network interface wlan0 to wlan1 [ 364.824296] b43 ssb0:0: firmware: requesting b43/ucode15.fw [ 364.901848] b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw [ 364.931482] b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw [ 365.140212] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Quoted 1 line
Please test with v478 or newer.
OK, do you know where can I find this firmware? I just followed the wiki page to get the firmware, but it seems the same version as I am using.
http://linuxwireless.org/en/users/Drivers/b43#device_firmware
Quoted 8 lines
Quoted 5 lines
[ 365.144349] b43-phy0 debug: b2062: Using crystal tab entry 19200 kHz. [ 365.412558] b43-phy0 debug: Chip initialized [ 365.413163] b43-phy0 debug: 64-bit DMA initialized [ 365.413356] b43-phy0 debug: QoS enabledTry disabling QoS via modparam. Also, try earlier compat-wireless versions.
Yeah, I disabled the QoS via qos=0 modparam, but the result it is the same.
Quoted 43 lines
Quoted 43 lines
[ 365.434064] Registered led device: b43-phy0::tx [ 365.434315] Registered led device: b43-phy0::rx [ 365.434545] Registered led device: b43-phy0::radio [ 365.435079] b43-phy0 debug: Wireless interface started [ 365.435208] b43-phy0 debug: Adding Interface type 2----
ifconfig:
---$ ifconfig eth0 Link encap:Ethernet HWaddr 00:24:e8:bd:c9:3d inet addr:10.101.46.6 Bcast:10.101.46.255 Mask:255.255.255.0 inet6 addr: fe80::224:e8ff:febd:c93d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:797 errors:0 dropped:0 overruns:0 frame:0 TX packets:663 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:76364 (76.3 KB) TX bytes:452350 (452.3 KB) Interrupt:30 Base address:0xc000lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:29 errors:0 dropped:0 overruns:0 frame:0 TX packets:29 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:6202 (6.2 KB) TX bytes:6202 (6.2 KB)wlan1 Link encap:Ethernet HWaddr 00:25:56:a0:15:58
UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
---$ iwconfig wlan1 wlan1 IEEE 802.11bg Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Power Management:off
Quoted 5 lines
Quoted 2 lines
$ sudo iwlist wlan1 scanning wlan1 No scan resultsUse "sudo iw dev wlan1 scan" with mac80211 drivers.
Tried that, but the same result, nothing shows up.
Thanks a lot
-Bryan
Quoted 69 lines
Quoted 69 lines
Do you guys think it is related to 64bit DMA issue? I really want to help to develop this b43 opensource driver, anything need me to do, please feel free ping me.
Thanks
-BryanQuoted 62 lines · Gábor Stefanik
This chip works (though not quite "supported", that is, can't guarantee that it will work for you, and speed is not up to par with
wl_hybrid) in wireless-testing. It should also work in compat-wireless, though compat-wireless is having problems with 64-bit DMA lately (probably also affects the G-PHY 4311/02). Specifically, the Dell 1397 (half-mini version of the 1395) and the HP 459263-002 are known to work.Quoted 52 lines · Bryan Wu
Dear Michael and Stefano,
I have a project which integrate Broadcom Wifi chip. But the mainline b43 still does not support this chip, because it has Low Power PHY.
Here is my lspci -vvnn output for this device:
------
07:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
Subsystem: Dell Device [1028:000c]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory atf0100000(64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mAPME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [d0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us
ClockPM+ Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
------Do you guys know how to support this device in 2.6.31 kernel? Need I backport some code from wireless-testing? I enabled the
PHY_LPconfig manually in 2.6.31 kernel and b43 driver recognized the hardware wifi device, but it still does not work at all.Or there is no choice but Broadcom's STA driver? I do not like such non-GPL stuff.
Thanks a lot
--
Bryan Wu <[email protected]>
Kernel Developer +86.138-1617-6545 Mobile
Ubuntu Kernel Team | Hardware Enablement Team
Canonical Ltd. www.canonical.com
Ubuntu - Linux for human beings | www.ubuntu.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 23 lines · Bryan Wu
Quoted 22 lines · Gábor Stefanik
2009/9/16 Bryan Wu <[email protected]>:
Quoted 21 lines
Hi Gabor,
I tried the latest cmpat-wireless 09-16 snapshot on my machine which runs on 2.6.31 Ubuntu Karmic latest kernel. The hardware probing passes and wlan1 interface shows up. But the iwlist scanning got no data from wlan1 interface,
dmesg:
---[ 364.371703] b43-pci-bridge 0000:07:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 364.371761] b43-pci-bridge 0000:07:00.0: setting latency timer to 64 [ 364.437779] ssb: Sonics Silicon Backplane found on PCI device 0000:07:00.0 [ 364.491488] b43-phy0: Broadcom 4312 WLAN found (core revision 15) [ 364.533562] b43-phy0 debug: Found PHY: Analog 6, Type 5, Revision 1 [ 364.533604] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2062, Revision 2 [ 364.693040] phy0: Selected rate control algorithm 'minstrel' [ 364.701666] Broadcom 43xx driver loaded [ Features: PML, Firmware-ID: FW13 ] [ 364.748486] udev: renamed network interface wlan0 to wlan1 [ 364.824296] b43 ssb0:0: firmware: requesting b43/ucode15.fw [ 364.901848] b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw [ 364.931482] b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw [ 365.140212] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Quoted 5 lines
Quoted 1 line
Please test with v478 or newer.
OK, do you know where can I find this firmware? I just followed the wiki page to get the firmware, but it seems the same version as I am using.
http://linuxwireless.org/en/users/Drivers/b43#device_firmware
I tried the one from here: http://downloads.openwrt.org/sources/broadcom-wl-4.178.10.4.tar.bz2
Still got the same result,
[ 95.360263] b43-pci-bridge 0000:07:00.0: PCI INT A disabled [ 122.214822] b43-pci-bridge 0000:07:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 122.214880] b43-pci-bridge 0000:07:00.0: setting latency timer to 64 [ 122.285420] ssb: Sonics Silicon Backplane found on PCI device 0000:07:00.0 [ 122.354411] b43-phy0: Broadcom 4312 WLAN found (core revision 15) [ 122.397222] b43-phy0 debug: Found PHY: Analog 6, Type 5, Revision 1 [ 122.397260] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2062, Revision 2 [ 122.544617] phy0: Selected rate control algorithm 'minstrel' [ 122.549401] Broadcom 43xx driver loaded [ Features: PML, Firmware-ID: FW13 ] [ 122.675356] udev: renamed network interface wlan0 to wlan1 [ 122.769147] b43 ssb0:0: firmware: requesting b43/ucode15.fw [ 122.847433] b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw [ 122.883806] b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw [ 123.113178] b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23) [ 123.117334] b43-phy0 debug: b2062: Using crystal tab entry 19200 kHz. [ 123.385222] b43-phy0 debug: Chip initialized [ 123.385794] b43-phy0 debug: 64-bit DMA initialized [ 123.385850] b43-phy0 debug: QoS disabled [ 123.406615] Registered led device: b43-phy0::tx [ 123.406745] Registered led device: b43-phy0::rx [ 123.406874] Registered led device: b43-phy0::radio [ 123.407281] b43-phy0 debug: Wireless interface started [ 123.407374] b43-phy0 debug: Adding Interface type 2 [ 123.421273] ADDRCONF(NETDEV_UP): wlan1: link is not ready
Thanks,
-Bryan
Quoted 57 lines · Bryan Wu
Quoted 23 lines · Bryan Wu
Quoted 22 lines · Gábor Stefanik
2009/9/16 Bryan Wu <[email protected]>:
Quoted 21 lines
Hi Gabor,
I tried the latest cmpat-wireless 09-16 snapshot on my machine which runs on 2.6.31 Ubuntu Karmic latest kernel. The hardware probing passes and wlan1 interface shows up. But the iwlist scanning got no data from wlan1 interface,
dmesg:
---
[ 364.371703] b43-pci-bridge 0000:07:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 364.371761] b43-pci-bridge 0000:07:00.0: setting latency timer to 64 [ 364.437779] ssb: Sonics Silicon Backplane found on PCI device 0000:07:00.0 [ 364.491488] b43-phy0: Broadcom 4312 WLAN found (core revision 15)
[ 364.533562] b43-phy0 debug: Found PHY: Analog 6, Type 5, Revision 1
[ 364.533604] b43-phy0 debug: Found Radio: Manuf0x17F, Version0x2062, Revision 2 [ 364.693040] phy0: Selected rate control algorithm 'minstrel'
[ 364.701666] Broadcom 43xx driver loaded [ Features: PML, Firmware-ID: FW13 ] [ 364.748486] udev: renamed network interface wlan0 to wlan1
[ 364.824296] b43 ssb0:0: firmware: requesting b43/ucode15.fw
[ 364.901848] b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
[ 364.931482] b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
[ 365.140212] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)Quoted 5 lines
Quoted 1 line
Please test with v478 or newer.
OK, do you know where can I find this firmware? I just followed the wiki page to get the firmware, but it seems the same version as I am using.
http://linuxwireless.org/en/users/Drivers/b43#device_firmwareI tried the one from here: http://downloads.openwrt.org/sources/broadcom-wl-4.178.10.4.tar.bz2
Still got the same result,
[ 95.360263] b43-pci-bridge 0000:07:00.0: PCI INT A disabled
[ 122.214822] b43-pci-bridge 0000:07:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 122.214880] b43-pci-bridge 0000:07:00.0: setting latency timer to 64
[ 122.285420] ssb: Sonics Silicon Backplane found on PCI device 0000:07:00.0
[ 122.354411] b43-phy0: Broadcom 4312 WLAN found (core revision 15)
[ 122.397222] b43-phy0 debug: Found PHY: Analog 6, Type 5, Revision 1
[ 122.397260] b43-phy0 debug: Found Radio: Manuf0x17F, Version0x2062, Revision 2 [ 122.544617] phy0: Selected rate control algorithm 'minstrel'
[ 122.549401] Broadcom 43xx driver loaded [ Features: PML, Firmware-ID: FW13 ] [ 122.675356] udev: renamed network interface wlan0 to wlan1
[ 122.769147] b43 ssb0:0: firmware: requesting b43/ucode15.fw
[ 122.847433] b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
[ 122.883806] b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
[ 123.113178] b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23) [ 123.117334] b43-phy0 debug: b2062: Using crystal tab entry 19200 kHz.
[ 123.385222] b43-phy0 debug: Chip initialized
[ 123.385794] b43-phy0 debug: 64-bit DMA initialized
[ 123.385850] b43-phy0 debug: QoS disabled
[ 123.406615] Registered led device: b43-phy0::tx
[ 123.406745] Registered led device: b43-phy0::rx
[ 123.406874] Registered led device: b43-phy0::radio
[ 123.407281] b43-phy0 debug: Wireless interface started
[ 123.407374] b43-phy0 debug: Adding Interface type 2
[ 123.421273]ADDRCONF(NETDEV_UP): wlan1: link is not ready
Quoted 4 lines
Thanks,
-Bryan
Try to enable mac80211/cfg80211 debug messages. Also enable SSB debugging. (If mac80211 debugging is on, then you are hitting a {mac|cfg|nl|lib}80211 bug, as your dmesg should contain entries like "device is no longer idle".)
To Larry: Software RFKILL is not yet implemented for LP-PHY - it is part of my calibration patch, which had other errors (software RFKILL is a prereq for calibration). Feel free to split it out into a separate patch if anyone needs it - I can't do it right now; no working Linux system (due to the vmware problem).
Signature · 1 line
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
Quoted 10 lines · Gábor Stefanik
Try to enable mac80211/cfg80211 debug messages. Also enable SSB debugging. (If mac80211 debugging is on, then you are hitting a {mac|cfg|nl|lib}80211 bug, as your dmesg should contain entries like "device is no longer idle".)
To Larry: Software RFKILL is not yet implemented for LP-PHY - it is part of my calibration patch, which had other errors (software RFKILL is a prereq for calibration). Feel free to split it out into a separate patch if anyone needs it - I can't do it right now; no working Linux system (due to the vmware problem).
I have noticed that there is no notification of the radio switch being off with the 4315; however, the radio is killed by the switch.
If I have time, I'll look at it, but I'm going to be travelling for 8 days and may not have much time.
Larry
Quoted 2 lines · Bryan Wu
Do you guys think it is related to 64bit DMA issue? I really want to help to develop this b43 opensource driver, anything need me to do, please feel free ping me.
Not an issue with 64-bit DMA. Those people with 64-bit DMA problems get error messages.
Larry
Quoted 8 lines · Larry Finger
Quoted 2 lines · Bryan Wu
Do you guys think it is related to 64bit DMA issue? I really want to help to develop this b43 opensource driver, anything need me to do, please feel free ping me.
Not an issue with 64-bit DMA. Those people with 64-bit DMA problems get error messages.
OK, got you. Thanks. I'm just wandering how to debug this driver. It seems that probing passes but the wlan1 interface does not work at all.
-Bryan
Quoted 11 lines · Bryan Wu
Quoted 7 lines · Larry Finger
Quoted 2 lines · Bryan Wu
Do you guys think it is related to 64bit DMA issue? I really want to help to develop this b43 opensource driver, anything need me to do, please feel free ping me.
Not an issue with 64-bit DMA. Those people with 64-bit DMA problems get error messages.
OK, got you. Thanks. I'm just wandering how to debug this driver. It seems that probing passes but the wlan1 interface does not work at all.
Are you absolutely sure your radio switch is on? On my computer, the driver is not reporting when the switch is off for the 4315 devices.
Larry