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

Aditya Sarawgi sarawgi.aditya at gmail.com
Sun Feb 28 18:27:03 UTC 2010


On Wed, Dec 23, 2009 at 11:51:34AM -0800, Weongyo Jeong wrote:
> On Wed, Dec 23, 2009 at 08:18:48AM +0000, Aditya Sarawgi wrote:
> > On Tue, Dec 22, 2009 at 07:53:31PM -0800, Weongyo Jeong wrote:
> > > 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
> > > 
> > > I tested basic RX, TX and WPA association as STA mode and checked it
> > > worked.
> > > 
> > > As you might know there are still a lot of TODO in the driver so you
> > > could see some verbose messages during testing so please ignore or let
> > > me know it makes problems.
> > > 
> > > == How to build and load ==
> > > 
> > >   # cd /usr/src/sys
> > >   # fetch http://people.freebsd.org/~weongyo/bwn_20091222.tar.gz
> > >   # tar xzf bwn_20091222.tar.gz
> > >   # cd modules/ssb
> > >   # make && make install
> > >   # cd ../..
> > >   # cd modules/bwn
> > >   # make && make install
> > >   # cd somewhere
> > >   # fetch http://people.freebsd.org/~weongyo/bwn_ports_20091222.tar.gz
> > >   # tar xzf bwn_ports_20091222.tar.gz
> > >   # cd sysutils/b43-fwcutter
> > >   # make install clean
> > >   # cd ../..
> > >   # cd net/bwn-firmware-kmod
> > >   # make install clean
> > >   #
> > >   # kldload ssb
> > >   # kldload bwn_v4_ucode
> > >   # kldload if_bwn
> > > 
> > > regards,
> > > Weongyo Jeong
> > > 
> > 
> > Hi,
> > 
> > The driver doesn't work with BCM4315, here's what dmesg shows 
> > 
> > ssb0: <Broadcom BCM4315 802.11b/g Wireless> mem 0xf4000000-0xf4003fff 
> > irq 19 at device 0.0 on pci6
> > bwn0 on ssb0
> > bwn0: unsupported PHY type (5)
> > device_attach: bwn0 attach returned 6
> 
> I see that your device has LP-PHY instead of A/B/G/N PHYs so currently
> it's not supported by bwn(4).
> 
> AFAIK linux has a weak but working implementation so we could refer to
> other Open Sources.
> 
> regards,
> Weongyo Jeong
> 

Hi,

It still doesn't work, when I try to do 
ifconfig bwn0 scan
I get
ifconfig: unable to get the scan results

The device is getting recognized properly 
here's the dmesg

siba_bwn0: <Broadcom BCM4312 802.11b/g Wireless> mem 
0xf4000000-0xf4003fff irq 19 at device 0.0 on pci6
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: Using 1 MSI messages
bwn0: [FILTER]

I have loaded the following modules
bwn_v4_ucode.ko
if_bwn.ko
siba_bwn.ko



-- 
Aditya Sarawgi


More information about the freebsd-current mailing list