wlan: Active Mode Host Offload. HB and RSSI monitoring.
Feature to support RSSI,HB,ARP, BcnFilter offload to RIVA in Active mode
Change-Id: Id6efe310c8171917599dcd45b7866dfa9d04f71e
CR-Fixed: 430015
(cherry picked from commit 9f22e663fc171ac32c63c544a9d157cfa0391cbf)
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index 1628d13..9c5533d 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -94,6 +94,7 @@
#define MAC_ADDR_ARRAY(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]
#define MAC_ADDRESS_STR "%02x:%02x:%02x:%02x:%02x:%02x"
+#define FEATURE_NOT_SUPPORTED 128
#ifdef FEATURE_WLAN_SCAN_PNO
#define WDI_PNO_VERSION_MASK 0x8000
@@ -108,10 +109,22 @@
*/
static placeHolderInCapBitmap supportEnabledFeatures[] =
{MCC, P2P, DOT11AC, SLM_SESSIONIZATION, DOT11AC_OPMODE
+#ifdef WLAN_SOFTAP_VSTA_FEATURE
+ ,SAP32STA
+#else
+ ,FEATURE_NOT_SUPPORTED
+#endif
#ifdef FEATURE_WLAN_TDLS
- ,TDLS
+ ,TDLS
+#else
+ ,FEATURE_NOT_SUPPORTED
#endif
,P2P_GO_NOA_DECOUPLE_INIT_SCAN
+#ifdef WLAN_ACTIVEMODE_OFFLOAD_FEATURE
+ ,WLANACTIVE_OFFLOAD
+#else
+ ,FEATURE_NOT_SUPPORTED
+#endif
};
/*--------------------------------------------------------------------------
@@ -25134,6 +25147,20 @@
}
/**
+ @brief Disable Active mode offload in Host
+
+ @param void
+ @see
+ @return void
+*/
+void
+WDI_disableCapablityFeature(wpt_uint8 feature_index)
+{
+ supportEnabledFeatures[feature_index] = 0;
+ return;
+}
+
+/**
@brief Process Host-FW Capability Exchange Request function
@param pWDICtx: pointer to the WLAN DAL context