Re: [RFA] HE support

Richard Sharpe <[email protected]> Tue, 20 Feb 2018 06:59:58 -0800
Newsgroups org.netbsd.radiotap
Message-ID <CACyXjPxQLN3iiCjVu5X5ZQUMGBEY9FyM9dnPmEiT7XQnaUhjEQ@mail.gmail.com>
On Tue, Feb 20, 2018 at 5:01 AM, Johannes Berg
<[email protected]> wrote:
> On Tue, 2018-02-20 at 10:37 +0100, Johannes Berg wrote:
>> On Tue, 2018-01-30 at 09:25 +0100, Johannes Berg wrote:
>>
>> > Rather than copy/paste all the information into the email, here are the
>> > links to the three newly defined fields.
>> > http://www.radiotap.org/fields/HE
>> > http://www.radiotap.org/fields/HE-MU
>> > http://www.radiotap.org/fields/HE-MU-other-user
>> >
>> > I just made a minor change here to delete the duplicated field, and add
>> > an RU offset field (with known flag, of course).
>>
>> Oops, I have to make another update to this - we need a
>> "primary/secondary 80 MHz bit" (along with validity).
>>
>> I think I'll put that into data2 bits 0/31, any objections?
>
> Just found another thing too.
>
> In HE-MU, I had defined:
> flags1: 0x0080: Bandwidth from SIG-A known
> flags2: 0x0007: Bandwidth from SIG-A
>
> Where this was intended to be like in the spec, which means:
>  0 - 20 MHz non-puncturing
>  1 - 40 MHz non-puncturing
>  2 - 80 MHz non-puncturing
>  3 - 160/80+80 MHz non-puncturing
>  4/5/6/7 - the various puncturing modes
>
>
> I think it'd be better to split this:
> flags1: 0x0080: reserved
> flags2: 0x0003: bandwidth from bw field in HE-SIG-A with the values
>                  0 - 20 MHz
>                  1 - 40 MHz
>                  2 - 80 MHz
>                  3 - 160/80+80 MHz
> flags2: 0x0004: bandwidth from bw field in HE-SIG-A known
> flags2: 0x0008: preamble puncturing from bw field in HE-SIG-A known
> flags2: 0x0300: preamble puncturing from bw field in HE-SIG-A,
>                 with the values
>                  0 - non-puncturing mode
>                  1 - punctured secondary 20 MHz
>                      (in primary 80 MHz if applicable)
>                      [maps to HE-SIG-A bandwidth values 4 or 6]
>                  2 - punctured but primary 40 MHz is presented
>                      (in primary 80 MHz if applicable)
>                      [maps to HE-SIG-A bandwidth values 5 or 7]
>
> Richard, did you do any work on the HE-MU field yet that would collide
> with such a change?

I have, but:

1. It's WIP, so it has not been merged yet, and
2. It looks like maybe an hour's work at most to fix it.

So, I would say, accuracy is more important.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)