git: 732cd1f905f9 - stable/14 - LinuxKPI: 802.11: add IEEE80211_KEY_FLAG_BITS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Apr 2025 11:41:50 UTC
The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=732cd1f905f976dcf740cd051f7210affff8e1d6 commit 732cd1f905f976dcf740cd051f7210affff8e1d6 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2025-04-15 19:39:10 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2025-04-29 10:49:30 +0000 LinuxKPI: 802.11: add IEEE80211_KEY_FLAG_BITS Add IEEE80211_KEY_FLAG_BITS to be used with %b for debugging ieee802111_key_flag bit flags. Names are a lot easier to deal with than just numbers. Sponsored by: The FreeBSD Foundation (cherry picked from commit 52e39daeef8804d134e1aa76149d47c026663a61) --- sys/compat/linuxkpi/common/include/net/mac80211.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/net/mac80211.h b/sys/compat/linuxkpi/common/include/net/mac80211.h index 568695dc2a45..98be1735d6ab 100644 --- a/sys/compat/linuxkpi/common/include/net/mac80211.h +++ b/sys/compat/linuxkpi/common/include/net/mac80211.h @@ -541,6 +541,11 @@ enum ieee802111_key_flag { IEEE80211_KEY_FLAG_SPP_AMSDU = BIT(9), }; +#define IEEE80211_KEY_FLAG_BITS \ + "\20\1GENERATE_IV\2GENERATE_MMIC\3PAIRWISE\4PUT_IV_SPACE" \ + "\5PUT_MIC_SPACE\6SW_MGMT_TX\7GENERATE_IV_MGMT\10GENERATE_MMIE" \ + "\11RESERVE_TAILROOM\12SPP_AMSDU" + struct ieee80211_key_conf { #if defined(__FreeBSD__) const struct ieee80211_key *_k; /* backpointer to net80211 */