[Make-wifi-fast] [PATCH v11 2/4] mac80211: Import airtime calculation code from mt76

Toke Høiland-Jørgensen toke at redhat.com
Fri Nov 22 07:56:36 EST 2019


Johannes Berg <johannes at sipsolutions.net> writes:

> On Mon, 2019-11-18 at 22:06 -0800, Kan Yan wrote:
>> 
>> +#define HE_GROUP_IDX(_streams, _gi, _bw)				\
>> +	(IEEE80211_HE_GROUP_0 +					\
>> +	 IEEE80211_HE_MAX_STREAMS * 2 * (_bw) +			\
>> +	 IEEE80211_HE_MAX_STREAMS * (_gi) +				\
>> +	 (_streams) - 1)
>
> I'll also fix that to be " * 3" instead of 2, since there are 3 possible
> _gi values.

Ah yes, good catch, thanks!

-Toke



More information about the Make-wifi-fast mailing list