netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jouni Malinen" <jkm@devicescape.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: netdev <netdev@vger.kernel.org>, Jiri Benc <jbenc@suse.cz>
Subject: Re: 802.11/crypto questions
Date: Tue, 8 Aug 2006 08:57:26 -0700	[thread overview]
Message-ID: <20060808155726.GA25393@instant802.com> (raw)
In-Reply-To: <44D876FA.5080605@sipsolutions.net>

On Tue, Aug 08, 2006 at 01:35:22PM +0200, Johannes Berg wrote:
> Jouni Malinen wrote:
> >Depends on what exactly you mean with "on the fly". We have indeed
> >changed between doing software and hardware crypto for some cases, e.g.,
> >when enabling another BSS while one BSS is using static WEP (which would
> >need default WEP keys in hwaccel) in one BSS, we may disable hwaccel for
> >the receive case. 

> Also, if we add a monitor if, does it disable hw crypto so we can see 
> the undecrypted frames?

I haven't looked at the current implementation (if this has been
modified), but it would be nice to have an option for doing this. This
gets a bit complex, but if having such an option is not going to slow
down the normal case (i.e., monitor mode disabled), being able to select
whether frames are decrypted in monitor interface could be useful. This
would, of course, require that hwaccel is disabled for normal data
packets when this kind of mode is enabled.

Because of quite large CPU load difference, I would expect there to be
valid use cases for both allowing hardware to continue decrypting frames
(and monitor interface would show whatever was received from hardware,
i.e., some frames may be decrypted, some not based on whether a key was
configured) and stopping hardware acceleration and delivering unmodified
frames into the monitor interface (and if a normal data connection is
active at the same time, doing software decryption for frames before
they are delivered to data interface).

-- 
Jouni Malinen                                            PGP id EFC895FA

  reply	other threads:[~2006-08-08 16:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-01  5:40 802.11/crypto questions Johannes Berg
2006-08-07 17:29 ` Jouni Malinen
2006-08-08 11:35   ` Johannes Berg
2006-08-08 15:57     ` Jouni Malinen [this message]
2006-08-08 16:09       ` Ivo van Doorn

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=20060808155726.GA25393@instant802.com \
    --to=jkm@devicescape.com \
    --cc=jbenc@suse.cz \
    --cc=johannes@sipsolutions.net \
    --cc=netdev@vger.kernel.org \
    /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).