Page MenuHomeFreeBSD

net80211; LinuxKPI 802.11: introduce IEEE80211_RX_F_ICV_STRIP
ClosedPublic

Authored by bz on Apr 17 2025, 7:40 PM.
Tags
None
Referenced Files
F152519037: D49880.id.diff
Wed, Apr 15, 11:20 AM
Unknown Object (File)
Sat, Apr 11, 5:02 PM
Unknown Object (File)
Fri, Apr 10, 11:58 PM
Unknown Object (File)
Tue, Apr 7, 10:33 PM
Unknown Object (File)
Sun, Apr 5, 9:34 PM
Unknown Object (File)
Wed, Apr 1, 3:19 PM
Unknown Object (File)
Mon, Mar 30, 2:02 PM
Unknown Object (File)
Sun, Mar 29, 9:06 PM

Details

Summary

For TKIP with iwlwifi we are seeing
DECRYPTED | ICV_STRIPPED | MMIC_STRIPPED.

In tkip_decap() we however unconditionally stripped the ICV which
resulted in a short frame and Gtk handshake never finished.

Add IEEE80211_RX_F_ICV_STRIP to net80211. Add the extra check to the
TKIP code.

While there correct a comment and leave another about contiguous data
assumptions.

In LinuxKPI 802.11 translate the new flag and sort them into STRIP
and FAIL while here.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

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