From 1043f52beb44c420e716d884bd76cf16961b0b94 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 29 Mar 2019 11:32:51 -0700 Subject: [PATCH] qcacld-3.0: Replace typedef tSirWifiChannelWidth The enumerations provided by typedef tSirWifiChannelWidth duplicate the ones provided by common enum phy_ch_width, so utilize the common definition. Change-Id: Ie2573858a010a97cee2903d7d029671bb7a60219 CRs-Fixed: 2427169 --- core/mac/inc/sir_api.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index 6c70bc3562..0a6ccdd2dd 100644 --- a/core/mac/inc/sir_api.h +++ b/core/mac/inc/sir_api.h @@ -3502,17 +3502,6 @@ typedef struct { uint8_t stopReq; } tSirLLStatsClearReq, *tpSirLLStatsClearReq; -/* channel operating width */ -typedef enum { - WIFI_CHAN_WIDTH_20 = 0, - WIFI_CHAN_WIDTH_40 = 1, - WIFI_CHAN_WIDTH_80 = 2, - WIFI_CHAN_WIDTH_160 = 3, - WIFI_CHAN_WIDTH_80P80 = 4, - WIFI_CHAN_WIDTH_5 = 5, - WIFI_CHAN_WIDTH_10 = 6, -} tSirWifiChannelWidth; - typedef enum { WIFI_DISCONNECTED = 0, WIFI_AUTHENTICATING = 1, @@ -3578,7 +3567,7 @@ struct wifi_interface_info { /* channel information */ typedef struct { /* channel width (20, 40, 80, 80+80, 160) */ - tSirWifiChannelWidth width; + enum phy_ch_width width; /* primary 20 MHz channel */ tSirWifiChannel centerFreq; /* center frequency (MHz) first segment */