summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/usb.c
diff options
context:
space:
mode:
authorMarkus Theil <markus.theil@tu-ilmenau.de>2019-12-18 17:07:52 +0100
committerFelix Fietkau <nbd@nbd.name>2020-02-14 10:06:01 +0100
commit5c48e60e57b0c3fa30f32cacff454cb855f2af88 (patch)
tree162cab934e91c0da6f36046c71ace649edb30445 /drivers/net/wireless/mediatek/mt76/usb.c
parent7d2886404e78c34ecb43b56c84f4e4a83d965962 (diff)
mt76: mt76x02: remove a copy call for usb speedup
This patch removes a mt76_wr_copy call from the beacon path to hw. The skb which is used in this place gets therefore build with txwi inside its data. For mt76 usb drivers, this saves one synchronuous copy call over usb, which lets the beacon work complete faster. In mmio case, there is not enough headroom to put the txwi into the skb, it is therefore using an additional mt76_wr_copy, which is fast over mmio. Thanks Stanislaw for pointing this out. Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/usb.c')
0 files changed, 0 insertions, 0 deletions