FILS: Define authentication algorithm for FILS SK auth with PFS
This is needed to add PFS support into hostapd and wpa_supplicant FILS shared key authentication. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
049142bcfe
commit
cad291d671
2 changed files with 3 additions and 0 deletions
|
@ -163,6 +163,7 @@ static inline int wpa_key_mgmt_cckm(int akm)
|
||||||
#define WPA_AUTH_ALG_FT BIT(3)
|
#define WPA_AUTH_ALG_FT BIT(3)
|
||||||
#define WPA_AUTH_ALG_SAE BIT(4)
|
#define WPA_AUTH_ALG_SAE BIT(4)
|
||||||
#define WPA_AUTH_ALG_FILS BIT(5)
|
#define WPA_AUTH_ALG_FILS BIT(5)
|
||||||
|
#define WPA_AUTH_ALG_FILS_SK_PFS BIT(6)
|
||||||
|
|
||||||
|
|
||||||
enum wpa_alg {
|
enum wpa_alg {
|
||||||
|
|
|
@ -3219,6 +3219,8 @@ retry:
|
||||||
type = NL80211_AUTHTYPE_SAE;
|
type = NL80211_AUTHTYPE_SAE;
|
||||||
else if (params->auth_alg & WPA_AUTH_ALG_FILS)
|
else if (params->auth_alg & WPA_AUTH_ALG_FILS)
|
||||||
type = NL80211_AUTHTYPE_FILS_SK;
|
type = NL80211_AUTHTYPE_FILS_SK;
|
||||||
|
else if (params->auth_alg & WPA_AUTH_ALG_FILS_SK_PFS)
|
||||||
|
type = NL80211_AUTHTYPE_FILS_SK_PFS;
|
||||||
else
|
else
|
||||||
goto fail;
|
goto fail;
|
||||||
wpa_printf(MSG_DEBUG, " * Auth Type %d", type);
|
wpa_printf(MSG_DEBUG, " * Auth Type %d", type);
|
||||||
|
|
Loading…
Reference in a new issue