From: Johannes Berg <johannes@sipsolutions.net>
To: Alexander Wetzel <alexander@wetzel-home.de>,
Luca Coelho <luca@coelho.fi>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 4/4] iwlwifi: Enable Extended Key ID for mvm and dvm
Date: Mon, 19 Aug 2019 22:23:24 +0200 [thread overview]
Message-ID: <eb0481b1928b0554daeda59cfc1d631e44bb2bdd.camel@sipsolutions.net> (raw)
In-Reply-To: <ae321cd5-6ef4-87c5-98ec-dbac37e83c6d@wetzel-home.de>
On Mon, 2019-08-19 at 17:52 +0200, Alexander Wetzel wrote:
> We may also get away by adding only means to pass the keyid of the MPDU
> (zero or one) to the HW. That could be done quite simple, I think:
>
> We could add two new flags, e.g. IWL_TX_FLAGS_ENCRYPT_ID_0 and
> IWL_TX_FLAGS_ENCRYPT_ID_1 to avoid the need to change the structures
> iwl_tx_cmd_gen2 and iwl_tx_cmd_gen3.
> When the firmware would check and use the key referenced by the STA +
> flag-id prior to the "last installed" key that should be sufficient.
> By still using the last installed key without any of the new flags set
> we also would remain backward compatible.
>
> If you have any experimental firmware to test I'm happy to do so:-)
> Till then I'm back using older iwlwifi cards.
I'm not convinced that we can change the TX API at all, I suspect we
have to go detect it as we saw in the other patch. If we do actually
have the ability to change the TX API it might be simpler overall, but
anyway, I'd have to go look at how this is all implemented before I
comment further. Doesn't seem like an intractable problem, the only
question is if we get to spend time on it :)
johannes
next prev parent reply other threads:[~2019-08-19 20:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-29 19:50 [PATCH 1/4] mac80211_hwsim: Extended Key ID API update Alexander Wetzel
2019-06-29 19:50 ` [PATCH 2/4] mac80211: Simplify Extended Key ID API Alexander Wetzel
2019-06-29 19:50 ` [PATCH 3/4] mac80211: AMPDU handling for rekeys with Extended Key ID Alexander Wetzel
2019-06-29 19:50 ` [PATCH 4/4] iwlwifi: Enable Extended Key ID for mvm and dvm Alexander Wetzel
2019-07-05 8:51 ` Luca Coelho
2019-08-17 8:31 ` Alexander Wetzel
2019-08-19 9:43 ` Johannes Berg
2019-08-19 15:52 ` Alexander Wetzel
2019-08-19 20:23 ` Johannes Berg [this message]
2019-08-19 21:15 ` Alexander Wetzel
2019-08-20 7:13 ` 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=eb0481b1928b0554daeda59cfc1d631e44bb2bdd.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=alexander@wetzel-home.de \
--cc=linux-wireless@vger.kernel.org \
--cc=luca@coelho.fi \
/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