aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/trace.h
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2014-04-09 09:11:01 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-05-06 09:16:34 -0400
commitf04c22033c25f71617ac62bcfe75698baa17a0b8 (patch)
tree468527116aa880a43f476dc020754b9b6c64982e /net/wireless/trace.h
parent66199506fb91058a78b154b7fecb703ddaa27146 (diff)
cfg80211: export interface stopping function
This exports a new cfg80211_stop_iface() function. This is intended for driver internal interface combination management and channel switching. Due to locking issues (it re-enters driver) the call is asynchronous and uses cfg80211 event list/worker. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/trace.h')
-rw-r--r--net/wireless/trace.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/wireless/trace.h b/net/wireless/trace.h
index f3c13ff4d04c..cdfbb00e1b37 100644
--- a/net/wireless/trace.h
+++ b/net/wireless/trace.h
@@ -2636,6 +2636,21 @@ TRACE_EVENT(cfg80211_ft_event,
2636 WIPHY_PR_ARG, NETDEV_PR_ARG, MAC_PR_ARG(target_ap)) 2636 WIPHY_PR_ARG, NETDEV_PR_ARG, MAC_PR_ARG(target_ap))
2637); 2637);
2638 2638
2639TRACE_EVENT(cfg80211_stop_iface,
2640 TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev),
2641 TP_ARGS(wiphy, wdev),
2642 TP_STRUCT__entry(
2643 WIPHY_ENTRY
2644 WDEV_ENTRY
2645 ),
2646 TP_fast_assign(
2647 WIPHY_ASSIGN;
2648 WDEV_ASSIGN;
2649 ),
2650 TP_printk(WIPHY_PR_FMT ", " WDEV_PR_FMT,
2651 WIPHY_PR_ARG, WDEV_PR_ARG)
2652);
2653
2639#endif /* !__RDEV_OPS_TRACE || TRACE_HEADER_MULTI_READ */ 2654#endif /* !__RDEV_OPS_TRACE || TRACE_HEADER_MULTI_READ */
2640 2655
2641#undef TRACE_INCLUDE_PATH 2656#undef TRACE_INCLUDE_PATH