HomeFreeBSD

net80211: de-inline ieee80211_ref_node()

Description

net80211: de-inline ieee80211_ref_node()

Make ieee80211_ref_node() a macro so we can pass func, LINE
in for IEEE80211_DEBUG_REFCNT as we do for other refcount related
functions. Add the appropriate IEEE80211_DPRINTF() call to the
_ieee80211_ref_node() implementation to support wlandebug(8) +node
printf style tracing.
As a plus we can now also use Dtrace fbt on the
_ieee80211_{ref,free}_node() implementations with futher logic,
gathering backtraces, etc. more flexibly.

Sponsored by: The FreeBSD Foundation
X-MFC: never

Details

Provenance
bzAuthored on Oct 2 2023, 8:20 PM
Parents
rG0d2cb6a6ecde: LinuxKPI: 802.11: hide txq debugging behind checks
Branches
Unknown
Tags
Unknown