qcacld-3.0: Logging enhancements to RRM APIs
Add logging enhancements to RRM code Change-Id: I4aacbca13c604d2f2dd354d9417a3e65dff398ae CRs-Fixed: 1106418
This commit is contained in:

committed by
qcabuildsw

parent
cd35f532e4
commit
93ec7d2960
@@ -4271,6 +4271,9 @@ lim_send_radio_measure_report_action_frame(tpAniSirGlobal pMac,
|
||||
return eSIR_FAILURE;
|
||||
}
|
||||
|
||||
lim_log(pMac, LOG1, FL("dialog_token %d num_report %d"),
|
||||
dialog_token, num_report);
|
||||
|
||||
frm->Category.category = SIR_MAC_ACTION_RRM;
|
||||
frm->Action.action = SIR_MAC_RRM_RADIO_MEASURE_RPT;
|
||||
frm->DialogToken.token = dialog_token;
|
||||
|
@@ -92,7 +92,7 @@ void
|
||||
rrm_cache_mgmt_tx_power(tpAniSirGlobal pMac, int8_t txPower,
|
||||
tpPESession pSessionEntry)
|
||||
{
|
||||
lim_log(pMac, LOG3, "Cache Mgmt Tx Power = %d", txPower);
|
||||
lim_log(pMac, LOG1, "Cache Mgmt Tx Power = %d", txPower);
|
||||
|
||||
if (pSessionEntry == NULL) {
|
||||
lim_log(pMac, LOG3, "%s: pSessionEntry is NULL", __func__);
|
||||
@@ -118,14 +118,14 @@ rrm_cache_mgmt_tx_power(tpAniSirGlobal pMac, int8_t txPower,
|
||||
*/
|
||||
int8_t rrm_get_mgmt_tx_power(tpAniSirGlobal pMac, tpPESession pSessionEntry)
|
||||
{
|
||||
lim_log(pMac, LOG3, "RrmGetMgmtTxPower called");
|
||||
|
||||
if (pSessionEntry == NULL) {
|
||||
lim_log(pMac, LOG3, "%s: txpower from rrmPEContext: %d",
|
||||
__func__, pMac->rrm.rrmPEContext.txMgmtPower);
|
||||
return pMac->rrm.rrmPEContext.txMgmtPower;
|
||||
}
|
||||
|
||||
lim_log(pMac, LOG1, FL("tx mgmt pwr %d"), pSessionEntry->txMgmtPower);
|
||||
|
||||
return pSessionEntry->txMgmtPower;
|
||||
}
|
||||
|
||||
@@ -581,7 +581,7 @@ rrm_process_beacon_report_req(tpAniSirGlobal pMac,
|
||||
|
||||
measDuration = pBeaconReq->measurement_request.Beacon.meas_duration;
|
||||
|
||||
lim_log(pMac, LOG3,
|
||||
lim_log(pMac, LOG1,
|
||||
"maxDuration = %d sign = %d maxMeasduration = %d measDuration = %d",
|
||||
maxDuration, sign, maxMeasduration, measDuration);
|
||||
|
||||
@@ -958,6 +958,9 @@ static void rrm_process_beacon_request_failure(tpAniSirGlobal pMac,
|
||||
pReport->token = pCurrentReq->token;
|
||||
pReport->type = SIR_MAC_RRM_BEACON_TYPE;
|
||||
|
||||
lim_log(pMac, LOG1,
|
||||
FL("status %d token %d"), status, pReport->token);
|
||||
|
||||
switch (status) {
|
||||
case eRRM_REFUSED:
|
||||
pReport->refused = 1;
|
||||
|
@@ -916,6 +916,11 @@ QDF_STATUS sme_rrm_process_beacon_report_req_ind(tpAniSirGlobal pMac, void *pMsg
|
||||
(uint8_t *) &pBeaconReq->measurementDuration,
|
||||
SIR_ESE_MAX_MEAS_IE_REQS);
|
||||
|
||||
sms_log(pMac, LOG1,
|
||||
FL("token %d regClass %d randnIntvl %d msgSource %d"),
|
||||
pSmeRrmContext->token, pSmeRrmContext->regClass,
|
||||
pSmeRrmContext->randnIntvl, pSmeRrmContext->msgSource);
|
||||
|
||||
status = sme_rrm_issue_scan_req(pMac);
|
||||
|
||||
return status;
|
||||
|
Reference in New Issue
Block a user