From owner-freebsd-current@FreeBSD.ORG Mon Mar 1 19:58:57 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 9D7BE1065670; Mon, 1 Mar 2010 19:58:57 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by mx1.freebsd.org (Postfix) with ESMTP id EFAC18FC13; Mon, 1 Mar 2010 19:58:56 +0000 (UTC) Received: by fxm23 with SMTP id 23so506293fxm.3 for ; Mon, 01 Mar 2010 11:58:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=ZOwSu0PfZRETQsA4ZbG40qTwHWeCqYBnIa+6/CBh1P8=; b=KneX6KEZf7uDTb6PfOCQXFtL7s1bSOIo+oHgSw8NZA62rXVQ0u59l9pE6SOAGaI0aD xDZ0BNOAnI5qd3EI1OzeKJUy0iLzJk2DYgSfd0mHAAP+/xRdOoMpFt3WcS+It3lm8Ga8 PS5S5/91MJTGxS7FZDD0YpXvQCLEGXauxHvQk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=dAc4nVTCTSUH6FYmbPFOzM7AqBPsTKmcMXcrLXGuSprYmWqfxzgXH1vJ111B65EKP/ WjNPQDqB3ANq9j6KlcItQzg0Bz8h1xVdS4y/c6j52plH7nKTEcu09q17wEjZhr9pczjH uALqnh6eevNfIhuQEHbEw2dKlYp2P5e1HfqOA= Received: by 10.223.64.84 with SMTP id d20mr5477638fai.76.1267473530659; Mon, 01 Mar 2010 11:58:50 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id b17sm5947033fka.13.2010.03.01.11.58.47 (version=SSLv3 cipher=RC4-MD5); Mon, 01 Mar 2010 11:58:49 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Mon, 1 Mar 2010 11:58:45 -0800 From: Weongyo Jeong Date: Mon, 1 Mar 2010 11:58:45 -0800 To: Aditya Sarawgi Message-ID: <20100301195845.GF1295@weongyo> Mail-Followup-To: Aditya Sarawgi , current@freebsd.org, gnemmi@gmail.com, attilio@freebsd.org, spikey.it@gmail.com References: <20091223035331.GA1293@weongyo> <4b31cb29.9413f30a.5f4a.ffff8382@mx.google.com> <20091223195134.GC1293@weongyo> <4b8ab56d.9413f30a.75df.ffffc0b9@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4b8ab56d.9413f30a.75df.ffffc0b9@mx.google.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD 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 Reply-To: Weongyo Jeong List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2010 19:58:57 -0000 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: 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: 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