• Jakub Kicinski's avatar
    mt7601u: fix tx status reporting contexts · 4513493d
    Jakub Kicinski authored
    mac80211 requires that rx path does not run concurrently with
    tx status reporting.  Since rx path is run in driver tasklet,
    tx status cannot be reported directly from interrupt context
    (there would be no way to lock it out).
    
    Add tasklet for tx and move all possible code from irq handler
    there.
    
    Note: tx tasklet is needed because workqueue is queued very
          rarely and that kills TCP performance.
    Signed-off-by: default avatarJakub Kicinski <kubakici@wp.pl>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    4513493d
mac.c 14.3 KB