qcacld-3.0: Drop mgmt frames if no.of RX mgmt packets reaches to threshold

This change includes to drop RX mgmt packets before sending to MC thread
context based on below conditions

1) Print an warn message when no.of pending RX packets reaches to
   1/4th of threshold
2) Drop probe req, probe resp and beacon frames when
   no.of pending RX packets reaches to 1/2 of threshold
3) Drop all the RX management packets when no.of pending RX packets
   equals to threshold

Add a counter to maintain no.of pending management packets in queue
and MGMT_RX_PACKETS_THRESHOLD for threshold value

Change-Id: I9428a1a054f717a285378dbe95592ba0c5c569e6
CRs-Fixed: 2011645
5 files changed
tree: 02cd63fd4a9fa92c7d57223a785e8655f55e8d07
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. README.txt