Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 237419
b: refs/heads/master
c: 83bdf2a
h: refs/heads/master
i:
  237417: 85e474b
  237415: ca4592e
v: v3
  • Loading branch information
Ben Greear authored and John W. Linville committed Feb 18, 2011
1 parent 5a69847 commit 499b9bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe0b7c616ebd7d25afbb4315d0e3220b112a7b2f
refs/heads/master: 83bdf2a17279bd6ee3d0f5c0f086ebe06644109d
6 changes: 6 additions & 0 deletions trunk/net/mac80211/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ static const struct file_operations name## _ops = { \
debugfs_create_file(#name, mode, phyd, local, &name## _ops);


DEBUGFS_READONLY_FILE(user_power, "%d",
local->user_power_level);
DEBUGFS_READONLY_FILE(power, "%d",
local->hw.conf.power_level);
DEBUGFS_READONLY_FILE(frequency, "%d",
local->hw.conf.channel->center_freq);
DEBUGFS_READONLY_FILE(total_ps_buffered, "%d",
Expand Down Expand Up @@ -391,6 +395,8 @@ void debugfs_hw_add(struct ieee80211_local *local)
DEBUGFS_ADD(uapsd_queues);
DEBUGFS_ADD(uapsd_max_sp_len);
DEBUGFS_ADD(channel_type);
DEBUGFS_ADD(user_power);
DEBUGFS_ADD(power);

statsd = debugfs_create_dir("statistics", phyd);

Expand Down

0 comments on commit 499b9bb

Please sign in to comment.