Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2009 11:25:21 +0100
From:      Paul B Mahol <onemda@gmail.com>
To:        Weongyo Jeong <weongyo@freebsd.org>, Alex Keda <admin@lissyara.su>, current@freebsd.org,  Gonzalo Nemmi <gnemmi@gmail.com>, Attilio Rao <attilio@freebsd.org>,  Aditya Sarawgi <sarawgi.aditya@gmail.com>, Andrea Di Pasquale <spikey.it@gmail.com>
Subject:   Re: Call for Test and Review: bwn(4) - another Broadcom Wireless  driver
Message-ID:  <3a142e750912240225j45a17b07iddd115e25b9bc36f@mail.gmail.com>
In-Reply-To: <20091223201438.GD1293@weongyo>
References:  <20091223035331.GA1293@weongyo> <4B3250E7.1000509@lissyara.su> <20091223201438.GD1293@weongyo>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/23/09, Weongyo Jeong <weongyo.jeong@gmail.com> wrote:
> On Wed, Dec 23, 2009 at 08:18:31PM +0300, Alex Keda wrote:
>> Weongyo Jeong pishet:
>> >Hello,
>> >
>> >Now bwn(4) is available at the public and waiting test and review.  The
>> >status of this driver is *alpha* so could make panics, warnings and
>> >errors.  Please let me know if you encounter problems.
>> >
>> >The following NICs all I have are only tested on the little endian 64bit
>> >machine and big endian 32bit machine.
>> >
>> >  - Broadcom BCM4306 802.11b/g Wireless
>> >  - Broadcom BCM4318 802.11b/g Wireless
>> none1@pci0:48:0:0:      class=0x028000 card=0x1371103c chip=0x431214e4
>> rev=0x02 hdr=0x00
>>     vendor     = 'Broadcom Corporation'
>>     device     = 'BCM4310 UART (Wireless Ethernet Adapter)'
>>     class      = network
>>     bar   [10] = type Memory, range 64, base 0xc8000000, size 16384,
>> enabled
>>     cap 01[40] = powerspec 3  supports D0 D1 D2 D3  current D0
>>     cap 09[58] = vendor (length 120)
>>     cap 05[e8] = MSI supports 1 message, 64 bit
>>     cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1)
>>
>> FreeBSD HP.lissyara.su 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r200750: Sun
>> Dec 20 14:47:53 MSK 2009
>> root@HP.lissyara.su:/usr/obj/usr/src/sys/GENERIC  amd64
>>
>> after load ssb
>> ssb0: <Broadcom BCM4312 802.11a/b/g Wireless> mem 0xc8000000-0xc8003fff
>> irq 18 at device 0.0 on pci48
>> ssb0: unsupportted coreid 0x817
>
> Interesting.  It looks device has a USB 1.1 host controller(?) in
> wireless NIC.  I think you can ignore this message that looks no
> harm.
>
>> after load if_bwn I have panic
>> bwn0 on ssb0
>> bwn: WLAN (chipid 0x4311 rev B) PHY (analog 4 type 2 rev 9) RADIO (manyf
>>  0x17f ver 0x2050 rev 2)
>> bwn0: DMA (64 bits)
>> bwn0: [FILTER]
>> panic: ssb_add_child: 1960: SSB_DEV_80211 is only supported currently.
>
> It's caused by unexpected SSB core.  Could you please test with attached
> patch with email and tell me the result?

It fixed panic in my case too.

Unlike bwi(4) bwn(4) works much better with this card:

ssb0: <Broadcom BCM4311 802.11b/g Wireless> mem 0xf4000000-0xf4003fff
irq 17 at device 0.0 on pci16
ssb0: unsupportted coreid 0x817
bwn0 on ssb0
bwn0: WLAN (chipid 0x4311 rev 10) PHY (analog 4 type 2 rev 8) RADIO
(manuf 0x17f ver 0x2050 rev 2)
bwn0: DMA (32 bits)
bwn0: [FILTER]

and basic wep works just fine.

But I got panic in 'bwn taskq' if I play with hardware RF switch.

-- 
Paul B Mahol



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750912240225j45a17b07iddd115e25b9bc36f>