qcacmn: Implement the commands that cover APF 3.0 requirements

Android Packet Filter 3.0 requires the framework to be able to
read and write into the APF work memory in the Firmware. It
also requires to be able to enable or disable the interpreter.
New WMI commands are defined for read/write/enable/disable
operations.

Complete the implementation of these new commands.

Change-Id: I852d61eb213d9ae530e8a71069144ef35816f5b8
CRs-Fixed: 2184971
Cette révision appartient à :
Nachiket Kukade
2018-05-25 14:52:55 +05:30
révisé par nshrivas
Parent 9d1359fa51
révision 74cce66d76
4 fichiers modifiés avec 190 ajouts et 9 suppressions

Voir le fichier

@@ -811,11 +811,26 @@ QDF_STATUS (*send_get_buf_extscan_hotlist_cmd)(wmi_unified_t wmi_handle,
struct ext_scan_setbssi_hotlist_params *
photlist, int *buf_len);
#ifdef FEATURE_WLAN_APF
QDF_STATUS
(*send_set_active_apf_mode_cmd)(wmi_unified_t wmi_handle, uint8_t vdev_id,
enum wmi_host_active_apf_mode ucast_mode,
enum wmi_host_active_apf_mode mcast_bcast_mode);
QDF_STATUS (*send_apf_enable_cmd)(wmi_unified_t wmi_handle, uint32_t vdev_id,
bool enable);
QDF_STATUS (*send_apf_write_work_memory_cmd)(wmi_unified_t wmi_handle,
struct wmi_apf_write_memory_params *apf_write_params);
QDF_STATUS (*send_apf_read_work_memory_cmd)(wmi_unified_t wmi_handle,
struct wmi_apf_read_memory_params *apf_read_params);
QDF_STATUS (*extract_apf_read_memory_resp_event)(wmi_unified_t wmi_handle,
void *evt_buf,
struct wmi_apf_read_memory_resp_event_params *resp);
#endif /* FEATURE_WLAN_APF */
QDF_STATUS (*send_pdev_get_tpc_config_cmd)(wmi_unified_t wmi_handle,
uint32_t param);