a-MSDU question (bug in debugfs?)
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
Quoted 11 lines · Ben Greear
This code from
net/mac80211/debugfs_sta.cappears to say that if theIEEE80211_HT_CAP_MAX_AMSDUis 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
Quoted 8 lines · Johannes Berg
Quoted 7 lines · Ben Greear
This code from
net/mac80211/debugfs_sta.cappears to say that if theIEEE80211_HT_CAP_MAX_AMSDUis 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