opnsense-src/sys/compat
Bjoern A. Zeeb e74405a4d6 LinuxKPI: 802.11: return proper value for IEEE80211_CRYPTO_AES_CCM
In case of LKPI_80211_HW_CRYPTO we convert from LinuxKPI cipher_suites
to net80211 ic_cryptocaps fields. For WLAN_CIPHER_SUITE_CCMP we
accidentally returned the bit number instead of the shifted value
which leads to ieee80211_crypto_newkey() setting IEEE80211_KEY_SWCRYPT,
which in turned lead to us trying to decode the frame again despite
HW had already done it.  This was found out of a discussion in D43634.

Reviewed by:	cc, adrian

(cherry picked from commit 906521f8176b13533556d742db4ab28e847b85c0)
2024-04-01 23:46:10 +00:00
..
freebsd32 Abstract UIO allocation and deallocation. 2024-03-08 23:27:20 -05:00
ia32 sysentvec: add SV_SIGSYS flag 2023-10-09 06:24:31 +03:00
lindebugfs sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
linprocfs linprocfs: Avoid using a sysctl to get the CPU model string 2024-01-11 09:19:07 -05:00
linsysfs linsysfs(5): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743 2023-08-18 13:12:02 +03:00
linux linux: require vnet(9) context in ifname_bsd_to_linux_name() 2024-03-11 09:11:56 -07:00
linuxkpi LinuxKPI: 802.11: return proper value for IEEE80211_CRYPTO_AES_CCM 2024-04-01 23:46:10 +00:00
x86bios sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00