From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Berg Subject: Re: [patch 1/2]d80211: hardware TKIP support for ipw3945 Date: Tue, 24 Oct 2006 10:35:08 +0200 Message-ID: <1161678908.2840.12.camel@ux156> References: <1161335976.21402.11.camel@devlinux-hong> <20061023144028.629dc5d8@griffin.suse.cz> <1161607680.6617.36.camel@ux156> <20061023145646.32bbd59f@griffin.suse.cz> <1161678053.7083.7.camel@devlinux-hong> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Jiri Benc , "John W. Linville" , netdev Return-path: Received: from crystal.sipsolutions.net ([195.210.38.204]:42943 "EHLO sipsolutions.net") by vger.kernel.org with ESMTP id S965113AbWJXIeK (ORCPT ); Tue, 24 Oct 2006 04:34:10 -0400 To: Hong Liu In-Reply-To: <1161678053.7083.7.camel@devlinux-hong> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tue, 2006-10-24 at 16:20 +0800, Hong Liu wrote: > It's really strange bcm43xx only does phase2 mixing in hw. With all the > code that does phase2 mixing, doing phase1 mixing is very cheap. Yeah, well, they have the tkip sbox in hw. > With Jiri's ieee80211_tx_ctrl_common patch, I think we can put the > rc4key or phase1 key in ieee80211_tx_control with each TX packet. No, the phase1 key is not dependent on the packet so it should not be there. It should be set via the regular key setting mechanism, instead of the TKIP key the driver would be given the phase1 key if required. johannes