aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_alq.h
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2012-03-04 23:13:52 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2012-03-04 23:13:52 +0000
commitcf42b1cce7ac5ef5c7fde9891440974d3714d088 (patch)
tree232d6f2c5bdb732c56741b99137215133aed5053 /sys/net80211/ieee80211_alq.h
parent22eeb8c61713020e62baf0cc1ea696dcd51ddbdc (diff)
downloadsrc-cf42b1cce7ac5ef5c7fde9891440974d3714d088.tar.gz
src-cf42b1cce7ac5ef5c7fde9891440974d3714d088.zip
Add the thread id to the net80211 alq records.
This will (hopefully) aid in debugging concurrency related issues.
Notes
Notes: svn path=/head/; revision=232526
Diffstat (limited to 'sys/net80211/ieee80211_alq.h')
-rw-r--r--sys/net80211/ieee80211_alq.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_alq.h b/sys/net80211/ieee80211_alq.h
index 648eba2ba043..112c6b1d2120 100644
--- a/sys/net80211/ieee80211_alq.h
+++ b/sys/net80211/ieee80211_alq.h
@@ -38,6 +38,7 @@
*/
struct ieee80211_alq_rec {
uint32_t r_timestamp; /* XXX may wrap! */
+ uint32_t r_threadid; /* current thread id */
uint16_t r_wlan; /* wlan interface number */
uint8_t r_version; /* version */
uint8_t r_op; /* top-level operation id */
@@ -46,6 +47,7 @@ struct ieee80211_alq_rec {
};
/* General logging function */
-extern void ieee80211_alq_log(struct ieee80211vap *vap, uint8_t op, u_char *p, int l);
+extern void ieee80211_alq_log(struct ieee80211vap *vap, uint8_t op,
+ u_char *p, int l);
#endif /* __IEEE80211_ALQ_H__ */