freebsd-nq/sys/net80211
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
..
_ieee80211.h net80211: correct types for nf and rssi 2022-04-01 22:30:02 +00:00
ieee80211_acl.c
ieee80211_action.c
ieee80211_action.h
ieee80211_adhoc.c net80211 / drivers: rename to IEEE80211_FC0_SUBTYPE_QOS_DATA 2022-09-03 21:04:13 +00:00
ieee80211_adhoc.h
ieee80211_ageq.c
ieee80211_ageq.h
ieee80211_alq.c
ieee80211_alq.h
ieee80211_amrr.c
ieee80211_amrr.h
ieee80211_crypto_ccmp.c net80211: consistently use the IEEE80211_M_ memory related options 2022-08-18 20:32:24 +00:00
ieee80211_crypto_none.c
ieee80211_crypto_tkip.c net80211 / drivers: rename to IEEE80211_FC0_SUBTYPE_QOS_DATA 2022-09-03 21:04:13 +00:00
ieee80211_crypto_wep.c net80211: consistently use the IEEE80211_M_ memory related options 2022-08-18 20:32:24 +00:00
ieee80211_crypto.c
ieee80211_crypto.h
ieee80211_ddb.c net80211: improve DDB output. 2022-07-29 15:10:31 +00:00
ieee80211_dfs.c net80211: prefix get_random_bytes() with net80211_ 2021-03-24 22:16:09 +00:00
ieee80211_dfs.h
ieee80211_freebsd.c if_clone: migrate some consumers to the new KPI. 2022-09-22 12:30:09 +00:00
ieee80211_freebsd.h net80211: prefix get_random_bytes() with net80211_ 2021-03-24 22:16:09 +00:00
ieee80211_hostap.c net80211 / drivers: rename to IEEE80211_FC0_SUBTYPE_QOS_DATA 2022-09-03 21:04:13 +00:00
ieee80211_hostap.h
ieee80211_ht.c net80211: consistently use the IEEE80211_M_ memory related options 2022-08-18 20:32:24 +00:00
ieee80211_ht.h
ieee80211_hwmp.c net80211: consistently use the IEEE80211_M_ memory related options 2022-08-18 20:32:24 +00:00
ieee80211_input.c net80211: consistently use the IEEE80211_M_ memory related options 2022-08-18 20:32:24 +00:00
ieee80211_input.h net80211: mitigation against A-MSDU design flaw 2021-09-30 14:50:45 +00:00
ieee80211_ioctl.c net80211: consistently use the IEEE80211_M_ memory related options 2022-08-18 20:32:24 +00:00
ieee80211_ioctl.h
ieee80211_mesh.c net8021: Fix a typo in a kernel error message 2022-10-25 04:31:51 +02:00
ieee80211_mesh.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
ieee80211_monitor.c
ieee80211_monitor.h
ieee80211_node.c net80211: fix IEEE80211_DEBUG_REFCNT builds 2022-11-29 21:20:37 +00:00
ieee80211_node.h net80211: fix IEEE80211_DEBUG_REFCNT builds 2022-11-29 21:20:37 +00:00
ieee80211_output.c net80211: move IEEE80211_F_WME check to vap for consistency 2022-09-29 12:54:23 +00:00
ieee80211_phy.c
ieee80211_phy.h
ieee80211_power.c net80211(4): Fix a typo in a source code comment 2022-04-09 09:13:53 +02:00
ieee80211_power.h
ieee80211_proto.c mbufs: isolate max_linkhdr and max_protohdr handling in the mbuf code 2022-08-29 19:14:25 -07:00
ieee80211_proto.h net80211: split up ieee80211_probereq() 2021-03-18 11:02:45 +00:00
ieee80211_radiotap.c
ieee80211_radiotap.h net80211: radiotap: add one more define for HE 2022-07-29 15:09:55 +00:00
ieee80211_ratectl_none.c
ieee80211_ratectl.c
ieee80211_ratectl.h
ieee80211_regdomain.c
ieee80211_regdomain.h
ieee80211_rssadapt.c
ieee80211_rssadapt.h
ieee80211_scan_sta.c
ieee80211_scan_sw.c
ieee80211_scan_sw.h
ieee80211_scan.c
ieee80211_scan.h net80211: improve error handling from ieee80211_parse_beacon() 2022-04-07 20:50:39 +00:00
ieee80211_sta.c net80211 / drivers: rename to IEEE80211_FC0_SUBTYPE_QOS_DATA 2022-09-03 21:04:13 +00:00
ieee80211_sta.h
ieee80211_superg.c net80211: consistently use the IEEE80211_M_ memory related options 2022-08-18 20:32:24 +00:00
ieee80211_superg.h
ieee80211_tdma.c
ieee80211_tdma.h
ieee80211_var.h net80211: change order in ieee80211_vhtchanflags() 2022-07-29 15:10:52 +00:00
ieee80211_vht.c net80211: VHT correct check/option in ieee80211_vht_adjust_channel() 2022-07-29 15:10:45 +00:00
ieee80211_vht.h
ieee80211_wds.c net80211 / drivers: rename to IEEE80211_FC0_SUBTYPE_QOS_DATA 2022-09-03 21:04:13 +00:00
ieee80211_wds.h
ieee80211_wps.h
ieee80211_xauth.c
ieee80211.c net80211(4): Correct a grammar mistake in a source code comment 2022-09-07 13:13:54 +02:00
ieee80211.h LinuxKPI: 80211 (+net80211): update and cleanup headers 2022-09-09 18:40:23 +00:00