Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2651ae06 authored by Chung-Hsien Hsu's avatar Chung-Hsien Hsu Committed by Taher Hakim
Browse files

nl80211: add WPA3 definition for SAE authentication

Add definition of WPA version 3 for SAE authentication.
parent 7096fe30
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4395,6 +4395,7 @@ enum nl80211_mfp {
enum nl80211_wpa_versions {
	NL80211_WPA_VERSION_1 = 1 << 0,
	NL80211_WPA_VERSION_2 = 1 << 1,
	NL80211_WPA_VERSION_3 = 1 << 2,
};

/**
+2 −1
Original line number Diff line number Diff line
@@ -8571,7 +8571,8 @@ static int nl80211_dump_survey(struct sk_buff *skb, struct netlink_callback *cb)
static bool nl80211_valid_wpa_versions(u32 wpa_versions)
{
	return !(wpa_versions & ~(NL80211_WPA_VERSION_1 |
				  NL80211_WPA_VERSION_2));
				  NL80211_WPA_VERSION_2 |
				  NL80211_WPA_VERSION_3));
}

static int nl80211_authenticate(struct sk_buff *skb, struct genl_info *info)