summaryrefslogtreecommitdiff
path: root/core/mac/src
diff options
context:
space:
mode:
authorNachiket Kukade <nkukade@codeaurora.org>2018-02-16 20:45:20 +0530
committersnandini <snandini@codeaurora.org>2018-02-21 18:23:26 -0800
commitc9b41670dde907313739c5db0d9d96a260d532ed (patch)
tree392f0c0a34e6aec68d910bf928b3d1682650dc7d /core/mac/src
parentba2531d1d6d18c15cee3c0c1420c3f07ea781976 (diff)
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
Diffstat (limited to 'core/mac/src')
-rw-r--r--core/mac/src/include/sir_params.h4
-rw-r--r--core/mac/src/sys/legacy/src/utils/src/mac_trace.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/mac/src/include/sir_params.h b/core/mac/src/include/sir_params.h
index 9104112e72c0..fd784dafc809 100644
--- a/core/mac/src/include/sir_params.h
+++ b/core/mac/src/include/sir_params.h
@@ -626,8 +626,8 @@ typedef struct sSirMbMsgP2p {
#define SIR_HAL_REMOVE_BCN_FILTER_CMDID (SIR_HAL_ITC_MSG_TYPES_BEGIN + 340)
-#define SIR_HAL_BPF_GET_CAPABILITIES_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 341)
-#define SIR_HAL_BPF_SET_INSTRUCTIONS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 342)
+#define SIR_HAL_APF_GET_CAPABILITIES_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 341)
+#define SIR_HAL_APF_SET_INSTRUCTIONS_REQ (SIR_HAL_ITC_MSG_TYPES_BEGIN + 342)
#define SIR_HAL_SET_WISA_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 343)
#define SIR_HAL_SET_ADAPT_DWELLTIME_PARAMS (SIR_HAL_ITC_MSG_TYPES_BEGIN + 344)
diff --git a/core/mac/src/sys/legacy/src/utils/src/mac_trace.c b/core/mac/src/sys/legacy/src/utils/src/mac_trace.c
index d1f682e3cf31..e7c5746771f6 100644
--- a/core/mac/src/sys/legacy/src/utils/src/mac_trace.c
+++ b/core/mac/src/sys/legacy/src/utils/src/mac_trace.c
@@ -623,8 +623,8 @@ uint8_t *mac_trace_get_wma_msg_string(uint16_t wma_msg)
CASE_RETURN_STRING(WMA_ADD_BCN_FILTER_CMDID);
CASE_RETURN_STRING(WMA_REMOVE_BCN_FILTER_CMDID);
CASE_RETURN_STRING(WMA_SET_ADAPT_DWELLTIME_CONF_PARAMS);
- CASE_RETURN_STRING(WDA_BPF_GET_CAPABILITIES_REQ);
- CASE_RETURN_STRING(WDA_BPF_SET_INSTRUCTIONS_REQ);
+ CASE_RETURN_STRING(WDA_APF_GET_CAPABILITIES_REQ);
+ CASE_RETURN_STRING(WDA_APF_SET_INSTRUCTIONS_REQ);
CASE_RETURN_STRING(WMA_SET_PDEV_IE_REQ);
CASE_RETURN_STRING(WMA_UPDATE_WEP_DEFAULT_KEY);
CASE_RETURN_STRING(WMA_SEND_FREQ_RANGE_CONTROL_IND);