diff mbox series

[v2] mt76: mt7921: enable VO tx aggregation

Message ID 889fc1f28a8402f82cb83243af4916c3311c3eb1.1628072837.git.deren.wu@mediatek.com
State New
Headers show
Series [v2] mt76: mt7921: enable VO tx aggregation | expand

Commit Message

YN Chen Aug. 4, 2021, 10:31 a.m. UTC
From: Deren Wu <deren.wu@mediatek.com>

Avoid throughput drop in VO streaming, enable TX BA by default.

Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: YN Chen <YN.Chen@mediatek.com>
---
v1 -> v2 : commit format adjustment
---
 drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Lorenzo Bianconi Aug. 4, 2021, 4:21 p.m. UTC | #1
> From: Deren Wu <deren.wu@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@mediatek.com>
> Signed-off-by: YN Chen <YN.Chen@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
>
diff mbox series

Patch

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 |