aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.h
diff options
context:
space:
mode:
authorPaul Stewart <pstew@chromium.org>2011-12-09 14:01:49 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-12-19 14:34:13 -0500
commita85e1d55974646a442d95911e3f7d7a891ea9ac5 (patch)
treeaa4dbeb64336c8e3ee2003a7963ec8ef38675101 /net/mac80211/sta_info.h
parent84381b4ed58498e1e3d49a4a306fec9894b8e00c (diff)
cfg80211: Return beacon loss count in station
If station info contains a beacon loss count, return it to userspace. Signed-off-by: Paul Stewart <pstew@chromium.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r--net/mac80211/sta_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h
index dee284290464..6f77f12dc3fc 100644
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
@@ -275,6 +275,7 @@ struct sta_ampdu_mlme {
275 * EAP frames before association 275 * EAP frames before association
276 * @sta: station information we share with the driver 276 * @sta: station information we share with the driver
277 * @sta_state: duplicates information about station state (for debug) 277 * @sta_state: duplicates information about station state (for debug)
278 * @beacon_loss_count: number of times beacon loss has triggered
278 */ 279 */
279struct sta_info { 280struct sta_info {
280 /* General information, mostly static */ 281 /* General information, mostly static */
@@ -367,6 +368,7 @@ struct sta_info {
367#endif 368#endif
368 369
369 unsigned int lost_packets; 370 unsigned int lost_packets;
371 unsigned int beacon_loss_count;
370 372
371 /* should be right in front of sta to be in the same cache line */ 373 /* should be right in front of sta to be in the same cache line */
372 bool dummy; 374 bool dummy;