diff options
author | Saravana <saravanad@posedge.com> | 2012-11-28 18:27:09 +0530 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-29 13:36:43 +0100 |
commit | db94357dbd79359496cd5189640cc36bb3c35733 (patch) | |
tree | 96245544e119db490457b8ad2f91b021c8b53393 /net/mac80211/status.c | |
parent | dbeca2ea4642d9de0a59ac141b2825ea6804f408 (diff) | |
download | op-kernel-dev-db94357dbd79359496cd5189640cc36bb3c35733.zip op-kernel-dev-db94357dbd79359496cd5189640cc36bb3c35733.tar.gz |
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/status.c')
-rw-r--r-- | net/mac80211/status.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c index 2d931ad..6400037 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c @@ -539,6 +539,9 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb) sta->lost_packets = 0; } } + + if (acked) + sta->last_ack_signal = info->status.ack_signal; } rcu_read_unlock(); |