Fixed the MFP Status/Reason Code values per 802.11w/D7.0
This commit is contained in:
parent
34cbe7d0b0
commit
9a9876bf9c
2 changed files with 3 additions and 5 deletions
|
@ -882,9 +882,9 @@ static void handle_assoc(struct hostapd_data *hapd,
|
|||
resp = WLAN_STATUS_UNSPECIFIED_FAILURE;
|
||||
#ifdef CONFIG_IEEE80211W
|
||||
else if (res == WPA_MGMT_FRAME_PROTECTION_VIOLATION)
|
||||
resp = WLAN_STATUS_UNSPECIFIED_FAILURE; /* FIX */
|
||||
resp = WLAN_STATUS_ROBUST_MGMT_FRAME_POLICY_VIOLATION;
|
||||
else if (res == WPA_INVALID_MGMT_GROUP_CIPHER)
|
||||
resp = WLAN_STATUS_UNSPECIFIED_FAILURE; /* FIX */
|
||||
resp = WLAN_STATUS_ROBUST_MGMT_FRAME_POLICY_VIOLATION;
|
||||
#endif /* CONFIG_IEEE80211W */
|
||||
else if (res == WPA_INVALID_MDIE)
|
||||
resp = WLAN_STATUS_INVALID_MDIE;
|
||||
|
|
|
@ -118,6 +118,7 @@
|
|||
#define WLAN_STATUS_ASSOC_DENIED_NO_DSSS_OFDM 27
|
||||
/* IEEE 802.11w */
|
||||
#define WLAN_STATUS_ASSOC_REJECTED_TEMPORARILY 30
|
||||
#define WLAN_STATUS_ROBUST_MGMT_FRAME_POLICY_VIOLATION 31
|
||||
/* IEEE 802.11i */
|
||||
#define WLAN_STATUS_INVALID_IE 40
|
||||
#define WLAN_STATUS_GROUP_CIPHER_NOT_VALID 41
|
||||
|
@ -164,9 +165,6 @@
|
|||
#define WLAN_REASON_INVALID_RSN_IE_CAPAB 22
|
||||
#define WLAN_REASON_IEEE_802_1X_AUTH_FAILED 23
|
||||
#define WLAN_REASON_CIPHER_SUITE_REJECTED 24
|
||||
/* IEEE 802.11w */
|
||||
#define WLAN_REASON_INVALID_GROUP_MGMT_CIPHER 25
|
||||
#define WLAN_REASON_ROBUST_MGMT_FRAME_POLICY_VIOLATION 26
|
||||
|
||||
|
||||
/* Information Element IDs */
|
||||
|
|
Loading…
Reference in a new issue