prima: WLAN Driver Release 3.2.0.9
diff --git a/CORE/MAC/src/pe/lim/limSerDesUtils.c b/CORE/MAC/src/pe/lim/limSerDesUtils.c
index 456f9d6..f9df7ec 100644
--- a/CORE/MAC/src/pe/lim/limSerDesUtils.c
+++ b/CORE/MAC/src/pe/lim/limSerDesUtils.c
@@ -187,14 +187,6 @@
if (limCheckRemainingLength(pMac, len) == eSIR_FAILURE)
return eSIR_FAILURE;
- // Extract the TITAN capability info
- // NOTE - titanHtCaps is now DWORD aligned
- pBssDescription->titanHtCaps = limGetU32( pBuf );
- pBuf += sizeof(tANI_U32);
- len -= sizeof(tANI_U32);
- if (limCheckRemainingLength(pMac, len) == eSIR_FAILURE)
- return eSIR_FAILURE;
-
//pass the timestamp
pBssDescription->nReceivedTime = limGetU32( pBuf );
pBuf += sizeof(tANI_TIMESTAMP);
@@ -593,17 +585,13 @@
pBuf += sizeof(tSirMacAddr);
bssInfoLen += sizeof(tSirMacAddr);
PELOG3(limLog(pMac, LOG3,
- FL("Copying new NeighborWds node:channel is %d, TITAN HT Caps are %1d, wniIndicator is %d, bssType is %d, bssId is "),
- pBssInfo->channelId, pBssInfo->titanHtCaps, pBssInfo->wniIndicator,
- pBssInfo->bssType);
+ FL("Copying new NeighborWds node:channel is %d, wniIndicator is %d, bssType is %d, bssId is "),
+ pBssInfo->channelId, pBssInfo->wniIndicator, pBssInfo->bssType);
limPrintMacAddr(pMac, pBssInfo->bssId, LOG3);)
*pBuf++ = pBssInfo->channelId;
bssInfoLen++;
- *pBuf++ = pBssInfo->titanHtCaps;
- bssInfoLen++;
-
limCopyU32(pBuf, pBssInfo->wniIndicator);
pBuf += sizeof(tANI_U32);
bssInfoLen += sizeof(tANI_U32);
@@ -1366,7 +1354,7 @@
len--;
// Extract CB secondary channel info
- pStartBssReq->cbMode = (tAniCBSecondaryMode)limGetU32( pBuf );
+ pStartBssReq->cbMode = (ePhyChanBondState)limGetU32( pBuf );
pBuf += sizeof( tANI_U32 );
len -= sizeof( tANI_U32 );
@@ -1789,6 +1777,12 @@
if (limCheckRemainingLength(pMac, len) == eSIR_FAILURE)
return eSIR_FAILURE;
+ // Extract cbMode
+ pJoinReq->cbMode = *pBuf++;
+ len--;
+ if (limCheckRemainingLength(pMac, len) == eSIR_FAILURE)
+ return eSIR_FAILURE;
+
// Extract uapsdPerAcBitmask
pJoinReq->uapsdPerAcBitmask = *pBuf++;
len--;
@@ -2193,11 +2187,6 @@
#endif
- // Copy the new TITAN capabilities
- *pBuf = pAssocInd->titanHtCaps;
- pBuf++;
- mLen++;
-
limCopyU32(pBuf, pAssocInd->spectrumMgtIndicator);
pBuf += sizeof(tAniBool);
mLen += sizeof(tAniBool);
@@ -2766,11 +2755,6 @@
mLen += sizeof(tANI_U32);
#endif
- // Copy the new TITAN capabilities
- *pBuf = pReassocInd->titanHtCaps;
- pBuf++;
- mLen++;
-
limCopyU32(pBuf, pReassocInd->spectrumMgtIndicator);
pBuf += sizeof(tAniBool);
mLen += sizeof(tAniBool);
@@ -3425,7 +3409,7 @@
pMac->lim.htCapabilityPresentInBeacon = 1;
else
pMac->lim.htCapabilityPresentInBeacon = 0;
- if (neighborBssInfo.localPowerConstraints && pMac->lim.gLim11hEnable)
+ if (neighborBssInfo.localPowerConstraints && pSessionEntry->lim11hEnable)
{
localPowerConstraints = neighborBssInfo.localPowerConstraints;
}