From owner-freebsd-wireless@FreeBSD.ORG Sat Mar 15 04:46:30 2014 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 ESMTPS id A9AD4FDE; Sat, 15 Mar 2014 04:46:30 +0000 (UTC) Received: from mail-qa0-x229.google.com (mail-qa0-x229.google.com [IPv6:2607:f8b0:400d:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 53C86BCB; Sat, 15 Mar 2014 04:46:30 +0000 (UTC) Received: by mail-qa0-f41.google.com with SMTP id j5so3420159qaq.28 for ; Fri, 14 Mar 2014 21:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KGTe+fwNpwAmTEDXFlKVspCcrRDp8jJmhNq4AS/HH58=; b=Cde0+BmlYjhFORDXKxy/OLWn3pv6Q6tcS4xn5O+v97e2tk6gO7/VGLiMzF6ZNZxWeN ilgovipVBL+iYDx+M9x57U7PQbrYZnqxD6vx4ZKuZWZDZuSaLkPokIkmGyb200yAV2Mx FBLdKY+vmusiUdEovp1YbSVr/KzOoRo7VfF+0pPKhp6wvxU2xBiYxl8Ut8iix+mR8ZRh ISY5ziH017B9mFoO3HEs6mhMndkOMUM82K+s9elH+YTJQI3gn7daHS2dqFB3F4/Bb6ev PjOTKNGXC/2BQkpqWce02TJ+IxXAsaGS9WQ8O96OZUh0tjzUBS44hMgABpDrYIJi+/zY 2/Lg== MIME-Version: 1.0 X-Received: by 10.224.56.5 with SMTP id w5mr14336949qag.60.1394858789480; Fri, 14 Mar 2014 21:46:29 -0700 (PDT) Received: by 10.224.8.137 with HTTP; Fri, 14 Mar 2014 21:46:29 -0700 (PDT) Received: by 10.224.8.137 with HTTP; Fri, 14 Mar 2014 21:46:29 -0700 (PDT) In-Reply-To: <5323D9D4.6090204@allanjude.com> References: <1394851922.4791.7.camel@powernoodle.corp.yahoo.com> <5323D9D4.6090204@allanjude.com> Date: Fri, 14 Mar 2014 21:46:29 -0700 Message-ID: Subject: Re: iwn(4) and WEP From: Adrian Chadd To: Allan Jude Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 15 Mar 2014 04:46:30 -0000 Can you put this up on http or attach as .txt so I can read it in this here phone mail app? Adrian On Mar 14, 2014 9:41 PM, "Allan Jude" wrote: > On 03/14/2014 22:52, Sean Bruno wrote: > > It looks like the wpa_supplicant 2.0 import now checks the > > cryptocapability mask when trying to validate WEP usage. > > > > iwn(4) does not populate the mask with any values so wpa_supplicant sees > > a value of 0. > > > > I added the capabilites and can associate, but dhclient cannot get an IP > > from the AP. I assume then, that once again, I don't know what I'm > > doing. > > > > More or less, this is what I tried: > > > > Index: if_iwn.c > > =================================================================== > > --- if_iwn.c (revision 263173) > > +++ if_iwn.c (working copy) > > @@ -564,6 +564,8 @@ > > | IEEE80211_C_PMGT /* Station-side power mgmt > */ > > ; > > > > + ic->ic_cryptocaps = IEEE80211_CRYPTO_WEP; > > + > > /* Read MAC address, channels, etc from EEPROM. */ > > if ((error = iwn_read_eeprom(sc, macaddr)) != 0) { > > device_printf(dev, "could not read EEPROM, error %d\n", > > > > > > sean > > > > p.s. Allan Jude came up with a hack for wpa_supplicant that seems to > > work, so I've bcc'd him here to get a patch out of him. > > Attached is my (horrible) patch that no one should use. But it is > available for those of us at the conference who just need something that > will work for the rest of the weekend. > > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org > " >