qcacld-3.0: Selectively reduce the ipa logs
Reduce loglevel of some logs from info to debug. Change-Id: Ib881af4411da6a25f48a81adf1428b37df43b560 CRs-Fixed: 2607949
This commit is contained in:

committed by
nshrivas

parent
50909490a5
commit
57cb15b903
@@ -1286,7 +1286,7 @@ wlan_ipa_uc_disable_pipes(struct wlan_ipa_priv *ipa_ctx, bool force_disable)
|
||||
|
||||
qdf_spin_lock_bh(&ipa_ctx->enable_disable_lock);
|
||||
if (ipa_ctx->ipa_pipes_down || ipa_ctx->pipes_down_in_progress) {
|
||||
ipa_warn("IPA WDI Pipes are already deactivated");
|
||||
ipa_info("IPA WDI Pipes are already deactivated");
|
||||
qdf_spin_unlock_bh(&ipa_ctx->enable_disable_lock);
|
||||
return QDF_STATUS_E_ALREADY;
|
||||
}
|
||||
@@ -1374,8 +1374,8 @@ static bool wlan_ipa_uc_find_add_assoc_sta(struct wlan_ipa_priv *ipa_ctx,
|
||||
}
|
||||
}
|
||||
if (!sta_add && !sta_found) {
|
||||
ipa_err("STA does not exist, cannot delete: " QDF_MAC_ADDR_STR,
|
||||
QDF_MAC_ADDR_ARRAY(mac_addr));
|
||||
ipa_info("STA does not exist, cannot delete: "
|
||||
QDF_MAC_ADDR_STR, QDF_MAC_ADDR_ARRAY(mac_addr));
|
||||
return sta_found;
|
||||
}
|
||||
if (!sta_add) {
|
||||
@@ -2162,8 +2162,9 @@ static QDF_STATUS __wlan_ipa_wlan_evt(qdf_netdev_t net_dev, uint8_t device_mode,
|
||||
struct wlan_ipa_iface_context *iface;
|
||||
|
||||
qdf_mutex_release(&ipa_ctx->event_lock);
|
||||
ipa_err("%s: Evt: %d, STA already disconnected",
|
||||
msg_ex->name, QDF_IPA_MSG_META_MSG_TYPE(&meta));
|
||||
ipa_info("%s: Evt: %d, STA already disconnected",
|
||||
msg_ex->name,
|
||||
QDF_IPA_MSG_META_MSG_TYPE(&meta));
|
||||
|
||||
iface = wlan_ipa_get_iface_by_mode_netdev(ipa_ctx,
|
||||
net_dev,
|
||||
@@ -2344,6 +2345,7 @@ static QDF_STATUS __wlan_ipa_wlan_evt(qdf_netdev_t net_dev, uint8_t device_mode,
|
||||
return QDF_STATUS_E_BUSY;
|
||||
}
|
||||
wlan_ipa_uc_bw_monitor(ipa_ctx, false);
|
||||
ipa_info("first sap client connected");
|
||||
}
|
||||
|
||||
ipa_ctx->sap_num_connected_sta++;
|
||||
@@ -2382,7 +2384,7 @@ static QDF_STATUS __wlan_ipa_wlan_evt(qdf_netdev_t net_dev, uint8_t device_mode,
|
||||
}
|
||||
ipa_ctx->stats.num_send_msg++;
|
||||
|
||||
ipa_info("sap_num_connected_sta=%d",
|
||||
ipa_debug("sap_num_connected_sta=%d",
|
||||
ipa_ctx->sap_num_connected_sta);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
@@ -2397,16 +2399,16 @@ static QDF_STATUS __wlan_ipa_wlan_evt(qdf_netdev_t net_dev, uint8_t device_mode,
|
||||
qdf_mutex_acquire(&ipa_ctx->event_lock);
|
||||
if (!ipa_ctx->sap_num_connected_sta) {
|
||||
qdf_mutex_release(&ipa_ctx->event_lock);
|
||||
ipa_err("%s: Evt: %d, Client already disconnected",
|
||||
msg_ex->name,
|
||||
QDF_IPA_MSG_META_MSG_TYPE(&meta));
|
||||
ipa_debug("%s: Evt: %d, Client already disconnected",
|
||||
msg_ex->name,
|
||||
QDF_IPA_MSG_META_MSG_TYPE(&meta));
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
if (!wlan_ipa_uc_find_add_assoc_sta(ipa_ctx, false,
|
||||
mac_addr)) {
|
||||
qdf_mutex_release(&ipa_ctx->event_lock);
|
||||
ipa_err("%s: STA NOT found, not valid: "
|
||||
ipa_debug("%s: STA NOT found, not valid: "
|
||||
QDF_MAC_ADDR_STR,
|
||||
msg_ex->name, QDF_MAC_ADDR_ARRAY(mac_addr));
|
||||
|
||||
@@ -2446,6 +2448,7 @@ static QDF_STATUS __wlan_ipa_wlan_evt(qdf_netdev_t net_dev, uint8_t device_mode,
|
||||
!ipa_ctx->sta_connected);
|
||||
wlan_ipa_uc_bw_monitor(ipa_ctx, true);
|
||||
}
|
||||
ipa_info("last sap client disconnected");
|
||||
}
|
||||
|
||||
if (wlan_ipa_uc_sta_is_enabled(ipa_ctx->config) &&
|
||||
@@ -2463,8 +2466,8 @@ static QDF_STATUS __wlan_ipa_wlan_evt(qdf_netdev_t net_dev, uint8_t device_mode,
|
||||
qdf_mutex_release(&ipa_ctx->event_lock);
|
||||
}
|
||||
|
||||
ipa_info("sap_num_connected_sta=%d",
|
||||
ipa_ctx->sap_num_connected_sta);
|
||||
ipa_debug("sap_num_connected_sta=%d",
|
||||
ipa_ctx->sap_num_connected_sta);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user