Page MenuHomeFreeBSD

net80211: crypto: ccmp: fix more hardware offload bits
ClosedPublic

Authored by bz on Feb 16 2025, 1:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 18, 9:55 PM
Unknown Object (File)
Tue, Mar 18, 2:44 AM
Unknown Object (File)
Fri, Mar 14, 12:00 PM
Unknown Object (File)
Thu, Mar 6, 10:47 PM
Unknown Object (File)
Mon, Mar 3, 3:20 PM
Unknown Object (File)
Fri, Feb 28, 4:54 PM
Unknown Object (File)
Thu, Feb 27, 4:59 AM
Unknown Object (File)
Feb 20 2025, 1:29 AM

Details

Summary

Add the missing IEEE80211_RX_F_DECRYPTED and IEEE80211_RX_F_MMIC_STRIP
(really just MIC_STRIP) checks to make hwaccel offload work.
This makes rtw8x drivers pass RX packets again at least with LinuxKPI
HW_CRYPTO support.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Test Plan

Note: the (fixed) HW_CRYPTO support has not landed in LinuxKPI
as it'll not work without this (and the previous) change.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Feb 16 2025, 1:30 AM
adrian added a subscriber: adrian.
adrian added inline comments.
sys/net80211/ieee80211_crypto_ccmp.c
689

no need for braces! :)

This revision is now accepted and ready to land.Feb 16 2025, 1:44 AM
bz marked an inline comment as done.Feb 16 2025, 1:50 AM
bz added inline comments.
sys/net80211/ieee80211_crypto_ccmp.c
689

:) Shall I remove then here and above on the return statement to stay in file-style or should we follow-style.9 more and more in net80211?

sys/net80211/ieee80211_crypto_ccmp.c
689

only in the new code, we should do some separate diffs later for style cleanup but after we land all of our branch work. :-)

This revision was automatically updated to reflect the committed changes.
bz marked an inline comment as done.