From: James Prestwood <james.prestwood@linux.intel.com>
To: linux-wireless@vger.kernel.org
Cc: James Prestwood <james.prestwood@linux.intel.com>
Subject: [PATCH 1/3] net: wireless: trace: add trace for tx_mgmt_expired
Date: Wed, 12 Jun 2019 12:35:08 -0700 [thread overview]
Message-ID: <20190612193510.27680-1-james.prestwood@linux.intel.com> (raw)
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
next reply other threads:[~2019-06-12 19:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-12 19:35 James Prestwood [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190612193510.27680-1-james.prestwood@linux.intel.com \
--to=james.prestwood@linux.intel.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox