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
This commit is contained in:
Jeff Johnson
2019-03-29 11:32:51 -07:00
committad av nshrivas
förälder fcb078d1e3
incheckning 1043f52beb

Visa fil

@@ -3502,17 +3502,6 @@ typedef struct {
uint8_t stopReq; uint8_t stopReq;
} tSirLLStatsClearReq, *tpSirLLStatsClearReq; } 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 { typedef enum {
WIFI_DISCONNECTED = 0, WIFI_DISCONNECTED = 0,
WIFI_AUTHENTICATING = 1, WIFI_AUTHENTICATING = 1,
@@ -3578,7 +3567,7 @@ struct wifi_interface_info {
/* channel information */ /* channel information */
typedef struct { typedef struct {
/* channel width (20, 40, 80, 80+80, 160) */ /* channel width (20, 40, 80, 80+80, 160) */
tSirWifiChannelWidth width; enum phy_ch_width width;
/* primary 20 MHz channel */ /* primary 20 MHz channel */
tSirWifiChannel centerFreq; tSirWifiChannel centerFreq;
/* center frequency (MHz) first segment */ /* center frequency (MHz) first segment */