فهرست منبع

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
Nachiket Kukade 7 سال پیش
والد
کامیت
8a37ee8431
3فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 2 2
      pmo/core/inc/wlan_pmo_main.h
  2. 3 3
      pmo/core/inc/wlan_pmo_static_config.h
  3. 1 1
      pmo/dispatcher/inc/wlan_pmo_common_public_struct.h

+ 2 - 2
pmo/core/inc/wlan_pmo_main.h

@@ -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
  * pmo_intersect_apf() - intersect config and firmware capability for
- *	the BPF feature
+ *	the APF feature
  * @psoc_ctx: A PMO psoc context
  * @psoc_ctx: A PMO psoc context
  *
  *
  * Note: The caller is expected to grab the PMO context lock.
  * 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
  * pmo_intersect_packet_filter() - intersect config and firmware capability for
- *	the BPF feature
+ *	the APF feature
  * @psoc_ctx: A PMO psoc context
  * @psoc_ctx: A PMO psoc context
  *
  *
  * Note: The caller is expected to grab the PMO context lock.
  * Note: The caller is expected to grab the PMO context lock.

+ 3 - 3
pmo/core/inc/wlan_pmo_static_config.h

@@ -76,14 +76,14 @@ void pmo_update_target_service(struct wlan_objmgr_psoc *psoc,
 	WMI_SERVICE service, bool value);
 	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
  *  enabled or not
  * @psoc: objmgr psoc
  * @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
  * 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
  * pmo_set_wow_event_bitmap() - Assign bitmask with wow event

+ 1 - 1
pmo/dispatcher/inc/wlan_pmo_common_public_struct.h

@@ -260,7 +260,7 @@ enum pmo_auto_pwr_detect_failure_mode {
 /**
 /**
  * struct pmo_psoc_cfg - user configuration required for pmo
  * struct pmo_psoc_cfg - user configuration required for pmo
  * @ptrn_match_enable_all_vdev: true when pattern match is enable for all vdev
  * @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
  * @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
  * @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
  * @ns_offload_enable_static: true if psoc supports ns offload in ini else false