From 7357aa662d0bb92ad4e294ef44940d62dc17ff00 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Fri, 17 May 2019 11:59:28 -0700 Subject: [PATCH] qcacld-3.0: Replace WMA BCAST/MCAST macros with QDF BCAST/MCAST Replace WMA BCAST/MCAST macros with converged QDF BCAST/MCAST macros. Change-Id: I4f629597ccbf2ef756dce9ee23c6ecf875905915 CRs-Fixed: 2455150 --- core/wma/inc/wma.h | 4 ---- core/wma/src/wma_features.c | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/core/wma/inc/wma.h b/core/wma/inc/wma.h index 606f9d01e5b9..b30ceed5f849 100644 --- a/core/wma/inc/wma.h +++ b/core/wma/inc/wma.h @@ -114,10 +114,6 @@ #define WMA_HW_DEF_SCAN_MAX_DURATION 30000 /* 30 secs */ -#define WMA_BCAST_MAC_ADDR (0xFF) -#define WMA_MCAST_IPV4_MAC_ADDR (0x01) -#define WMA_MCAST_IPV6_MAC_ADDR (0x33) - #define WMA_EAPOL_SUBTYPE_GET_MIN_LEN 21 #define WMA_EAPOL_INFO_GET_MIN_LEN 23 #define WMA_IS_DHCP_GET_MIN_LEN 38 diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c index 1361e500ea21..75bf6313ba4f 100644 --- a/core/wma/src/wma_features.c +++ b/core/wma/src/wma_features.c @@ -2242,13 +2242,13 @@ static void wma_wow_inc_wake_lock_stats_by_dst_addr(t_wma_handle *wma, stats = &vdev->wow_stats; switch (*dest_mac) { - case WMA_BCAST_MAC_ADDR: + case QDF_BCAST_MAC_ADDR: stats->bcast++; break; - case WMA_MCAST_IPV4_MAC_ADDR: + case QDF_MCAST_IPV4_MAC_ADDR: stats->ipv4_mcast++; break; - case WMA_MCAST_IPV6_MAC_ADDR: + case QDF_MCAST_IPV6_MAC_ADDR: stats->ipv6_mcast++; break; default: