[Make-wifi-fast] [PATCH v2 4/4] mac80211: Use Airtime-based Queue Limits (AQL) on packet dequeue

Toke Høiland-Jørgensen toke at redhat.com
Sat Oct 19 08:14:42 EDT 2019


Sebastian Moeller <moeller0 at gmx.de> writes:

>> On Oct 18, 2019, at 16:15, Johannes Berg <johannes at sipsolutions.net> wrote:
>> 
>> On Thu, 2019-10-17 at 18:11 -0700, Kan Yan wrote:
>>> I don't think it is hard to take care of extra header size for frames
>>> with VLAN tags
>> 
>> VLAN tags are payload as far as wifi is concerned, so no need to take
>> that into account ...
>
> 	Ah, good to know; but just out of curiosity is any of the
> 	following 7 Byte Preamble + 1 Byte start of frame delimiter
> 	(SFD) + 12 Byte inter frame gap (IFG) actually packaged into
> 	ethernet frames inside 802.11 packets? I would have guessed that
> 	at least the IFG would be dropped as it does not really exist as
> 	"data"?

No, those are accounted in the airtime calculation in airtime.c (Felix'
code). E.g.,:

		duration = 20 + 16; /* premable + SIFS */

-Toke



More information about the Make-wifi-fast mailing list