Return-path: Received: from mx1.redhat.com ([66.187.233.31]:34094 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752363AbXLPXLY (ORCPT ); Sun, 16 Dec 2007 18:11:24 -0500 Subject: Re: [PATCH] PS3: gelic: Add wireless support for PS3 From: Dan Williams To: Jouni Malinen Cc: Masakazu Mokuno , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, geoffrey.levand@am.sony.com, Geert Uytterhoeven In-Reply-To: <20071216181159.GP5698@jm.kir.nu> References: <20071213211626.BF8E.MOKUNO@sm.sony.co.jp> <1197580418.14270.6.camel@localhost.localdomain> <20071214134918.275E.MOKUNO@sm.sony.co.jp> <1197637127.16724.1.camel@localhost.localdomain> <20071215014244.GI5698@jm.kir.nu> <1197827354.6358.2.camel@localhost.localdomain> <20071216181159.GP5698@jm.kir.nu> Content-Type: text/plain Date: Sun, 16 Dec 2007 18:10:10 -0500 Message-Id: <1197846610.7302.1.camel@localhost.localdomain> (sfid-20071216_231128_847494_3452C69D) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sun, 2007-12-16 at 10:11 -0800, Jouni Malinen wrote: > On Sun, Dec 16, 2007 at 12:49:14PM -0500, Dan Williams wrote: > > > Yeah, I was going to propose that on Friday but got side-tracked. What > > would require a new key type? Are there some firmwares that _only_ > > accept the WPA passphrase? Because if there aren't (PS3 accepts WPA hex > > keys too) then the supplicant could just pass the hex key. Not quite > > sure what you mean here with "new key type". > > It is a new key type regardless of whether it is PSK or passphrase. The > current key types (IW_AUTH_CIPHER_*) are WEP40, TKIP, CCMP, and WEP104.. Ah, it's a different key because it's not set _during_ the 4-way handshake, but just sent to the fw directly and the fw handles it, right? > I don't know whether there are any Linux drivers that would use WPA > passphrase, but at least the Mac OS X driver interface seems to only use > passphrase for WPA-Personal, so it is apparently possible to design such > a architecture ;-). Anyway, I would be fine with just adding > IW_AUTH_CIPHER_PMK for now (and the new capability to figure out whether > this is needed). That PMK would be PSK for WPA-Personal, but it could > also be used as PMK for WPA-Enterprise, so the more generic PMK name. Sounds good. Dan