aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_sta.c
diff options
context:
space:
mode:
authorSaravana <saravanad@posedge.com>2012-11-28 18:27:09 +0530
committerJohannes Berg <johannes.berg@intel.com>2012-11-29 13:36:43 +0100
commitdb94357dbd79359496cd5189640cc36bb3c35733 (patch)
tree96245544e119db490457b8ad2f91b021c8b53393 /net/mac80211/debugfs_sta.c
parentdbeca2ea4642d9de0a59ac141b2825ea6804f408 (diff)
downloadkernel_goldelico_gta04-db94357dbd79359496cd5189640cc36bb3c35733.zip
kernel_goldelico_gta04-db94357dbd79359496cd5189640cc36bb3c35733.tar.gz
kernel_goldelico_gta04-db94357dbd79359496cd5189640cc36bb3c35733.tar.bz2
mac80211: add debugfs file for last ack signal
Add a debugfs file showing the signal strength of the ack frame that is received for the currently sent tx packet Signed-off-by: Saravana <saravanad@posedge.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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c
index 89281d2..1566941 100644
--- a/net/mac80211/debugfs_sta.c
+++ b/net/mac80211/debugfs_sta.c
@@ -53,6 +53,7 @@ static const struct file_operations sta_ ##name## _ops = { \
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);
static ssize_t sta_flags_read(struct file *file, char __user *userbuf,
size_t count, loff_t *ppos)
@@ -369,6 +370,7 @@ void ieee80211_sta_debugfs_add(struct sta_info *sta)
DEBUGFS_ADD(dev);
DEBUGFS_ADD(last_signal);
DEBUGFS_ADD(ht_capa);
+ DEBUGFS_ADD(last_ack_signal);
DEBUGFS_ADD_COUNTER(rx_packets, rx_packets);
DEBUGFS_ADD_COUNTER(tx_packets, tx_packets);