aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2025-04-27 18:56:18 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2025-04-27 18:56:18 +0000
commit91716e8dc1a3452fecedc724e5ef0274413ce7a0 (patch)
tree68cf0bb4a0639470207427c2b029dc260f24b691
parent9b2a503a1179e026a4efc0b2e0a910168bc806ed (diff)
LinuxKPI: 802.11: add SW_MGMT_TX to the expected flags for CCMP
rtw88 sets SW_MGMT_TX on (*mo_et_key) (MFP in software which we do not yet support). Add it to the list of known reply values to avoid constant logging. Sponsored by: The FreeBSD Foundation MFC after: 3 days Reported by: Oleg Nauman (oleg.nauman gmail.com)
-rw-r--r--sys/compat/linuxkpi/common/src/linux_80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c
index be93ac2a04fc..1a8b32bb16f7 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -1504,7 +1504,8 @@ lkpi_iv_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k)
exp_flags = (IEEE80211_KEY_FLAG_PAIRWISE |
IEEE80211_KEY_FLAG_PUT_IV_SPACE |
IEEE80211_KEY_FLAG_GENERATE_IV |
- IEEE80211_KEY_FLAG_GENERATE_IV_MGMT); /* Only needs IV geeration for MGMT frames. */
+ IEEE80211_KEY_FLAG_GENERATE_IV_MGMT | /* Only needs IV geeration for MGMT frames. */
+ IEEE80211_KEY_FLAG_SW_MGMT_TX); /* MFP in software */
break;
}
if ((kc->flags & ~exp_flags) != 0)