VHT: Use status code 104 to indicate VHT required
IEEE Std 802.11ac-2013 defines a status code for this, so use that instead of the unspecified reason. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
65249f6c4a
commit
13b24a766f
2 changed files with 2 additions and 1 deletions
|
@ -925,7 +925,7 @@ static u16 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta,
|
|||
hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
|
||||
HOSTAPD_LEVEL_INFO, "Station does not support "
|
||||
"mandatory VHT PHY - reject association");
|
||||
return WLAN_STATUS_UNSPECIFIED_FAILURE;
|
||||
return WLAN_STATUS_ASSOC_DENIED_NO_VHT;
|
||||
}
|
||||
#endif /* CONFIG_IEEE80211AC */
|
||||
|
||||
|
|
|
@ -161,6 +161,7 @@
|
|||
#define WLAN_STATUS_ANTI_CLOGGING_TOKEN_REQ 76
|
||||
#define WLAN_STATUS_FINITE_CYCLIC_GROUP_NOT_SUPPORTED 77
|
||||
#define WLAN_STATUS_TRANSMISSION_FAILURE 79
|
||||
#define WLAN_STATUS_ASSOC_DENIED_NO_VHT 104
|
||||
|
||||
/* Reason codes (IEEE 802.11-2007, 7.3.1.7, Table 7-22) */
|
||||
#define WLAN_REASON_UNSPECIFIED 1
|
||||
|
|
Loading…
Reference in a new issue