Pass TDLS Peer Capabilities for Rate Adaptation
Firmware needs the capabilities of the peer to implement the RA.
Update the peer's capabilities as part of the change station
from the supplicant.
Change-Id: Ic16ce5e58d4b96c9b49f24a6141e39ae786a6dce
CRs-fixed: 452921
diff --git a/CORE/SME/inc/smeInside.h b/CORE/SME/inc/smeInside.h
index 80c62c4..86b5f81 100644
--- a/CORE/SME/inc/smeInside.h
+++ b/CORE/SME/inc/smeInside.h
@@ -134,7 +134,16 @@
typedef struct TdlsAddStaInfo
{
+ eTdlsAddOper tdlsAddOper;
tSirMacAddr peerMac;
+ tANI_U16 capability;
+ tANI_U8 extnCapability[SIR_MAC_MAX_EXTN_CAP];
+ tANI_U8 supportedRatesLen;
+ tANI_U8 supportedRates[SIR_MAC_MAX_SUPP_RATES];
+ tSirHTCap HTCap;
+ tSirVHTCap VHTCap;
+ tANI_U8 uapsdQueues;
+ tANI_U8 maxSp;
} tTdlsAddStaCmdInfo;
typedef struct TdlsDelStaInfo
@@ -283,6 +292,7 @@
#ifdef FEATURE_WLAN_TDLS
eHalStatus csrTdlsSendMgmtReq(tHalHandle hHal, tANI_U8 sessionId, tCsrTdlsSendMgmt *tdlsSendMgmt);
eHalStatus csrTdlsAddPeerSta(tHalHandle hHal, tANI_U8 sessionId, tSirMacAddr peerMac);
+eHalStatus csrTdlsChangePeerSta(tHalHandle hHal, tANI_U8 sessionId, tSirMacAddr peerMac, tCsrStaParams *pstaParams);
eHalStatus csrTdlsDelPeerSta(tHalHandle hHal, tANI_U8 sessionId, tSirMacAddr peerMac);
eHalStatus csrTdlsProcessCmd(tpAniSirGlobal pMac,tSmeCmd *pCommand );
eHalStatus tdlsMsgProcessor(tpAniSirGlobal pMac,v_U16_t msg_type,