qcacmn: Add pktcapture support param and Offload event Id
Add wmi resource flag to send packet capture from host to FW. Register Offload Event Id for packet capture mode. Change-Id: Icd9e542a517c8b267a228324b7612ddded28f182 CRs-Fixed: 2528439
This commit is contained in:
@@ -4553,6 +4553,7 @@ typedef enum {
|
||||
wmi_peer_tx_pn_response_event_id,
|
||||
wmi_roam_stats_event_id,
|
||||
wmi_oem_data_event_id,
|
||||
wmi_mgmt_offload_data_event_id,
|
||||
wmi_events_max,
|
||||
} wmi_conv_event_id;
|
||||
|
||||
@@ -5054,6 +5055,7 @@ typedef enum {
|
||||
wmi_service_ext2_msg,
|
||||
wmi_service_6ghz_support,
|
||||
wmi_service_bw_165mhz_support,
|
||||
wmi_service_packet_capture_support,
|
||||
wmi_services_max,
|
||||
} wmi_conv_service_ids;
|
||||
#define WMI_SERVICE_UNAVAILABLE 0xFFFF
|
||||
@@ -5224,7 +5226,8 @@ typedef struct {
|
||||
mgmt_comp_evt_bundle_support:1,
|
||||
tx_msdu_new_partition_id_support:1,
|
||||
new_htt_msg_format:1,
|
||||
peer_unmap_conf_support:1;
|
||||
peer_unmap_conf_support:1,
|
||||
pktcapture_support:1;
|
||||
uint32_t iphdr_pad_config;
|
||||
uint32_t
|
||||
qwrap_config:16,
|
||||
|
@@ -6723,6 +6723,9 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
|
||||
if (tgt_res_cfg->three_way_coex_config_legacy_en)
|
||||
WMI_RSRC_CFG_FLAG_THREE_WAY_COEX_CONFIG_LEGACY_SUPPORT_SET(
|
||||
resource_cfg->flag1, 1);
|
||||
if (tgt_res_cfg->pktcapture_support)
|
||||
WMI_RSRC_CFG_FLAG_PACKET_CAPTURE_SUPPORT_SET(
|
||||
resource_cfg->flag1, 1);
|
||||
|
||||
/*
|
||||
* Control padding using config param/ini of iphdr_pad_config
|
||||
@@ -13523,6 +13526,8 @@ static void populate_tlv_events_id(uint32_t *event_ids)
|
||||
WMI_PEER_TX_PN_RESPONSE_EVENTID;
|
||||
event_ids[wmi_roam_stats_event_id] = WMI_ROAM_STATS_EVENTID;
|
||||
event_ids[wmi_oem_data_event_id] = WMI_OEM_DATA_EVENTID;
|
||||
event_ids[wmi_mgmt_offload_data_event_id] =
|
||||
WMI_VDEV_MGMT_OFFLOAD_EVENTID;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -13801,6 +13806,8 @@ static void populate_tlv_service(uint32_t *wmi_service)
|
||||
WMI_SERVICE_6GHZ_SUPPORT;
|
||||
wmi_service[wmi_service_bw_165mhz_support] =
|
||||
WMI_SERVICE_BW_165MHZ_SUPPORT;
|
||||
wmi_service[wmi_service_packet_capture_support] =
|
||||
WMI_SERVICE_PACKET_CAPTURE_SUPPORT;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user