|
@@ -181,9 +181,9 @@ static QDF_STATUS csr_sae_callback(struct mac_context *mac_ctx,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
- sme_debug("vdev_id %d "QDF_MAC_ADDR_STR"",
|
|
|
+ sme_debug("vdev_id %d "QDF_MAC_ADDR_FMT,
|
|
|
sae_info->vdev_id,
|
|
|
- QDF_MAC_ADDR_ARRAY(sae_info->peer_mac_addr.bytes));
|
|
|
+ QDF_MAC_ADDR_REF(sae_info->peer_mac_addr.bytes));
|
|
|
|
|
|
session_id = sae_info->vdev_id;
|
|
|
if (session_id == WLAN_UMAC_VDEV_ID_MAX)
|
|
@@ -547,8 +547,8 @@ csr_roam_issue_disassociate(struct mac_context *mac, uint32_t sessionId,
|
|
|
sizeof(struct qdf_mac_addr));
|
|
|
}
|
|
|
|
|
|
- sme_debug("Disassociate Bssid " QDF_MAC_ADDR_STR " subState: %s reason: %d",
|
|
|
- QDF_MAC_ADDR_ARRAY(bssId.bytes),
|
|
|
+ sme_debug("Disassociate Bssid " QDF_MAC_ADDR_FMT " subState: %s reason: %d",
|
|
|
+ QDF_MAC_ADDR_REF(bssId.bytes),
|
|
|
mac_trace_getcsr_roam_sub_state(NewSubstate),
|
|
|
reasonCode);
|
|
|
|
|
@@ -2105,8 +2105,8 @@ static void csr_send_ese_adjacent_ap_rep_ind(struct mac_context *mac,
|
|
|
return;
|
|
|
roamTS2 = qdf_mc_timer_get_system_time();
|
|
|
roam_info->tsmRoamDelay = roamTS2 - pSession->roamTS1;
|
|
|
- sme_debug("Bssid(" QDF_MAC_ADDR_STR ") Roaming Delay(%u ms)",
|
|
|
- QDF_MAC_ADDR_ARRAY(pSession->connectedProfile.bssid.bytes),
|
|
|
+ sme_debug("Bssid(" QDF_MAC_ADDR_FMT ") Roaming Delay(%u ms)",
|
|
|
+ QDF_MAC_ADDR_REF(pSession->connectedProfile.bssid.bytes),
|
|
|
roam_info->tsmRoamDelay);
|
|
|
|
|
|
pe_session = pe_find_session_by_bssid(mac,
|
|
@@ -3436,11 +3436,11 @@ csr_connect_info(struct mac_context *mac_ctx,
|
|
|
conn_stats.reason_code = 0;
|
|
|
conn_stats.op_freq = conn_profile->op_freq;
|
|
|
sme_nofl_debug("+---------CONNECTION INFO START------------+");
|
|
|
- sme_nofl_debug("VDEV-ID: %d self_mac:%pM", session->vdev_id,
|
|
|
- session->self_mac_addr.bytes);
|
|
|
- sme_nofl_debug("ssid: %.*s bssid: %pM RSSI: %d dBm",
|
|
|
+ sme_nofl_debug("VDEV-ID: %d self_mac:"QDF_MAC_ADDR_FMT, session->vdev_id,
|
|
|
+ QDF_MAC_ADDR_REF(session->self_mac_addr.bytes));
|
|
|
+ sme_nofl_debug("ssid: %.*s bssid: "QDF_MAC_ADDR_FMT" RSSI: %d dBm",
|
|
|
conn_stats.ssid_len, conn_stats.ssid,
|
|
|
- conn_stats.bssid, conn_stats.rssi);
|
|
|
+ QDF_MAC_ADDR_REF(conn_stats.bssid), conn_stats.rssi);
|
|
|
sme_nofl_debug("Channel Freq: %d channel_bw: %s dot11Mode: %s", conn_stats.op_freq,
|
|
|
csr_get_ch_width_str(conn_stats.chnl_bw),
|
|
|
csr_get_dot11_mode_str(conn_stats.dot11mode));
|
|
@@ -3479,7 +3479,8 @@ void csr_get_sta_cxn_info(struct mac_context *mac_ctx,
|
|
|
return;
|
|
|
qdf_mem_set(buf, buf_sz, '\0');
|
|
|
len += qdf_scnprintf(buf + len, buf_sz - len,
|
|
|
- "\n\tbssid: %pM", conn_profile->bssid.bytes);
|
|
|
+ "\n\tbssid: "QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(conn_profile->bssid.bytes));
|
|
|
len += qdf_scnprintf(buf + len, buf_sz - len,
|
|
|
"\n\tssid: %.*s", conn_profile->SSID.length,
|
|
|
conn_profile->SSID.ssId);
|
|
@@ -3832,8 +3833,8 @@ csr_is_deauth_disassoc_already_active(struct mac_context *mac_ctx,
|
|
|
peer_macaddr);
|
|
|
|
|
|
if (ret)
|
|
|
- sme_debug("Deauth/Disassoc already in progress for %pM",
|
|
|
- peer_macaddr.bytes);
|
|
|
+ sme_debug("Deauth/Disassoc already in progress for "QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(peer_macaddr.bytes));
|
|
|
|
|
|
return ret;
|
|
|
}
|
|
@@ -3970,8 +3971,8 @@ QDF_STATUS csr_roam_issue_deauth(struct mac_context *mac, uint32_t sessionId,
|
|
|
qdf_mem_copy(bssId.bytes, pSession->pConnectBssDesc->bssId,
|
|
|
sizeof(struct qdf_mac_addr));
|
|
|
}
|
|
|
- sme_debug("Deauth to Bssid " QDF_MAC_ADDR_STR,
|
|
|
- QDF_MAC_ADDR_ARRAY(bssId.bytes));
|
|
|
+ sme_debug("Deauth to Bssid " QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(bssId.bytes));
|
|
|
csr_roam_substate_change(mac, NewSubstate, sessionId);
|
|
|
|
|
|
status =
|
|
@@ -3981,8 +3982,8 @@ QDF_STATUS csr_roam_issue_deauth(struct mac_context *mac, uint32_t sessionId,
|
|
|
csr_roam_link_down(mac, sessionId);
|
|
|
else {
|
|
|
sme_err("csr_send_mb_deauth_req_msg failed with status %d Session ID: %d"
|
|
|
- QDF_MAC_ADDR_STR, status, sessionId,
|
|
|
- QDF_MAC_ADDR_ARRAY(bssId.bytes));
|
|
|
+ QDF_MAC_ADDR_FMT, status, sessionId,
|
|
|
+ QDF_MAC_ADDR_REF(bssId.bytes));
|
|
|
}
|
|
|
|
|
|
return status;
|
|
@@ -5423,8 +5424,9 @@ static bool csr_roam_select_bss(struct mac_context *mac_ctx,
|
|
|
(struct qdf_mac_addr *)
|
|
|
&result->BssDescriptor.bssId, &temp_vdev_id);
|
|
|
if (QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
|
|
- sme_info("vdev_id %d already connected to %pM. select next bss for vdev_id %d",
|
|
|
- temp_vdev_id, result->BssDescriptor.bssId,
|
|
|
+ sme_info("vdev_id %d already connected to "QDF_MAC_ADDR_FMT". select next bss for vdev_id %d",
|
|
|
+ temp_vdev_id,
|
|
|
+ QDF_MAC_ADDR_REF(result->BssDescriptor.bssId),
|
|
|
vdev_id);
|
|
|
*roam_state = eCsrStopRoamingDueToConcurrency;
|
|
|
status = true;
|
|
@@ -5441,8 +5443,9 @@ static bool csr_roam_select_bss(struct mac_context *mac_ctx,
|
|
|
mode,
|
|
|
chan_freq,
|
|
|
HW_MODE_20_MHZ)) {
|
|
|
- sme_err("Concurrency not allowed for this channel freq %d bssid %pM, selecting next",
|
|
|
- chan_freq, result->BssDescriptor.bssId);
|
|
|
+ sme_err("Concurrency not allowed for this channel freq %d bssid "QDF_MAC_ADDR_FMT", selecting next",
|
|
|
+ chan_freq,
|
|
|
+ QDF_MAC_ADDR_REF(result->BssDescriptor.bssId));
|
|
|
*roam_state = eCsrStopRoamingDueToConcurrency;
|
|
|
status = true;
|
|
|
*roam_bss_entry = csr_ll_next(&bss_list->List,
|
|
@@ -5457,9 +5460,9 @@ static bool csr_roam_select_bss(struct mac_context *mac_ctx,
|
|
|
*/
|
|
|
if (!policy_mgr_is_hwmode_set_for_given_chnl(
|
|
|
mac_ctx->psoc, result->BssDescriptor.chan_freq)) {
|
|
|
- sme_err("HW mode isn't properly set, freq %d BSSID %pM",
|
|
|
+ sme_err("HW mode isn't properly set, freq %d BSSID "QDF_MAC_ADDR_FMT,
|
|
|
result->BssDescriptor.chan_freq,
|
|
|
- result->BssDescriptor.bssId);
|
|
|
+ QDF_MAC_ADDR_REF(result->BssDescriptor.bssId));
|
|
|
*roam_state = eCsrStopRoamingDueToConcurrency;
|
|
|
status = true;
|
|
|
*roam_bss_entry = csr_ll_next(&bss_list->List,
|
|
@@ -6033,8 +6036,8 @@ static void csr_get_peer_rssi(struct mac_context *mac, uint32_t session_id,
|
|
|
vdev,
|
|
|
TYPE_PEER_STATS,
|
|
|
&info);
|
|
|
- sme_debug("peer_mac" QDF_MAC_ADDR_STR,
|
|
|
- QDF_MAC_ADDR_ARRAY(peer_mac.bytes));
|
|
|
+ sme_debug("peer_mac" QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(peer_mac.bytes));
|
|
|
if (QDF_IS_STATUS_ERROR(status))
|
|
|
sme_err("stats req failed: %d", status);
|
|
|
|
|
@@ -6565,9 +6568,9 @@ void csr_update_scan_entry_associnfo(struct mac_context *mac_ctx,
|
|
|
qdf_mem_copy(&bss.ssid.ssid, &conn_profile->SSID.ssId,
|
|
|
bss.ssid.length);
|
|
|
|
|
|
- sme_debug("Update MLME info in scan database. bssid %pM ssid:%.*s freq %d state: %d",
|
|
|
- bss.bssid.bytes, bss.ssid.length, bss.ssid.ssid, bss.freq,
|
|
|
- state);
|
|
|
+ sme_debug("Update MLME info in scan database. bssid "QDF_MAC_ADDR_FMT" ssid:%.*s freq %d state: %d",
|
|
|
+ QDF_MAC_ADDR_REF(bss.bssid.bytes), bss.ssid.length,
|
|
|
+ bss.ssid.ssid, bss.freq, state);
|
|
|
mlme.assoc_state = state;
|
|
|
status = ucfg_scan_update_mlme_by_bssinfo(mac_ctx->pdev, &bss, &mlme);
|
|
|
if (QDF_IS_STATUS_ERROR(status))
|
|
@@ -8334,8 +8337,8 @@ static void csr_roam_print_candidate_aps(tScanResultHandle results)
|
|
|
while (entry) {
|
|
|
bss_desc = GET_BASE_ADDR(entry,
|
|
|
struct tag_csrscan_result, Link);
|
|
|
- sme_nofl_debug(QDF_MAC_ADDR_STR " score: %d",
|
|
|
- QDF_MAC_ADDR_ARRAY(bss_desc->Result.BssDescriptor.bssId),
|
|
|
+ sme_nofl_debug(QDF_MAC_ADDR_FMT " score: %d",
|
|
|
+ QDF_MAC_ADDR_REF(bss_desc->Result.BssDescriptor.bssId),
|
|
|
bss_desc->bss_score);
|
|
|
|
|
|
entry = csr_ll_next(&bss_list->List, entry,
|
|
@@ -9270,8 +9273,8 @@ static void csr_roam_join_rsp_processor(struct mac_context *mac,
|
|
|
if (!pmksa)
|
|
|
return;
|
|
|
|
|
|
- sme_warn("Assoc reject from BSSID:%pM due to invalid PMKID",
|
|
|
- session_ptr->joinFailStatusCode.bssId);
|
|
|
+ sme_warn("Assoc reject from BSSID:"QDF_MAC_ADDR_FMT" due to invalid PMKID",
|
|
|
+ QDF_MAC_ADDR_REF(session_ptr->joinFailStatusCode.bssId));
|
|
|
qdf_mem_copy(pmksa->bssid.bytes,
|
|
|
&session_ptr->joinFailStatusCode.bssId,
|
|
|
sizeof(tSirMacAddr));
|
|
@@ -10057,8 +10060,8 @@ void csr_handle_disassoc_ho(struct mac_context *mac, uint32_t session_id)
|
|
|
|
|
|
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
|
|
|
"LFR2DBG: preauthed bss_node->pBssDescription BSSID"\
|
|
|
- QDF_MAC_ADDR_STR",freq:%d",
|
|
|
- QDF_MAC_ADDR_ARRAY(bss_node->pBssDescription->bssId),
|
|
|
+ QDF_MAC_ADDR_FMT",freq:%d",
|
|
|
+ QDF_MAC_ADDR_REF(bss_node->pBssDescription->bssId),
|
|
|
bss_node->pBssDescription->chan_freq);
|
|
|
|
|
|
status = policy_mgr_handle_conc_multiport(
|
|
@@ -11050,8 +11053,8 @@ static QDF_STATUS csr_send_reset_ap_caps_changed(struct mac_context *mac,
|
|
|
pMsg->length = len;
|
|
|
qdf_copy_macaddr(&pMsg->bssId, bssId);
|
|
|
sme_debug(
|
|
|
- "CSR reset caps change for Bssid= " QDF_MAC_ADDR_STR,
|
|
|
- QDF_MAC_ADDR_ARRAY(pMsg->bssId.bytes));
|
|
|
+ "CSR reset caps change for Bssid= " QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(pMsg->bssId.bytes));
|
|
|
status = umac_send_mb_message_to_mac(pMsg);
|
|
|
} else {
|
|
|
sme_err("Memory allocation failed");
|
|
@@ -11565,8 +11568,8 @@ csr_roam_chk_lnk_disassoc_ind(struct mac_context *mac_ctx, tSirSmeRsp *msg_ptr)
|
|
|
status = csr_roam_get_session_id_from_bssid(mac_ctx,
|
|
|
&pDisassocInd->bssid, &sessionId);
|
|
|
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
|
|
- sme_err("Session Id not found for BSSID "QDF_MAC_ADDR_STR,
|
|
|
- QDF_MAC_ADDR_ARRAY(pDisassocInd->bssid.bytes));
|
|
|
+ sme_err("Session Id not found for BSSID "QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(pDisassocInd->bssid.bytes));
|
|
|
qdf_mem_free(cmd);
|
|
|
return;
|
|
|
}
|
|
@@ -11577,9 +11580,9 @@ csr_roam_chk_lnk_disassoc_ind(struct mac_context *mac_ctx, tSirSmeRsp *msg_ptr)
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- sme_nofl_info("disassoc from peer " QDF_MAC_ADDR_STR
|
|
|
+ sme_nofl_info("disassoc from peer " QDF_MAC_ADDR_FMT
|
|
|
"reason: %d status: %d vid %d",
|
|
|
- QDF_MAC_ADDR_ARRAY(pDisassocInd->peer_macaddr.bytes),
|
|
|
+ QDF_MAC_ADDR_REF(pDisassocInd->peer_macaddr.bytes),
|
|
|
pDisassocInd->reasonCode,
|
|
|
pDisassocInd->status_code, sessionId);
|
|
|
/*
|
|
@@ -11651,8 +11654,9 @@ csr_roam_chk_lnk_deauth_ind(struct mac_context *mac_ctx, tSirSmeRsp *msg_ptr)
|
|
|
struct deauth_ind *pDeauthInd;
|
|
|
|
|
|
pDeauthInd = (struct deauth_ind *)msg_ptr;
|
|
|
- sme_debug("DEAUTH Indication from MAC for vdev_id %d bssid %pM",
|
|
|
- pDeauthInd->vdev_id, pDeauthInd->bssid.bytes);
|
|
|
+ sme_debug("DEAUTH Indication from MAC for vdev_id %d bssid "QDF_MAC_ADDR_FMT,
|
|
|
+ pDeauthInd->vdev_id,
|
|
|
+ QDF_MAC_ADDR_REF(pDeauthInd->bssid.bytes));
|
|
|
|
|
|
status = csr_roam_get_session_id_from_bssid(mac_ctx,
|
|
|
&pDeauthInd->bssid,
|
|
@@ -12181,9 +12185,9 @@ csr_roam_chk_lnk_set_ctx_rsp(struct mac_context *mac_ctx, tSirSmeRsp *msg_ptr)
|
|
|
result = eCSR_ROAM_RESULT_FAILURE;
|
|
|
sme_err(
|
|
|
"CSR: setkey command failed(err=%d) PeerMac "
|
|
|
- QDF_MAC_ADDR_STR,
|
|
|
+ QDF_MAC_ADDR_FMT,
|
|
|
pRsp->status_code,
|
|
|
- QDF_MAC_ADDR_ARRAY(pRsp->peer_macaddr.bytes));
|
|
|
+ QDF_MAC_ADDR_REF(pRsp->peer_macaddr.bytes));
|
|
|
}
|
|
|
/* keeping roam_id = 0 as nobody is using roam_id for set_key */
|
|
|
csr_roam_call_callback(mac_ctx, sessionId, roam_info,
|
|
@@ -14527,8 +14531,8 @@ static void csr_update_sae_config(struct join_req *csr_join_req,
|
|
|
if (!csr_join_req->sae_pmk_cached)
|
|
|
return;
|
|
|
|
|
|
- sme_debug("Found for BSSID=" QDF_MAC_ADDR_STR,
|
|
|
- QDF_MAC_ADDR_ARRAY(csr_join_req->bssDescription.bssId));
|
|
|
+ sme_debug("Found for BSSID=" QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(csr_join_req->bssDescription.bssId));
|
|
|
}
|
|
|
#else
|
|
|
static inline void csr_update_sae_config(struct join_req *csr_join_req,
|
|
@@ -14707,8 +14711,8 @@ static QDF_STATUS csr_check_and_validate_6g_ap(struct mac_context *mac_ctx,
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
|
|
|
if (!he_op->oper_info_6g_present) {
|
|
|
- sme_err("%pM Invalid 6GHZ AP BSS description IE",
|
|
|
- bss->bssId);
|
|
|
+ sme_err(QDF_MAC_ADDR_FMT" Invalid 6GHZ AP BSS description IE",
|
|
|
+ QDF_MAC_ADDR_REF(bss->bssId));
|
|
|
return QDF_STATUS_E_INVAL;
|
|
|
}
|
|
|
|
|
@@ -14911,11 +14915,11 @@ QDF_STATUS csr_send_join_req_msg(struct mac_context *mac, uint32_t sessionId,
|
|
|
qdf_mem_copy(&csr_join_req->self_mac_addr,
|
|
|
&pSession->self_mac_addr,
|
|
|
sizeof(tSirMacAddr));
|
|
|
- sme_nofl_info("vdev-%d: Connecting to %.*s " QDF_MAC_ADDR_STR
|
|
|
+ sme_nofl_info("vdev-%d: Connecting to %.*s " QDF_MAC_ADDR_FMT
|
|
|
" rssi: %d freq: %d akm %d cipher: uc %d mc %d, CC: %c%c",
|
|
|
sessionId, csr_join_req->ssId.length,
|
|
|
csr_join_req->ssId.ssId,
|
|
|
- QDF_MAC_ADDR_ARRAY(pBssDescription->bssId),
|
|
|
+ QDF_MAC_ADDR_REF(pBssDescription->bssId),
|
|
|
pBssDescription->rssi, pBssDescription->chan_freq,
|
|
|
pProfile->negotiatedAuthType,
|
|
|
pProfile->negotiatedUCEncryptionType,
|
|
@@ -15847,8 +15851,8 @@ QDF_STATUS csr_send_chng_mcc_beacon_interval(struct mac_context *mac,
|
|
|
|
|
|
qdf_copy_macaddr(&pMsg->bssid, &pSession->self_mac_addr);
|
|
|
sme_debug("CSR Attempting to change BI for Bssid= "
|
|
|
- QDF_MAC_ADDR_STR,
|
|
|
- QDF_MAC_ADDR_ARRAY(pMsg->bssid.bytes));
|
|
|
+ QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(pMsg->bssid.bytes));
|
|
|
pMsg->sessionId = sessionId;
|
|
|
sme_debug("session %d BeaconInterval %d",
|
|
|
sessionId,
|
|
@@ -15890,8 +15894,8 @@ QDF_STATUS csr_set_ht2040_mode(struct mac_context *mac, uint32_t sessionId,
|
|
|
qdf_copy_macaddr(&pMsg->bssid, &pSession->self_mac_addr);
|
|
|
sme_debug(
|
|
|
"CSR Attempting to set HT20/40 mode for Bssid= "
|
|
|
- QDF_MAC_ADDR_STR,
|
|
|
- QDF_MAC_ADDR_ARRAY(pMsg->bssid.bytes));
|
|
|
+ QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(pMsg->bssid.bytes));
|
|
|
pMsg->sessionId = sessionId;
|
|
|
sme_debug(" session %d HT20/40 mode %d",
|
|
|
sessionId, cbMode);
|
|
@@ -16397,9 +16401,9 @@ QDF_STATUS csr_setup_vdev_session(struct vdev_mlme_obj *vdev_mlme)
|
|
|
status = csr_roam_get_session_id_from_bssid(mac_ctx, mac_addr,
|
|
|
&existing_session_id);
|
|
|
if (QDF_IS_STATUS_SUCCESS(status)) {
|
|
|
- sme_err("Session %d exists with mac address %pM",
|
|
|
+ sme_err("Session %d exists with mac address "QDF_MAC_ADDR_FMT,
|
|
|
existing_session_id,
|
|
|
- mac_addr);
|
|
|
+ QDF_MAC_ADDR_REF(mac_addr->bytes));
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
@@ -16636,8 +16640,8 @@ static void csr_roam_link_up(struct mac_context *mac, struct qdf_mac_addr bssid)
|
|
|
* profile info from pmac global structure
|
|
|
*/
|
|
|
|
|
|
- sme_debug("WLAN link UP with AP= " QDF_MAC_ADDR_STR,
|
|
|
- QDF_MAC_ADDR_ARRAY(bssid.bytes));
|
|
|
+ sme_debug("WLAN link UP with AP= " QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(bssid.bytes));
|
|
|
/* Indicate the neighbor roal algorithm about the connect indication */
|
|
|
csr_roam_get_session_id_from_bssid(mac, &bssid,
|
|
|
&sessionId);
|
|
@@ -17106,15 +17110,15 @@ static void csr_update_btm_offload_config(struct mac_context *mac_ctx,
|
|
|
session->pConnectBssDesc->bssId,
|
|
|
WLAN_LEGACY_SME_ID);
|
|
|
if (!peer) {
|
|
|
- sme_debug("Peer of peer_mac %pM not found",
|
|
|
- session->pConnectBssDesc->bssId);
|
|
|
+ sme_debug("Peer of peer_mac "QDF_MAC_ADDR_FMT" not found",
|
|
|
+ QDF_MAC_ADDR_REF(session->pConnectBssDesc->bssId));
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
is_pmf_enabled = mlme_get_peer_pmf_status(peer);
|
|
|
wlan_objmgr_peer_release_ref(peer, WLAN_LEGACY_SME_ID);
|
|
|
- sme_debug("get is_pmf_enabled %d for %pM", is_pmf_enabled,
|
|
|
- session->pConnectBssDesc->bssId);
|
|
|
+ sme_debug("get is_pmf_enabled %d for "QDF_MAC_ADDR_FMT, is_pmf_enabled,
|
|
|
+ QDF_MAC_ADDR_REF(session->pConnectBssDesc->bssId));
|
|
|
|
|
|
/* If peer does not support PMF in case of OCE/MBO
|
|
|
* Connection, Disable BTM offload to firmware.
|
|
@@ -17835,8 +17839,8 @@ csr_add_rssi_reject_ap_list(struct mac_context *mac_ctx,
|
|
|
|
|
|
for (i = 0; i < roam_params->num_rssi_rejection_ap; i++) {
|
|
|
roam_params->rssi_reject_bssid_list[i] = reject_list[i];
|
|
|
- sme_debug("BSSID %pM expected rssi %d remaining duration %d",
|
|
|
- roam_params->rssi_reject_bssid_list[i].bssid.bytes,
|
|
|
+ sme_debug("BSSID "QDF_MAC_ADDR_FMT" expected rssi %d remaining duration %d",
|
|
|
+ QDF_MAC_ADDR_REF(roam_params->rssi_reject_bssid_list[i].bssid.bytes),
|
|
|
roam_params->rssi_reject_bssid_list[i].expected_rssi,
|
|
|
roam_params->rssi_reject_bssid_list[i].
|
|
|
reject_duration);
|
|
@@ -19788,8 +19792,8 @@ csr_cm_roam_scan_filter(struct mac_context *mac_ctx, uint8_t vdev_id,
|
|
|
}
|
|
|
|
|
|
for (i = 0; i < params->num_bssid_black_list; i++)
|
|
|
- sme_debug("Blacklist bssid[%d]:" QDF_MAC_ADDR_STR, i,
|
|
|
- QDF_MAC_ADDR_ARRAY(params->bssid_avoid_list[i].bytes));
|
|
|
+ sme_debug("Blacklist bssid[%d]:" QDF_MAC_ADDR_FMT, i,
|
|
|
+ QDF_MAC_ADDR_REF(params->bssid_avoid_list[i].bytes));
|
|
|
qdf_mem_copy(params->bssid_favored, roam_params->bssid_favored,
|
|
|
MAX_BSSID_FAVORED * sizeof(struct qdf_mac_addr));
|
|
|
qdf_mem_copy(params->bssid_favored_factor,
|
|
@@ -19800,8 +19804,8 @@ csr_cm_roam_scan_filter(struct mac_context *mac_ctx, uint8_t vdev_id,
|
|
|
sizeof(struct reject_ap_config_params));
|
|
|
|
|
|
for (i = 0; i < params->num_bssid_preferred_list; i++)
|
|
|
- sme_debug("Preferred Bssid[%d]:"QDF_MAC_ADDR_STR" score: %d", i,
|
|
|
- QDF_MAC_ADDR_ARRAY(params->bssid_favored[i].bytes),
|
|
|
+ sme_debug("Preferred Bssid[%d]:"QDF_MAC_ADDR_FMT" score: %d", i,
|
|
|
+ QDF_MAC_ADDR_REF(params->bssid_favored[i].bytes),
|
|
|
params->bssid_favored_factor[i]);
|
|
|
|
|
|
if (params->lca_disallow_config_present) {
|
|
@@ -22086,8 +22090,8 @@ csr_process_roam_sync_callback(struct mac_context *mac_ctx,
|
|
|
|
|
|
qdf_copy_macaddr(&pmkid_cache->BSSID,
|
|
|
&session->connectedProfile.bssid);
|
|
|
- sme_debug("Trying to find PMKID for " QDF_MAC_ADDR_STR,
|
|
|
- QDF_MAC_ADDR_ARRAY(pmkid_cache->BSSID.bytes));
|
|
|
+ sme_debug("Trying to find PMKID for " QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(pmkid_cache->BSSID.bytes));
|
|
|
if (csr_lookup_pmkid_using_bssid(mac_ctx, session,
|
|
|
pmkid_cache)) {
|
|
|
session->pmk_len = pmkid_cache->pmk_len;
|
|
@@ -22095,12 +22099,12 @@ csr_process_roam_sync_callback(struct mac_context *mac_ctx,
|
|
|
sizeof(session->psk_pmk));
|
|
|
qdf_mem_copy(session->psk_pmk, pmkid_cache->pmk,
|
|
|
session->pmk_len);
|
|
|
- sme_debug("pmkid found for " QDF_MAC_ADDR_STR " len %d",
|
|
|
- QDF_MAC_ADDR_ARRAY(pmkid_cache->BSSID.bytes),
|
|
|
+ sme_debug("pmkid found for " QDF_MAC_ADDR_FMT " len %d",
|
|
|
+ QDF_MAC_ADDR_REF(pmkid_cache->BSSID.bytes),
|
|
|
(uint32_t)session->pmk_len);
|
|
|
} else {
|
|
|
- sme_debug("PMKID Not found in cache for " QDF_MAC_ADDR_STR,
|
|
|
- QDF_MAC_ADDR_ARRAY(pmkid_cache->BSSID.bytes));
|
|
|
+ sme_debug("PMKID Not found in cache for " QDF_MAC_ADDR_FMT,
|
|
|
+ QDF_MAC_ADDR_REF(pmkid_cache->BSSID.bytes));
|
|
|
if (roam_synch_data->pmk_len) {
|
|
|
pmksa = qdf_mem_malloc(sizeof(*pmksa));
|
|
|
if (!pmksa) {
|