[PATCH v2] mt76: mt7921: enable VO tx aggregation

Lorenzo Bianconi lorenzo at kernel.org
Wed Aug 4 09:21:43 PDT 2021


> From: Deren Wu <deren.wu at mediatek.com>
> 
> Avoid throughput drop in VO streaming, enable TX BA by default.

802.11 ampdu is disabled for VO traffic in order to avoid introducing delay I guess.

Regards,
Lorenzo

> 
> Signed-off-by: Deren Wu <deren.wu at mediatek.com>
> Signed-off-by: YN Chen <YN.Chen at mediatek.com>
> ---
> v1 -> v2 : commit format adjustment
> ---
>  drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/mac.c b/drivers/net/wireless/mediatek/mt76/mt7921/mac.c
> index 296e0f7a1d14..1be1e07ae786 100644
> --- a/drivers/net/wireless/mediatek/mt76/mt7921/mac.c
> +++ b/drivers/net/wireless/mediatek/mt76/mt7921/mac.c
> @@ -913,8 +913,6 @@ mt7921_tx_check_aggr(struct ieee80211_sta *sta, __le32 *txwi)
>  		return;
>  
>  	tid = FIELD_GET(MT_TXD1_TID, le32_to_cpu(txwi[1]));
> -	if (tid >= 6) /* skip VO queue */
> -		return;
>  
>  	val = le32_to_cpu(txwi[2]);
>  	fc = FIELD_GET(MT_TXD2_FRAME_TYPE, val) << 2 |
> -- 
> 2.25.1
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20210804/2075cdda/attachment.sig>


More information about the Linux-mediatek mailing list