wlan: set wificonfiguration(wfc) parameters to firmware
Program the wifi configurations in the firmware using the vendor
commands
We can set the following three parameters using wfc:
* Modulated DTIM
* Average Stats Factor
* Guard Time
* Existing infrastucture is used for setting the modulated DTIM,
We check if we are presently in BMPS then comeout of BMPS,
set the requested modulated DTIM and enter BMPS again. If we are
not in BMPS state, the requested value shall be effective when we
enter the BMPS state again.
* For Guard Time & Average stats factor new WDI command is sent to
firmware(WDI_WIFI_CONFIG_REQ) and the status of the response is
checked in WDI response callback and the message shall be dropped
in WDA.
Change-Id: I9ebd1daacdb06e88b064936efe86af78c7fbdac4
CRs-Fixed: 924853
diff --git a/CORE/MAC/src/include/sirParams.h b/CORE/MAC/src/include/sirParams.h
index bb605f9..3d3d76d 100644
--- a/CORE/MAC/src/include/sirParams.h
+++ b/CORE/MAC/src/include/sirParams.h
@@ -137,6 +137,7 @@
MEMORY_DUMP_SUPPORTED = 57,
PER_PKT_STATS_SUPPORTED = 58,
+ WIFI_CONFIG = 61,
//MAX_FEATURE_SUPPORTED = 128
} placeHolderInCapBitmap;
@@ -730,6 +731,7 @@
#define SIR_HAL_RSSI_MON_STOP_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 278)
#define SIR_HAL_HIGH_PRIORITY_DATA_INFO_IND (SIR_HAL_ITC_MSG_TYPES_BEGIN + 279)
+#define SIR_HAL_WIFI_CONFIG_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 280)
#define SIR_HAL_MSG_TYPES_END (SIR_HAL_MSG_TYPES_BEGIN + 0x1FF)
// CFG message types