From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 21 06:12:39 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E31E106564A for ; Thu, 21 Apr 2011 06:12:39 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B11A8FC17 for ; Thu, 21 Apr 2011 06:12:38 +0000 (UTC) Received: by fxm11 with SMTP id 11so1212577fxm.13 for ; Wed, 20 Apr 2011 23:12:38 -0700 (PDT) Received: by 10.223.54.213 with SMTP id r21mr1501023fag.54.1303366287628; Wed, 20 Apr 2011 23:11:27 -0700 (PDT) Received: from jessie.localnet (p5B2ECEBE.dip0.t-ipconnect.de [91.46.206.190]) by mx.google.com with ESMTPS id f15sm491906fax.10.2011.04.20.23.11.24 (version=SSLv3 cipher=OTHER); Wed, 20 Apr 2011 23:11:26 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: freebsd-wireless@freebsd.org Date: Thu, 21 Apr 2011 08:10:28 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32-30-generic; KDE/4.4.5; i686; ; ) References: <4DAE2133.20108@snap.net.nz> <201104200815.58433.bschmidt@freebsd.org> <4DAF9698.7000407@snap.net.nz> In-Reply-To: <4DAF9698.7000407@snap.net.nz> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104210810.28622.bschmidt@freebsd.org> Cc: Peter Toth Subject: Re: Intel(R) PRO/Wireless 6205a X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bschmidt@freebsd.org List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2011 06:12:39 -0000 On Thursday, April 21, 2011 04:29:44 Peter Toth wrote: > On 04/20/11 18:15, Bernhard Schmidt wrote: > > On Wednesday, April 20, 2011 01:56:35 Peter Toth wrote: > >> Hi there, > >> > >> I have a company laptop which comes with the advanced centrino intel > >> chipset see bellow. > >> > >> The iwn driver requested the iwn6005fw firmware module which is not > >> available in stock FreeBSD 8.2. I've grabbed the firmware out of OpenBSD > >> repository and converted it to a proper loadable module. > >> > >> The interface is working OK for about 2 minutes (with WPA2) and then it > >> bounces UP and DOWN - if I reload wpasupplicant it will associate again > >> and works for 2 minutes then it will drop again. > >> > >> Anyone got this chipset working somehow? - seems like it is supported in > >> OpenBSD. > >> > >> Details here: > >> iwn0: mem 0xd4000000-0xd4001fff irq 19 at > >> device 0.0 on pci37 > >> iwn0: MIMO 2T2R, MoW, address a0:88:b4:14:77:20 > >> iwn0: [ITHREAD] > >> iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > >> iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > >> iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps > >> 24Mbps 36Mbps 48Mbps 54Mbps > > Can you pull the driver files from HEAD[1] rebuild the module and > > try again? I've committed a few changes lately which fixes the > > calibration on at least the 6230(6005b). > > > > [1] http://svn.freebsd.org/viewvc/base/head/sys/dev/iwn/ > > > Just tried it, gives me this error: > > /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c: In function 'iwn_attach': > /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:439: warning: implicit > declaration of function 'pci_find_cap' > /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:439: warning: nested > extern declaration of 'pci_find_cap' Yeah, sorry, there have been some changes to PCI BUS handling lately. Fetch again and replace pci_find_cap() with pci_find_extcap(). You might also want to fetch sys/contrib/iwn and sys/modules/iwnfw from HEAD, it includes the firmware for your card now. Thanks -- Bernhard