diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-02-22 15:10:22 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-22 15:10:22 -0500 |
commit | 5db5e44cdcdc5ee9cc821bd4d63445af0bb34bce (patch) | |
tree | b5e5787a6d5c15e589d275c7434ebbf341257234 /net/mac80211/debugfs.c | |
parent | db62983a1e4b2af9e79c97af768f0c8b80bd93f0 (diff) | |
parent | 320d6c1b56de5f461c6062625b9664095f90ee95 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Diffstat (limited to 'net/mac80211/debugfs.c')
-rw-r--r-- | net/mac80211/debugfs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index 1f02e599a318..51f0d780dafa 100644 --- a/net/mac80211/debugfs.c +++ b/net/mac80211/debugfs.c | |||
@@ -60,6 +60,10 @@ static const struct file_operations name## _ops = { \ | |||
60 | debugfs_create_file(#name, mode, phyd, local, &name## _ops); | 60 | debugfs_create_file(#name, mode, phyd, local, &name## _ops); |
61 | 61 | ||
62 | 62 | ||
63 | DEBUGFS_READONLY_FILE(user_power, "%d", | ||
64 | local->user_power_level); | ||
65 | DEBUGFS_READONLY_FILE(power, "%d", | ||
66 | local->hw.conf.power_level); | ||
63 | DEBUGFS_READONLY_FILE(frequency, "%d", | 67 | DEBUGFS_READONLY_FILE(frequency, "%d", |
64 | local->hw.conf.channel->center_freq); | 68 | local->hw.conf.channel->center_freq); |
65 | DEBUGFS_READONLY_FILE(total_ps_buffered, "%d", | 69 | DEBUGFS_READONLY_FILE(total_ps_buffered, "%d", |
@@ -391,6 +395,8 @@ void debugfs_hw_add(struct ieee80211_local *local) | |||
391 | DEBUGFS_ADD(uapsd_queues); | 395 | DEBUGFS_ADD(uapsd_queues); |
392 | DEBUGFS_ADD(uapsd_max_sp_len); | 396 | DEBUGFS_ADD(uapsd_max_sp_len); |
393 | DEBUGFS_ADD(channel_type); | 397 | DEBUGFS_ADD(channel_type); |
398 | DEBUGFS_ADD(user_power); | ||
399 | DEBUGFS_ADD(power); | ||
394 | 400 | ||
395 | statsd = debugfs_create_dir("statistics", phyd); | 401 | statsd = debugfs_create_dir("statistics", phyd); |
396 | 402 | ||