qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in sAniGetTsmStatsReq

Replace tSirMacAddr with cdf_mac_addr in sAniGetTsmStatsReq.

Change-Id: I1f98fdfdaddf79af848c927d1443dcf6e52bcb54
CRs-Fixed: 898864
This commit is contained in:
Srinivas Girigowda 2015-09-24 16:19:14 -07:00 • committed by Satish Singh
commit 4962a56771
2 changed files with 4 additions and 2 deletions

View file

@ -1679,17 +1679,19 @@ typedef struct sAniTrafStrmMetrics {
uint8_t RoamingCount;
uint16_t RoamingDly;
} tAniTrafStrmMetrics, *tpAniTrafStrmMetrics;
typedef struct sAniGetTsmStatsReq {
/* Common for all types are requests */
uint16_t msgType; /* message type is same as the request type */
uint16_t msgLen; /* length of the entire request */
uint8_t staId;
uint8_t tid; /* traffic id */
tSirMacAddr bssId;
struct cdf_mac_addr bssId;
void *tsmStatsCallback;
void *pDevContext; /* device context */
void *p_cds_context; /* cds context */
} tAniGetTsmStatsReq, *tpAniGetTsmStatsReq;
typedef struct sAniGetTsmStatsRsp {
/* Common for all types are responses */
uint16_t msgType; /*

View file

@ -16043,7 +16043,7 @@ CDF_STATUS csr_get_tsm_stats(tpAniSirGlobal pMac,
pMsg->msgLen = (uint16_t) sizeof(tAniGetTsmStatsReq);
pMsg->staId = staId;
pMsg->tid = tid;
cdf_mem_copy(pMsg->bssId, bssId.bytes, sizeof(tSirMacAddr));
cdf_copy_macaddr(&pMsg->bssId, &bssId);
pMsg->tsmStatsCallback = callback;
pMsg->pDevContext = pContext;
pMsg->p_cds_context = p_cds_context;