> Lorenzo Bianconi <lorenzo@xxxxxxxxxx> writes: > > > Partially revert commit f8f527b16db5 ("mt76: usb: use EP max packet > > aligned buffer sizes for rx") since it breaks A-MSDU support. > > When A-MSDU is enable the device can receive frames up to > > q->buf_size but they will be discarded in mt76u_process_rx_entry > > since there is no enough room for skb_shared_info. > > Fix it by introducing q->data_size and take info account > > skb_shared_info size in q->buf_size > > Moreover increase buffer size even for legacy mode (scatter-gather not > > available) > > > > Fixes: f8f527b16db5 ("mt76: usb: use EP max packet aligned buffer sizes for rx") > > Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> > > Felix, can I take this directly to wireless-drivers? Hi Kalle, please hold on with this patch, I will post a new one with a different approach based on what Felix has suggested me Regards, Lorenzo > > -- > Kalle Valo
Attachment:
signature.asc
Description: PGP signature