mbox series

[v2,0/2] mt76: usb: fix A-MSDU support

Message ID cover.1559293385.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series mt76: usb: fix A-MSDU support | expand

Message

Lorenzo Bianconi May 31, 2019, 9:38 a.m. UTC
Reallocate the skb if there is no enough space to manage the AMSDU rx packets.
Do not always copy the first part of received frames if A-MSDU is enabled
for SG capable devices

Changes since v1:
- do not allocate multiple page buffers but rely on fragmented skbs
  if there is no enough space to manage the AMSDU rx packets

@Felix: do you prefer to take this series in your tree or is it better
to merge it in wireless-drivers?

Lorenzo Bianconi (2):
  mt76: usb: fix rx A-MSDU support
  mt76: usb: do not always copy the first part of received frames

 drivers/net/wireless/mediatek/mt76/mt76.h |  4 ++
 drivers/net/wireless/mediatek/mt76/usb.c  | 64 ++++++++++++++++++-----
 2 files changed, 55 insertions(+), 13 deletions(-)

Comments

Felix Fietkau June 6, 2019, 8:47 a.m. UTC | #1
On 2019-05-31 11:38, Lorenzo Bianconi wrote:
> Reallocate the skb if there is no enough space to manage the AMSDU rx packets.
> Do not always copy the first part of received frames if A-MSDU is enabled
> for SG capable devices
> 
> Changes since v1:
> - do not allocate multiple page buffers but rely on fragmented skbs
>   if there is no enough space to manage the AMSDU rx packets
> 
> @Felix: do you prefer to take this series in your tree or is it better
> to merge it in wireless-drivers?
Going through wireless-drivers is fine with me.

Acked-by: Felix Fietkau <nbd@nbd.name>

- Felix