linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Thomas Pedersen <thomas@cozybit.com>
Cc: linux-wireless@vger.kernel.org, mwl8k-devel@cozybit.com,
	buytenh@wantstofly.org, Nishant Sarmukadam <nishants@marvell.com>,
	Pradeep Nemavat <pnemavat@marvell.com>
Subject: Re: [PATCH 2/4] mwl8k: Add encapsulation of data packet for crypto
Date: Wed, 29 Dec 2010 10:14:46 +0100	[thread overview]
Message-ID: <1293614086.3546.2.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <1293577297-25755-3-git-send-email-thomas@cozybit.com>

On Tue, 2010-12-28 at 15:01 -0800, Thomas Pedersen wrote:

> Different head and tail pads will be needed for crypto depending on
> the crypto mode. Add support to encapsulate the packets with
> appropriate pad values. Also, fill the header in case of CCMP.

Err, mac80211 is perfectly capable of generating the CCMP header, you
should use that functionality (and maybe memmove it elsewhere if needed)

johannes


  reply	other threads:[~2010-12-29  9:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-28 23:01 [PATCH 0/4] mwl8k: Add HW crypto support for AP mode Thomas Pedersen
2010-12-28 23:01 ` [PATCH 1/4] mwl8k: Modify add_dma_header to include pad parameters Thomas Pedersen
2010-12-28 23:01 ` [PATCH 2/4] mwl8k: Add encapsulation of data packet for crypto Thomas Pedersen
2010-12-29  9:14   ` Johannes Berg [this message]
2010-12-28 23:01 ` [PATCH 3/4] mwl8k: Set mac80211 rx status flags appropriately when hw crypto is enabled Thomas Pedersen
2010-12-29  9:15   ` Johannes Berg
2010-12-28 23:01 ` [PATCH 4/4] mwl8k: Enable HW encryption for AP mode Thomas Pedersen
2010-12-29  9:17   ` Johannes Berg
2010-12-29  9:18     ` Johannes Berg

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=1293614086.3546.2.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=buytenh@wantstofly.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mwl8k-devel@cozybit.com \
    --cc=nishants@marvell.com \
    --cc=pnemavat@marvell.com \
    --cc=thomas@cozybit.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).