freebsd-dev/sys/amd64/conf
Bjoern A. Zeeb 4a8e4d1546 net80211: fix IEEE80211_DEBUG_REFCNT builds
Remove the KPI/KBI changes from ieee80211_node.h and always use the
macros to pass in __func__ and __LINE__ to the functions.
The actual implementations are prefixed by "_" rather than suffixed
by "_debug" as they no longer are "debug"-specific.

Some of the select functions were not actually using the passed in
func, line options; however they are calling other functions which
use them.  Directly call the internal implementation in those cases
passing the arguments on.

Use a file-local __debrefcnt_used define to mark the arguments __unused
in cases when we compile without IEEE80211_DEBUG_REFCNT and hope the
toolchain is intelligent enough to not pass them at all in those cases.

Also _ieee80211_free_node() now has a conflict so make the previous
_ieee80211_free_node() the new __ieee80211_free_node().

Add IEEE80211_DEBUG_REFCNT to the NOTES file on amd64 to keep exercising
the option.

Sponsored by:	The FreeBSD Foundation
X-MFC:		never
Discussed on:	freebsd-wireless
Reviewed by:	adrian
Differential Revision: https://reviews.freebsd.org/D37529
2022-11-29 21:20:37 +00:00
..
DEFAULTS tcp: make CUBIC the default congestion control mechanism. 2022-09-13 12:09:21 +02:00
FIRECRACKER amd64: Add FIRECRACKER kernel configuration 2022-10-17 23:02:22 -07:00
GENERIC Document implicit dependencies of the mlx5(4) & friends. 2022-08-11 16:33:09 -07:00
GENERIC-KASAN amd64: Add MD bits for KASAN 2021-04-13 17:42:20 -04:00
GENERIC-KCSAN sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00
GENERIC-KMSAN Add a GENERIC-KMSAN kernel configuration for amd64 2021-08-10 21:27:53 -04:00
GENERIC-MMCCAM Fix amd64 GENERIC-MMCCAM kernel build 2020-12-24 22:30:52 +01:00
GENERIC-NODEBUG sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00
GENERIC.hints
LINT Create in-tree LINT files 2020-10-09 01:48:14 +00:00
LINT-NOINET Create in-tree LINT files 2020-10-09 01:48:14 +00:00
LINT-NOINET6 Create in-tree LINT files 2020-10-09 01:48:14 +00:00
LINT-NOIP ktls: Remove the KERN_TLS option from the i386 and amd64 LINT-NOIP kernel configurations. 2022-06-11 21:31:28 +02:00
MINIMAL MIMIMAL: add uart 2022-07-01 11:24:51 -06:00
NOTES net80211: fix IEEE80211_DEBUG_REFCNT builds 2022-11-29 21:20:37 +00:00