diff --git a/src/ap/sta_info.h b/src/ap/sta_info.h index 5b01c1e6f..02f3de21f 100644 --- a/src/ap/sta_info.h +++ b/src/ap/sta_info.h @@ -49,10 +49,6 @@ #define WLAN_STA_PENDING_DEAUTH_CB BIT(30) #define WLAN_STA_NONERP BIT(31) -/* Maximum number of supported rates (from both Supported Rates and Extended - * Supported Rates IEs). */ -#define WLAN_SUPP_RATES_MAX 32 - struct hostapd_data; struct mbo_non_pref_chan_info { diff --git a/src/common/defs.h b/src/common/defs.h index 7bce6a64b..c7dec0f52 100644 --- a/src/common/defs.h +++ b/src/common/defs.h @@ -63,6 +63,10 @@ WPA_KEY_MGMT_FT_FILS_SHA256 | \ WPA_KEY_MGMT_FT_FILS_SHA384) +/* Maximum number of supported rates (from both Supported Rates and Extended + * Supported Rates IEs). */ +#define WLAN_SUPP_RATES_MAX 32 + static inline int wpa_key_mgmt_wpa_ieee8021x(int akm) { return !!(akm & (WPA_KEY_MGMT_IEEE8021X |