From 9b1fbfcc406de689e24cf9e68bc69a0b4eb6c45f Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 14 Dec 2018 22:17:34 -0800 Subject: [PATCH] qcacld-3.0: Remove legacy channel avoidance structs The legacy channel avoidance struct tSirChAvoidIndType, and its member struct tSirChAvoidFreqType, are unused, so remove them. Change-Id: Id891a094c674ca7bc3c9f2fdb7a9f990a9e79929 CRs-Fixed: 2369203 --- core/mac/inc/sir_api.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index b4a181623923..c97b968c0c2f 100644 --- a/core/mac/inc/sir_api.h +++ b/core/mac/inc/sir_api.h @@ -3247,20 +3247,6 @@ typedef struct sSirRateUpdateInd { } tSirRateUpdateInd, *tpSirRateUpdateInd; -#if defined(FEATURE_WLAN_CH_AVOID) || defined(FEATURE_WLAN_FORCE_SAP_SCC) -#define SIR_CH_AVOID_MAX_RANGE 4 - -typedef struct sSirChAvoidFreqType { - uint32_t start_freq; - uint32_t end_freq; -} tSirChAvoidFreqType; - -typedef struct sSirChAvoidIndType { - uint32_t avoid_range_count; - tSirChAvoidFreqType avoid_freq_range[SIR_CH_AVOID_MAX_RANGE]; -} tSirChAvoidIndType; -#endif /* FEATURE_WLAN_CH_AVOID || FEATURE_WLAN_FORCE_SAP_SCC */ - #define SIR_DFS_MAX_20M_SUB_CH 8 #define SIR_80MHZ_START_CENTER_CH_DIFF 6