qcacmn: Fix compilation with WMI_INTERFACE_EVENT_LOGGING disabled

Compilation error occurs due to undefined struct when
WMI_INTERFACE_EVENT_LOGGING disabled.

Use void pointer as argument to wmi_mgmt_cmd_record() and cast as header
struct inside logging function to avoid casting as undeclared type.

Change-Id: I7d0922ee2009b235473febdbcbc3317e432a1386
CRs-Fixed: 1043597
diff --git a/wmi_unified_api.h b/wmi_unified_api.h
index 55951f4..8086231 100644
--- a/wmi_unified_api.h
+++ b/wmi_unified_api.h
@@ -112,9 +112,19 @@
 			 bool use_cookie, struct wmi_rx_ops *ops);
 
 
+/**
+ * wmi_mgmt_cmd_record() - Wrapper function for mgmt command logging macro
+ *
+ * @wmi_handle: wmi handle
+ * @cmd: mgmt command
+ * @header: pointer to 802.11 header
+ * @vdev_id: vdev id
+ * @chanfreq: channel frequency
+ *
+ * Return: none
+ */
 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);
+			void *header, uint32_t vdev_id, uint32_t chanfreq);
 
 /**
  * detach for unified WMI