Page MenuHomeFreeBSD

LinuxKPI: LKPI_80211_HW_CRYPTO: add crypto debug flag in LinuxKPI
Needs ReviewPublic

Authored by cc on Mar 6 2024, 10:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 23, 6:13 AM
Unknown Object (File)
Oct 1 2024, 12:39 PM
Unknown Object (File)
Sep 14 2024, 6:13 AM
Unknown Object (File)
Sep 9 2024, 1:09 AM
Unknown Object (File)
Sep 5 2024, 11:57 PM
Unknown Object (File)
Aug 25 2024, 8:56 PM
Unknown Object (File)
Aug 18 2024, 2:05 AM
Unknown Object (File)
Aug 7 2024, 4:30 PM

Details

Reviewers
bz
Summary

Also move the LKPI_80211_TRACE_MO to the same location.

PR: 277416
MFC after: 3 days

Diff Detail

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

Event Timeline

cc requested review of this revision.Mar 6 2024, 10:27 PM
bz requested changes to this revision.Mar 6 2024, 10:56 PM
bz added inline comments.
sys/compat/linuxkpi/common/src/linux_80211.c
559

That's an error message, not debug information

563

Error message, not debug information

589

Error message

592

Error message

sys/compat/linuxkpi/common/src/linux_80211.h
80

this part can probably just live in linux_80211.c and likely doesn't need all the per-cpu information but likely not much more than a TODO or IMPROVE or any other dumps?

sys/compat/linuxkpi/common/src/linux_80211_macops.c
38 ↗(On Diff #135475)

Why do you need to move these? Are you envisioning MO tracing outside of this file?

This revision now requires changes to proceed.Mar 6 2024, 10:56 PM
sys/compat/linuxkpi/common/src/linux_80211.c
559

Does not make much difference between unimplemented feature errors and debugging purposes.
With LKPI_80211_TRACE_CRYPTO, it is organized under the same scope.

sys/compat/linuxkpi/common/src/linux_80211_macops.c
38 ↗(On Diff #135475)

Put them in the same location is easier to read.

code update according to comments