From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 21 08:21:43 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 0C3F3106566B; Thu, 21 Apr 2011 08:21:43 +0000 (UTC) (envelope-from freebsd@snap.net.nz) Received: from unit0.ironport.snap.net.nz (unit0.ironport.snap.net.nz [202.37.100.104]) by mx1.freebsd.org (Postfix) with ESMTP id 77A998FC0A; Thu, 21 Apr 2011 08:21:42 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au0BAKbnr03KfG1m/2dsb2JhbACWbFU/jUiCBMN6hXYEjis X-IronPort-AV: E=Sophos;i="4.64,250,1301832000"; d="scan'208";a="52898321" Received: from rupert.snap.net.nz ([202.37.100.140]) by smtp0.ironport.snap.net.nz with ESMTP; 21 Apr 2011 20:21:41 +1200 X-Sender-IP: 202.124.109.102 X-Sender-IP: 202.124.109.102 Received: from voyager.local (102.109.124.202.static.snap.net.nz [202.124.109.102]) by rupert.snap.net.nz (Postfix) with SMTP id AC3AF201AD; Thu, 21 Apr 2011 20:21:40 +1200 (NZST) Message-ID: <4DAFE914.9060703@snap.net.nz> Date: Thu, 21 Apr 2011 20:21:40 +1200 From: Peter Toth User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100805 Thunderbird/3.0.6 MIME-Version: 1.0 To: bschmidt@freebsd.org References: <4DAE2133.20108@snap.net.nz> <201104200815.58433.bschmidt@freebsd.org> <4DAF9698.7000407@snap.net.nz> <201104210810.28622.bschmidt@freebsd.org> In-Reply-To: <201104210810.28622.bschmidt@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: Intel(R) PRO/Wireless 6205a X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 08:21:43 -0000 On 04/21/11 18:10, Bernhard Schmidt wrote: > 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 > > Flawless so far! The interface is not dropping connection now and no errors in dmesg either. Going to test further and will report back in a couple of days. Many thanks for getting this nailed!