qcacld-3.0: Rename legacy definitions containing BPF to APF
In implementation of Android Packet Filter, functions, variables, definitions are named after BPF, which stands for Berkely Packet Filter. The term was more appropriate for Link Layer packet filters implemented in the Linux kernel, known as Linux Socket Filters. The term BPF is obsolete now, so rename it with the appropriate acronym, APF. Change-Id: I9e02edbc580ffb2c559c8e864f54d255fc2d51a3 CRs-Fixed: 2191530
这个提交包含在:
@@ -352,7 +352,7 @@ pmo_intersect_arp_ns_offload(struct pmo_psoc_priv_obj *psoc_ctx)
|
||||
|
||||
/**
|
||||
* pmo_intersect_apf() - intersect config and firmware capability for
|
||||
* the BPF feature
|
||||
* the APF feature
|
||||
* @psoc_ctx: A PMO psoc context
|
||||
*
|
||||
* Note: The caller is expected to grab the PMO context lock.
|
||||
@@ -366,7 +366,7 @@ static inline bool pmo_intersect_apf(struct pmo_psoc_priv_obj *psoc_ctx)
|
||||
|
||||
/**
|
||||
* pmo_intersect_packet_filter() - intersect config and firmware capability for
|
||||
* the BPF feature
|
||||
* the APF feature
|
||||
* @psoc_ctx: A PMO psoc context
|
||||
*
|
||||
* Note: The caller is expected to grab the PMO context lock.
|
||||
|
@@ -76,14 +76,14 @@ void pmo_update_target_service(struct wlan_objmgr_psoc *psoc,
|
||||
WMI_SERVICE service, bool value);
|
||||
|
||||
/**
|
||||
* pmo_update_ra_limit() - update ra limit based on bpf filter
|
||||
* pmo_update_ra_limit() - update ra limit based on apf filter
|
||||
* enabled or not
|
||||
* @psoc: objmgr psoc
|
||||
* @bpf_enabled: true when bpf service is enabled else false
|
||||
* @apf_enabled: true when apf service is enabled else false
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void pmo_update_ra_limit(struct wlan_objmgr_psoc *psoc, bool bpf_enabled);
|
||||
void pmo_update_ra_limit(struct wlan_objmgr_psoc *psoc, bool apf_enabled);
|
||||
|
||||
/**
|
||||
* pmo_set_wow_event_bitmap() - Assign bitmask with wow event
|
||||
|
@@ -260,7 +260,7 @@ enum pmo_auto_pwr_detect_failure_mode {
|
||||
/**
|
||||
* struct pmo_psoc_cfg - user configuration required for pmo
|
||||
* @ptrn_match_enable_all_vdev: true when pattern match is enable for all vdev
|
||||
* @apf_enable: true if psoc supports bpf else false
|
||||
* @apf_enable: true if psoc supports apf else false
|
||||
* @arp_offload_enable: true if arp offload is supported for psoc else false
|
||||
* @hw_filter_mode: which mode the hardware filter should use during DTIM
|
||||
* @ns_offload_enable_static: true if psoc supports ns offload in ini else false
|
||||
|
在新工单中引用
屏蔽一个用户