From a60b84c5fd4a6de5882457bcaf9ff649f331ceee Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Wed, 19 Jun 2019 15:47:30 -0700 Subject: [PATCH] qcacld-3.0: Remove obsolete/unused macros Remove obsolete/unused macros. Change-Id: I7a812c9b6ce4f2af151dd7262cb6d93dec6d0c2a CRs-Fixed: 2475125 --- components/ipa/core/inc/wlan_ipa_priv.h | 3 --- .../ocb/dispatcher/inc/wlan_ocb_public_structs.h | 11 ----------- core/mac/inc/sir_mac_prot_def.h | 15 --------------- 3 files changed, 29 deletions(-) diff --git a/components/ipa/core/inc/wlan_ipa_priv.h b/components/ipa/core/inc/wlan_ipa_priv.h index 9fa8201cd4..1790a8851c 100644 --- a/components/ipa/core/inc/wlan_ipa_priv.h +++ b/components/ipa/core/inc/wlan_ipa_priv.h @@ -691,9 +691,6 @@ struct wlan_ipa_priv { #define BW_GET_DIFF(_x, _y) (unsigned long)((ULONG_MAX - (_y)) + (_x) + 1) -#define WLAN_IPA_DBG_DUMP_RX_LEN 84 -#define WLAN_IPA_DBG_DUMP_TX_LEN 48 - #define IPA_RESOURCE_COMP_WAIT_TIME 100 #ifdef FEATURE_METERING diff --git a/components/ocb/dispatcher/inc/wlan_ocb_public_structs.h b/components/ocb/dispatcher/inc/wlan_ocb_public_structs.h index c1d96cdf79..87207f99ca 100644 --- a/components/ocb/dispatcher/inc/wlan_ocb_public_structs.h +++ b/components/ocb/dispatcher/inc/wlan_ocb_public_structs.h @@ -24,15 +24,6 @@ #define _WLAN_OCB_STRUCTS_H_ #include -/* number of vdevs that can support OCB */ -#define OCB_VDEVS_NUM 1 - -/* maximum number of channels that can do OCB */ -#define OCB_CHANNELS_NUM 2 - -/* maximum number of channels in an OCB schedule */ -#define OCB_SCHEDULES_NUM 2 - /* Don't add the RX stats header to packets received on this channel */ #define OCB_CHANNEL_FLAG_DISABLE_RX_STATS_HDR (1 << 0) @@ -42,8 +33,6 @@ /* The size of the utc time error in bytes. */ #define OCB_SIZE_UTC_TIME_ERROR (5) -#define OCB_CHANNEL_MAX (5) - /** * struct ocb_utc_param - parameters to set UTC time * @vdev_id: vdev id diff --git a/core/mac/inc/sir_mac_prot_def.h b/core/mac/inc/sir_mac_prot_def.h index dd2ef673cd..f425a43b32 100644 --- a/core/mac/inc/sir_mac_prot_def.h +++ b/core/mac/inc/sir_mac_prot_def.h @@ -54,9 +54,6 @@ #define SIR_MAC_CTRL_FRAME 0x1 #define SIR_MAC_DATA_FRAME 0x2 -#define SIR_MAC_FRAME_TYPE_START 0x0 -#define SIR_MAC_FRAME_TYPE_END 0x3 - /* Data frame subtype definitions */ #define SIR_MAC_DATA_DATA 0 #define SIR_MAC_DATA_DATA_ACK 1 @@ -75,9 +72,6 @@ #define SIR_MAC_DATA_QOS_NULL_POLL 14 #define SIR_MAC_DATA_QOS_NULL_ACK_POLL 15 -#define SIR_MAC_FRAME_SUBTYPE_START 0 -#define SIR_MAC_FRAME_SUBTYPE_END 16 - #define SIR_MAC_DATA_QOS_MASK 8 #define SIR_MAC_DATA_NULL_MASK 4 #define SIR_MAC_DATA_POLL_MASK 2 @@ -103,9 +97,7 @@ #define SIR_MAC_ACTION_TX 1 #define SIR_MAC_ACTION_RX 2 -#define SIR_MAC_BA_POLICY_DELAYED 0 #define SIR_MAC_BA_POLICY_IMMEDIATE 1 -#define SIR_MAC_BA_AMSDU_SUPPORTED 1 #define SIR_MAC_BA_DEFAULT_BUFF_SIZE 64 #define MAX_BA_BUFF_SIZE 256 @@ -139,11 +131,6 @@ /* HT Action Field Codes */ #define SIR_MAC_SM_POWER_SAVE 1 -/* DLP action frame types */ -#define SIR_MAC_DLP_REQ 0 -#define SIR_MAC_DLP_RSP 1 -#define SIR_MAC_DLP_TEARDOWN 2 - /* block acknowledgment action frame types */ #define SIR_MAC_ACTION_VENDOR_SPECIFIC 9 #define SIR_MAC_ACTION_VENDOR_SPECIFIC_CATEGORY 0x7F @@ -165,8 +152,6 @@ #define SIR_MAC_PDPA_GAS_COMEBACK_REQ 12 #define SIR_MAC_PDPA_GAS_COMEBACK_RSP 13 -#define SIR_MAC_MAX_RANDOM_LENGTH 2306 - /* ----------------------------------------------------------------------------- */ /* EID (Element ID) definitions */ /* and their min/max lengths */