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

Johannes Berg johannes at sipsolutions.net
Fri Nov 22 07:27:55 EST 2019


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.

johannes



More information about the Make-wifi-fast mailing list