Page MenuHomeFreeBSD

LinuxKPI: 802.11: return proper value for IEEE80211_CRYPTO_AES_CCM
ClosedPublic

Authored by bz on Mar 4 2024, 11:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 19, 6:36 AM
Unknown Object (File)
Sun, Mar 15, 3:06 PM
Unknown Object (File)
Wed, Mar 11, 2:14 AM
Unknown Object (File)
Tue, Mar 10, 11:11 PM
Unknown Object (File)
Mon, Mar 9, 9:48 PM
Unknown Object (File)
Sat, Mar 7, 9:52 AM
Unknown Object (File)
Thu, Mar 5, 4:57 PM
Unknown Object (File)
Feb 23 2026, 4:22 AM

Details

Summary

In case 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.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56429
Build 53317: arc lint + arc unit