mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacld-3.0: Refactor 11kv logging
Add BTM Query/Request prefix for BTM debug prints and Neighbor Req/Resp prefix for Neighbor report logging. If the time received from the firmware is zero, it implies AP has not sent the response for the neighbor req/btm query. So log this info as well. When channel count is zero, log that no channel update from AP. Refactor 11kv logging for more details. Change-Id: I10bb731ce410215eb48322a2f8ad9ed8723e5270 CRs-Fixed: 2623418
This commit is contained in:
parent
3b30f46791
commit
21f7c0c06f
1 changed files with 13 additions and 6 deletions
|
|
@ -3546,13 +3546,20 @@ wma_rso_print_11kv_info(struct wmi_neighbor_report_data *neigh_rpt,
|
|||
buf_left -= buf_cons;
|
||||
tmp += buf_cons;
|
||||
}
|
||||
mlme_get_converted_timestamp(neigh_rpt->req_time, time);
|
||||
WMA_LOGI("%s [%s] RX: VDEV[%d] %s", time,
|
||||
(type == 1) ? "BTM" : "NEIGH_RPT", vdev_id, buf);
|
||||
|
||||
mlme_get_converted_timestamp(neigh_rpt->resp_time, time1);
|
||||
WMA_LOGI("%s [%s] TX: VDEV[%d]", time1,
|
||||
(type == 1) ? "BTM" : "NEIGH_RPT", vdev_id);
|
||||
mlme_get_converted_timestamp(neigh_rpt->req_time, time);
|
||||
WMA_LOGI("%s [%s] VDEV[%d]", time,
|
||||
(type == 1) ? "BTM_QUERY" : "NEIGH_RPT_REQ", vdev_id);
|
||||
|
||||
if (neigh_rpt->resp_time) {
|
||||
mlme_get_converted_timestamp(neigh_rpt->resp_time, time1);
|
||||
WMA_LOGI("%s [%s] VDEV[%d] %s", time1,
|
||||
(type == 1) ? "BTM_REQ" : "NEIGH_RPT_RSP", vdev_id,
|
||||
(num_ch > 0) ? buf : "NO Ch update");
|
||||
} else {
|
||||
WMA_LOGI("%s No response received from AP",
|
||||
(type == 1) ? "BTM" : "NEIGH_RPT");
|
||||
}
|
||||
qdf_mem_free(buf);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue