summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2026-09-21 14:40:53 +0200
committerJohannes Berg <johannes.berg@intel.com>2026-09-28 11:13:39 +0200
commit89665aeecd0f0c6b4ae620dfd4c67b99751f4cd1 (patch)
tree724611b410a1ea1d321e7c0817b53add17fafa8e /include
parent3191dfbf0779337292526bacb53ac442650099da (diff)
downloadlinux-next-89665aeecd0f0c6b4ae620dfd4c67b99751f4cd1.tar.gz
linux-next-89665aeecd0f0c6b4ae620dfd4c67b99751f4cd1.zip
wifi: mac80211: add cigtk parameter to ieee80211_gtk_rekey_add
The CIGTK keys use a key index of 0 or 1, which is not unique. As such, a new parameter is needed to differentiate the key type. Add the parameter to prepare for handling the CIGTK in the future. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Link: https://patch.msgid.link/20260921144048.8bfea7df6b06.I3d046fbe7dfb3883471773f84e7a791b5b97000e@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index d6f3c5855910..c4894bd37903 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -6278,6 +6278,7 @@ void ieee80211_set_key_rx_seq(struct ieee80211_key_conf *keyconf,
* @key_len: the key data. Might be bigger than the actual key length,
* but not smaller (for the driver convinence)
* @link_id: the link id of the key or -1 for non-MLO
+ * @cigtk: whether this is a CIGTK
*
* When GTK rekeying was done while the system was suspended, (a) new
* key(s) will be available. These will be needed by mac80211 for proper
@@ -6304,7 +6305,7 @@ void ieee80211_set_key_rx_seq(struct ieee80211_key_conf *keyconf,
struct ieee80211_key_conf *
ieee80211_gtk_rekey_add(struct ieee80211_vif *vif,
u8 idx, u8 *key_data, u8 key_len,
- int link_id);
+ int link_id, bool cigtk);
/**
* ieee80211_gtk_rekey_notify - notify userspace supplicant of rekeying