qcacmn: Add wmi interface command to support debug stats

Add wmi interface command to support set/get NUD debug stats.

Change-Id: I2c5e9e2f6b0bb2e7b7b0a6404e939b33bffa3f18
CRs-Fixed: 2011463
Esse commit está contido em:
Anurag Chouhan
2017-09-11 14:56:30 +05:30
commit de pramod kotreshappa
commit c170542a38
3 arquivos alterados com 35 adições e 0 exclusões

Ver arquivo

@@ -5150,6 +5150,7 @@ typedef enum {
wmi_dfs_radar_detection_event_id,
wmi_ext_tbttoffset_update_event_id,
wmi_11d_new_country_event_id,
wmi_get_arp_stats_req_id,
wmi_events_max,
} wmi_conv_event_id;
@@ -7563,4 +7564,28 @@ struct wmi_mawc_roam_params {
uint8_t rssi_stationary_low_adjust;
};
/**
* struct set_arp_stats - set/reset arp stats
* @vdev_id: session id
* @flag: enable/disable stats
* @pkt_type: type of packet(1 - arp)
* @ip_addr: subnet ipv4 address in case of encrypted packets
*/
struct set_arp_stats {
uint32_t vdev_id;
uint8_t flag;
uint8_t pkt_type;
uint32_t ip_addr;
};
/**
* struct get_arp_stats - get arp stats from firmware
* @pkt_type: packet type(1 - ARP)
* @vdev_id: session id
*/
struct get_arp_stats {
uint8_t pkt_type;
uint32_t vdev_id;
};
#endif /* _WMI_UNIFIED_PARAM_H_ */