summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2019-04-30 10:10:49 +0200
committerFelix Fietkau <nbd@nbd.name>2019-05-01 13:04:00 +0200
commitf8f527b16db5d6cf17f6a986aff710bdd7e48cad (patch)
tree2d03cfd7abcd748959a823c9b369b6cb818e1b17 /drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h
parent4d0fe26f7ca015fa4c006b4f68a6246d00103420 (diff)
mt76: usb: use EP max packet aligned buffer sizes for rx
If buffer size is not usb_endpoint_maxp (512 or 1024 bytes) multiple, usb host driver has to use bounce buffer and copy data. For RX we can avoid that since we alreay allocate q->buf_size (2kB) buffers and mt76usb hardware will not fill more data as rx packet size is limited by network protocol. However add error message if this assumption somehow will be not true. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h')
0 files changed, 0 insertions, 0 deletions