Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2010 11:58:45 -0800
From:      Weongyo Jeong <weongyo.jeong@gmail.com>
To:        Aditya Sarawgi <sarawgi.aditya@gmail.com>
Cc:        attilio@freebsd.org, spikey.it@gmail.com, gnemmi@gmail.com, current@freebsd.org
Subject:   Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver
Message-ID:  <20100301195845.GF1295@weongyo>
In-Reply-To: <4b8ab56d.9413f30a.75df.ffffc0b9@mx.google.com>
References:  <20091223035331.GA1293@weongyo> <4b31cb29.9413f30a.5f4a.ffff8382@mx.google.com> <20091223195134.GC1293@weongyo> <4b8ab56d.9413f30a.75df.ffffc0b9@mx.google.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 28, 2010 at 11:56:50PM +0000, Aditya Sarawgi wrote:
> 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

uses the following commands instead of it that you didn't create the
virtual wlan interface:

  # ifconfig wlan0 create wlandev bwn0
  # ifconfig wlan0 up
  # ifconfig wlan0 scan
  # ifconfig wlan0 list scan

> 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

Please uses bwn_v4_lp_ucode.ko because your device looks it's LP PHY.

> if_bwn.ko
> siba_bwn.ko

regards,
Weongyo Jeong




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