2020-02-10 10:36:04

by Lorenzo Bianconi

[permalink] [raw]
Subject: [PATCH] mt76: mt76u: extend RX scatter gather number

From: Sean Wang <[email protected]>

From: Sean Wang <[email protected]>

Set RX scatter gather number to 4 in order to extend the maximum AMSDU
size to 11,454.

Signed-off-by: Sean Wang <[email protected]>
Co-developed-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
---
drivers/net/wireless/mediatek/mt76/mt76.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h
index 73a941a11429..8a4445778ec7 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76.h
@@ -397,7 +397,7 @@ struct mt76_mcu {
};

#define MT_TX_SG_MAX_SIZE 8
-#define MT_RX_SG_MAX_SIZE 1
+#define MT_RX_SG_MAX_SIZE 4
#define MT_NUM_TX_ENTRIES 256
#define MT_NUM_RX_ENTRIES 128
#define MCU_RESP_URB_SIZE 1024
--
2.24.1


2020-02-10 13:37:16

by Lorenzo Bianconi

[permalink] [raw]
Subject: Re: [PATCH] mt76: mt76u: extend RX scatter gather number

>
> Lorenzo Bianconi <[email protected]> writes:
>
> > From: Sean Wang <[email protected]>
> >
> > From: Sean Wang <[email protected]>
>
> The From line is twice.

Yes, I figured it out later. Sorry for the noise.

Regards,
Lorenzo

>
> --
> https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
>