Эх сурвалжийг харах

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
Srinivas Girigowda 5 жил өмнө
parent
commit
7357aa662d

+ 0 - 4
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

+ 3 - 3
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: