diff options
author | Sara Sharon <sara.sharon@intel.com> | 2019-02-06 14:17:10 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-02-22 15:43:53 +0300 |
commit | b9cc81d827ed13502ca9c8523361be26ca1d7220 (patch) | |
tree | 557b5204ff9b7cfea170afa9379fbdb1ecb4230b /net/mac80211/trace.h | |
parent | ee145775c1eb84bb76e71639425ec44c654fb868 (diff) | |
download | linux-b9cc81d827ed13502ca9c8523361be26ca1d7220.tar.xz |
mac80211: abort CSA if beacon does not include CSA IEs
In case we receive a beacon without CSA IE while we are in
the middle of channel switch - abort the operation.
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r-- | net/mac80211/trace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h index 35ea0dcb55e6..c1e203fe281e 100644 --- a/net/mac80211/trace.h +++ b/net/mac80211/trace.h @@ -2452,6 +2452,12 @@ DEFINE_EVENT(local_sdata_evt, drv_post_channel_switch, TP_ARGS(local, sdata) ); +DEFINE_EVENT(local_sdata_evt, drv_abort_channel_switch, + TP_PROTO(struct ieee80211_local *local, + struct ieee80211_sub_if_data *sdata), + TP_ARGS(local, sdata) +); + TRACE_EVENT(drv_get_txpower, TP_PROTO(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, |