wlan: [Part 2] Implement Soft AP flow control

Currently TL fetches packets in a round robin fashion from station's
access queues with same weight or priority. When one station's link
deteriorate it impacts the throughput of the other stations with good
links. To address this implement flow control based on the firmware Tx
indication stats.

Change-Id: I6094cb9395efdcc57ac5aff3588d59c32fac6627
CRs-Fixed: 1097660
diff --git a/CORE/HDD/inc/wlan_hdd_main.h b/CORE/HDD/inc/wlan_hdd_main.h
index 5b9f38d..f7de1fb 100644
--- a/CORE/HDD/inc/wlan_hdd_main.h
+++ b/CORE/HDD/inc/wlan_hdd_main.h
@@ -243,6 +243,8 @@
 
 #define WLAN_WAIT_TIME_EXTSCAN  1000
 
+#define HDD_MAX_STA_COUNT (HAL_NUM_STA)
+
 /*
  * Generic asynchronous request/response support
  *
@@ -1460,6 +1462,8 @@
    
    v_BOOL_t hdd_wlan_suspended;
    bool rx_wow_dump;
+
+   uint8_t bad_sta[HDD_MAX_STA_COUNT];
    
    spinlock_t filter_lock;