From owner-freebsd-wireless@FreeBSD.ORG Tue Aug 27 16:11:14 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5AE39176; Tue, 27 Aug 2013 16:11:14 +0000 (UTC) (envelope-from gnn@freebsd.org) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2CFB021F5; Tue, 27 Aug 2013 16:11:14 +0000 (UTC) Received: from [38.105.238.108] (port=64197 helo=gnnmac.hudson-trading.com) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1VELrL-0000dI-29; Tue, 27 Aug 2013 12:11:11 -0400 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: patch for intel centrino ? From: George Neville-Neil In-Reply-To: <002801cea337$3d0c7b40$b72571c0$@info> Date: Tue, 27 Aug 2013 12:11:12 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <329B55B0-F515-4612-BCF5-1D9A9A47BD77@freebsd.org> References: <000601cea157$3fbc8830$bf359890$@info> <404C99D3-8829-40C9-9222-08B3398CF3AA@freebsd.org> <000c01cea307$c5324e30$4f96ea90$@info> <002801cea337$3d0c7b40$b72571c0$@info> To: "Cedric GROSS" X-Mailer: Apple Mail (2.1508) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - freebsd.org X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 27 Aug 2013 16:11:14 -0000 On Aug 27, 2013, at 11:08 , "Cedric GROSS" wrote: >> -----Message d'origine----- >> De : George Neville-Neil [mailto:gnn@freebsd.org] >> Envoy=E9 : mardi 27 ao=FBt 2013 16:23 >> =C0 : Cedric GROSS >> Cc : freebsd-wireless@freebsd.org; 'Adrian Chadd' >> Objet : Re: patch for intel centrino ? >>=20 >>=20 >> On Aug 27, 2013, at 5:28 , "Cedric GROSS" wrote: >>=20 >>>> De : George Neville-Neil [mailto:gnn@freebsd.org] Envoy=E9 : mardi = 27 >>>> ao=FBt 2013 03:21 =C0 : Adrian Chadd Cc : Cedric GROSS; >>>> freebsd-wireless@freebsd.org Objet : Re: patch for intel centrino ? >>>>=20 >>>>=20 >>>> On Aug 25, 2013, at 7:41 , Adrian Chadd wrote: >>>>=20 >>>>> Hi! >>>=20 >>> Hello George, >>>=20 >>>> http://people.freebsd.org/~gnn/iwn.diff >>>=20 >>> You don't use correct firmware for your NIC. It's should be a 2000 >> not 2030. >>>>=20 >>>> If y'all can look at that and make comments that would be helpful. >>>>=20 >>>=20 >>> Try to get correct firmware and test it again. >>>=20 >> = (http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=3DAttachFile& >> do=3Dge >>> t&target=3Diwlwifi-2000-ucode-18.168.6.1.tgz) >>>=20 >>> You will need to uncompress it and then uucode firmware, create >> module >>> (sys/modules/iwnfw) and so on. >>=20 >> With the 2000 firmware I get a firmware crash: >>=20 >> Aug 27 10:20:12 punk kernel: iwn0: iwn_intr: fatal firmware error >> Aug 27 10:20:12 punk kernel: firmware error log: >> Aug 27 10:20:12 punk kernel: error type =3D "UNKNOWN" = (0x00000038) >> Aug 27 10:20:13 punk kernel: iwn0: iwn_config: could not configure >> valid TX chains, error 35 >> Aug 27 10:20:13 punk kernel: iwn0: iwn_init_locked: could not = configure >> device, error 35 >=20 > Hum.. I nearly sure is because your NIC don't have BT. >=20 > Set advanced_bt_coexist to false within iwn2000_base_params.=20 > May be it will not run also but iwn cannot skip BT config for the = moment. > If setting parameter to false doesn't change crash, try to comment /* > Configure bluetooth coexistence. */ bloc code in iwn_config.=20 >=20 > I will do a patch for that later. >=20 I had to #if 0 out the code but now something is happening and the fw is = not crashing. I still cannot associate but am tracking that down via debug from = wpa_supplicant. It does look like it tries to do it, but it just fails The AP is an = Apple Extreme. Best, George wpa_driver_bsd_associate: ssid 'XXX' wpa ie len 22 pairwise 3 group 3 = key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=3D1 wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1 wpa_driver_bsd_associate: set PRIVACY 1 Setting authentication timeout: 10 sec 0 usec EAPOL: External notification - EAP success=3D0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=3D0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=3DAuto EAPOL: Supplicant port status: Unauthorized Authentication with c8:bc:c8:ff:43:c5 timed out. BSSID c8:bc:c8:ff:43:c5 blacklist count incremented to 2 No keys have been configured - skip key clearing State: ASSOCIATING -> DISCONNECTED