mac80211: move beacon_loss_count into ifmgd
authorJohannes Berg <johannes.berg@intel.com>
Fri, 16 Oct 2015 15:18:11 +0000 (17:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Oct 2015 08:08:21 +0000 (10:08 +0200)
commit976bd9efdae6a844079ba4a7898a38d229ef246c
treef077d5f3e587294c4d62a2dc98fe62cc06a03f45
parent763aa27a292113b6fd9f6ad8bf633edc9b13c98b
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>
net/mac80211/ethtool.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h