aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/trace.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-02-13 06:11:00 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-03-18 15:15:03 -0400
commit39ecc01d1bbe3de2cf5f01a81e176ea5160d3b95 (patch)
tree1a75bf065c61f0870ff4d63eac6130998834748c /net/mac80211/trace.h
parenta0ca796c460259bc079631d2d148ffff1d1fc736 (diff)
mac80211: pass queue bitmap to flush operation
There are a number of situations in which mac80211 only really needs to flush queues for one virtual interface, and in fact during this frames might be transmitted on other virtual interfaces. Calculate and pass a queue bitmap to the driver so it knows which queues to flush. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r--net/mac80211/trace.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index d97e4305cf1e..c5899797a8d4 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -964,23 +964,26 @@ TRACE_EVENT(drv_get_survey,
964); 964);
965 965
966TRACE_EVENT(drv_flush, 966TRACE_EVENT(drv_flush,
967 TP_PROTO(struct ieee80211_local *local, bool drop), 967 TP_PROTO(struct ieee80211_local *local,
968 u32 queues, bool drop),
968 969
969 TP_ARGS(local, drop), 970 TP_ARGS(local, queues, drop),
970 971
971 TP_STRUCT__entry( 972 TP_STRUCT__entry(
972 LOCAL_ENTRY 973 LOCAL_ENTRY
973 __field(bool, drop) 974 __field(bool, drop)
975 __field(u32, queues)
974 ), 976 ),
975 977
976 TP_fast_assign( 978 TP_fast_assign(
977 LOCAL_ASSIGN; 979 LOCAL_ASSIGN;
978 __entry->drop = drop; 980 __entry->drop = drop;
981 __entry->queues = queues;
979 ), 982 ),
980 983
981 TP_printk( 984 TP_printk(
982 LOCAL_PR_FMT " drop:%d", 985 LOCAL_PR_FMT " queues:0x%x drop:%d",
983 LOCAL_PR_ARG, __entry->drop 986 LOCAL_PR_ARG, __entry->queues, __entry->drop
984 ) 987 )
985); 988);
986 989