wlan: add update channel list request support
Add capability to support dynamic updation of scan channel list based
on the change in country code.
Change-Id: I5d898617932fe07026f1e6423c676a6838ee5405
CRs-Fixed: 605330
diff --git a/CORE/WDI/CP/inc/wlan_qct_wdi_i.h b/CORE/WDI/CP/inc/wlan_qct_wdi_i.h
index 5159d00..334cfc4 100644
--- a/CORE/WDI/CP/inc/wlan_qct_wdi_i.h
+++ b/CORE/WDI/CP/inc/wlan_qct_wdi_i.h
@@ -441,6 +441,8 @@
/*WLAN DAL Set Max Tx Power Per band Request*/
WDI_SET_MAX_TX_POWER_PER_BAND_REQ = 87,
+ WDI_UPDATE_CHAN_REQ = 88,
+
WDI_MAX_REQ,
/*Send a suspend Indication down to HAL*/
@@ -739,6 +741,8 @@
WDI_SET_BATCH_SCAN_RESP = 85,
WDI_SET_MAX_TX_POWER_PER_BAND_RSP = 86,
+
+ WDI_UPDATE_CHAN_RESP = 87,
/*-------------------------------------------------------------------------
Indications
!! Keep these last in the enum if possible
@@ -2798,6 +2802,22 @@
);
#endif /* FEATURE_WLAN_LPHB */
+/**
+ @brief WDI_ProcessUpdateChannelParamsReq -
+ Send update channel request to FW
+
+ @param pWDICtx : wdi context
+ pEventData : indication data
+
+ @see
+ @return success or failure
+*/
+WDI_Status WDI_ProcessUpdateChannelParamsReq
+(
+ WDI_ControlBlockType* pWDICtx,
+ WDI_EventInfoType* pEventData
+);
+
#ifdef FEATURE_WLAN_BATCH_SCAN
/**
@brief WDI_ProcessSetBatchScanReq -
@@ -3520,6 +3540,23 @@
);
/**
+ @brief Process Update Channel Rsp function (called when a response is
+ being received over the bus from HAL)
+
+ @param pWDICtx: pointer to the WLAN DAL context
+ pEventData: pointer to the event information structure
+
+ @see
+ @return Result of the function call
+*/
+WDI_Status
+WDI_ProcessUpdateChanRsp
+(
+ WDI_ControlBlockType* pWDICtx,
+ WDI_EventInfoType* pEventData
+);
+
+/**
@brief Process Get Stats Rsp function (called when a response is
being received over the bus from HAL)