HomeFreeBSD

net80211; LinuxKPI 802.11: introduce IEEE80211_RX_F_ICV_STRIP

Description

net80211; LinuxKPI 802.11: introduce IEEE80211_RX_F_ICV_STRIP

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
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D49880

Details

Provenance
bzAuthored on Thu, Apr 17, 7:33 PM
Reviewer
adrian
Differential Revision
D49880: net80211; LinuxKPI 802.11: introduce IEEE80211_RX_F_ICV_STRIP
Parents
rG95f4e7f5e283: LoongArch: sys/contrib/edk2: add support
Branches
Unknown
Tags
Unknown