qcacmn: Change info/err prints to debug in roaming path
The printk buffer is protected by a global raw spinlock for readers and writers. This restricts the contexts that are allowed to access the buffer. So large latencies exists when printing to kmsg done with QDF trace levels WARN, INFO, ERROR. This results in roaming KPI for maximum transition time exceeding the expected 100ms. So change info/err prints to debug prints in roaming path to reduce delays in roaming time. Change-Id: I9cdf043da6e88d735ab39812e74ed24784ceede3 CRs-Fixed: 2594867
This commit is contained in:

committed by
nshrivas

parent
8e28cdda42
commit
0f0a36c8d4
@@ -3238,7 +3238,7 @@ QDF_STATUS dp_peer_state_update(struct cdp_pdev *pdev_handle, uint8_t *peer_mac,
|
||||
}
|
||||
peer->state = state;
|
||||
|
||||
DP_TRACE(INFO, "peer %pK state %d", peer, peer->state);
|
||||
dp_info("peer %pK state %d", peer, peer->state);
|
||||
/* ref_cnt is incremented inside dp_peer_find_hash_find().
|
||||
* Decrement it here.
|
||||
*/
|
||||
@@ -3323,7 +3323,7 @@ uint8_t *dp_peer_get_peer_mac_addr(void *peer_handle)
|
||||
uint8_t *mac;
|
||||
|
||||
mac = peer->mac_addr.raw;
|
||||
DP_TRACE(INFO, "peer %pK mac 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
|
||||
dp_info("peer %pK mac 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
|
||||
peer, mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
|
||||
return peer->mac_addr.raw;
|
||||
}
|
||||
@@ -3398,7 +3398,7 @@ void dp_local_peer_id_alloc(struct dp_pdev *pdev, struct dp_peer *peer)
|
||||
pdev->local_peer_ids.map[i] = peer;
|
||||
}
|
||||
qdf_spin_unlock_bh(&pdev->local_peer_ids.lock);
|
||||
DP_TRACE(INFO, "peer %pK, local id %d", peer, peer->local_id);
|
||||
dp_info("peer %pK, local id %d", peer, peer->local_id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -3193,7 +3193,7 @@ QDF_STATUS wlan_crypto_set_peer_wep_keys(struct wlan_objmgr_vdev *vdev,
|
||||
if (opmode == QDF_STA_MODE) {
|
||||
peer = wlan_objmgr_vdev_try_get_bsspeer(vdev, WLAN_CRYPTO_ID);
|
||||
if (!peer) {
|
||||
crypto_err("peer NULL");
|
||||
crypto_debug("peer NULL");
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user