Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 1/3] net: wireless: trace: add trace for tx_mgmt_expired
@ 2019-06-12 19:35 James Prestwood
  2019-06-12 19:35 ` [PATCH 2/3] nl80211: send event when CMD_FRAME duration expires James Prestwood
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: James Prestwood @ 2019-06-12 19:35 UTC (permalink / raw)
  To: linux-wireless; +Cc: James Prestwood

Signed-off-by: James Prestwood <james.prestwood@linux.intel.com>
---
 net/wireless/trace.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/net/wireless/trace.h b/net/wireless/trace.h
index 2abfff925aac..4fbb91a511ae 100644
--- a/net/wireless/trace.h
+++ b/net/wireless/trace.h
@@ -2752,6 +2752,24 @@ TRACE_EVENT(cfg80211_ready_on_channel_expired,
 		  WDEV_PR_ARG, __entry->cookie, CHAN_PR_ARG)
 );
 
+TRACE_EVENT(cfg80211_tx_mgmt_expired,
+	TP_PROTO(struct wireless_dev *wdev, u64 cookie,
+		 struct ieee80211_channel *chan),
+	TP_ARGS(wdev, cookie, chan),
+	TP_STRUCT__entry(
+		WDEV_ENTRY
+		__field(u64, cookie)
+		CHAN_ENTRY
+	),
+	TP_fast_assign(
+		WDEV_ASSIGN;
+		__entry->cookie = cookie;
+		CHAN_ASSIGN(chan);
+	),
+	TP_printk(WDEV_PR_FMT ", cookie: %llu, " CHAN_PR_FMT,
+		  WDEV_PR_ARG, __entry->cookie, CHAN_PR_ARG)
+);
+
 TRACE_EVENT(cfg80211_new_sta,
 	TP_PROTO(struct net_device *netdev, const u8 *mac_addr,
 		 struct station_info *sinfo),
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-14 13:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-12 19:35 [PATCH 1/3] net: wireless: trace: add trace for tx_mgmt_expired James Prestwood
2019-06-12 19:35 ` [PATCH 2/3] nl80211: send event when CMD_FRAME duration expires James Prestwood
2019-06-12 19:35 ` [PATCH 3/3] mac80211: notify offchannel expire on mgmt_tx James Prestwood
2019-06-14 13:42 ` [PATCH 1/3] net: wireless: trace: add trace for tx_mgmt_expired Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox