linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jouni Malinen <j@w1.fi>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Jouni Malinen <jouni.malinen@atheros.com>,
	"John W. Linville" <linville@tuxdriver.com>,
	linux-wireless@vger.kernel.org
Subject: Re: [PATCH] ath9k: Add module parameter to disable hardware crypto
Date: Tue, 24 Feb 2009 16:06:25 +0200	[thread overview]
Message-ID: <20090224140625.GA30004@jm.kir.nu> (raw)
In-Reply-To: <1235483347.4320.7.camel@johannes.local>

On Tue, Feb 24, 2009 at 05:49:07AM -0800, Johannes Berg wrote:
> On Tue, 2009-02-24 at 13:42 +0200, Jouni Malinen wrote:
> > In
> > addition, this allows management frame protection to be tested with
> > older hardware revisions.
> 
> This is odd, shouldn't older revisions refuse the hw key setup and use
> software anyway? Or are they unable to distinguish between management
> and data frames and thus it all goes wrong?

The exact behavior depends on the hardware revision, but some older
versions would likely end up using the Data frame rules for decrypting
the management frames and as such, would require software workaround
that re-encrypt the frame using Data frame rules and then make the frame
go the normal software decryption. While this is possible to implement,
I have not bothered to do so yet and don't know how much interest there
would be for such a feature at this point. This would also require some
new APIs from mac80211 to allow re-use of CCMP code.

-- 
Jouni Malinen                                            PGP id EFC895FA

  reply	other threads:[~2009-02-24 14:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24 11:42 [PATCH] ath9k: Add module parameter to disable hardware crypto Jouni Malinen
2009-02-24 13:49 ` Johannes Berg
2009-02-24 14:06   ` Jouni Malinen [this message]
2009-02-24 14:23     ` Johannes Berg
2009-02-24 14:24 ` pat-lkml
2009-02-24 15:07   ` Jouni Malinen
2009-02-24 15:32     ` pat-lkml
2009-02-24 20:07       ` pat-lkml
2009-02-24 22:45         ` pat-lkml
2009-02-25 18:19         ` ath9k and TKIP hw crypto in AP mode Jouni Malinen
2009-02-25 23:46           ` pat-lkml
2009-02-26  0:10             ` pat-lkml
2009-02-26  9:10               ` Jouni Malinen
2009-02-24 16:15 ` [PATCH] ath9k: Add module parameter to disable hardware crypto Michael Buesch
2009-02-24 17:07   ` Jouni Malinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090224140625.GA30004@jm.kir.nu \
    --to=j@w1.fi \
    --cc=johannes@sipsolutions.net \
    --cc=jouni.malinen@atheros.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).