opnsense-src/sys/compat/linuxkpi
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 906521f817)
2024-04-01 23:46:10 +00:00
..
common LinuxKPI: 802.11: return proper value for IEEE80211_CRYPTO_AES_CCM 2024-04-01 23:46:10 +00:00
dummy/include LinuxKPI: Add linux/ioport.h header 2024-02-17 23:58:38 +03:00