From: Luciano Coelho <luciano.coelho@intel.com>
To: kvalo@codeaurora.org
Cc: linux-wireless@vger.kernel.org, Sara Sharon <sara.sharon@intel.com>
Subject: Re: [PATCH 13/15] iwlwifi: mvm: mark MIC stripped MPDUs
Date: Mon, 04 Dec 2017 14:57:53 +0200 [thread overview]
Message-ID: <1512392273.4827.127.camel@intel.com> (raw)
In-Reply-To: <20171202162858.4167-14-luca@coelho.fi>
On Sat, 2017-12-02 at 18:28 +0200, Luca Coelho wrote:
> From: Sara Sharon <sara.sharon@intel.com>
>
> When RADA is active, the hardware decrypts the packets and strips off
> the MIC as it is useless after decryption. Indicate that to mac80211.
>
> Signed-off-by: Sara Sharon <sara.sharon@intel.com>
> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
> ---
> drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
> b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
> index 0e6a7dd30aa9..a81ff4163d05 100644
> --- a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
> +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
> @@ -253,6 +253,8 @@ static int iwl_mvm_rx_crypto(struct iwl_mvm *mvm,
> struct ieee80211_hdr *hdr,
> return -1;
>
> stats->flag |= RX_FLAG_DECRYPTED;
> + if (pkt_flags & FH_RSCSR_RADA_EN)
> + stats->flag |= RX_FLAG_MIC_STRIPPED;
> *crypt_len = IEEE80211_CCMP_HDR_LEN;
> return 0;
> case IWL_RX_MPDU_STATUS_SEC_TKIP:
Same thing here, I'll move it to the -fixes series, since it's needed
by 9000-series NICs.
--
Cheers,
Luca.
next prev parent reply other threads:[~2017-12-04 12:57 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-02 16:28 [PATCH 00/15] iwlwifi: updates intended for v4.16 2017-12-02 Luca Coelho
2017-12-02 16:28 ` [PATCH 01/15] iwlwifi: mvm: add WFA vendor specific TPC report IE to probe request Luca Coelho
2017-12-02 16:28 ` [PATCH 02/15] iwlwifi: bump FW API to 36 for 8000 and up Luca Coelho
2017-12-02 16:28 ` [PATCH 03/15] iwlwifi: mvm: remove set but unused variable in iwl_mvm_roc_done_wk Luca Coelho
2017-12-02 16:28 ` [PATCH 04/15] iwlwifi: mvm: avoid dumping assert log when device is stopped Luca Coelho
2017-12-02 16:28 ` [PATCH 05/15] iwlwifi: mvm: rs: introduce new API for rate scaling Luca Coelho
2017-12-02 16:28 ` [PATCH 06/15] iwlwifi: mvm: rs: add ops for the new rate scaling in the FW Luca Coelho
2017-12-02 21:36 ` [PATCH v2 " Luca Coelho
2017-12-08 12:38 ` Kalle Valo
2017-12-08 12:40 ` Luciano Coelho
2017-12-02 16:28 ` [PATCH 07/15] iwlwifi: mvm: rs: add basic implementation of the new RS API handlers Luca Coelho
2017-12-02 16:28 ` [PATCH 08/15] iwlwifi: mvm: rs: new rate scale API - add FW notifications Luca Coelho
2017-12-02 16:28 ` [PATCH 09/15] iwlwifi: mvm: rs: new rate scale API - add debugfs hooks Luca Coelho
2017-12-02 16:28 ` [PATCH 10/15] iwlwifi: mvm: rs: add size checks when printing to a buffer Luca Coelho
2017-12-02 16:28 ` [PATCH 11/15] iwlwifi: mvm: rs: add sanity check when sending LQ command Luca Coelho
2017-12-02 16:28 ` [PATCH 12/15] iwlwifi: mvm: enable RX offloading with TKIP and WEP Luca Coelho
2017-12-04 12:57 ` Luciano Coelho
2017-12-02 16:28 ` [PATCH 13/15] iwlwifi: mvm: mark MIC stripped MPDUs Luca Coelho
2017-12-04 12:57 ` Luciano Coelho [this message]
2017-12-02 16:28 ` [PATCH 14/15] iwlwifi: mvm: make init_dbg effective only on failure Luca Coelho
2017-12-02 16:28 ` [PATCH 15/15] iwlwifi: mvm: request statistics when reading debugfs Luca Coelho
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=1512392273.4827.127.camel@intel.com \
--to=luciano.coelho@intel.com \
--cc=kvalo@codeaurora.org \
--cc=linux-wireless@vger.kernel.org \
--cc=sara.sharon@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.