aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.h
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>2011-04-08 11:54:24 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-12 16:58:47 -0400
commitebe27c91af8b7f4810ae906fbd3eeb2d87850026 (patch)
treeeff1fe0dbb8ecb4b116d8f96c6beb3eda1c52c7a /net/mac80211/sta_info.h
parentf60c49b67dd6db2ccb740a6a671414f9dab00c4f (diff)
{mac|nl}80211: Add station connected time
Add station connected time in debugfs. This will be helpful to get a measure of stability of the connection and for debugging stress issues Cc: Senthilkumar Balasubramanian <Senthilkumar.Balasubramanian@Atheros.com> Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com> 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 43238e99cfb3..984a03db3553 100644
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
@@ -226,6 +226,7 @@ enum plink_state {
226 * @rx_bytes: Number of bytes received from this STA 226 * @rx_bytes: Number of bytes received from this STA
227 * @wep_weak_iv_count: number of weak WEP IVs received from this station 227 * @wep_weak_iv_count: number of weak WEP IVs received from this station
228 * @last_rx: time (in jiffies) when last frame was received from this STA 228 * @last_rx: time (in jiffies) when last frame was received from this STA
229 * @last_connected: time (in seconds) when a station got connected
229 * @num_duplicates: number of duplicate frames received from this STA 230 * @num_duplicates: number of duplicate frames received from this STA
230 * @rx_fragments: number of received MPDUs 231 * @rx_fragments: number of received MPDUs
231 * @rx_dropped: number of dropped MPDUs from this STA 232 * @rx_dropped: number of dropped MPDUs from this STA
@@ -295,6 +296,7 @@ struct sta_info {
295 unsigned long rx_packets, rx_bytes; 296 unsigned long rx_packets, rx_bytes;
296 unsigned long wep_weak_iv_count; 297 unsigned long wep_weak_iv_count;
297 unsigned long last_rx; 298 unsigned long last_rx;
299 long last_connected;
298 unsigned long num_duplicates; 300 unsigned long num_duplicates;
299 unsigned long rx_fragments; 301 unsigned long rx_fragments;
300 unsigned long rx_dropped; 302 unsigned long rx_dropped;