qcacld-3.0: Update firmware filter config (part 1)
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 (pending firmware support) pkt_filter_num = Packet Filter enabled ? 12 : 0 (disabled) Change-Id: Ic6624ff04598b53d8321e4864618b12b9702780f CRs-Fixed: 2196997
此提交包含在:
@@ -33,6 +33,30 @@
|
||||
#include "wlan_pmo_pkt_filter_public_struct.h"
|
||||
#include "wlan_pmo_hw_filter_public_struct.h"
|
||||
|
||||
/**
|
||||
* ucfg_pmo_get_apf_instruction_size() - get the current APF instruction size
|
||||
* @psoc: the psoc to query
|
||||
*
|
||||
* Return: APF instruction size
|
||||
*/
|
||||
uint32_t ucfg_pmo_get_apf_instruction_size(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* ucfg_pmo_get_num_packet_filters() - get the number of packet filters
|
||||
* @psoc: the psoc to query
|
||||
*
|
||||
* Return: number of packet filters
|
||||
*/
|
||||
uint8_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
|
||||
* @psoc: the psoc to query
|
||||
*
|
||||
* Return: number of WoW filters supported
|
||||
*/
|
||||
uint8_t ucfg_pmo_get_num_wow_filters(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* ucfg_pmo_is_ap_mode_supports_arp_ns() - Check ap mode support arp&ns offload
|
||||
* @psoc: objmgr psoc
|
||||
|
新增問題並參考
封鎖使用者