summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@qca.qualcomm.com>2014-10-01 17:05:03 -0700
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2014-10-17 12:46:59 +0530
commit2d0ca47d22cf7b1463bdbc78bbfb169c716add34 (patch)
tree08394b29a106b01c9f112ae684946c0fcccd9f0f
parent31dbef0036990f6e585e3f0e292aede4ef5bf816 (diff)
qcacld: UMAC: Remove aniParameter and unreferenced code
1. Remove obsolete aniPeer, aniIndicator and propCapability code. 2. Remove unreferenced limCopyBssDescription() function 3. Remove aniCompiler.h file Change-Id: Ie07cc13fcbfc445b114ea9789912dc3aa0c4c7e2 CRs-Fixed: 733748
-rw-r--r--CORE/MAC/inc/aniCompiler.h144
-rw-r--r--CORE/MAC/inc/sirApi.h2
-rw-r--r--CORE/MAC/inc/sirMacPropExts.h6
-rw-r--r--CORE/MAC/inc/sirMacProtDef.h1
-rw-r--r--CORE/MAC/src/include/dphGlobal.h9
-rw-r--r--CORE/MAC/src/pe/include/limGlobal.h4
-rw-r--r--CORE/MAC/src/pe/lim/limAdmitControl.c11
-rw-r--r--CORE/MAC/src/pe/lim/limIbssPeerMgmt.c8
-rw-r--r--CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c8
-rw-r--r--CORE/MAC/src/pe/lim/limPropExtsUtils.c7
-rw-r--r--CORE/MAC/src/pe/lim/limScanResultUtils.c5
-rw-r--r--CORE/MAC/src/pe/lim/limSendManagementFrames.c1
-rw-r--r--CORE/MAC/src/pe/lim/limSendSmeRspMessages.c1
-rw-r--r--CORE/MAC/src/pe/lim/limSerDesUtils.c95
14 files changed, 9 insertions, 293 deletions
diff --git a/CORE/MAC/inc/aniCompiler.h b/CORE/MAC/inc/aniCompiler.h
deleted file mode 100644
index 81934142fac4..000000000000
--- a/CORE/MAC/inc/aniCompiler.h
+++ /dev/null
@@ -1,144 +0,0 @@
-/*
- * Copyright (c) 2011-2012 The Linux Foundation. All rights reserved.
- *
- * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
- *
- *
- * Permission to use, copy, modify, and/or distribute this software for
- * any purpose with or without fee is hereby granted, provided that the
- * above copyright notice and this permission notice appear in all
- * copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
- * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
- * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
- * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
- * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- * PERFORMANCE OF THIS SOFTWARE.
- */
-
-/*
- * This file was originally distributed by Qualcomm Atheros, Inc.
- * under proprietary terms before Copyright ownership was assigned
- * to the Linux Foundation.
- */
-
-/*
- * Compiler abstraction layer
- *
- *
- *
- * This file tries to abstract the differences among compilers.
- * Supported compilers are :
- *
- * - GNU C/C++ compiler
- * - Microsoft C/C++ compiler
- * - Intel C/C++ compiler
- *
- * Written by Ho Lee
- */
-
-#ifndef __ANI_COMPILER_ABSTRACT_H
-#define __ANI_COMPILER_ABSTRACT_H
-
-/*
- * 1. GNU C/C++ Compiler
- *
- * How to detect gcc : __GNUC__
- * How to detect gcc version :
- * major version : __GNUC__ (2 = 2.x, 3 = 3.x, 4 = 4.x)
- * minor version : __GNUC_MINOR__
- *
- * 2. Microsoft C/C++ Compiler
- *
- * How to detect msc : _MSC_VER
- * How to detect msc version :
- * _MSC_VER (1200 = MSVC 6.0, 1300 = MSVC 7.0, ...)
- *
- * 3. Intel C/C++ Compiler
- *
- * How to detect icc : __INTEL_COMPILER, __ICC (legacy), __ECC (legacy)
- * How to detect icc version :
- * __INTEL_COMPILER, __ICC, __ECC (700 = 7.0, 900 = 9.0, ...)
- *
- * 4. Other compilers (not supported)
- *
- * Borland : __BORLANDC__
- * Greenhills : __ghs
- * Metrowerks : __MWERKS__
- * SGI MIPSpro : __sgi
- */
-
-/*
- * Packing directives : These are used to force compiler to pack bits and
- * bytes in the data structure. C standard does not regulate this strictly,
- * and many things are to compiler implementation. Many compilers support
- * compiler specific directives or options that allow different packing
- * and alignment.
- *
- * Alignment directives : Compiler may think packed data structures have
- * no specific alignment requirement. Then compiler may generate multiple
- * byte accesses to access two byte or four bytes data structures. This
- * affects on performance especially for RISC systems. If some data
- * structure is located on specific alignment always, alignment directives
- * help compiler generate more efficient codes.
- */
-
-#undef __ANI_COMPILER_PRAGMA_PACK_STACK
-#undef __ANI_COMPILER_PRAGMA_PACK
-
-#if defined(_MSC_VER)
-#define __ANI_COMPILER_PRAGMA_PACK_STACK 1
-#define __ANI_COMPILER_PRAGMA_PACK 1
-#define __ani_attr_pre_packed
-#define __ani_attr_packed
-#define __ani_attr_aligned_2
-#define __ani_attr_aligned_4
-#define __ani_attr_aligned_8
-#define __ani_attr_aligned_16
-#define __ani_attr_aligned_32
-#elif defined(__INTEL_COMPILER) || defined(__ICC) || defined(__ECC)
-#define __ANI_COMPILER_PRAGMA_PACK 1
-#define __ani_attr_pre_packed
-#define __ani_attr_packed
-#define __ani_attr_aligned_2
-#define __ani_attr_aligned_4
-#define __ani_attr_aligned_8
-#define __ani_attr_aligned_16
-#define __ani_attr_aligned_32
-#elif defined(__GNUC__)
-#define __ani_attr_pre_packed
-#define __ani_attr_packed __packed
-#define __ani_attr_aligned_2 __attribute__((aligned(2)))
-#define __ani_attr_aligned_4 __attribute__((aligned(4)))
-#define __ani_attr_aligned_8 __attribute__((aligned(8)))
-#define __ani_attr_aligned_16 __attribute__((aligned(16)))
-#define __ani_attr_aligned_32 __attribute__((aligned(32)))
-#elif defined(ANI_COMPILER_TYPE_RVCT)
-/* Nothing defined so far */
-#define __ani_attr_packed
-#define __ani_attr_pre_packed __packed
-#define __ani_attr_aligned_2 __align(2)
-#define __ani_attr_aligned_4 __align(4)
-#define __ani_attr_aligned_8 __align(8)
-#define __ani_attr_aligned_16 __align(16)
-#define __ani_attr_aligned_32 __align(32)
-#else
-#error "Unknown compiler"
-#endif
-
-#if defined(ANI_DATAPATH_SECTION)
-#define __DP_SRC_RX __attribute__((section(".dpsrcrx")))
-#define __DP_SRC_TX __attribute__((section(".dpsrctx")))
-#define __DP_SRC __attribute__((section(".dpsrc")))
-#define __ANIHDD_MODULE __attribute__((section(".anihdd")))
-#else
-#define __DP_SRC_RX
-#define __DP_SRC_TX
-#define __DP_SRC
-#define __ANIHDD_MODULE
-#endif
-
-#endif
diff --git a/CORE/MAC/inc/sirApi.h b/CORE/MAC/inc/sirApi.h
index 098366c03ce4..be31d175ecaf 100644
--- a/CORE/MAC/inc/sirApi.h
+++ b/CORE/MAC/inc/sirApi.h
@@ -685,7 +685,7 @@ typedef struct sSirBssDescription
tANI_U16 beaconInterval;
tANI_U16 capabilityInfo;
tSirNwType nwType; // Indicates 11a/b/g
- tANI_U8 aniIndicator;
+ tANI_U8 reservedPadding0;
tANI_S8 rssi;
tANI_S8 sinr;
//channelId what peer sent in beacon/probersp.
diff --git a/CORE/MAC/inc/sirMacPropExts.h b/CORE/MAC/inc/sirMacPropExts.h
index 369619096d4f..05bfb429a8f1 100644
--- a/CORE/MAC/inc/sirMacPropExts.h
+++ b/CORE/MAC/inc/sirMacPropExts.h
@@ -48,10 +48,6 @@
#define PROP_CAPABILITY_GET(bitname, value) \
(((value) >> SIR_MAC_PROP_CAPABILITY_ ## bitname) & 1)
-
-#define IS_DOT11_MODE_PROPRIETARY(dot11Mode) \
- ((dot11Mode == WNI_CFG_DOT11_MODE_ALL) ? TRUE: FALSE)
-
#define IS_DOT11_MODE_HT(dot11Mode) \
(((dot11Mode == WNI_CFG_DOT11_MODE_11N) || \
(dot11Mode == WNI_CFG_DOT11_MODE_11N_ONLY) || \
@@ -101,8 +97,6 @@ typedef struct sSirMacPropVersion
// generic proprietary IE structure definition
typedef struct sSirPropIEStruct
{
- tANI_U8 aniIndicator;
-
tANI_U8 propRatesPresent:1;
tANI_U8 apNamePresent:1;
tANI_U8 loadBalanceInfoPresent:1;
diff --git a/CORE/MAC/inc/sirMacProtDef.h b/CORE/MAC/inc/sirMacProtDef.h
index 97ba0e8afa2c..9dd6542190b9 100644
--- a/CORE/MAC/inc/sirMacProtDef.h
+++ b/CORE/MAC/inc/sirMacProtDef.h
@@ -42,7 +42,6 @@
#include "palTypes.h"
#include "sirTypes.h"
#include "wniCfgSta.h"
-#include "aniCompiler.h"
///Capability information related
diff --git a/CORE/MAC/src/include/dphGlobal.h b/CORE/MAC/src/include/dphGlobal.h
index ac6a2e1caf41..eec04b0515de 100644
--- a/CORE/MAC/src/include/dphGlobal.h
+++ b/CORE/MAC/src/include/dphGlobal.h
@@ -274,10 +274,6 @@ typedef struct sDphHashNode
tANI_U8 staAuthenticated:1;
- /// Whether the peer is ANI or not
-
- tANI_U8 aniPeer:1;
-
tANI_U8 fAniCount:1;
tANI_U8 rmfEnabled:1;
@@ -316,11 +312,6 @@ typedef struct sDphHashNode
tSirMacPropVersion version;
- // station proprietary capability
-
- tANI_U16 propCapability;
-
-
#ifdef PLM_WDS
tANI_U8 wdsIndex;
diff --git a/CORE/MAC/src/pe/include/limGlobal.h b/CORE/MAC/src/pe/include/limGlobal.h
index 543b22fc3229..fd4c704bb859 100644
--- a/CORE/MAC/src/pe/include/limGlobal.h
+++ b/CORE/MAC/src/pe/include/limGlobal.h
@@ -453,21 +453,19 @@ struct tLimIbssPeerNode
{
tLimIbssPeerNode *next;
tSirMacAddr peerMacAddr;
- tANI_U8 aniIndicator:1;
tANI_U8 extendedRatesPresent:1;
tANI_U8 edcaPresent:1;
tANI_U8 wmeEdcaPresent:1;
tANI_U8 wmeInfoPresent:1;
tANI_U8 htCapable:1;
tANI_U8 vhtCapable:1;
- tANI_U8 rsvd:1;
+ tANI_U8 rsvd:2;
tANI_U8 htSecondaryChannelOffset;
tSirMacCapabilityInfo capabilityInfo;
tSirMacRateSet supportedRates;
tSirMacRateSet extendedRates;
tANI_U8 supportedMCSSet[SIZE_OF_SUPPORTED_MCS_SET];
tSirMacEdcaParamSetIE edcaParams;
- tANI_U16 propCapability;
tANI_U8 erpIePresent;
//HT Capabilities of IBSS Peer
diff --git a/CORE/MAC/src/pe/lim/limAdmitControl.c b/CORE/MAC/src/pe/lim/limAdmitControl.c
index de3d14f05f2e..c0c37ec85fee 100644
--- a/CORE/MAC/src/pe/lim/limAdmitControl.c
+++ b/CORE/MAC/src/pe/lim/limAdmitControl.c
@@ -62,15 +62,6 @@
#define LIM_CONVERT_SIZE_BITS(numBytes) ((numBytes) * 8)
#define LIM_CONVERT_RATE_MBPS(rate) ((rate)/1000000)
-/* ANI sta's support enhanced rates, so the effective medium time used is
- * half that of other stations. This is the same as if they were requesting
- * half the badnwidth - so we adjust ANI sta's accordingly for bandwidth
- * calculations. Also enhanced rates apply only in case of non 11B mode.
- */
-#define LIM_STA_BW_ADJUST(aniPeer, phyMode, bw) \
- (((aniPeer) && ((phyMode) != WNI_CFG_PHY_MODE_11B)) \
- ? ((bw)/2) : (bw))
-
//------------------------------------------------------------------------------
// local protos
@@ -257,7 +248,7 @@ limComputeMeanBwUsed(
ctspec, pTspecInfo->assocId);
continue;
}
- *pBw += LIM_STA_BW_ADJUST(pSta->aniPeer, phyMode, pTspecInfo->tspec.meanDataRate);
+ *pBw += pTspecInfo->tspec.meanDataRate;
}
}
}
diff --git a/CORE/MAC/src/pe/lim/limIbssPeerMgmt.c b/CORE/MAC/src/pe/lim/limIbssPeerMgmt.c
index 0f2810853782..1a3947d3a883 100644
--- a/CORE/MAC/src/pe/lim/limIbssPeerMgmt.c
+++ b/CORE/MAC/src/pe/lim/limIbssPeerMgmt.c
@@ -293,14 +293,6 @@ ibss_sta_caps_update(
}
#endif
- if(IS_DOT11_MODE_PROPRIETARY(psessionEntry->dot11mode) &&
- pPeerNode->aniIndicator)
- {
- pStaDs->aniPeer = pPeerNode->aniIndicator;
- pStaDs->propCapability = pPeerNode->propCapability;
- }
-
-
// peer is 11e capable but is not 11e enabled yet
// some STA's when joining Airgo IBSS, assert qos capability even when
// they don't suport qos. however, they do not include the edca parameter
diff --git a/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c b/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c
index cb6a21363066..978271ed4178 100644
--- a/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c
+++ b/CORE/MAC/src/pe/lim/limProcessAssocReqFrame.c
@@ -1128,8 +1128,6 @@ sendIndToSme:
pStaDs->shortPreambleEnabled = (tANI_U8)pAssocReq->capabilityInfo.shortPreamble;
pStaDs->shortSlotTimeEnabled = (tANI_U8)pAssocReq->capabilityInfo.shortSlotTime;
- pStaDs->propCapability = 0;
-
pStaDs->valid = 0;
pStaDs->mlmStaContext.authType = authType;
pStaDs->staType = STA_ENTRY_PEER;
@@ -1316,9 +1314,6 @@ if (limPopulateMatchingRateSet(pMac,
// Re/Assoc Response frame to requesting STA
pStaDs->mlmStaContext.subType = subType;
- if (pAssocReq->propIEinfo.aniIndicator)
- pStaDs->aniPeer = 1;
-
#ifdef WLAN_FEATURE_11W
pStaDs->rmfEnabled = (pmfConnection) ? 1 : 0;
pStaDs->pmfSaQueryState = DPH_SA_QUERY_NOT_IN_PROGRESS;
@@ -1761,9 +1756,6 @@ void limSendMlmAssocInd(tpAniSirGlobal pMac, tpDphHashNode pStaDs, tpPESession p
vos_mem_copy((tANI_U8 *)&pMlmReassocInd->ssId,
(tANI_U8 *)&(pAssocReq->ssId), pAssocReq->ssId.length + 1);
- if (pAssocReq->propIEinfo.aniIndicator)
- pStaDs->aniPeer = 1;
-
pMlmReassocInd->capabilityInfo = pAssocReq->capabilityInfo;
pMlmReassocInd->rsnIE.length = 0;
diff --git a/CORE/MAC/src/pe/lim/limPropExtsUtils.c b/CORE/MAC/src/pe/lim/limPropExtsUtils.c
index b5bd84ec07db..43cbc88b6396 100644
--- a/CORE/MAC/src/pe/lim/limPropExtsUtils.c
+++ b/CORE/MAC/src/pe/lim/limPropExtsUtils.c
@@ -109,8 +109,7 @@ limExtractApCapability(tpAniSirGlobal pMac, tANI_U8 *pIE, tANI_U16 ieLen,
LIM_BSS_CAPS_SET(WME, *qosCap);
if (LIM_BSS_CAPS_GET(WME, *qosCap) && pBeaconStruct->wsmCapablePresent)
LIM_BSS_CAPS_SET(WSM, *qosCap);
- if (pBeaconStruct->propIEinfo.aniIndicator &&
- pBeaconStruct->propIEinfo.capabilityPresent)
+ if (pBeaconStruct->propIEinfo.capabilityPresent)
*propCap = pBeaconStruct->propIEinfo.capability;
if (pBeaconStruct->HTCaps.present)
pMac->lim.htCapabilityPresentInBeacon = 1;
@@ -244,9 +243,7 @@ ePhyChanBondState limGetHTCBState(ePhyChanBondState aniCBMode)
* limGetStaPeerType
*
*FUNCTION:
- * Based on a combination of the following -
- * 2) tDphHashNode.propCapability
- * this API determines if a given STA is an ANI peer or not
+ * This API returns STA peer type
*
*LOGIC:
*
diff --git a/CORE/MAC/src/pe/lim/limScanResultUtils.c b/CORE/MAC/src/pe/lim/limScanResultUtils.c
index 69789ffdbcfa..995e30d05804 100644
--- a/CORE/MAC/src/pe/lim/limScanResultUtils.c
+++ b/CORE/MAC/src/pe/lim/limScanResultUtils.c
@@ -239,8 +239,6 @@ limCollectBssDescription(tpAniSirGlobal pMac,
channelNum = pBssDescr->channelId;
pBssDescr->nwType = limGetNwType(pMac, channelNum, SIR_MAC_MGMT_FRAME, pBPR);
- pBssDescr->aniIndicator = pBPR->propIEinfo.aniIndicator;
-
// Copy RSSI & SINR from BD
PELOG4(limLog(pMac, LOG4, "***********BSS Description for BSSID:*********** ");
@@ -297,10 +295,9 @@ limCollectBssDescription(tpAniSirGlobal pMac,
pBPR->channelNumber = pBssDescr->channelId;
limLog( pMac, LOG3,
- FL("Collected BSS Description for Channel(%1d), length(%u), aniIndicator(%d), IE Fields(%u)"),
+ FL("Collected BSS Description for Channel(%1d), length(%u), IE Fields(%u)"),
pBssDescr->channelId,
pBssDescr->length,
- pBssDescr->aniIndicator,
ieLen );
return eHAL_STATUS_SUCCESS;
diff --git a/CORE/MAC/src/pe/lim/limSendManagementFrames.c b/CORE/MAC/src/pe/lim/limSendManagementFrames.c
index ff4a1710f17b..ced3f8bff9ba 100644
--- a/CORE/MAC/src/pe/lim/limSendManagementFrames.c
+++ b/CORE/MAC/src/pe/lim/limSendManagementFrames.c
@@ -2303,7 +2303,6 @@ limSendAssocReqMgmtFrame(tpAniSirGlobal pMac,
if (psessionEntry->htCapability &&
pMac->lim.htCapabilityPresentInBeacon) {
PopulateDot11fHTCaps(pMac, psessionEntry, &pFrm->HTCaps);
-
}
#ifdef WLAN_FEATURE_11AC
if ( psessionEntry->vhtCapability &&
diff --git a/CORE/MAC/src/pe/lim/limSendSmeRspMessages.c b/CORE/MAC/src/pe/lim/limSendSmeRspMessages.c
index c608aac6017d..8d86483acf66 100644
--- a/CORE/MAC/src/pe/lim/limSendSmeRspMessages.c
+++ b/CORE/MAC/src/pe/lim/limSendSmeRspMessages.c
@@ -642,7 +642,6 @@ limSendSmeStartBssRsp(tpAniSirGlobal pMac,
limGetPhyMode(pMac, (tANI_U32 *)&pSirSmeRsp->bssDescription.nwType, psessionEntry);
pSirSmeRsp->bssDescription.channelId = psessionEntry->currentOperChannel;
- pSirSmeRsp->bssDescription.aniIndicator = 1;
curLen = psessionEntry->schBeaconOffsetBegin - ieOffset;
vos_mem_copy( (tANI_U8 *) &pSirSmeRsp->bssDescription.ieFields,
diff --git a/CORE/MAC/src/pe/lim/limSerDesUtils.c b/CORE/MAC/src/pe/lim/limSerDesUtils.c
index 2c1d883cf0d3..09be983cd5e2 100644
--- a/CORE/MAC/src/pe/lim/limSerDesUtils.c
+++ b/CORE/MAC/src/pe/lim/limSerDesUtils.c
@@ -162,9 +162,9 @@ limGetBssDescription( tpAniSirGlobal pMac, tSirBssDescription *pBssDescription,
if (limCheckRemainingLength(pMac, len) == eSIR_FAILURE)
return eSIR_FAILURE;
- // Extract aniIndicator
- pBssDescription->aniIndicator = *pBuf++;
- len --;
+ /* 1 reserved byte for padding */
+ pBuf += sizeof(pBssDescription->reservedPadding0);
+ len -= sizeof(pBssDescription->reservedPadding0);
// Extract rssi
pBssDescription->rssi = (tANI_S8) *pBuf++;
@@ -303,95 +303,6 @@ limGetBssDescription( tpAniSirGlobal pMac, tSirBssDescription *pBssDescription,
} /*** end limGetBssDescription() ***/
-
-/**
- * limCopyBssDescription()
- *
- *FUNCTION:
- * This function is called by various LIM functions to copy
- * BSS description to a tANI_U8 buffer
- *
- *LOGIC:
- *
- *ASSUMPTIONS:
- * NA
- *
- *NOTE:
- * NA
- *
- * @param *pBuf Pointer to the destination buffer
- * @param pBssDescription Pointer to the BssDescription being copied
- * @return Length of BSSdescription written
- */
-
-tANI_U16
-limCopyBssDescription(tpAniSirGlobal pMac, tANI_U8 *pBuf, tSirBssDescription *pBssDescription)
-{
- tANI_U16 len = 0;
-
- limCopyU16(pBuf, pBssDescription->length);
- pBuf += sizeof(tANI_U16);
- len += sizeof(tANI_U16);
-
- vos_mem_copy( pBuf,
- (tANI_U8 *) pBssDescription->bssId,
- sizeof(tSirMacAddr));
- pBuf += sizeof(tSirMacAddr);
- len += sizeof(tSirMacAddr);
-
- PELOG3(limLog(pMac, LOG3,
- FL("Copying BSSdescr:channel is %d, aniInd is %d, bssId is "),
- pBssDescription->channelId, pBssDescription->aniIndicator);
- limPrintMacAddr(pMac, pBssDescription->bssId, LOG3);)
-
- vos_mem_copy( pBuf,
- (tANI_U8 *) (&pBssDescription->scanSysTimeMsec),
- sizeof(v_TIME_t));
- pBuf += sizeof(v_TIME_t);
- len += sizeof(v_TIME_t);
-
- limCopyU32(pBuf, pBssDescription->timeStamp[0]);
- pBuf += sizeof(tANI_U32);
- len += sizeof(tANI_U32);
-
- limCopyU32(pBuf, pBssDescription->timeStamp[1]);
- pBuf += sizeof(tANI_U32);
- len += sizeof(tANI_U32);
-
- limCopyU16(pBuf, pBssDescription->beaconInterval);
- pBuf += sizeof(tANI_U16);
- len += sizeof(tANI_U16);
-
- limCopyU16(pBuf, pBssDescription->capabilityInfo);
- pBuf += sizeof(tANI_U16);
- len += sizeof(tANI_U16);
-
- limCopyU32(pBuf, pBssDescription->nwType);
- pBuf += sizeof(tANI_U32);
- len += sizeof(tANI_U32);
-
- *pBuf++ = pBssDescription->aniIndicator;
- len++;
-
- *pBuf++ = pBssDescription->rssi;
- len++;
-
- *pBuf++ = pBssDescription->sinr;
- len++;
-
- *pBuf++ = pBssDescription->channelId;
- len++;
-
- vos_mem_copy( pBuf, (tANI_U8 *) &(pBssDescription->ieFields),
- limGetIElenFromBssDescription(pBssDescription));
-
- return (len + sizeof(tANI_U16));
-} /*** end limCopyBssDescription() ***/
-
-
-
-
-
/**
* limGetKeysInfo()
*