diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2014-04-09 15:11:01 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-06 15:16:34 +0200 |
commit | f04c22033c25f71617ac62bcfe75698baa17a0b8 (patch) | |
tree | 468527116aa880a43f476dc020754b9b6c64982e /net/wireless/trace.h | |
parent | 66199506fb91058a78b154b7fecb703ddaa27146 (diff) | |
download | linux-f04c22033c25f71617ac62bcfe75698baa17a0b8.tar.bz2 |
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.h | 15 |
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, WIPHY_PR_ARG, NETDEV_PR_ARG, MAC_PR_ARG(target_ap)) ); +TRACE_EVENT(cfg80211_stop_iface, + TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev), + TP_ARGS(wiphy, wdev), + TP_STRUCT__entry( + WIPHY_ENTRY + WDEV_ENTRY + ), + TP_fast_assign( + WIPHY_ASSIGN; + WDEV_ASSIGN; + ), + TP_printk(WIPHY_PR_FMT ", " WDEV_PR_FMT, + WIPHY_PR_ARG, WDEV_PR_ARG) +); + #endif /* !__RDEV_OPS_TRACE || TRACE_HEADER_MULTI_READ */ #undef TRACE_INCLUDE_PATH |