wlan: New feature, Set TX Power with SAP mode.
Current SET_TX_MAX_POWER command will limit TX power.
Set TX power is new requirement from customer
Change-Id: If40f45d3cfca46df8313d1d6213b04002e80165f
CRs-fixed: 451750
diff --git a/CORE/WDI/CP/inc/wlan_qct_wdi_i.h b/CORE/WDI/CP/inc/wlan_qct_wdi_i.h
index bcbf933..ea68ff5 100644
--- a/CORE/WDI/CP/inc/wlan_qct_wdi_i.h
+++ b/CORE/WDI/CP/inc/wlan_qct_wdi_i.h
@@ -442,6 +442,9 @@
/*WLAN DAL Get Roam Rssi Request*/
WDI_GET_ROAM_RSSI_REQ = 81,
+ /*WLAN DAL Set Tx Power Request*/
+ WDI_SET_TX_POWER_REQ = 82,
+
WDI_MAX_REQ,
/*Send a suspend Indication down to HAL*/
@@ -703,6 +706,8 @@
/* WLAN DAL Get Roam Rssi Response*/
WDI_GET_ROAM_RSSI_RESP = 80,
+ WDI_SET_TX_POWER_RESP = 81,
+
/*-------------------------------------------------------------------------
Indications
!! Keep these last in the enum if possible
@@ -2176,6 +2181,22 @@
);
/**
+ @brief Process Set Tx Power Request function (called when Main
+ FSM allows it)
+
+ @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_ProcessSetTxPowerReq
+(
+ WDI_ControlBlockType* pWDICtx,
+ WDI_EventInfoType* pEventData
+);
+
+/**
@brief Process P2P Notice Of Absence Request function (called when Main FSM
allows it)
@@ -3342,6 +3363,23 @@
WDI_EventInfoType* pEventData
);
+ /**
+ @brief Process Set Tx Power 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_ProcessSetTxPowerRsp
+(
+ WDI_ControlBlockType* pWDICtx,
+ WDI_EventInfoType* pEventData
+);
+
/**
@brief Process Nv download(called when a response
is being received over the bus from HAL)