summaryrefslogtreecommitdiff
path: root/net/mac80211/sta_info.h
diff options
context:
space:
mode:
authorVenkateswara Naralasetty <vnaralas@codeaurora.org>2018-02-13 08:34:46 +0300
committerJohannes Berg <johannes.berg@intel.com>2018-02-19 15:22:28 +0300
commita78b26fffd2368fcd079802897f4c97f9baea833 (patch)
treea13e18570f0442f267862e21ad3798b55d992233 /net/mac80211/sta_info.h
parentc4b50cd31d25c3d17886ffc47ca4a9a12c6dc9bf (diff)
downloadlinux-a78b26fffd2368fcd079802897f4c97f9baea833.tar.xz
mac80211: Add tx ack signal support in sta info
This allows users to get ack signal strength of last transmitted frame. Signed-off-by: Venkateswara Naralasetty <vnaralas@codeaurora.org> Signed-off-by: Johannes Berg <johannes.berg@intel.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 cd53619435b6..f64eb86ca64b 100644
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
@@ -548,6 +548,8 @@ struct sta_info {
u64 msdu_retries[IEEE80211_NUM_TIDS + 1];
u64 msdu_failed[IEEE80211_NUM_TIDS + 1];
unsigned long last_ack;
+ s8 last_ack_signal;
+ bool ack_signal_filled;
} status_stats;
/* Updated from TX path only, no locking requirements */