diff options
author | Ben Greear <greearb@candelatech.com> | 2013-03-25 11:19:34 -0700 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-08 09:16:54 +0200 |
commit | 78e443e4c66b6e9391252f0080a06831259ada3a (patch) | |
tree | 9d1a4b74e16b2905a3a97acd29d0d34eae42e919 /net/mac80211/debugfs_sta.c | |
parent | c6036cfe90c689b8d3407efce2b24c1b100464a2 (diff) | |
download | linux-78e443e4c66b6e9391252f0080a06831259ada3a.tar.gz linux-78e443e4c66b6e9391252f0080a06831259ada3a.tar.bz2 linux-78e443e4c66b6e9391252f0080a06831259ada3a.zip |
mac80211: add beacon stats to debugfs
Beacon-timeout and number of beacon loss events.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
-rw-r--r-- | net/mac80211/debugfs_sta.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c index 4f841fe559df..44e201d60a13 100644 --- a/net/mac80211/debugfs_sta.c +++ b/net/mac80211/debugfs_sta.c @@ -54,6 +54,7 @@ STA_FILE(aid, sta.aid, D); STA_FILE(dev, sdata->name, S); STA_FILE(last_signal, last_signal, D); STA_FILE(last_ack_signal, last_ack_signal, D); +STA_FILE(beacon_loss_count, beacon_loss_count, D); static ssize_t sta_flags_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) @@ -434,6 +435,7 @@ void ieee80211_sta_debugfs_add(struct sta_info *sta) DEBUGFS_ADD(agg_status); DEBUGFS_ADD(dev); DEBUGFS_ADD(last_signal); + DEBUGFS_ADD(beacon_loss_count); DEBUGFS_ADD(ht_capa); DEBUGFS_ADD(vht_capa); DEBUGFS_ADD(last_ack_signal); |