diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 461167dfa42c..d11a54c289a2 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1007,6 +1007,8 @@ void ieee80211_beacon_loss(struct ieee80211_vif *vif) | |||
1007 | struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); | 1007 | struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); |
1008 | struct ieee80211_hw *hw = &sdata->local->hw; | 1008 | struct ieee80211_hw *hw = &sdata->local->hw; |
1009 | 1009 | ||
1010 | trace_api_beacon_loss(sdata); | ||
1011 | |||
1010 | WARN_ON(hw->flags & IEEE80211_HW_CONNECTION_MONITOR); | 1012 | WARN_ON(hw->flags & IEEE80211_HW_CONNECTION_MONITOR); |
1011 | ieee80211_queue_work(hw, &sdata->u.mgd.beacon_connection_loss_work); | 1013 | ieee80211_queue_work(hw, &sdata->u.mgd.beacon_connection_loss_work); |
1012 | } | 1014 | } |
@@ -1017,6 +1019,8 @@ void ieee80211_connection_loss(struct ieee80211_vif *vif) | |||
1017 | struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); | 1019 | struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); |
1018 | struct ieee80211_hw *hw = &sdata->local->hw; | 1020 | struct ieee80211_hw *hw = &sdata->local->hw; |
1019 | 1021 | ||
1022 | trace_api_connection_loss(sdata); | ||
1023 | |||
1020 | WARN_ON(!(hw->flags & IEEE80211_HW_CONNECTION_MONITOR)); | 1024 | WARN_ON(!(hw->flags & IEEE80211_HW_CONNECTION_MONITOR)); |
1021 | ieee80211_queue_work(hw, &sdata->u.mgd.beacon_connection_loss_work); | 1025 | ieee80211_queue_work(hw, &sdata->u.mgd.beacon_connection_loss_work); |
1022 | } | 1026 | } |
@@ -2261,6 +2265,8 @@ void ieee80211_cqm_rssi_notify(struct ieee80211_vif *vif, | |||
2261 | { | 2265 | { |
2262 | struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); | 2266 | struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); |
2263 | 2267 | ||
2268 | trace_api_cqm_rssi_notify(sdata, rssi_event); | ||
2269 | |||
2264 | cfg80211_cqm_rssi_notify(sdata->dev, rssi_event, gfp); | 2270 | cfg80211_cqm_rssi_notify(sdata->dev, rssi_event, gfp); |
2265 | } | 2271 | } |
2266 | EXPORT_SYMBOL(ieee80211_cqm_rssi_notify); | 2272 | EXPORT_SYMBOL(ieee80211_cqm_rssi_notify); |