From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Liu CF/TW <cfliu.tw@gmail.com>
Cc: <ath10k@lists.infradead.org>, <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH v3] ath10k: add 'cryptmode' param to support raw tx injection and software crypto
Date: Thu, 11 Jun 2015 16:59:31 +0300 [thread overview]
Message-ID: <87vbeubb24.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <1433812382-10287-1-git-send-email-cfliu.tw@gmail.com> (Liu CF's message of "Mon, 8 Jun 2015 18:13:02 -0700")
Liu CF/TW <cfliu.tw@gmail.com> writes:
> This change supports hardware crypto engine bypass by enabling raw
> Rx/Tx encap mode. This enables use cases such as software crypto and raw
> tx injection. This change introduces a new module param 'cryptmode'.
>
> cryptmode:
>
> 0: Use hardware crypto engine globally with native Wi-Fi mode TX/RX
> encapsulation to the firmware. This is the default mode.
> 1: Use sofware crypto engine globally with raw mode TX/RX encapsulation
> to the firmware.
These two values are ok.
> 2: Supports both hardware and software crypto with raw mode TX/RX
> encapsulation to the firmware. By default hardware crypto engine is
> used. To use software crypto in this mode, set the per ath10k_vif
> 'nohwcrypt' flag value to True.*
> *) The patch for setting vif specific 'nohwcrypt' flag when
> cryptmode=2 would be a separate patch to mac80211.
But this the problematic one. I cannot apply something to ath10k until
Johannes applies the mac80211 part. Didn't I mention this already
earlier? At least I was supposed to do that.
And most importantly does Johannes even agree with the approach? IIRC he
was pretty reluctant about configuring the crypto mode via nl80211.
I suggest splitting the patch into two: patch 1 adding support for
cryptmode values 0 and 1, patch 2 adding support for cryptmode 2. That
way we can commit patch 1 early and see what we can do with patch 2.
--
Kalle Valo
next prev parent reply other threads:[~2015-06-11 13:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-09 1:13 [PATCH v3] ath10k: add 'cryptmode' param to support raw tx injection and software crypto Liu CF/TW
2015-06-09 12:40 ` Michal Kazior
2015-06-11 18:50 ` Liu CF/TW
2015-06-11 13:59 ` Kalle Valo [this message]
2015-06-11 18:43 ` Liu CF/TW
2015-06-11 14:03 ` Kalle Valo
2015-06-11 18:44 ` Liu CF/TW
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=87vbeubb24.fsf@kamboji.qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath10k@lists.infradead.org \
--cc=cfliu.tw@gmail.com \
--cc=linux-wireless@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