staging: brcm80211: invalidate all AMPDU packets on IEEE80211_AMPDU_TX_STOP
authorRoland Vossen <rvossen@broadcom.com>
Thu, 10 Mar 2011 10:35:09 +0000 (11:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Mar 2011 18:44:03 +0000 (11:44 -0700)
commit9ee63c6a9f122688ea05b977ffa894dd60bf99eb
tree07871d4fb8f0fffd950d4b22dbd7ce3511a85527
parent61f4420597b750e932ad0e8567715f1a3439bb03
staging: brcm80211: invalidate all AMPDU packets on IEEE80211_AMPDU_TX_STOP

The previous patch flushed the AMPDU packets associated to a certain STA/AP
in the driver queues, but left the AMPDU packets in the DMA queue untouched.
This patch invalidates AMPDU packets in the DMA queue, so they can be
processed accordingly when hardware releases the packets to the driver.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/wlc_ampdu.c
drivers/staging/brcm80211/brcmsmac/wlc_main.c
drivers/staging/brcm80211/brcmsmac/wlc_main.h
drivers/staging/brcm80211/include/hnddma.h
drivers/staging/brcm80211/util/hnddma.c