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: Helmut Schaa <helmut.schaa@googlemail.com>,
	"John W. Linville" <linville@tuxdriver.com>,
	linux-wireless@vger.kernel.org,
	Lennert Buytenhek <buytenh@wantstofly.org>
Subject: Re: [PATCH] mac80211: Use sw crypto for GTKs on AP VLAN interfaces
Date: Thu, 18 Nov 2010 21:21:39 +0200	[thread overview]
Message-ID: <20101118192139.GA6421@jm.kir.nu> (raw)
In-Reply-To: <1290099699.3801.3.camel@jlt3.sipsolutions.net>

On Thu, Nov 18, 2010 at 09:01:39AM -0800, Johannes Berg wrote:
> On Thu, 2010-11-18 at 16:36 +0100, Helmut Schaa wrote:
> > If we want to support hardware crypto for broadcast traffic on AP VLAN
> > interfaces we'd either need to switch to per station GTKs or need to
> > make drivers aware of VLAN interfaces. Not sure if it's worth it.
> > 
> > At least current rt2x00 devices won't be able to support that due to
> > the limited amount of available key space.

> Hmm, good point. Jouni, any comments? Lennert maybe?

I haven't looked at how the per-STA GTKs interface would apply here, but
since the broadcast keys are only used for TX, having multiple keys
should not be much of an issue for drivers that have similar design to
ath9k/ath5k as long as we can convince the driver to assign different
hw_key_idx for each key. So yes, there will need to be some knowledge of
different AP VLAN context to allow this to happen. Anyway, I would not
be too worried about starting with forced sw crypto for
broadcast/multicast frames in any other vif than the first one and
considering optimizations later should someone care enough.

-- 
Jouni Malinen                                            PGP id EFC895FA

  reply	other threads:[~2010-11-18 19:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18 15:36 [PATCH] mac80211: Use sw crypto for GTKs on AP VLAN interfaces Helmut Schaa
2010-11-18 17:01 ` Johannes Berg
2010-11-18 19:21   ` Jouni Malinen [this message]
2010-11-18 19:52   ` Helmut Schaa
2010-11-19  7:11 ` [PATCHv2] mac80211: Disable hw " Helmut Schaa

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=20101118192139.GA6421@jm.kir.nu \
    --to=j@w1.fi \
    --cc=buytenh@wantstofly.org \
    --cc=helmut.schaa@googlemail.com \
    --cc=johannes@sipsolutions.net \
    --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).