From owner-freebsd-current@FreeBSD.ORG Fri Apr 25 03:26:05 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E8A81065679 for ; Fri, 25 Apr 2008 03:26:05 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id EB2E18FC24 for ; Fri, 25 Apr 2008 03:26:04 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so974070anc.13 for ; Thu, 24 Apr 2008 20:26:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=W3JFImlik4cnYpirDdWpraQplqG4ZtHcdFQ9x0k0Te0=; b=iUusNaATyz3yvNMJXxBNCqSD4aDIVeP+ydr+xbTOUCf6+I74B8AlLp3GgDFXzY9uWpu4CwQ3t+MH0/FH/FANYLCVkDCG0OIc4/OIbA3NnXmShavHe8SSO/xtwyXzpB/kByKFUVOSf2k3grTiFNB5PVaJAIircBCr+v0Dtc2ccqo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cEIsUfp7W3LJJ/BxbuMz8metDS4sfqpWK1TkX4zn9F2vUhql9AZk8sB5xJkHVCRakyxMygQQF5Zu0OqOt99N9fouUnk0+hNTllHegRrNnjLxIDsot5OvkntFC9sdt8uqB1LxT0oyE272DJNpPqKb8Qgyv2oab8A8nX/tNJOmeOg= Received: by 10.100.128.20 with SMTP id a20mr6671472and.121.1209092492194; Thu, 24 Apr 2008 20:01:32 -0700 (PDT) Received: by 10.100.214.9 with HTTP; Thu, 24 Apr 2008 20:01:29 -0700 (PDT) Message-ID: <47d0403c0804242001n6a6c7c3fgcca03068b85084d9@mail.gmail.com> Date: Fri, 25 Apr 2008 03:01:29 +0000 From: "Ben Kaduk" To: "Sam Leffler" In-Reply-To: <480294E2.1000907@errno.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <480294E2.1000907@errno.com> Cc: FreeBSD Current Subject: Re: CFT: 802.11 vap code 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: Fri, 25 Apr 2008 03:26:05 -0000 Hi Sam, On 4/13/08, Sam Leffler wrote: > A patch to integrate my multi-bss (aka vap) support for wireless can be > found here: > > http://www.freebsd.org/~sam/vap-2008051300.sh.gz > [sip] > Note there are a few new drivers included: iwn (Intel 4965), bwi > (Broadcom 43xx), and mwl (Marvell 88W8363). The iwn driver is > unfinished; it should support 802.11n but progress has been slow > due to poor vendor involvement. The bwi driver is experimental and > folks are encouraged to help sephe get it into shape for commit (it > currently is not ready CVS). mwl is provided as an example of a Sorry to jump in so late, but I just got a chance to compile this a couple days ago. Is this vap code the same one that was committed? Something seems to have confused my wireless card a great deal, possibly in the initialization steps. I have a broadcom chip that will hopefully eventually be supported by bwi, but I have been using ndis otherwise. With a recompiled ndisulator driver, ifconfig up-ing the interface causes the machine to panic; a vanilla ifconfig does not, but clearly the driver is confused. bwi attaches successfully, but complains about antenna gain [1]; not sure if this is why it doesn't work. Before I start debugging bwi, though I would like to get a working internet connection again. This is what the odd ifconfig output is: prolepsis# ifconfig ndis0 ndis0: flags=8802 metric 0 mtu 2290 ether 00:90:4b:2d:46:ce maclabel ?biba,?lomac,?mls,?sebsd ifconfig: ndis0: no media types? vlan: 0 parent interface: ssid 0x0408030000003a6920c0e0480608a7d2040844e2bfbf62e2bfbf78e2bfbf6fe3 channel 0 (0 Mhz) bssid 04:08:03:00:00:00 stationname 0x0408030000003a6920c0e0480608a7d2040844e2bfbf62e2bfbf78e2bfbf6fe3 authmode NONE privacy OFF deftxkey 1 txpower 0 rtsthreshold 0 fragthreshold 0 bmiss 0 ucastrate 0 mcastrate 0 mgmtrate 0 maxretry 0 roaming DEVICE bintval 0 syncpeer: 0.0.0.0 maxupd: 0 laggproto none laggdev ndis0 I have a dump of the panic when I ifconfig ndis0 up, if you want me to poke around at it. The relevant line may be: #10 0xc4570960 in ndis_setstate_80211 (sc=0xc45ad000) at /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:2205 Thanks, and sorry if this has already been fixed -- it's hard to csup without a working network connection. -Ben Kaduk [1] bwi0: mem 0xfaff6000-0xfaff7fff irq 9 at device 3.0 on pci2 bwi0: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfaff6000 bwi0: [MPSAFE] bwi0: [ITHREAD] bwi0: BBP: id 0x4306, rev 0x2, pkg 0 bwi0: MAC: rev 4 bwi0: MAC: rev 4 bwi0: PHY: type 2, rev 1, ver 1 bwi0: RF: manu 0x17f, type 0x2050, rev 2 bwi0: invalid antenna gain in sprom bwi0: PHY: type 0, rev 2, ver 1 bwi0: RF: manu 0x17f, type 0x2060, rev 1 bwi0: invalid antenna gain in sprom bwi0: WARNING: using obsoleted if_watchdog interface