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)
Sun, Sep 22, 2:26 AM
Unknown Object (File)
Sun, Sep 8, 6:08 AM
Unknown Object (File)
Thu, Sep 5, 11:56 PM
Unknown Object (File)
Sat, Aug 31, 5:24 PM
Unknown Object (File)
Aug 14 2024, 4:43 AM
Unknown Object (File)
Jul 29 2024, 2:05 AM
Unknown Object (File)
Jul 25 2024, 7:33 PM
Unknown Object (File)
Jul 5 2024, 5:09 PM

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 Not Applicable
Unit
Tests Not Applicable