qcacmn: Enhance MGMT frame logging in WMI
More detailed logging needed for mgmt frames Add vdev_id, frame type, subtype, and channel to logs by defining wrapper function around logging macro and calling it from send_mgmt_cmd_tlv Change-Id: I0c8c26e3194d97be7d903f64c5c5909c2d4b9799 CRs-Fixed: 1011346
这个提交包含在:
@@ -1640,6 +1640,11 @@ QDF_STATUS send_mgmt_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
cmd->frame_len = param->frm_len;
|
||||
cmd->buf_len = bufp_len;
|
||||
|
||||
wmi_mgmt_cmd_record(wmi_handle, WMI_MGMT_TX_SEND_CMDID,
|
||||
((struct wmi_command_header *)bufp)->type,
|
||||
((struct wmi_command_header *)bufp)->sub_type,
|
||||
cmd->vdev_id, cmd->chanfreq);
|
||||
|
||||
if (wmi_unified_cmd_send(wmi_handle, buf, cmd_len,
|
||||
WMI_MGMT_TX_SEND_CMDID)) {
|
||||
WMI_LOGE("%s: Failed to send mgmt Tx", __func__);
|
||||
|
在新工单中引用
屏蔽一个用户