wifi-debugfs: Fix AMSDU rate printout.
PATCH 1/1 wifi-debugfs: Fix AMSDU rate printout.
From: Ben Greear <[email protected]>
It was flipped. See section 7.3.2.56 of the 802.11n spec for details.
Signed-off-by Ben Greear <[email protected]>
---
:100644 100644 c5f3417... 3110cbd... M net/mac80211/debugfs_sta.c
net/mac80211/debugfs_sta.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
net/mac80211/debugfs_sta.c +2 -2
@@ -274,9 +274,9 @@ static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf,PRINT_HT_CAP ((htc->cap &BIT (10 )),"HT Delayed Block Ack" ); -PRINT_HT_CAP ((htc->cap &BIT (11 )),"Max AMSDU length: " -"3839 bytes" );PRINT_HT_CAP (!(htc->cap &BIT (11 )),"Max AMSDU length: " +"3839 bytes" ); +PRINT_HT_CAP ((htc->cap &BIT (11 )),"Max AMSDU length: " "7935 bytes" );/*
Signature · 1 line
1.7.3.4
Quoted 4 lines · On Thu, 2011-11-17 at 13:48 -0800, [email protected] wrote:
From: Ben Greear <[email protected]>
It was flipped. See section 7.3.2.56 of the 802.11n spec for details.
Acked-by Johannes Berg <[email protected]>
but the subject should be "mac80211: fix AMSDU rate output in debugfs" or so, maybe John can fix it up.
Quoted 22 lines
Signed-off-by Ben Greear <[email protected]>---
:100644 100644 c5f3417... 3110cbd... Mnet/mac80211/debugfs_sta.cnet/mac80211/debugfs_sta.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)net/mac80211/debugfs_sta.c +2
-2@@ -274,9 +274,9 @@ static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf,PRINT_HT_CAP ((htc->cap &BIT (10 )),"HT Delayed Block Ack" ); -PRINT_HT_CAP ((htc->cap &BIT (11 )),"Max AMSDU length: " -"3839 bytes" );PRINT_HT_CAP (!(htc->cap &BIT (11 )),"Max AMSDU length: " +"3839 bytes" ); +PRINT_HT_CAP ((htc->cap &BIT (11 )),"Max AMSDU length: " "7935 bytes" );/*