qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in tSmeCsaOffloadInd

Replace tSirMacAddr with cdf_mac_addr in tSmeCsaOffloadInd.

Change-Id: Iaf4357b2da216d9f11ca35331d45bff5193a2ee9
CRs-Fixed: 898864
This commit is contained in:
Srinivas Girigowda
2015-11-25 12:42:32 -08:00
committed by Akash Patel
parent 4c9722cde0
commit 05123e5051
3 changed files with 6 additions and 6 deletions

View File

@@ -2144,7 +2144,7 @@ typedef struct sSmeMaxAssocInd {
typedef struct sSmeCsaOffloadInd { typedef struct sSmeCsaOffloadInd {
uint16_t mesgType; /* eWNI_SME_CSA_OFFLOAD_EVENT */ uint16_t mesgType; /* eWNI_SME_CSA_OFFLOAD_EVENT */
uint16_t mesgLen; uint16_t mesgLen;
tSirMacAddr bssId; /* BSSID */ struct cdf_mac_addr bssid; /* BSSID */
} tSmeCsaOffloadInd, *tpSmeCsaOffloadInd; } tSmeCsaOffloadInd, *tpSmeCsaOffloadInd;
/* WOW related structures */ /* WOW related structures */

View File

@@ -2212,13 +2212,13 @@ void lim_handle_csa_offload_msg(tpAniSirGlobal mac_ctx, tpSirMsgQ msg)
cdf_mem_set(csa_offload_ind, sizeof(tSmeCsaOffloadInd), 0); cdf_mem_set(csa_offload_ind, sizeof(tSmeCsaOffloadInd), 0);
csa_offload_ind->mesgType = eWNI_SME_CSA_OFFLOAD_EVENT; csa_offload_ind->mesgType = eWNI_SME_CSA_OFFLOAD_EVENT;
csa_offload_ind->mesgLen = sizeof(tSmeCsaOffloadInd); csa_offload_ind->mesgLen = sizeof(tSmeCsaOffloadInd);
cdf_mem_copy(csa_offload_ind->bssId, session_entry->bssId, cdf_mem_copy(csa_offload_ind->bssid.bytes, session_entry->bssId,
sizeof(tSirMacAddr)); CDF_MAC_ADDR_SIZE);
mmh_msg.type = eWNI_SME_CSA_OFFLOAD_EVENT; mmh_msg.type = eWNI_SME_CSA_OFFLOAD_EVENT;
mmh_msg.bodyptr = csa_offload_ind; mmh_msg.bodyptr = csa_offload_ind;
mmh_msg.bodyval = 0; mmh_msg.bodyval = 0;
lim_log(mac_ctx, LOG1, lim_log(mac_ctx, LOG1,
FL("Sending eWNI_SME_CSA_OFFLOAD_EVENT to SME. ")); FL("Sending eWNI_SME_CSA_OFFLOAD_EVENT to SME."));
MTRACE(mac_trace_msg_tx MTRACE(mac_trace_msg_tx
(mac_ctx, session_entry->peSessionId, mmh_msg.type)); (mac_ctx, session_entry->peSessionId, mmh_msg.type));
#ifdef FEATURE_WLAN_DIAG_SUPPORT #ifdef FEATURE_WLAN_DIAG_SUPPORT

View File

@@ -2162,13 +2162,13 @@ void csr_scan_flush_bss_entry(tpAniSirGlobal pMac,
while (pEntry != NULL) { while (pEntry != NULL) {
pBssDesc = GET_BASE_ADDR(pEntry, tCsrScanResult, Link); pBssDesc = GET_BASE_ADDR(pEntry, tCsrScanResult, Link);
if (cdf_mem_compare(pBssDesc->Result.BssDescriptor.bssId, if (cdf_mem_compare(pBssDesc->Result.BssDescriptor.bssId,
pCsaOffloadInd->bssId, sizeof(tSirMacAddr))) { pCsaOffloadInd->bssid.bytes, CDF_MAC_ADDR_SIZE)) {
pFreeElem = pEntry; pFreeElem = pEntry;
pEntry = csr_ll_next(pList, pEntry, LL_ACCESS_NOLOCK); pEntry = csr_ll_next(pList, pEntry, LL_ACCESS_NOLOCK);
csr_ll_remove_entry(pList, pFreeElem, LL_ACCESS_NOLOCK); csr_ll_remove_entry(pList, pFreeElem, LL_ACCESS_NOLOCK);
csr_free_scan_result_entry(pMac, pBssDesc); csr_free_scan_result_entry(pMac, pBssDesc);
sms_log(pMac, LOG1, FL("Removed BSS entry:%pM"), sms_log(pMac, LOG1, FL("Removed BSS entry:%pM"),
pCsaOffloadInd->bssId); pCsaOffloadInd->bssid.bytes);
continue; continue;
} }