NetBSD Problem Report #40279

From riastradh@joule.t.continuation.org  Sat Dec 27 23:59:44 2008
Return-Path: <riastradh@joule.t.continuation.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id B16CF63BC5B
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 27 Dec 2008 23:59:44 +0000 (UTC)
Message-Id: <20081227235943.6AB951217@joule.t.continuation.org>
Date: Sat, 27 Dec 2008 23:59:43 +0000 (UTC)
From: Taylor R Campbell <campbell@mumble.net>
Reply-To: Taylor R Campbell <campbell@mumble.net>
To: gnats-bugs@gnats.NetBSD.org
Subject: import bwi(4), driver for Broadcom BCM43xx 802.11 wifi devices, including Apple's AirPort Extreme
X-Send-Pr-Version: 3.95

>Number:         40279
>Category:       kern
>Synopsis:       import bwi(4), driver for Broadcom BCM43xx 802.11 wifi devices, including Apple's AirPort Extreme
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 28 00:00:00 +0000 2008
>Closed-Date:    Wed Jan 26 00:31:26 +0000 2011
>Last-Modified:  Fri Jan 28 19:00:03 +0000 2011
>Originator:     Taylor R Campbell <campbell@mumble.net>
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: [sent from a machine with nothing pertaining to bwi(4); my PowerBook is out of commission this week]
Architecture: 
Machine: 
>Description:

	I have ported the bwi(4) driver from OpenBSD and DragonFlyBSD
	to NetBSD.  I use it regularly in the netbsd-4 branch, I have
	built and tested it in the netbsd-5 branch, and I have ported
	it also to -current as of a month or two ago and successfully
	built it but have not tested it.

>How-To-Repeat:

	Install NetBSD on a PowerBook G4 with an AirPort Extreme card.
	Grumble at the absence of wifi support.

>Fix:

	Apply patches at

	  <http://people.csail.mit.edu/riastradh/nbsd/>.

	Consider importing the firmware into pkgsrc, like that for
	iwi(4).

>Release-Note:

>Audit-Trail:
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/40279: import bwi(4), driver for Broadcom BCM43xx 802.11
 wifi devices, including Apple's AirPort Extreme
Date: Sat, 27 Dec 2008 18:51:37 -0600 (CST)

 As a status report, I have been using this since Oct. 15 (plus 
 a few 64-bit fixes) on 4.99.73 and more recently on 5.0_BETA.

 $ dmesg | grep bwi
 bwi0 at pci2 dev 2 function 0
 bwi0: interrupting at ioapic0 pin 20
 bwi_sysctlattach: sysctl_createv failed (rc = 0)
 bwi0: BBP id 0x4318, BBP rev 0x2, BBP pkg 2
 bwi0: MAC: rev 9
 bwi0: PHY type 2, rev 7, ver 3
 bwi0: RF manu 0x17f, type 0x2050, rev 8
 bwi0: invalid antenna gain in sprom
 bwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 bwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
 24Mbps 36Mbps 48Mbps 54Mbps
 bwi0: firmware rev 0x0127, patch level 0x000e
 bwi0: base tssi measure failed
 bwi0: device timeout
 bwi0: device timeout
 bwi0: device timeout

 $ uptime
  6:50PM  up 6 days, 21:20, 1 user, load averages: 0.16, 0.08, 0.02

 $ ifconfig bwi0
 bwi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         ssid 5FYA8 nwkey *****
         powersave off
         bssid 00:18:01:e0:8a:57 chan 9
         address: 00:14:a5:74:1e:49
         media: IEEE802.11 autoselect (OFDM36 mode 11g)
         status: active
         inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255
         inet6 fe80::214:a5ff:fe74:1e49%bwi0 prefixlen 64 scopeid 0x2

 $ netstat -bi | grep bwi0 | tail -1   
 bwi0  1500  192.168.1/24  192.168.1.4        405265008  153344210

 Thank you for this!

From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/40279
Date: Thu, 1 Oct 2009 14:38:20 +0200

 Hi,

 I didn't got the driver running on 5.0.1_PATCH, but as it is included  
 in -current, I tried it with that (5.99.19) and it works without any  
 problems. Any chance to get this in the next official distribution?

 As far as I can see, it has not been tagged yet.

 Thanks,

    Torsten

 --
 <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 <>                                                              <>
 <> Dr. Torsten Harenberg     harenberg@physik.uni-wuppertal.de  <>
 <> Bergische Universitaet                                       <>
 <> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
 <> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
 <> 42097 Wuppertal                                              <>
 <>                                                              <>
 <><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>



