qcacmn: 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: I606afc747cddedb524a41cd8e5998400f04e69f6
CRs-Fixed: 2191531
This commit is contained in:
Nachiket Kukade
2018-05-22 12:17:15 +05:30
committed by nshrivas
parent f412a02f22
commit a52b8182da
9 changed files with 51 additions and 49 deletions

View File

@@ -1097,17 +1097,18 @@ QDF_STATUS wmi_unified_set_per_roam_config(void *wmi_hdl,
struct wmi_per_roam_config_req *req_buf);
/**
* wmi_unified_set_active_bpf_mode_cmd() - config active BPF mode in FW
* wmi_unified_set_active_apf_mode_cmd() - config active APF mode in FW
* @wmi_hdl: the WMI handle
* @vdev_id: the Id of the vdev to apply the configuration to
* @ucast_mode: the active BPF mode to configure for unicast packets
* @mcast_bcast_mode: the active BPF mode to configure for multicast/broadcast
* @ucast_mode: the active APF mode to configure for unicast packets
* @mcast_bcast_mode: the active APF mode to configure for multicast/broadcast
* packets
*/
QDF_STATUS wmi_unified_set_active_bpf_mode_cmd(void *wmi_hdl,
uint8_t vdev_id,
enum wmi_host_active_bpf_mode ucast_mode,
enum wmi_host_active_bpf_mode mcast_bcast_mode);
QDF_STATUS
wmi_unified_set_active_apf_mode_cmd(void *wmi_hdl, uint8_t vdev_id,
enum wmi_host_active_apf_mode ucast_mode,
enum wmi_host_active_apf_mode
mcast_bcast_mode);
QDF_STATUS wmi_unified_stats_request_send(void *wmi_hdl,
uint8_t macaddr[IEEE80211_ADDR_LEN],