diff options
author | Jiri Benc <jbenc@suse.cz> | 2007-05-05 20:46:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-05-05 20:46:38 +0200 |
commit | e9f207f0ff90bf60b825800d7450e6f2ff2eab88 (patch) | |
tree | 22bd39116f2cae8d4ce6169eb91e4b9a7204770f /net/mac80211/sta_info.h | |
parent | [MAC80211]: Add mac80211 wireless stack. (diff) | |
download | linux-e9f207f0ff90bf60b825800d7450e6f2ff2eab88.tar.xz linux-e9f207f0ff90bf60b825800d7450e6f2ff2eab88.zip |
[MAC80211]: Add debugfs attributes.
Export various mac80211 internal variables through debugfs.
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index f26e1c294395..b5591d2f60a4 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h @@ -98,6 +98,9 @@ struct sta_info { * filtering; used only if sta->key is not * set */ +#ifdef CONFIG_MAC80211_DEBUGFS + int debugfs_registered; +#endif int assoc_ap; /* whether this is an AP that we are * associated with as a client */ @@ -109,6 +112,22 @@ struct sta_info { int vlan_id; u16 listen_interval; + +#ifdef CONFIG_MAC80211_DEBUGFS + struct sta_info_debugfsdentries { + struct dentry *dir; + struct dentry *flags; + struct dentry *num_ps_buf_frames; + struct dentry *last_ack_rssi; + struct dentry *last_ack_ms; + struct dentry *inactive_ms; + struct dentry *last_seq_ctrl; +#ifdef CONFIG_MAC80211_DEBUG_COUNTERS + struct dentry *wme_rx_queue; + struct dentry *wme_tx_queue; +#endif + } debugfs; +#endif }; |