git: 91716e8dc1a3 - main - LinuxKPI: 802.11: add SW_MGMT_TX to the expected flags for CCMP
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Apr 2025 20:32:30 UTC
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=91716e8dc1a3452fecedc724e5ef0274413ce7a0 commit 91716e8dc1a3452fecedc724e5ef0274413ce7a0 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2025-04-27 18:56:18 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2025-04-27 18:56:18 +0000 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) --- sys/compat/linuxkpi/common/src/linux_80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)