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
This commit is contained in:

committed by
pramod kotreshappa

parent
40d6b111fd
commit
c170542a38
@@ -1536,4 +1536,8 @@ QDF_STATUS wmi_unified_send_dbs_scan_sel_params_cmd(void *wmi_hdl,
|
|||||||
|
|
||||||
QDF_STATUS wmi_unified_send_limit_off_chan_cmd(void *wmi_hdl,
|
QDF_STATUS wmi_unified_send_limit_off_chan_cmd(void *wmi_hdl,
|
||||||
struct wmi_limit_off_chan_param *wmi_param);
|
struct wmi_limit_off_chan_param *wmi_param);
|
||||||
|
QDF_STATUS wmi_unified_set_arp_stats_req(void *wmi_hdl,
|
||||||
|
struct set_arp_stats *req_buf);
|
||||||
|
QDF_STATUS wmi_unified_get_arp_stats_req(void *wmi_hdl,
|
||||||
|
struct get_arp_stats *req_buf);
|
||||||
#endif /* _WMI_UNIFIED_API_H_ */
|
#endif /* _WMI_UNIFIED_API_H_ */
|
||||||
|
@@ -5150,6 +5150,7 @@ typedef enum {
|
|||||||
wmi_dfs_radar_detection_event_id,
|
wmi_dfs_radar_detection_event_id,
|
||||||
wmi_ext_tbttoffset_update_event_id,
|
wmi_ext_tbttoffset_update_event_id,
|
||||||
wmi_11d_new_country_event_id,
|
wmi_11d_new_country_event_id,
|
||||||
|
wmi_get_arp_stats_req_id,
|
||||||
|
|
||||||
wmi_events_max,
|
wmi_events_max,
|
||||||
} wmi_conv_event_id;
|
} wmi_conv_event_id;
|
||||||
@@ -7563,4 +7564,28 @@ struct wmi_mawc_roam_params {
|
|||||||
uint8_t rssi_stationary_low_adjust;
|
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_ */
|
#endif /* _WMI_UNIFIED_PARAM_H_ */
|
||||||
|
@@ -750,6 +750,12 @@ QDF_STATUS (*send_roam_scan_offload_rssi_change_cmd)(wmi_unified_t wmi_handle,
|
|||||||
QDF_STATUS (*send_per_roam_config_cmd)(wmi_unified_t wmi_handle,
|
QDF_STATUS (*send_per_roam_config_cmd)(wmi_unified_t wmi_handle,
|
||||||
struct wmi_per_roam_config_req *req_buf);
|
struct wmi_per_roam_config_req *req_buf);
|
||||||
|
|
||||||
|
QDF_STATUS (*send_set_arp_stats_req_cmd)(wmi_unified_t wmi_handle,
|
||||||
|
struct set_arp_stats *req_buf);
|
||||||
|
|
||||||
|
QDF_STATUS (*send_get_arp_stats_req_cmd)(wmi_unified_t wmi_handle,
|
||||||
|
struct get_arp_stats *req_buf);
|
||||||
|
|
||||||
QDF_STATUS (*send_get_buf_extscan_hotlist_cmd)(wmi_unified_t wmi_handle,
|
QDF_STATUS (*send_get_buf_extscan_hotlist_cmd)(wmi_unified_t wmi_handle,
|
||||||
struct ext_scan_setbssi_hotlist_params *
|
struct ext_scan_setbssi_hotlist_params *
|
||||||
photlist, int *buf_len);
|
photlist, int *buf_len);
|
||||||
|
Reference in New Issue
Block a user