wlan: flush cached frames on deleting the station context

TL caches the frames for all STAs which are not yet registered.
It has been seen that the firmware allows frames for a STA to
reach the Host even when 802.11 authentication is not completed
in some cases. If the authentication times out, all the frames
which are cached remain in the TL cache consuming lot of resources.
Whenever authentication fails the host driver will delete the STA
context from the firmware, and after getting a successful response
from the firmware we will try to flush all cached frames and free
up the resources.

Change-Id: I1b4678c33cc99a6138a77d0574d01c4c7e51b4b3
CRs-Fixed: 673062
2 files changed
tree: 2ab263262c0edf1bc2649aa71449e9b81261060e
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig