[PATCH] mt76: mt7915: increase buffer size to receive large MPDUs
Felix Fietkau
nbd at nbd.name
Fri Dec 18 13:48:58 EST 2020
On 2020-12-16 18:24, Ryder Lee wrote:
> This improves 5G/HE Rx performance around 70mbps.
>
> Tested-by: Chih-Min Chen <chih-min.chen at mediatek.com>
> Signed-off-by: Ryder Lee <ryder.lee at mediatek.com>
> ---
> drivers/net/wireless/mediatek/mt76/mt7915/dma.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/dma.c b/drivers/net/wireless/mediatek/mt76/mt7915/dma.c
> index 8c1f9c77b14f..a8c783be297f 100644
> --- a/drivers/net/wireless/mediatek/mt76/mt7915/dma.c
> +++ b/drivers/net/wireless/mediatek/mt76/mt7915/dma.c
> @@ -203,7 +203,7 @@ int mt7915_dma_init(struct mt7915_dev *dev)
> {
> /* Increase buffer size to receive large VHT/HE MPDUs */
> struct mt76_bus_ops *bus_ops;
> - int rx_buf_size = MT_RX_BUF_SIZE * 2;
> + int rx_buf_size = MT_RX_BUF_SIZE * 4;
This will not be needed after adding rx decapsulation offload.
- Felix
More information about the Linux-mediatek
mailing list