Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:40846 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758321Ab2IKQjY (ORCPT ); Tue, 11 Sep 2012 12:39:24 -0400 Message-ID: <1347381593.4683.1.camel@jlt4.sipsolutions.net> (sfid-20120911_183940_739277_4CD9C355) Subject: Re: [PATCH] ath5k: add support of HW encryption in management frames From: Johannes Berg To: Nick Kossifidis Cc: Yeoh Chun-Yeow , Kalle Valo , Adrian Chadd , Jouni Malinen , linux-wireless@vger.kernel.org, jirislaby@gmail.com, mcgrof@qca.qualcomm.com, ath5k-devel@venema.h4ckr.net Date: Tue, 11 Sep 2012 18:39:53 +0200 In-Reply-To: (sfid-20120911_183632_781842_A533DD85) References: <1346146446-628-1-git-send-email-yeohchunyeow@gmail.com> <1346746298.3737.0.camel@jlt4.sipsolutions.net> <20120904102204.GA2541@w1.fi> <1346758521.3737.28.camel@jlt4.sipsolutions.net> <20120905071653.GB3629@w1.fi> <20120905080336.GA4747@w1.fi> <87zk4y3tsz.fsf@purkki.adurom.net> (sfid-20120911_183632_781842_A533DD85) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2012-09-11 at 19:36 +0300, Nick Kossifidis wrote: > > Jouni said that the workaround is to re-encrypt(incorrectly) received > > robust unicast management frames if hwaccel for CCMP was configured > > for the transmitting STA (this is to undo the incorrect decryption > > done by the hardware) and then pass the encrypted frame to mac80211 > > for software decryption. > > > > How about disabling acks on hw completely and handle them on sw ? This > might keep the engine running ok for unicast frames. That would achieve what? Even if you could do something with that ... the cure would be worse than the disease for sure! (I'd also appreciate if you guys could drop me from this thread, I have little interest in ath5k I'm just the person pointing out that it isn't as easy to enable MFP as it seems) johannes