• James Ketrenos's avatar
    [PATCH] ieee80211: Return NETDEV_TX_BUSY when QoS buffer full · 2c0aa2a5
    James Ketrenos authored
    tree ba6509c7cd1dd4244a2f285f2da5d632e7ffbb25
    parent 7b5f9f2ddcabdaea214527a895e6e8445cafdd80
    author James Ketrenos <jketreno@linux.intel.com> 1124447000 -0500
    committer James Ketrenos <jketreno@linux.intel.com> 1127313383 -0500
    
    Per the conversations with folks at OLS, the QoS layer in 802.11
    drivers can now result in NETDEV_TX_BUSY being returned when the queue
    a packet is targetted for is full.
    
    To implement this, ieee80211_xmit will now call the driver's
    is_queue_full to determine if the current priority queue is full.  If
    so, NETDEV_TX_BUSY is returned to the kernel and no processing is done
    on the frame.
    Signed-off-by: default avatarJames Ketrenos <jketreno@linux.intel.com>
    Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
    2c0aa2a5
ieee80211_tx.c 16.2 KB