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
This commit is contained in:
Sandeep Puligilla
2016-06-13 15:42:55 -07:00
committed by Nandini Suresh
parent c7cd2d6bec
commit 38a294f178
2 changed files with 27 additions and 0 deletions

View File

@@ -111,6 +111,11 @@ void *wmi_unified_attach(void *scn_handle,
osdev_t osdev, enum wmi_target_type target_type,
bool use_cookie, struct wmi_rx_ops *ops);
void wmi_mgmt_cmd_record(wmi_unified_t wmi_handle, WMI_CMD_ID cmd,
uint32_t type, uint32_t subtype,
uint32_t vdev_id, uint32_t chanfreq);
/**
* detach for unified WMI
*