wifi: mac80211: add key link_id to debugfs

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@intel.com>
Link: https://patch.msgid.link/20260921144048.fee6216d4a22.I262f6ee5af944970707e1d4e6607020fcfe6ba89@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Benjamin Berg 2026-09-21 14:40:51 +02:00 committed by Johannes Berg
parent 53e0b15a0e
commit 325bb57ca9

View File

@ -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)