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
Cette révision appartient à :

révisé par
Nandini Suresh

Parent
c7cd2d6bec
révision
38a294f178
@@ -76,6 +76,28 @@ struct wmi_event_debug {
|
||||
uint64_t time;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wmi_command_header - Type for accessing frame data
|
||||
* @ type - 802.11 Frame type
|
||||
* @ subType - 802.11 Frame subtype
|
||||
* @ protVer - 802.11 Version
|
||||
*/
|
||||
struct wmi_command_header {
|
||||
#ifndef ANI_LITTLE_BIT_ENDIAN
|
||||
|
||||
uint32_t sub_type:4;
|
||||
uint32_t type:2;
|
||||
uint32_t prot_ver:2;
|
||||
|
||||
#else
|
||||
|
||||
uint32_t prot_ver:2;
|
||||
uint32_t type:2;
|
||||
uint32_t sub_type:4;
|
||||
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wmi_log_buf_t - WMI log buffer information type
|
||||
* @buf - Refernce to WMI log buffer
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur