diff options
| author | Patrick McHardy <kaber@trash.net> | 2010-04-20 16:02:01 +0200 | 
|---|---|---|
| committer | Patrick McHardy <kaber@trash.net> | 2010-04-20 16:02:01 +0200 | 
| commit | 62910554656cdcd6b6f84a5154c4155aae4ca231 (patch) | |
| tree | dcf14004f6fd2ef7154362ff948bfeba0f3ea92d /net/mac80211/debugfs_sta.c | |
| parent | 22265a5c3c103cf8c50be62e6c90d045eb649e6d (diff) | |
| parent | ab9304717f7624c41927f442e6b6d418b2d8b3e4 (diff) | |
| download | olio-linux-3.10-62910554656cdcd6b6f84a5154c4155aae4ca231.tar.xz olio-linux-3.10-62910554656cdcd6b6f84a5154c4155aae4ca231.zip  | |
Merge branch 'master' of /repos/git/net-next-2.6
Conflicts:
	Documentation/feature-removal-schedule.txt
	net/ipv6/netfilter/ip6t_REJECT.c
	net/netfilter/xt_limit.c
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
| -rw-r--r-- | net/mac80211/debugfs_sta.c | 14 | 
1 files changed, 6 insertions, 8 deletions
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c index d92800bb2d2..6bc9b07c3ed 100644 --- a/net/mac80211/debugfs_sta.c +++ b/net/mac80211/debugfs_sta.c @@ -57,7 +57,6 @@ STA_FILE(tx_filtered, tx_filtered_count, LU);  STA_FILE(tx_retry_failed, tx_retry_failed, LU);  STA_FILE(tx_retry_count, tx_retry_count, LU);  STA_FILE(last_signal, last_signal, D); -STA_FILE(last_noise, last_noise, D);  STA_FILE(wep_weak_iv_count, wep_weak_iv_count, LU);  static ssize_t sta_flags_read(struct file *file, char __user *userbuf, @@ -120,7 +119,7 @@ STA_OPS(last_seq_ctrl);  static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf,  					size_t count, loff_t *ppos)  { -	char buf[64 + STA_TID_NUM * 40], *p = buf; +	char buf[71 + STA_TID_NUM * 40], *p = buf;  	int i;  	struct sta_info *sta = file->private_data; @@ -128,16 +127,16 @@ static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf,  	p += scnprintf(p, sizeof(buf) + buf - p, "next dialog_token: %#02x\n",  			sta->ampdu_mlme.dialog_token_allocator + 1);  	p += scnprintf(p, sizeof(buf) + buf - p, -		       "TID\t\tRX\tDTKN\tSSN\t\tTX\tDTKN\tSSN\tpending\n"); +		       "TID\t\tRX active\tDTKN\tSSN\t\tTX\tDTKN\tSSN\tpending\n");  	for (i = 0; i < STA_TID_NUM; i++) {  		p += scnprintf(p, sizeof(buf) + buf - p, "%02d", i);  		p += scnprintf(p, sizeof(buf) + buf - p, "\t\t%x", -				sta->ampdu_mlme.tid_state_rx[i]); +				sta->ampdu_mlme.tid_active_rx[i]);  		p += scnprintf(p, sizeof(buf) + buf - p, "\t%#.2x", -				sta->ampdu_mlme.tid_state_rx[i] ? +				sta->ampdu_mlme.tid_active_rx[i] ?  				sta->ampdu_mlme.tid_rx[i]->dialog_token : 0);  		p += scnprintf(p, sizeof(buf) + buf - p, "\t%#.3x", -				sta->ampdu_mlme.tid_state_rx[i] ? +				sta->ampdu_mlme.tid_active_rx[i] ?  				sta->ampdu_mlme.tid_rx[i]->ssn : 0);  		p += scnprintf(p, sizeof(buf) + buf - p, "\t\t%x", @@ -177,7 +176,7 @@ static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf,  	if (htc->ht_supported) {  		p += scnprintf(p, sizeof(buf)+buf-p, "cap: %#.4x\n", htc->cap); -		PRINT_HT_CAP((htc->cap & BIT(0)), "RX LDCP"); +		PRINT_HT_CAP((htc->cap & BIT(0)), "RX LDPC");  		PRINT_HT_CAP((htc->cap & BIT(1)), "HT20/HT40");  		PRINT_HT_CAP(!(htc->cap & BIT(1)), "HT20"); @@ -289,7 +288,6 @@ void ieee80211_sta_debugfs_add(struct sta_info *sta)  	DEBUGFS_ADD(tx_retry_failed);  	DEBUGFS_ADD(tx_retry_count);  	DEBUGFS_ADD(last_signal); -	DEBUGFS_ADD(last_noise);  	DEBUGFS_ADD(wep_weak_iv_count);  	DEBUGFS_ADD(ht_capa);  }  |