mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacmn: Add diag log structure for data pkt info
Add the diag log structure for protocol data packet info to be sent as diag log to user-space. Change-Id: I604a8e4d4355c39e66cd1b6b877aecb7f658b316 CRs-Fixed: 2595797
This commit is contained in:
parent
3232a8d88b
commit
cbd99a4af5
2 changed files with 30 additions and 0 deletions
|
|
@ -551,6 +551,34 @@ struct host_log_wlan_rrm_tx_rx_info {
|
|||
struct wlan_rrm_beacon_report bcn_rpt;
|
||||
} qdf_packed;
|
||||
|
||||
/**
|
||||
* struct host_event_proto_pkt_info - DP protocol pkt info
|
||||
* @hdr: Log header
|
||||
* @version: version
|
||||
* @type: data pkt type
|
||||
* @subtype: data pkt subtype
|
||||
* @dir: tx or rx
|
||||
* @sa: source MAC address
|
||||
* @da: destination MAC address
|
||||
* @msdu_id: MSDU id
|
||||
* @status: status
|
||||
*
|
||||
* Structure containing the protocol data pkt info
|
||||
*
|
||||
* LOG_WLAN_DP_PROTO_PKT_INFO_C 0x1A1E
|
||||
*/
|
||||
struct host_event_proto_pkt_info {
|
||||
log_hdr_type hdr;
|
||||
uint32_t version;
|
||||
uint8_t type;
|
||||
uint8_t subtype;
|
||||
uint8_t dir;
|
||||
uint8_t sa[QDF_MAC_ADDR_SIZE];
|
||||
uint8_t da[QDF_MAC_ADDR_SIZE];
|
||||
uint16_t msdu_id;
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
Function declarations and documenation
|
||||
------------------------------------------------------------------------*/
|
||||
|
|
|
|||
|
|
@ -2009,6 +2009,8 @@
|
|||
#define LOG_WLAN_ROAM_RESULT_INFO_C ((0x1A1C) + LOG_1X_BASE_C)
|
||||
#define LOG_WLAN_RRM_TX_RX_INFO_C ((0x1A1D) + LOG_1X_BASE_C)
|
||||
|
||||
#define LOG_WLAN_DP_PROTO_PKT_INFO_C ((0xA1E) + LOG_1X_BASE_C)
|
||||
|
||||
/* This is only here for old (pre equipment ID update) logging code */
|
||||
#define LOG_LAST_C (LOG_1X_LAST_C & 0xFFF)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue