qcacld-3.0: Update firmware filter config (part 2)

In order to conserve firmware memory when various filtering features are
not in use, update the target configuration provided to firmware based
on the intersection of various filtering features and host
configuration.

Part 1
	num_wow_filters = ARP/NS offload enabled ? 2 : 5
	bpf_instruction_size - BPF enabled ? 0 (auto) : 0xffffffff

Part 2
	num_packet_filter = Packet Filter enabled ? 12 : 0xffffffff

Change-Id: Ie8cb4ae44c83b115b249e22ebd7146278ed70612
CRs-Fixed: 2199297
This commit is contained in:
Dustin Brown
2018-03-02 11:11:34 -08:00
gecommit door nshrivas
bovenliggende 6e67003e87
commit 2102362779
4 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen

Bestand weergeven

@@ -47,7 +47,7 @@ uint32_t ucfg_pmo_get_apf_instruction_size(struct wlan_objmgr_psoc *psoc);
*
* Return: number of packet filters
*/
uint8_t ucfg_pmo_get_num_packet_filters(struct wlan_objmgr_psoc *psoc);
uint32_t ucfg_pmo_get_num_packet_filters(struct wlan_objmgr_psoc *psoc);
/**
* ucfg_pmo_get_num_wow_filters() - get the supported number of WoW filters