From owner-freebsd-current@FreeBSD.ORG Sun Feb 28 18:27:03 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43BF41065673; Sun, 28 Feb 2010 18:27:03 +0000 (UTC) (envelope-from sarawgi.aditya@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 056118FC29; Sun, 28 Feb 2010 18:27:02 +0000 (UTC) Received: by pwj7 with SMTP id 7so1354274pwj.13 for ; Sun, 28 Feb 2010 10:26:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=kOHVPOrqcQC8GiLCB7YFFNx26Pu42ZEgmPtxaqWRjH8=; b=aVJjQjm1okpUTFAbyzUynHaB08C1OtkMtTl7z/qgL9OxeIIbH8wLo+UN2KIPt1lvLH ER3FmQ6J1C+B0o3hKSZKPx2YEVUCNx7UD41urTqjQdrRrnIuosF4mQoToAbX+PjUFcZD LB7447CZUMJrMgzUcBZzE44HmauKeFVDyPs0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=ELWD7yemG177T8Zl812ceaB1c3if2L8XbRnieV8o2lFAm4iZuURbVQybvuiqljB5Ue Wt50NKGkSr0usLp+31R9ZQJj+rJ90JljzzzIm5FcZa8xtch4DMxY3j0YkhoSYUJAT+Vn obzipqcsS3h6zVVyf4qnieGejRLVEjVj3E1Zs= Received: by 10.115.67.26 with SMTP id u26mr1914352wak.162.1267381614549; Sun, 28 Feb 2010 10:26:54 -0800 (PST) Received: from ([183.87.28.68]) by mx.google.com with ESMTPS id 20sm2818060pzk.3.2010.02.28.10.26.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Feb 2010 10:26:53 -0800 (PST) Date: Sun, 28 Feb 2010 23:56:50 +0000 From: Aditya Sarawgi To: Weongyo Jeong Message-ID: <4b8ab56d.9413f30a.75df.ffffc0b9@mx.google.com> References: <20091223035331.GA1293@weongyo> <4b31cb29.9413f30a.5f4a.ffff8382@mx.google.com> <20091223195134.GC1293@weongyo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091223195134.GC1293@weongyo> User-Agent: Mutt/1.5.20 (2009-06-14) 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 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2010 18:27:03 -0000 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: 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: 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