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
Unknown Object (File)
Sun, Oct 12, 2:03 AM
Unknown Object (File)
Fri, Oct 10, 11:17 AM
Unknown Object (File)
Fri, Oct 3, 12:06 PM
Unknown Object (File)
Tue, Sep 30, 2:09 PM
Unknown Object (File)
Sat, Sep 27, 10:41 PM
Unknown Object (File)
Sep 11 2025, 1:48 AM
Unknown Object (File)
Sep 1 2025, 12:01 PM
Unknown Object (File)
Sep 1 2025, 7:49 AM

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