diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-09-25 17:24:28 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-26 09:16:00 +0200 |
commit | e406f291501050e63a805d6b87a0d9bf198fedf9 (patch) | |
tree | efd8b7e1639899909f3fc075c9b1646e0651b4f2 /net/wireless | |
parent | 5482c0a28b2634e7a7d8ddaca7feac183e74b528 (diff) | |
download | linux-stable-e406f291501050e63a805d6b87a0d9bf198fedf9.tar.gz linux-stable-e406f291501050e63a805d6b87a0d9bf198fedf9.tar.bz2 linux-stable-e406f291501050e63a805d6b87a0d9bf198fedf9.zip |
wifi: cfg80211: add local_state_change to deauth trace
Add the local_state_change request to the deauth trace for
easier debugging.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/trace.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/wireless/trace.h b/net/wireless/trace.h index da2b73951c32..f6667bf3fd12 100644 --- a/net/wireless/trace.h +++ b/net/wireless/trace.h @@ -1321,16 +1321,18 @@ TRACE_EVENT(rdev_deauth, NETDEV_ENTRY MAC_ENTRY(bssid) __field(u16, reason_code) + __field(bool, local_state_change) ), TP_fast_assign( WIPHY_ASSIGN; NETDEV_ASSIGN; MAC_ASSIGN(bssid, req->bssid); __entry->reason_code = req->reason_code; + __entry->local_state_change = req->local_state_change; ), - TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", bssid: %pM, reason: %u", + TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", bssid: %pM, reason: %u, local_state_change:%d", WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->bssid, - __entry->reason_code) + __entry->reason_code, __entry->local_state_change) ); TRACE_EVENT(rdev_disassoc, |