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 7d4f04b91c
commit ae35a2c76f
4 changed files with 19 additions and 18 deletions

View File

@@ -3157,19 +3157,20 @@ QDF_STATUS wmi_unified_roam_send_hlp_cmd(void *wmi_hdl,
}
#endif
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)
{
wmi_unified_t wmi = (wmi_unified_t)wmi_hdl;
if (!wmi->ops->send_set_active_bpf_mode_cmd) {
WMI_LOGD("send_set_active_bpf_mode_cmd op is NULL");
if (!wmi->ops->send_set_active_apf_mode_cmd) {
WMI_LOGD("send_set_active_apf_mode_cmd op is NULL");
return QDF_STATUS_E_FAILURE;
}
return wmi->ops->send_set_active_bpf_mode_cmd(wmi, vdev_id,
return wmi->ops->send_set_active_apf_mode_cmd(wmi, vdev_id,
ucast_mode,
mcast_bcast_mode);
}