Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver

From: Miki <miki.bsd_at_gmail.com>
Date: Sun, 28 Feb 2010 20:45:32 +0100
Hi,

Thanks for the work !

I have some problems here when I try to create a wlan interface :
bwn_v4_ucode5: could not load firmware image, error 2
bwn0: the fw file(bwn_v4_ucode5) not found

I have installed bwn-firmware-kmod from ports but the only files I have in
/boot/modules are bwn_v4_lp_ucode.ko and bwn_v4_ucode.ko. So I tried to
copy bwn_v4_ucode to bwn_v4_ucode5 and it seems to work : wlan0 is
created, I can associate to an open Access Point and obtain a DHCP lease.
But if I try to do some network IO (browsing the web) the interface hang
(I cannot obtain a lease anymore).

I'm running :
FreeBSD acheron.homeunix.org 9.0-CURRENT FreeBSD 9.0-CURRENT #3 r204476M:
Sun Feb 28 20:27:03 CET 2010
miki_at_acheron.homeunix.org:/usr/obj/usr/src/sys/ACHERON  amd64

kernel and world are in sync.

pciconf -lcv output :

siba_bwn0_at_pci0:4:0:0: class=0x028000 card=0x70011799 chip=0x432014e4
rev=0x03 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = '802.11b/g Wireless LAN Controller (BCM4309)'
    class      = network

verbose dmesg output :

siba_bwn0: <Broadcom BCM4306 802.11b/g Wireless> mem
0xfe6fe000-0xfe6fffff irq 16 at device 0.0 on pci4
siba_bwn0: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfe6fe000
bwn0 on siba_bwn0
bwn0: WLAN (chipid 0x4306 rev 5) PHY (analog 2 type 2 rev 2) RADIO
(manuf 0x17f ver 0x2050 rev 2)
bwn0: DMA (30 bits)
bwn0: [MPSAFE]
bwn0: [FILTER]
bwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
bwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps

dmesg output when I create a wlan interface :

wlan0: bpf attached
wlan0: Ethernet address: 00:11:50:16:c4:47
bwn0: need multicast update callback
last message repeated 2 times
firmware: 'bwn_v4_ucode5' version 0: 22384 bytes loaded at 0xffffffff80c40800
firmware: 'bwn_v4_ucode11' version 0: 29864 bytes loaded at 0xffffffff80c45f70
firmware: 'bwn_v4_ucode13' version 0: 32232 bytes loaded at 0xffffffff80c4d418
firmware: 'bwn_v4_ucode14' version 0: 31384 bytes loaded at 0xffffffff80c55200
firmware: 'bwn_v4_ucode15' version 0: 30488 bytes loaded at 0xffffffff80c5cc98
firmware: 'bwn_v4_pcm5' version 0: 1320 bytes loaded at 0xffffffff80c643b0
firmware: 'bwn_v4_a0g1initvals5' version 0: 1840 bytes loaded at
0xffffffff80c648d8
firmware: 'bwn_v4_a0g0initvals5' version 0: 1840 bytes loaded at
0xffffffff80c65008
firmware: 'bwn_v4_b0g0initvals5' version 0: 1840 bytes loaded at
0xffffffff80c65738
firmware: 'bwn_v4_b0g0initvals13' version 0: 2080 bytes loaded at
0xffffffff80c65e68
firmware: 'bwn_v4_a0g1bsinitvals5' version 0: 158 bytes loaded at
0xffffffff80c66688
firmware: 'bwn_v4_a0g0bsinitvals5' version 0: 158 bytes loaded at
0xffffffff80c66726
firmware: 'bwn_v4_b0g0bsinitvals5' version 0: 158 bytes loaded at
0xffffffff80c667c4
firmware: 'bwn_v4_lp0initvals13' version 0: 3618 bytes loaded at
0xffffffff80c66862
firmware: 'bwn_v4_lp0initvals14' version 0: 2064 bytes loaded at
0xffffffff80c67684
firmware: 'bwn_v4_lp0initvals15' version 0: 2052 bytes loaded at
0xffffffff80c67e94
firmware: 'bwn_v4_lp0bsinitvals13' version 0: 158 bytes loaded at
0xffffffff80c68698
firmware: 'bwn_v4_lp0bsinitvals14' version 0: 158 bytes loaded at
0xffffffff80c68736
firmware: 'bwn_v4_lp0bsinitvals15' version 0: 158 bytes loaded at
0xffffffff80c687d4
firmware: 'bwn_v4_n0bsinitvals11' version 0: 158 bytes loaded at
0xffffffff80c68872
bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a)
wlan0: ieee80211_new_state_locked: pending
INIT -> SCAN transition lost
Feb 28 19:57:19 acheron kernel: wlan0: link state changed to UP
Feb 28 19:57:19 acheron kernel: bwn0: need multicast update callback
Feb 28 19:57:19 acheron last message repeated 2 times
Feb 28 19:57:19 acheron dhclient: New IP Address (wlan0): 192.168.2.36
Feb 28 19:57:19 acheron dhclient: New Subnet Mask (wlan0): 255.255.255.0
Feb 28 19:57:19 acheron dhclient: New Broadcast Address (wlan0): 192.168.2.255
Feb 28 19:57:19 acheron dhclient: New Routers (wlan0): 192.168.2.1
Received on Sun Feb 28 2010 - 18:45:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:01 UTC