HomeFreeBSD

LinuxKPI: 802.11: improve assertion and tkip code

Description

LinuxKPI: 802.11: improve assertion and tkip code

Move a KASSERT out of a function and make it a CTASSERT with
appropriate comments.

Skeleton implement two tkip functions, still left TODO, initializing
variables with dummy values to quiten compiler warnings. It is
unclear to me if we should still ever properly implement TKIP
compat code at this point. If so the current code gives a good
idea what needs to be done in addition to allocating references
to real state along with keyconf.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 35f7fa4ac1aea8af9a4f2428b3f0a346151b4071)

Details

Provenance
bzAuthored on Apr 20 2023, 4:01 PM
Parents
rG9e366ef5c8c7: LinuxKPI: 802.11: adjust locking
Branches
Unknown
Tags
Unknown