ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Liu CF/TW <cfliu.tw@gmail.com>
Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org
Subject: Re: [PATCH V2] ath10k: add 'cryptmode' param to support raw tx injection and sw crypto.
Date: Mon, 8 Jun 2015 17:49:01 +0300	[thread overview]
Message-ID: <87twuigsrm.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <1433440033-49570-1-git-send-email-cfliu.tw@gmail.com> (Liu CF's message of "Thu, 4 Jun 2015 10:47:13 -0700")

Liu CF/TW <cfliu.tw@gmail.com> writes:

> This change supports bypassing HW crypto engine by enabling raw Rx/Tx mode.
> This will enable use cases such as sw crypto and raw tx injection.
> This change introduces a new module param 'cryptmode'.
>
> cryptmode:
>
>  0    Use HW crypto engine. Use native WiFi mode Tx/Rx encap
>
>  1    Use SW crypto engine. Use raw mode Tx/Rx encap
>
>  2    Supports both SW & HW crypto engine. Use raw mode Tx/Rx encap.
>
> Testing: used QCA988x hw 2.0 with firmware-4.bin_10.2.4.48 with backports-20150424
> (Skipped ATH10K_FW_FEATURE_RAW_MODE_SUPPORT check in core.c within this patch. 
>  Since none of the existing QCA official firmware has the feature bit set yet)
>
>  ath10k
>  cryptmode
>  param      Testing Status
>  -------    ---------------------------------
>     0       HW CCMP/TKIP tested ok.
>             Note: HW crypto bypass not supported by ath10k hw in native WiFi
>             mode.
>
>     1       - mac80211 SW crypto tested ok.
>             - raw Tx frame injection tested ok.
>
>     2       HW CCMP/TKIP tested ok.
>             SW CCMP/TKIP tested ok.
>             Tested raw Tx encrypted frame injection ok.
>
> Signed-off-by: Liu CF/TW <cfliu.tw@gmail.com>

Kbuild bot found a sparse warning:

>> drivers/net/wireless/ath/ath10k/core.c:34:14: sparse: symbol 'ath10k_cryptmode_param' was not declared. Should it be static?


-- 
Kalle Valo

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  parent reply	other threads:[~2015-06-08 14:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-04 17:47 [PATCH V2] ath10k: add 'cryptmode' param to support raw tx injection and sw crypto Liu CF/TW
2015-06-05 11:52 ` Michal Kazior
2015-06-08 14:49 ` Kalle Valo [this message]
2015-06-08 14:59 ` Kalle Valo

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=87twuigsrm.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