mt76: mt76u: extend RX scatter gather number
diff mbox series

Message ID 42e3b88414f473af278b4584b2f1d76b06ddd82a.1581328358.git.lorenzo@kernel.org
State Accepted
Delegated to: Felix Fietkau
Headers show
Series
  • mt76: mt76u: extend RX scatter gather number
Related show

Commit Message

Lorenzo Bianconi Feb. 10, 2020, 10:34 a.m. UTC
From: Sean Wang <sean.wang@mediatek.com>

From: Sean Wang <sean.wang@mediatek.com>

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

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 drivers/net/wireless/mediatek/mt76/mt76.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Feb. 10, 2020, 1:30 p.m. UTC | #1
Lorenzo Bianconi <lorenzo@kernel.org> writes:

> From: Sean Wang <sean.wang@mediatek.com>
>
> From: Sean Wang <sean.wang@mediatek.com>

The From line is twice.
lorenzo.bianconi@redhat.com Feb. 10, 2020, 1:35 p.m. UTC | #2
>
> Lorenzo Bianconi <lorenzo@kernel.org> writes:
>
> > From: Sean Wang <sean.wang@mediatek.com>
> >
> > From: Sean Wang <sean.wang@mediatek.com>
>
> 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
>

Patch
diff mbox series

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