Skip to content
  • Rajkumar Manoharan's avatar
    mac80211: Postpond ps timer if tx is stopped by others · 1ddc2867
    Rajkumar Manoharan authored
    
    
    Whenever the driver's queue depth reaches the max, the queues are
    stopped by the driver till the driver can accept the frames.
    At the mean time dynamic_ps_timer can be expired due to not
    receiving packet from upper layer which could restart the transmission
    at the end of ps work. Due to the mismatch with driver state,
    mac80211 is unneccesarity buffering all the frames till the driver
    wakes up the queue.
    
    Check whether there is no transmit or the tx queues were stopped by some
    reasons. If any of the queue was stopped, the postpond ps timer and
    do not restart netif_tx.
    
    Signed-off-by: default avatarRajkumar Manoharan <rmanoharan@atheros.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    1ddc2867