diff options
author | Ben Greear <greearb@candelatech.com> | 2011-01-28 20:05:42 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-03 16:42:43 -0500 |
commit | 0fa025f0a29ec6848b67a3021db4248c9dcc78ed (patch) | |
tree | dd70ccead0150c81a2ff953fa821775ca20ef9b3 /net/mac80211 | |
parent | eeabee7e53f6fb5e63027519982b19616e8f166e (diff) |
mac80211: Show configured channel-type in netdev debugfs.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/debugfs_netdev.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c index 872adb86200c..4cffbf65cccd 100644 --- a/net/mac80211/debugfs_netdev.c +++ b/net/mac80211/debugfs_netdev.c | |||
@@ -149,6 +149,7 @@ IEEE80211_IF_FILE(rc_rateidx_mask_5ghz, rc_rateidx_mask[IEEE80211_BAND_5GHZ], | |||
149 | HEX); | 149 | HEX); |
150 | IEEE80211_IF_FILE(flags, flags, HEX); | 150 | IEEE80211_IF_FILE(flags, flags, HEX); |
151 | IEEE80211_IF_FILE(state, state, LHEX); | 151 | IEEE80211_IF_FILE(state, state, LHEX); |
152 | IEEE80211_IF_FILE(channel_type, vif.bss_conf.channel_type, DEC); | ||
152 | 153 | ||
153 | /* STA attributes */ | 154 | /* STA attributes */ |
154 | IEEE80211_IF_FILE(bssid, u.mgd.bssid, MAC); | 155 | IEEE80211_IF_FILE(bssid, u.mgd.bssid, MAC); |
@@ -289,6 +290,7 @@ static void add_sta_files(struct ieee80211_sub_if_data *sdata) | |||
289 | DEBUGFS_ADD(drop_unencrypted); | 290 | DEBUGFS_ADD(drop_unencrypted); |
290 | DEBUGFS_ADD(flags); | 291 | DEBUGFS_ADD(flags); |
291 | DEBUGFS_ADD(state); | 292 | DEBUGFS_ADD(state); |
293 | DEBUGFS_ADD(channel_type); | ||
292 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); | 294 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); |
293 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); | 295 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); |
294 | 296 | ||
@@ -304,6 +306,7 @@ static void add_ap_files(struct ieee80211_sub_if_data *sdata) | |||
304 | DEBUGFS_ADD(drop_unencrypted); | 306 | DEBUGFS_ADD(drop_unencrypted); |
305 | DEBUGFS_ADD(flags); | 307 | DEBUGFS_ADD(flags); |
306 | DEBUGFS_ADD(state); | 308 | DEBUGFS_ADD(state); |
309 | DEBUGFS_ADD(channel_type); | ||
307 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); | 310 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); |
308 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); | 311 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); |
309 | 312 | ||
@@ -317,6 +320,7 @@ static void add_wds_files(struct ieee80211_sub_if_data *sdata) | |||
317 | DEBUGFS_ADD(drop_unencrypted); | 320 | DEBUGFS_ADD(drop_unencrypted); |
318 | DEBUGFS_ADD(flags); | 321 | DEBUGFS_ADD(flags); |
319 | DEBUGFS_ADD(state); | 322 | DEBUGFS_ADD(state); |
323 | DEBUGFS_ADD(channel_type); | ||
320 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); | 324 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); |
321 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); | 325 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); |
322 | 326 | ||
@@ -328,6 +332,7 @@ static void add_vlan_files(struct ieee80211_sub_if_data *sdata) | |||
328 | DEBUGFS_ADD(drop_unencrypted); | 332 | DEBUGFS_ADD(drop_unencrypted); |
329 | DEBUGFS_ADD(flags); | 333 | DEBUGFS_ADD(flags); |
330 | DEBUGFS_ADD(state); | 334 | DEBUGFS_ADD(state); |
335 | DEBUGFS_ADD(channel_type); | ||
331 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); | 336 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); |
332 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); | 337 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); |
333 | } | 338 | } |
@@ -336,6 +341,7 @@ static void add_monitor_files(struct ieee80211_sub_if_data *sdata) | |||
336 | { | 341 | { |
337 | DEBUGFS_ADD(flags); | 342 | DEBUGFS_ADD(flags); |
338 | DEBUGFS_ADD(state); | 343 | DEBUGFS_ADD(state); |
344 | DEBUGFS_ADD(channel_type); | ||
339 | } | 345 | } |
340 | 346 | ||
341 | #ifdef CONFIG_MAC80211_MESH | 347 | #ifdef CONFIG_MAC80211_MESH |