Re: [PATCH v2 15/22] mac80211: don't calculate duration for S1G

Johannes Berg
2020-09-21T06:51:33Z

On Sun, 2020-09-20 at 23:03 -0700, Thomas Pedersen wrote:
>
> > I'm not even sure I'd leave a TODO there ... just say
> >
> > /* device is expected to do this */
>
> Eventually it would be nice if mac80211 could calculate duration for
> S1G? Do you know why it doesn't for HT/VHT?

I'm not sure it matters. It almost doesn't even matter for legacy
(CCK/OFDM) because devices practically always do it anyway?

And for HT/VHT it's just quite a bit more complicated, so we never
bothered, since it wasn't necessary.

It couldn't even really be done since there are A-MPDUs and other things
happening at a lower layer.

johannes