Commit e406f291 authored by Johannes Berg's avatar Johannes Berg

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent 5482c0a2
...@@ -1321,16 +1321,18 @@ TRACE_EVENT(rdev_deauth, ...@@ -1321,16 +1321,18 @@ TRACE_EVENT(rdev_deauth,
NETDEV_ENTRY NETDEV_ENTRY
MAC_ENTRY(bssid) MAC_ENTRY(bssid)
__field(u16, reason_code) __field(u16, reason_code)
__field(bool, local_state_change)
), ),
TP_fast_assign( TP_fast_assign(
WIPHY_ASSIGN; WIPHY_ASSIGN;
NETDEV_ASSIGN; NETDEV_ASSIGN;
MAC_ASSIGN(bssid, req->bssid); MAC_ASSIGN(bssid, req->bssid);
__entry->reason_code = req->reason_code; __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, WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->bssid,
__entry->reason_code) __entry->reason_code, __entry->local_state_change)
); );
TRACE_EVENT(rdev_disassoc, TRACE_EVENT(rdev_disassoc,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment