aboutsummaryrefslogtreecommitdiff
path: root/net/mac80211/trace.h
diff options
context:
space:
mode:
authorGravatar Johannes Berg <johannes.berg@intel.com> 2023-03-31 16:59:17 +0200
committerGravatar Johannes Berg <johannes.berg@intel.com> 2023-04-13 16:32:31 +0200
commitd00800a289c9349bb659a698cbd7bc04521dc927 (patch)
tree79a5dea4d4d7be07b1e7b1aac8d11d77c669375e /net/mac80211/trace.h
parentwifi: mac80211: flush queues on STA removal (diff)
downloadlinux-d00800a289c9349bb659a698cbd7bc04521dc927.tar.gz
linux-d00800a289c9349bb659a698cbd7bc04521dc927.tar.bz2
linux-d00800a289c9349bb659a698cbd7bc04521dc927.zip
wifi: mac80211: add flush_sta method
Some drivers like iwlwifi might have per-STA queues, so we may want to flush/drop just those queues rather than all when removing a station. Add a separate method for that. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r--net/mac80211/trace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index e0ccf5fe708a..de5d69f21306 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -1177,6 +1177,13 @@ TRACE_EVENT(drv_flush,
)
);
+DEFINE_EVENT(sta_event, drv_flush_sta,
+ TP_PROTO(struct ieee80211_local *local,
+ struct ieee80211_sub_if_data *sdata,
+ struct ieee80211_sta *sta),
+ TP_ARGS(local, sdata, sta)
+);
+
TRACE_EVENT(drv_channel_switch,
TP_PROTO(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata,