qcacmn: Add APIs to configure Active BPF Mode

Active Mode Berkeley Packet Filter (Active BPF) is a new feature that
allows firmware to apply BPF even while the Apps processor is active.
There are 3 modes:
 * Disabled: do not apply BPF in active mode
 * Enabled: apply BPF to all packets in active mode
 * Adaptive: apply BPF up to some threshold to avoid performance impact

Add WMI APIs and related logic to support configuration of Active BPF
Mode.

Change-Id: I8c0778b3fa73d148422aa103b0fc0950433fec95
CRs-Fixed: 1111400
This commit is contained in:
Dustin Brown
2017-01-13 15:24:07 -08:00
committed by qcabuildsw
vanhempi 79fdae4e69
commit 4def31691f
3 muutettua tiedostoa jossa 31 lisäystä ja 0 poistoa

Näytä tiedosto

@@ -724,6 +724,11 @@ QDF_STATUS (*send_get_buf_extscan_hotlist_cmd)(wmi_unified_t wmi_handle,
struct ext_scan_setbssi_hotlist_params *
photlist, int *buf_len);
QDF_STATUS (*send_set_active_bpf_mode_cmd)(wmi_unified_t wmi_handle,
uint8_t vdev_id,
enum wmi_host_active_bpf_mode ucast_mode,
enum wmi_host_active_bpf_mode mcast_bcast_mode);
QDF_STATUS (*send_pdev_get_tpc_config_cmd)(wmi_unified_t wmi_handle,
uint32_t param);