[PATCH wireless-next v3 2/7] wifi: mac80211: add key link_id to debugfs
Benjamin Berg
benjamin at sipsolutions.net
Mon Sep 21 05:40:51 PDT 2026
From: Benjamin Berg <benjamin.berg at intel.com>
Add the link_id to the debugfs. This is useful for hwsim tests to
validate the per-link keys in multi-link tests.
Signed-off-by: Benjamin Berg <benjamin.berg at intel.com>
---
net/mac80211/debugfs_key.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/mac80211/debugfs_key.c b/net/mac80211/debugfs_key.c
index 79ae3552c55b..3a4f8e9e54dc 100644
--- a/net/mac80211/debugfs_key.c
+++ b/net/mac80211/debugfs_key.c
@@ -65,6 +65,7 @@ KEY_CONF_FILE(keyidx, D);
KEY_CONF_FILE(hw_key_idx, D);
KEY_CONF_FILE_NAMED(conf_flags, flags, X);
KEY_FILE(flags, X);
+KEY_CONF_FILE(link_id, D);
KEY_READ(ifindex, sdata->name, "%s\n");
KEY_OPS(ifindex);
@@ -362,6 +363,7 @@ void ieee80211_debugfs_key_add(struct ieee80211_key *key)
DEBUGFS_ADD(key);
DEBUGFS_ADD(ifindex);
DEBUGFS_ADD(conf_flags);
+ DEBUGFS_ADD(link_id);
};
void ieee80211_debugfs_key_remove(struct ieee80211_key *key)
--
2.55.0
More information about the libertas-dev
mailing list