Add Support for DELBA per session on Coex Indication

In the current driver when disable aggregation event comes from
Coex, Host deletes the BA on all the sessions.This commit adds
support to delete the BA per session indicated by Coex through
the bssid.

Change-Id: I04cddccef70f520ce07bb1487e569dc111e87620
CRs-fixed: 507912
diff --git a/CORE/MAC/src/pe/lim/limUtils.c b/CORE/MAC/src/pe/lim/limUtils.c
index 566d5e7..879e3c9 100644
--- a/CORE/MAC/src/pe/lim/limUtils.c
+++ b/CORE/MAC/src/pe/lim/limUtils.c
@@ -5739,22 +5739,17 @@
 \return None
 -------------------------------------------------------------*/
 
-void limDelAllBASessionsBtc(tpAniSirGlobal pMac)
+void limDelPerBssBASessionsBtc(tpAniSirGlobal pMac)
 {
-    tANI_U32 i;
+    tANI_U8 sessionId;
     tpPESession pSessionEntry;
-
-    for (i = 0; i < pMac->lim.maxBssId; i++)
+    pSessionEntry = peFindSessionByBssid(pMac,pMac->btc.btcBssfordisableaggr,
+                                                                &sessionId);
+    if (pSessionEntry)
     {
-        pSessionEntry = peFindSessionBySessionId(pMac, i);
-        if (pSessionEntry)
-        {
-            if (SIR_BAND_2_4_GHZ ==
-                limGetRFBand(pSessionEntry->currentOperChannel))
-            {
-                limDeleteBASessions(pMac, pSessionEntry, BA_RECIPIENT);
-            }
-        }
+        PELOGW(limLog(pMac, LOGW,
+        "Deleting the BA for session %d as host got BTC event", sessionId);)
+        limDeleteBASessions(pMac, pSessionEntry, BA_RECIPIENT);
     }
 }