Skip to contentSkip to conversation

a-MSDU question (bug in debugfs?)

DISCUSSION Ben Greear 2 participants 3 messages Oct 26, 2011

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

This code from net/mac80211/debugfs_sta.c appears to say that if the IEEE80211_HT_CAP_MAX_AMSDU is set, we are at value 3839, but elsewhere on the web it appears the opposite.

Anyone know what is correct? I'm having no good luck finding an official document about this...

               PRINT_HT_CAP((htc->cap & BIT(11)), "Max AMSDU length: "
                             "3839 bytes");
                PRINT_HT_CAP(!(htc->cap & BIT(11)), "Max AMSDU length: "
                             "7935 bytes");

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#1 lore raw
Quoted 11 lines · Ben Greear

This code from net/mac80211/debugfs_sta.c appears to say that if the IEEE80211_HT_CAP_MAX_AMSDU is set, we are at value 3839, but elsewhere on the web it appears the opposite.

Anyone know what is correct? I'm having no good luck finding an official document about this...

                PRINT_HT_CAP((htc->cap & BIT(11)), "Max AMSDU length: "
                              "3839 bytes");
                 PRINT_HT_CAP(!(htc->cap & BIT(11)), "Max AMSDU length: "
                              "7935 bytes");

iw also has the other way around and I probably would have checked against 802.11n. If you can't find that google for getieee

johannes

author
#2 lore raw
Quoted 8 lines · Johannes Berg
Quoted 7 lines · Ben Greear

This code from net/mac80211/debugfs_sta.c appears to say that if the IEEE80211_HT_CAP_MAX_AMSDU is set, we are at value 3839, but elsewhere on the web it appears the opposite.

Anyone know what is correct? I'm having no good luck finding an official document about this...

Quoted 7 lines
Quoted 4 lines
                 PRINT_HT_CAP((htc->cap&  BIT(11)), "Max AMSDU length: "
                               "3839 bytes");
                  PRINT_HT_CAP(!(htc->cap&  BIT(11)), "Max AMSDU length: "
                               "7935 bytes");

iw also has the other way around and I probably would have checked against 802.11n. If you can't find that google for getieee

Thanks, I found the 802.11n doc. Page 69 (section 7.3.2.56) seems to indicate this debugfs code is reversed. I'll post a patch when I
get the rest of my tree sorted out, if no one beats me to it.

Thanks,
Ben

Quoted 2 lines

johannes

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com