diff options
author | 2022-08-17 11:17:01 +0200 | |
---|---|---|
committer | 2022-08-25 10:41:07 +0200 | |
commit | ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131 (patch) | |
tree | 0b8a0007b5827c7d7fb2cdce62c190b5d1d36c98 /include/net/mac80211.h | |
parent | wifi: cfg80211: Add link_id parameter to various key operations for MLO (diff) | |
download | linux-ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131.tar.gz linux-ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131.tar.bz2 linux-ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131.zip |
wifi: mac80211: properly implement MLO key handling
Implement key installation and lookup (on TX and RX)
for MLO, so we can use multiple GTKs/IGTKs/BIGTKs.
Co-authored-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index f198af600b5e..7951400e509b 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -1975,6 +1975,7 @@ enum ieee80211_key_flags { * - Temporal Authenticator Rx MIC Key (64 bits) * @icv_len: The ICV length for this key type * @iv_len: The IV length for this key type + * @link_id: the link ID for MLO, or -1 for non-MLO or pairwise keys */ struct ieee80211_key_conf { atomic64_t tx_pn; @@ -1984,6 +1985,7 @@ struct ieee80211_key_conf { u8 hw_key_idx; s8 keyidx; u16 flags; + s8 link_id; u8 keylen; u8 key[]; }; |