• Markus Theil's avatar
    mt76: mt76x02: remove a copy call for usb speedup · 5c48e60e
    Markus Theil authored
    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: default avatarMarkus Theil <markus.theil@tu-ilmenau.de>
    Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
    5c48e60e
mt76x02_beacon.c 5.36 KB