HomeFreeBSD

LinuxKPI: 802.11: add checks and improve tracing to key operations

Description

LinuxKPI: 802.11: add checks and improve tracing to key operations

Use the IEEE80211_KEY_FLAG_BITS for logging. Add more logging to aid
debugging key and cipher operations.
Add extra checks that key is actually defined before attempting any
key operation.
Move some variables to before they are needed to avoid extra work
in case of early return. Makes their scope more clear.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit a6f6329c92a993ddaaa4a7daf2b53155f805d50f)

Details

Provenance
bzAuthored on Apr 15 2025, 9:11 PM
Parents
rGc08c12712e88: LinuxKPI: 802.11: lkpi_hw_crypto_prepare and lkpi_hw_crypto_tailroom
Branches
Unknown
Tags
Unknown