mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Logging enhancements to LFR3 code
Add logging enhancements to LFR3 code Change-Id: If8ea2c15a29889a22359911acc433f93691b9279 CRs-Fixed: 1106420
This commit is contained in:
parent
52456c6044
commit
cd35f532e4
4 changed files with 32 additions and 0 deletions
|
|
@ -4812,6 +4812,8 @@ QDF_STATUS csr_roam_stop_network(tpAniSirGlobal pMac, uint32_t sessionId,
|
|||
if (NULL == pBssConfig)
|
||||
return QDF_STATUS_E_NOMEM;
|
||||
|
||||
sms_log(pMac, LOG1, FL("session id %d "), sessionId);
|
||||
|
||||
status = csr_roam_prepare_bss_config(pMac, pProfile, pBssDesc,
|
||||
pBssConfig, pIes);
|
||||
if (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
|
|
@ -6009,6 +6011,7 @@ static QDF_STATUS csr_roam_save_security_rsp_ie(tpAniSirGlobal pMac,
|
|||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
sms_log(pMac, LOG1, FL("authType %d session %d"), authType, sessionId);
|
||||
if ((eCSR_AUTH_TYPE_WPA == authType) ||
|
||||
(eCSR_AUTH_TYPE_WPA_PSK == authType) ||
|
||||
(eCSR_AUTH_TYPE_RSN == authType) ||
|
||||
|
|
@ -8298,6 +8301,8 @@ QDF_STATUS csr_roam_save_connected_infomation(tpAniSirGlobal pMac,
|
|||
FL("session %d not found"), sessionId);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
sms_log(pMac, LOG1, FL("session id %d"), sessionId);
|
||||
pConnectProfile = &pSession->connectedProfile;
|
||||
if (pConnectProfile->pAddIEAssoc) {
|
||||
qdf_mem_free(pConnectProfile->pAddIEAssoc);
|
||||
|
|
@ -9598,6 +9603,9 @@ QDF_STATUS csr_roam_issue_set_context_req(tpAniSirGlobal pMac,
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
tAniEdType edType;
|
||||
|
||||
sms_log(pMac, LOG1,
|
||||
FL("sessionId %d EncryptType %d"), sessionId, EncryptType);
|
||||
|
||||
if (eCSR_ENCRYPT_TYPE_UNKNOWN == EncryptType) {
|
||||
EncryptType = eCSR_ENCRYPT_TYPE_NONE;
|
||||
}
|
||||
|
|
@ -19832,6 +19840,8 @@ void csr_roam_synch_callback(tpAniSirGlobal mac_ctx,
|
|||
sme_release_global_lock(&mac_ctx->sme);
|
||||
return;
|
||||
}
|
||||
|
||||
sms_log(mac_ctx, LOG1, FL("LFR3: reason: %d"), reason);
|
||||
switch (reason) {
|
||||
case SIR_ROAMING_DEREGISTER_STA:
|
||||
csr_roam_call_callback(mac_ctx, session_id, NULL, 0,
|
||||
|
|
@ -20077,6 +20087,14 @@ void csr_roam_synch_callback(tpAniSirGlobal mac_ctx,
|
|||
conn_profile->dot11Mode = session->bssParams.uCfgDot11Mode;
|
||||
roam_info->u.pConnectedProfile = conn_profile;
|
||||
|
||||
sms_log(mac_ctx, LOG1,
|
||||
FL("vht ch width %d staId %d nss %d rate_flag %d dot11Mode %d"),
|
||||
conn_profile->vht_channel_width,
|
||||
roam_info->staId,
|
||||
roam_info->chan_info.nss,
|
||||
roam_info->chan_info.rate_flags,
|
||||
conn_profile->dot11Mode);
|
||||
|
||||
if (!IS_FEATURE_SUPPORTED_BY_FW
|
||||
(SLM_SESSIONIZATION) &&
|
||||
(csr_is_concurrent_session_running(mac_ctx))) {
|
||||
|
|
|
|||
|
|
@ -7386,6 +7386,9 @@ QDF_STATUS csr_scan_save_roam_offload_ap_to_scan_cache(tpAniSirGlobal pMac,
|
|||
csr_free_scan_result_entry(pMac, scan_res_ptr);
|
||||
return QDF_STATUS_E_RESOURCES;
|
||||
}
|
||||
|
||||
sms_log(pMac, LOG1, FL("LFR3:Add BSSID to scan cache" MAC_ADDRESS_STR),
|
||||
MAC_ADDR_ARRAY(scan_res_ptr->Result.BssDescriptor.bssId));
|
||||
csr_scan_add_result(pMac, scan_res_ptr, ies_local_ptr, session_id);
|
||||
if ((scan_res_ptr->Result.pvIes == NULL) && ies_local_ptr)
|
||||
qdf_mem_free(ies_local_ptr);
|
||||
|
|
|
|||
|
|
@ -4255,6 +4255,8 @@ void wma_delete_sta(tp_wma_handle wma, tpDeleteStaParams del_sta)
|
|||
if (del_sta->staType == STA_ENTRY_NDI_PEER)
|
||||
oper_mode = BSS_OPERATIONAL_MODE_NDI;
|
||||
|
||||
WMA_LOGD(FL("oper_mode %d"), oper_mode);
|
||||
|
||||
switch (oper_mode) {
|
||||
case BSS_OPERATIONAL_MODE_STA:
|
||||
wma_delete_sta_req_sta_mode(wma, del_sta);
|
||||
|
|
|
|||
|
|
@ -2130,6 +2130,15 @@ static void wma_fill_roam_synch_buffer(tp_wma_handle wma,
|
|||
roam_synch_ind_ptr->isBeacon = synch_event->is_beacon;
|
||||
WMI_MAC_ADDR_TO_CHAR_ARRAY(&synch_event->bssid,
|
||||
roam_synch_ind_ptr->bssid.bytes);
|
||||
WMA_LOGI("%s: roamedVdevId %d authStatus %d roamReason %d rssi %d"
|
||||
"isBeacon %d",
|
||||
__func__,
|
||||
roam_synch_ind_ptr->roamedVdevId,
|
||||
roam_synch_ind_ptr->authStatus,
|
||||
roam_synch_ind_ptr->roamReason,
|
||||
roam_synch_ind_ptr->rssi,
|
||||
roam_synch_ind_ptr->isBeacon);
|
||||
|
||||
wma->csr_roam_synch_cb((tpAniSirGlobal)wma->mac_context,
|
||||
roam_synch_ind_ptr, NULL, SIR_ROAMING_DEREGISTER_STA);
|
||||
/* Beacon/Probe Rsp data */
|
||||
|
|
|
|||
Loading…
Reference in a new issue