qcacld-3.0: Optimize Auth and Assoc logs
Add vdev id in auth TX and print assoc timeout in assoc TX. Change-Id: I9bf369ae0960968a19a1f48f1492c004743fc3c0 CRs-Fixed: 3028123
This commit is contained in:

committed by
Madan Koyyalamudi

parent
9d6980fd79
commit
d1d592bca6
@@ -952,7 +952,9 @@ static void lim_process_mlm_assoc_req(struct mac_context *mac_ctx, uint32_t *msg
|
|||||||
MTRACE(mac_trace(mac_ctx, TRACE_CODE_MLM_STATE,
|
MTRACE(mac_trace(mac_ctx, TRACE_CODE_MLM_STATE,
|
||||||
session_entry->peSessionId,
|
session_entry->peSessionId,
|
||||||
session_entry->limMlmState));
|
session_entry->limMlmState));
|
||||||
pe_debug("vdev %d Sending Assoc_Req Frame", session_entry->vdev_id);
|
pe_debug("vdev %d Sending Assoc_Req Frame, timeout %d msec",
|
||||||
|
session_entry->vdev_id,
|
||||||
|
(int)mac_ctx->lim.lim_timers.gLimAssocFailureTimer.initScheduleTimeInMsecs);
|
||||||
|
|
||||||
/* Prepare and send Association request frame */
|
/* Prepare and send Association request frame */
|
||||||
lim_send_assoc_req_mgmt_frame(mac_ctx, mlm_assoc_req, session_entry);
|
lim_send_assoc_req_mgmt_frame(mac_ctx, mlm_assoc_req, session_entry);
|
||||||
|
@@ -506,6 +506,8 @@ void lim_process_mlm_auth_cnf(struct mac_context *mac_ctx, uint32_t *msg)
|
|||||||
|
|
||||||
if (auth_cnf->resultCode == eSIR_SME_SUCCESS) {
|
if (auth_cnf->resultCode == eSIR_SME_SUCCESS) {
|
||||||
if (session_entry->limSmeState == eLIM_SME_WT_AUTH_STATE) {
|
if (session_entry->limSmeState == eLIM_SME_WT_AUTH_STATE) {
|
||||||
|
lim_deactivate_and_change_timer(mac_ctx,
|
||||||
|
eLIM_ASSOC_FAIL_TIMER);
|
||||||
lim_send_mlm_assoc_req(mac_ctx, session_entry);
|
lim_send_mlm_assoc_req(mac_ctx, session_entry);
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
|
@@ -3151,10 +3151,10 @@ alloc_packet:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pe_nofl_info("Auth TX: seq %d seq num %d status %d WEP %d to " QDF_MAC_ADDR_FMT,
|
pe_nofl_info("Auth TX: vdev %d seq %d seq num %d status %d WEP %d to " QDF_MAC_ADDR_FMT,
|
||||||
auth_frame->authTransactionSeqNumber, mac_ctx->mgmtSeqNum,
|
vdev_id, auth_frame->authTransactionSeqNumber,
|
||||||
auth_frame->authStatusCode, mac_hdr->fc.wep,
|
mac_ctx->mgmtSeqNum, auth_frame->authStatusCode,
|
||||||
QDF_MAC_ADDR_REF(mac_hdr->da));
|
mac_hdr->fc.wep, QDF_MAC_ADDR_REF(mac_hdr->da));
|
||||||
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_DEBUG,
|
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_DEBUG,
|
||||||
frame, frame_len);
|
frame, frame_len);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user