linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* a-MSDU question (bug in debugfs?)
@ 2011-10-26 19:03 Ben Greear
  2011-10-26 19:08 ` Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Greear @ 2011-10-26 19:03 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org

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

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: a-MSDU question (bug in debugfs?)
  2011-10-26 19:03 a-MSDU question (bug in debugfs?) Ben Greear
@ 2011-10-26 19:08 ` Johannes Berg
  2011-10-26 19:17   ` Ben Greear
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2011-10-26 19:08 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-wireless@vger.kernel.org

On Wed, 2011-10-26 at 12:03 -0700, Ben Greear wrote:
> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: a-MSDU question (bug in debugfs?)
  2011-10-26 19:08 ` Johannes Berg
@ 2011-10-26 19:17   ` Ben Greear
  0 siblings, 0 replies; 3+ messages in thread
From: Ben Greear @ 2011-10-26 19:17 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless@vger.kernel.org

On 10/26/2011 12:08 PM, Johannes Berg wrote:
> On Wed, 2011-10-26 at 12:03 -0700, Ben Greear wrote:
>> 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

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

>
> johannes


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-26 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-26 19:03 a-MSDU question (bug in debugfs?) Ben Greear
2011-10-26 19:08 ` Johannes Berg
2011-10-26 19:17   ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).