]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30ac5c12de4af244c8d96e71b023e6e45d36f50b
tree07871d4fb8f0fffd950d4b22dbd7ce3511a85527
parent4550dd979fc2122efff2e20ab6a01e89788578e9
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