State-Changed-From-To: open->feedback
State-Changed-By: pooka@NetBSD.org
State-Changed-When: Mon, 24 Jan 2011 15:07:47 +0200
State-Changed-Why:
should bwi be put in i386/amd64 GENERIC?
can this be closed?


From: Taylor R Campbell <campbell@mumble.net>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, netbsd-bugs@netbsd.org,
	gnats-admin@netbsd.org, pooka@NetBSD.org, Taylor R Campbell <campbell@mumble.net>
Subject: Re: kern/40279 (import bwi(4), driver for Broadcom BCM43xx 802.11 wifi devices, including Apple's AirPort Extreme)
Date: Mon, 24 Jan 2011 14:00:36 +0000

    Date: Mon, 24 Jan 2011 13:07:48 +0000 (UTC)
    From: pooka@NetBSD.org

    should bwi be put in i386/amd64 GENERIC?
    can this be closed?

 Go ahead and close it.  I haven't tested bwi on i386 or amd64, though;
 I have tested it only on macppc, on the one laptop for whose purposes
 I ported it.

From: "Antti Kantee" <pooka@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40279 CVS commit: src/sys/arch
Date: Wed, 26 Jan 2011 00:25:55 +0000

 Module Name:	src
 Committed By:	pooka
 Date:		Wed Jan 26 00:25:55 UTC 2011

 Modified Files:
 	src/sys/arch/amd64/conf: GENERIC
 	src/sys/arch/i386/conf: GENERIC

 Log Message:
 Add bwi from PR kern/40279.  There is no know case of testing the
 driver on amd64/i386, but if it doesn't work at least we're more
 likely to get a PR instead of people wondering about lacking driver
 support.


 To generate a diff of this commit:
 cvs rdiff -u -r1.299 -r1.300 src/sys/arch/amd64/conf/GENERIC
 cvs rdiff -u -r1.1007 -r1.1008 src/sys/arch/i386/conf/GENERIC

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: feedback->closed
State-Changed-By: pooka@NetBSD.org
State-Changed-When: Wed, 26 Jan 2011 02:31:26 +0200
State-Changed-Why:
driver has been added.  (thanks!)


From: dieter roelants <dieter.NetBSD@pandora.be>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: PR/40279 CVS commit: src/sys/arch
Date: Fri, 28 Jan 2011 18:23:24 +0100

 On Wed, 26 Jan 2011 00:30:09 +0000 (UTC)
 "Antti Kantee" <pooka@netbsd.org> wrote:

 >  Log Message:
 >  Add bwi from PR kern/40279.  There is no know case of testing the
 >  driver on amd64/i386, but if it doesn't work at least we're more
 >  likely to get a PR instead of people wondering about lacking driver
 >  support.

 I've used it this summer on some HP laptop without problems.

 pavlov$ uname -a
 NetBSD pavlov.amelgem.be 5.99.39 NetBSD 5.99.39 (PAVLOV) #0: Sun Sep  5 12:57:54 CEST 2010  dieter@simult.amelgem.be:/build/obj.amd64.current/sys/arch/amd64/compile/PAVLOV amd64
 pavlov$ dmesg | grep bwi
 bwi0 at pci1 dev 2 function 0: Broadcom WirelessLNK3: Picked IRQ 17 with weight 0
 bwi0: interrupting at ioapic0 pin 17
 bwi0: BBP id 0x4306, BBP rev 0x3, BBP pkg 0
 bwi0: MAC: rev 5
 bwi0: PHY type 2, rev 2, ver 2
 bwi0: RF manu 0x17f, type 0x2050, rev 2
 bwi0: invalid antenna gain in sprom
 bwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 bwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
 bwi0: firmware rev 0x0127, patch level 0x000e
 pavlov$ ifconfig bwi0 #(edited)
 bwi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         ssid *** nwkey *****
         powersave off
         bssid x:x:x:x:x:x chan 11
         address: 00:90:4b:x:x:x
         media: IEEE802.11 autoselect (OFDM36 mode 11g)
         status: active
         inet 192.0.2.6 netmask 0xffffff00 broadcast 192.0.2.255
         inet6 fe80::290:4bff:fex:xx%bwi0 prefixlen 64 scopeid 0x3

 kind regards
 dieter

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.