Re: Broadcom BCM4312 802.11b/g in 11-CURRENT r269739

From: Matthias Apitz <guru_at_unixarea.de>
Date: Sun, 17 Aug 2014 09:47:28 +0200
El día Saturday, August 16, 2014 a las 05:25:09PM +0200, Matthias Apitz escribió:

> 
> Hello,
> 
> I have a 11-CURRENT from August 8, and ports from the day after:
> 
> FreeBSD tiny-r269739 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r269739M: Fri Aug 15 18:07:41 CEST 2014     guru_at_vm-tiny-r269739:/usr/obj/usr/src/sys/GENERIC  i386
> 
> The configuration used for the Wifi card is:
> 
> rc.conf:
> 
> wlans_bwn0="wlan0"
> ifconfig_wlan0="WPA DHCP"
> 
> loader.conf
> 
> if_bwn_load="YES"
> bwn_v4_lp_ucode_load="YES"
> 
> The Wifi comes up fine on boot with WPA and DHCP assigns IP addr and
> routing:
> 
> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	ether 90:4c:e5:00:06:ce
> 	inet 192.168.2.100 netmask 0xffffff00 broadcast 192.168.2.255 
> 	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> 	media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
> 	status: associated
> 	ssid tarara channel 7 (2442 MHz 11g) bssid 00:13:f7:0d:08:48
> 	country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
> 	AES-CCM 4:128-bit txpower 30 bmiss 7 scanvalid 60 bgscan
> 	bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS
> 	wme roaming MANUAL
> 
> I even can do a DNS lookup and transfer some ~10 PING to Internet, but
> after this it gets stuck. Below is a 'dmesg | fgrep -i bwn'. Let me know
> if someone needs a complete dmesg output.
> 

I have recompiled if_bwn.c with -DBWN_DEBUG and set hw.bwn.debug=15 in
/boot/loader.conf; an output of 'dmesg | fgrep bwn' is attached. IP addr
gets assigned via DHCP and some 20 IMCP packages can be sent. After
this, the traffic gets stuck.

If someone (the author of the driver or the port of net/bwn*) is willing
to guide my through the debugging, here I am.

Thanks

	matthias

Preloaded elf module "/boot/kernel/if_bwn.ko" at 0xc183d8e8.
Preloaded elf module "/boot/kernel/siba_bwn.ko" at 0xc183dc6c.
Preloaded elf module "/boot/modules/bwn_v4_lp_ucode.ko" at 0xc183e01c.
firmware: 'bwn_v4_lp_ucode' version 0: 0 bytes loaded at 0xc1811084
firmware: 'bwn_v4_lp_ucode5' version 0: 22264 bytes loaded at 0xc1811084
firmware: 'bwn_v4_lp_ucode11' version 0: 32776 bytes loaded at 0xc181677c
firmware: 'bwn_v4_lp_ucode13' version 0: 31440 bytes loaded at 0xc181e784
firmware: 'bwn_v4_lp_ucode14' version 0: 31000 bytes loaded at 0xc1826254
firmware: 'bwn_v4_lp_ucode15' version 0: 34672 bytes loaded at 0xc182db6c
firmware: 'bwn_v4_lp_pcm5' version 0: 1320 bytes loaded at 0xc18362dc
firmware: 'bwn_v4_lp_a0g1initvals5' version 0: 1848 bytes loaded at 0xc1836804
firmware: 'bwn_v4_lp_a0g0initvals5' version 0: 1848 bytes loaded at 0xc1836f3c
firmware: 'bwn_v4_lp_b0g0initvals5' version 0: 1848 bytes loaded at 0xc1837674
firmware: 'bwn_v4_lp_b0g0initvals13' version 0: 2126 bytes loaded at 0xc1837dac
firmware: 'bwn_v4_lp_a0g1bsinitvals5' version 0: 178 bytes loaded at 0xc18385fa
firmware: 'bwn_v4_lp_a0g0bsinitvals5' version 0: 178 bytes loaded at 0xc18386ac
firmware: 'bwn_v4_lp_b0g0bsinitvals5' version 0: 178 bytes loaded at 0xc183875e
firmware: 'bwn_v4_lp_lp0initvals13' version 0: 3664 bytes loaded at 0xc1838810
firmware: 'bwn_v4_lp_lp0initvals14' version 0: 2110 bytes loaded at 0xc1839660
firmware: 'bwn_v4_lp_lp0initvals15' version 0: 2282 bytes loaded at 0xc1839e9e
firmware: 'bwn_v4_lp_lp0bsinitvals13' version 0: 178 bytes loaded at 0xc183a788
firmware: 'bwn_v4_lp_lp0bsinitvals14' version 0: 178 bytes loaded at 0xc183a83a
firmware: 'bwn_v4_lp_lp0bsinitvals15' version 0: 178 bytes loaded at 0xc183a8ec
firmware: 'bwn_v4_lp_n0bsinitvals11' version 0: 178 bytes loaded at 0xc183a99e
siba_bwn0: <Broadcom BCM4312 802.11b/g Wireless> mem 0x57100000-0x57103fff irq 16 at device 0.0 on pci1
bwn0 on siba_bwn0
bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2)
bwn0: DMA (64 bits)
bwn0: MSI count : 1
siba_bwn0: attempting to allocate 1 MSI vectors (1 supported)
siba_bwn0: using IRQ 257 for MSI
bwn0: Using 1 MSI messages
bwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
bwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
bwn_init: if_flags 0x8803
bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657)
bwn_newstate: INIT -> SCAN
bwn_newstate: SCAN -> AUTH
bwn_newstate: AUTH -> ASSOC
bwn_newstate: ASSOC -> RUN
bwn0: need multicast update callback
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: need multicast update callback
bwn0: need multicast update callback
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)
bwn0: RX decryption attempted (old 0 keyidx 0x2)

-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru_at_unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
Received on Sun Aug 17 2014 - 05:47:40 UTC

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