diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-10-16 17:18:11 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-10-21 10:08:21 +0200 |
commit | 976bd9efdae6a844079ba4a7898a38d229ef246c (patch) | |
tree | f077d5f3e587294c4d62a2dc98fe62cc06a03f45 /net/mac80211/ieee80211_i.h | |
parent | 763aa27a292113b6fd9f6ad8bf633edc9b13c98b (diff) | |
download | linux-976bd9efdae6a844079ba4a7898a38d229ef246c.tar.bz2 |
mac80211: move beacon_loss_count into ifmgd
There's little point in keeping (and even sending to userspace)
the beacon_loss_count value per station, since it can only apply
to the AP on a managed-mode connection. Move the value to ifmgd,
advertise it only in managed mode, and remove it from ethtool as
it's available through better interfaces.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 056d3721148c..62f2a97cd2a6 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -503,6 +503,9 @@ struct ieee80211_if_managed { */ unsigned int count_beacon_signal; + /* Number of times beacon loss was invoked. */ + unsigned int beacon_loss_count; + /* * Last Beacon frame signal strength average (ave_beacon_signal / 16) * that triggered a cqm event. 0 indicates that no event has been |