qcacld-3.0: Rate limit error logs for lim_defer_msg
Rate limit error logs for lim_defer_msg to avoid potential excessive logging. Change-Id: Icfe55b113b62d95b8259899b03602386e2127e5e CRs-Fixed: 2867156
Šī revīzija ir iekļauta:

revīziju iesūtīja
snandini

vecāks
8d21edf6f9
revīzija
df4ba9438a
@@ -523,8 +523,7 @@ static bool def_msg_decision(struct mac_context *mac_ctx,
|
||||
if (mac_ctx->lim.gLimSmeState == eLIM_SME_OFFLINE_STATE) {
|
||||
/* Defer processing this message */
|
||||
if (lim_defer_msg(mac_ctx, lim_msg) != TX_SUCCESS) {
|
||||
QDF_TRACE(QDF_MODULE_ID_PE, LOGE,
|
||||
FL("Unable to Defer Msg"));
|
||||
pe_err_rl("Unable to Defer Msg");
|
||||
lim_log_session_states(mac_ctx);
|
||||
lim_handle_defer_msg_error(mac_ctx, lim_msg);
|
||||
}
|
||||
@@ -1009,7 +1008,8 @@ uint32_t lim_defer_msg(struct mac_context *mac, struct scheduler_msg *pMsg)
|
||||
(mac, NO_SESSION,
|
||||
LIM_TRACE_MAKE_RXMSG(pMsg->type, LIM_MSG_DEFERRED)));
|
||||
} else {
|
||||
pe_err("Dropped lim message (0x%X) Message %s", pMsg->type, lim_msg_str(pMsg->type));
|
||||
pe_err_rl("Dropped lim message (0x%X) Message %s", pMsg->type,
|
||||
lim_msg_str(pMsg->type));
|
||||
MTRACE(mac_trace_msg_rx
|
||||
(mac, NO_SESSION,
|
||||
LIM_TRACE_MAKE_RXMSG(pMsg->type, LIM_MSG_DROPPED)));
|
||||
|
@@ -704,8 +704,8 @@ uint8_t lim_write_deferred_msg_q(struct mac_context *mac_ctx,
|
||||
* We reach the quota for management frames,
|
||||
* drop this one
|
||||
*/
|
||||
pe_warn("Too many queue->MsgQ Msg: %d count: %d",
|
||||
lim_msg->type, count);
|
||||
pe_warn_rl("Too many queue->MsgQ Msg: %d count: %d",
|
||||
lim_msg->type, count);
|
||||
/* Return error, caller knows what to do */
|
||||
return TX_QUEUE_FULL;
|
||||
}
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user