diff --git a/src/common/defs.h b/src/common/defs.h index c54f57005..4faf1c860 100644 --- a/src/common/defs.h +++ b/src/common/defs.h @@ -408,4 +408,15 @@ enum eap_proxy_sim_state { #define OCE_STA_CFON BIT(1) #define OCE_AP BIT(2) +/* enum chan_width - Channel width definitions */ +enum chan_width { + CHAN_WIDTH_20_NOHT, + CHAN_WIDTH_20, + CHAN_WIDTH_40, + CHAN_WIDTH_80, + CHAN_WIDTH_80P80, + CHAN_WIDTH_160, + CHAN_WIDTH_UNKNOWN +}; + #endif /* DEFS_H */ diff --git a/src/common/ieee802_11_common.h b/src/common/ieee802_11_common.h index 4e8c766e4..ce3bb8b9f 100644 --- a/src/common/ieee802_11_common.h +++ b/src/common/ieee802_11_common.h @@ -10,9 +10,9 @@ #define IEEE802_11_COMMON_H #include "defs.h" +#include "ieee802_11_defs.h" struct hostapd_hw_modes; -enum chan_width; #define MAX_NOF_MB_IES_SUPPORTED 5 diff --git a/src/drivers/driver.h b/src/drivers/driver.h index 26b6fa3ee..380e25272 100644 --- a/src/drivers/driver.h +++ b/src/drivers/driver.h @@ -1939,17 +1939,6 @@ enum smps_mode { SMPS_INVALID, }; -/* enum chan_width - Channel width definitions */ -enum chan_width { - CHAN_WIDTH_20_NOHT, - CHAN_WIDTH_20, - CHAN_WIDTH_40, - CHAN_WIDTH_80, - CHAN_WIDTH_80P80, - CHAN_WIDTH_160, - CHAN_WIDTH_UNKNOWN -}; - #define WPA_INVALID_NOISE 9999 /**