]> git.ipfire.org Git - thirdparty/hostap.git/log
thirdparty/hostap.git
4 years agoSAE: Testing option to ignore H2E requirement mismatch
Jouni Malinen [Fri, 6 Dec 2019 15:13:59 +0000 (17:13 +0200)] 
SAE: Testing option to ignore H2E requirement mismatch

"SET ignore_sae_h2e_only 1" can now be used to configurate
wpa_supplicant to a test mode where it ignores AP's H2E-required
advertisement and try to connect with hunt-and-pecking loop instead.
This is used only for testing AP behavior with unexpected STA behavior.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoFix memory leak in ACS offload operation
Ankita Bajaj [Tue, 19 Nov 2019 13:11:34 +0000 (18:41 +0530)] 
Fix memory leak in ACS offload operation

freq_list is built in allocated heap memory and it needs to be freed
before returning from this function.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoACS: Remove redundant ch_list parameters from do_acs interface
Ankita Bajaj [Tue, 19 Nov 2019 13:11:34 +0000 (18:41 +0530)] 
ACS: Remove redundant ch_list parameters from do_acs interface

Clean up do_acs interface to not pass ch_list to drivers as the same
information is available in freq_list. The channel numbers are
duplicated between 2.4 GHz and 5 GHz bands and the 6 GHz band. So, use
the QCA_WLAN_VENDOR_ATTR_ACS_CH_LIST to populate only 2.4 GHz and 5 GHz
channels to ensure backwards compatibility with old drivers which do not
have support to decode the newer QCA_WLAN_VENDOR_ATTR_ACS_FREQ_LIST
attribute.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoDFS: Don't handle DFS ops for 6 GHz channels
Ankita Bajaj [Wed, 27 Nov 2019 16:53:41 +0000 (22:23 +0530)] 
DFS: Don't handle DFS ops for 6 GHz channels

Skip DFS checks and CAC operation for 6 GHz channels. AFC checks
will be added for 6 GHz channels later.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years ago6 GHz: Do not check for HT capability on 6 GHz channels
Ankita Bajaj [Wed, 27 Nov 2019 06:55:27 +0000 (12:25 +0530)] 
6 GHz: Do not check for HT capability on 6 GHz channels

HT capability check is not required when starting AP on 6 GHz band as
only HE operation mode is allowed in the 6 GHz band.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: DPP bootstrapping via NFC URI record
Jouni Malinen [Tue, 3 Dec 2019 16:27:52 +0000 (18:27 +0200)] 
tests: DPP bootstrapping via NFC URI record

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoDPP: Bootstrapping via NFC URI Record
Jouni Malinen [Tue, 3 Dec 2019 16:22:36 +0000 (18:22 +0200)] 
DPP: Bootstrapping via NFC URI Record

This extends hostapd and wpa_supplicant DPP implementation to allow the
bootstrapping URI to be generated for and parsed from an NFC Tag with an
NFC URI Record. This is similar to the way the bootstrapping URI is used
with QR Code for unidirectional authentication.

The DPP_BOOTSTRAP_GEN command uses "type=nfc-uri" to request the URI to
be assigned for NFC URI Record. In practice, the URI is generated
identically to the QR Code case, but the internal entry maintains the
NFC-URI type.

A new command "DPP_NFC_URI <uri>" can now be used to parse the URI read
from an NFC Tag with the NFC URI Record. This is similar to the
DPP_QR_CODE command.

Other commands (mainly, DPP_LISTEN and DPP_AUTH_INIT) are used for NFC
URI in the same way as they are used for QR Code.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSync with mac80211-next.git include/uapi/linux/nl80211.h
Jouni Malinen [Thu, 5 Dec 2019 10:36:09 +0000 (12:36 +0200)] 
Sync with mac80211-next.git include/uapi/linux/nl80211.h

This brings in nl80211 definitions as of 2019-11-08.

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agotests: hostapd global control interface and per-interface events
Jouni Malinen [Mon, 2 Dec 2019 14:35:03 +0000 (16:35 +0200)] 
tests: hostapd global control interface and per-interface events

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoExtend hostapd to support setband to driver via QCA vendor command
Hu Wang [Wed, 23 Oct 2019 09:54:18 +0000 (17:54 +0800)] 
Extend hostapd to support setband to driver via QCA vendor command

Commit 844dfeb804af ("QCA vendor command support to set band to driver")
added a vendor command to pass 'SET setband' command information to the
driver in wpa_supplicant. Add similar changes to hostapd control
interface.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agohostapd: Register wpa_msg callback even if only global ctrl_iface is used
Veerendranath Jakkam [Thu, 21 Nov 2019 13:25:47 +0000 (18:55 +0530)] 
hostapd: Register wpa_msg callback even if only global ctrl_iface is used

Previously, wpa_msg_register_cb() was called only from successful
completion of per-interface control interface initialization. This would
leave the callback unregistered in case only the global control
interface is used which would result in not delivering control interface
events on the global interface. Fix this by registering the callback
handler also from successful initialization of the global control
interface.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
4 years agohostapd: Extend global control interface notifications
Veerendranath Jakkam [Sat, 16 Nov 2019 11:31:45 +0000 (17:01 +0530)] 
hostapd: Extend global control interface notifications

Previously, hostapd sent only WPA_MSG_ONLY_GLOBAL type notifications to
the global control interface and all other notifications to
per-interface control interface. Extend this by making it similar to
wpa_supplicant global control interface notifications handling. With
this hostapd now sends all notifications except WPA_MSG_NO_GLOBAL to the
global control interface. In addition, WPA_MSG_PER_INTERFACE type
messages will be prefixed with "IFNAME=<interface name> " while sending
to the global control interface to indicate that the message is
interface specific.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
4 years agotests: sae_pwe parameter in PSK-only-AP
Jouni Malinen [Thu, 28 Nov 2019 22:13:08 +0000 (00:13 +0200)] 
tests: sae_pwe parameter in PSK-only-AP

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSAE H2E: Do not use sae_h2e param in AP mode if SAE is disabled
Jouni Malinen [Thu, 28 Nov 2019 22:07:57 +0000 (00:07 +0200)] 
SAE H2E: Do not use sae_h2e param in AP mode if SAE is disabled

Previously, nonzero sae_h2e parameter values were used to perform SAE
H2E specific operations (deriving PT, adding RSNXE, adding H2E-only BSS
membership selector) in AP mode even if SAE was not enabled for the
network. This could result in unexpected behavior if sae_pwe=1 or
sae_pwe=2 were set in the configuration. Fix this by making the SAE
operations conditional on SAE being actually enabled.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: Clear sae_pwe at the end of sigma_dut test cases
Jouni Malinen [Thu, 28 Nov 2019 22:06:50 +0000 (00:06 +0200)] 
tests: Clear sae_pwe at the end of sigma_dut test cases

sigma_dut does not clear sae_pwe value when the command line argument
"-2" is used, so we need to explicitly clear this from wpa_supplicant at
the end of the test case.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: Advertise UTF-8 SSID in DPP-provisioned AP
Jouni Malinen [Thu, 28 Nov 2019 13:32:56 +0000 (15:32 +0200)] 
tests: Advertise UTF-8 SSID in DPP-provisioned AP

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: DPP ssid_charset/ssid64
Jouni Malinen [Thu, 28 Nov 2019 13:23:09 +0000 (15:23 +0200)] 
tests: DPP ssid_charset/ssid64

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoDPP2: Report received ssid_charset as DPP-CONFOBJ-SSID-CHARSET event
Jouni Malinen [Thu, 28 Nov 2019 13:21:58 +0000 (15:21 +0200)] 
DPP2: Report received ssid_charset as DPP-CONFOBJ-SSID-CHARSET event

This provides the SSID character set, if specified, to upper layers on
station Enrollee.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoDPP2: ssid64/ssid_charset in Configurator
Jouni Malinen [Thu, 28 Nov 2019 13:20:32 +0000 (15:20 +0200)] 
DPP2: ssid64/ssid_charset in Configurator

This allows Configurator to be configured to use the ssid64 option in
the discovery object for a station Enrollee.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoDPP2: Add parsing of ssid64/ssid_charset in Config Object
Jouni Malinen [Thu, 28 Nov 2019 13:20:32 +0000 (15:20 +0200)] 
DPP2: Add parsing of ssid64/ssid_charset in Config Object

The discovery object is now allowed to use either the UTF-8 encoded
string ssid or base64url encoded ssid64.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoDPP: Use JSON token builder helpers
Jouni Malinen [Wed, 27 Nov 2019 14:07:49 +0000 (16:07 +0200)] 
DPP: Use JSON token builder helpers

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoJSON: Add helper functions for building tokens
Jouni Malinen [Wed, 27 Nov 2019 14:06:43 +0000 (16:06 +0200)] 
JSON: Add helper functions for building tokens

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoClean up base64_{encode,decode} pointer types
Jouni Malinen [Wed, 27 Nov 2019 13:55:33 +0000 (15:55 +0200)] 
Clean up base64_{encode,decode} pointer types

Allow any pointer to be used as source for encoding and use char * as
the return value from encoding and input value for decoding to reduce
number of type casts needed in the callers.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoClean up base64_url_{encode,decode} pointer types
Jouni Malinen [Wed, 27 Nov 2019 13:30:53 +0000 (15:30 +0200)] 
Clean up base64_url_{encode,decode} pointer types

Allow any pointer to be used as source for encoding and use char * as
the return value from encoding and input value for decoding to reduce
number of type casts needed in the callers.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSimplify base64_url_encode() prototype
Jouni Malinen [Wed, 27 Nov 2019 13:21:28 +0000 (15:21 +0200)] 
Simplify base64_url_encode() prototype

There is no use case for adding padding into the base64url encoded
strings, so remove the unneeded add_pad argument that was hardcoded to 0
in all callers.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoDPP2: Replace connectionStatus object ssid with ssid64
Jouni Malinen [Wed, 27 Nov 2019 13:19:08 +0000 (15:19 +0200)] 
DPP2: Replace connectionStatus object ssid with ssid64

The UTF-8 encoded ssid string was replaced with base64url encoded ssid64
string, so update the implementation to match.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: sigma_dut control of SAE PWE
Jouni Malinen [Sun, 24 Nov 2019 14:58:18 +0000 (16:58 +0200)] 
tests: sigma_dut control of SAE PWE

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: Update SAE H2E test case to match SSWU parameter z change
Jouni Malinen [Wed, 13 Nov 2019 11:06:40 +0000 (13:06 +0200)] 
tests: Update SAE H2E test case to match SSWU parameter z change

Update the test vector based on
11-19-1817-02-000m-hash-to-curve-changes.docx

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSAE H2E: Update SSWU curve-specific parameter z values
Jouni Malinen [Wed, 13 Nov 2019 11:05:37 +0000 (13:05 +0200)] 
SAE H2E: Update SSWU curve-specific parameter z values

Update the values based on
11-19-1817-02-000m-hash-to-curve-changes.docx

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoWMM: Do not modify input TSPEC buffer during processing
Jouni Malinen [Sat, 23 Nov 2019 15:39:55 +0000 (17:39 +0200)] 
WMM: Do not modify input TSPEC buffer during processing

The WMM TSPEC processor used the input buffer for processing the request
and building the response. This was fine for the FT case, but for the
WMM Action frame case, the input buffer is marked const, so it should
not really be modified. This modification could not really cause any
noticeable harm, but it can result in error reports from fuzzing and
potentially even from some static analyzers.

Fix this by marking the input arguments const more consistently (the
parsed IE was able to drop the const) and copy the const input data to a
temporary buffer for processing and modification instead of allowing the
input data to be modified.

Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19050
Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agotests: Remove a multi-line test description
Jouni Malinen [Sat, 23 Nov 2019 15:19:49 +0000 (17:19 +0200)] 
tests: Remove a multi-line test description

The previous description of wmediumd_scan_only_one used multiple lines
and that resulted in parallel-vm.py miscounting total number of test
cases. Fix that by getting rid of the newlines from the description.

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agotests: Fix 'unexpected exit' detection in parallel-vm.py
Jouni Malinen [Sat, 23 Nov 2019 15:09:56 +0000 (17:09 +0200)] 
tests: Fix 'unexpected exit' detection in parallel-vm.py

Now that parallel-vm.py is actually stopping VMs as soon as they are not
needed for retries, it is not really an unexpected exit to see a VM exit
while test cases remain in the queue as long as at least that many VMs
remain running. Get rid of confusing 'unexpected exit' status from the
UI in such cases.

Fixes: 4aaddecdd85a ("tests: Handle test retries through the same queue")
Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agotests: ap_hs20_cred_and_no_roaming_consortium to match implementation
Jouni Malinen [Sun, 17 Nov 2019 19:02:42 +0000 (21:02 +0200)] 
tests: ap_hs20_cred_and_no_roaming_consortium to match implementation

Now that wpa_supplicant was modified to use NAI realm query even if
roaming_consortium is set, this test case is actually able to find a
match. Update it to avoid cause incorrect test failures.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoHS2.0: Skip check for roaming_consortium for NAI realm query
Purushottam Kushwaha [Thu, 14 Nov 2019 09:15:10 +0000 (14:45 +0530)] 
HS2.0: Skip check for roaming_consortium for NAI realm query

Previously ANQP fetch considered NAI realm query only when cred block
did not specify roaming_consortium to optimize ANQP operations (NAI
realm list can have a very long value). In certain cases, both NAI realm
and roaming_consortium are configured in credential block and this
resulted in ANQP fetch for NAI realm not being initiated. That could
result in not being able to select the highest priority available
credential/network.

Remove roaming_consortium check for NAI realm query inclusion in ANQP
request so that we will request NAI realm information whenever it can
result in matching additional networks. This makes the ANQP queries more
costly in some cases, but the additional information is needed for
correct behavior in network selection.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoP2P: Fix listen state machine getting stuck in send_action() scheduled case
Hu Wang [Wed, 13 Nov 2019 04:54:55 +0000 (12:54 +0800)] 
P2P: Fix listen state machine getting stuck in send_action() scheduled case

Commit 947b5a1532f9 ("P2P: Stop listen state if Action frame TX is
needed on another channel") added an optimization for P2P response
transmission in certain concurrent operation cases. However, it did not
take into account possibility of the driver not being in listen
state (p2p->drv_in_listen == 0) and could end up getting stuck with the
P2P state machine in a manner that made the device not listen for
following messages. This showed up in following manner in the debug log:

P2P: Starting short listen state (state=SEARCH)
P2P: Driver ended Listen state (freq=2437)
process received frame and send a response
P2P: Stop listen on 0 MHz to allow a frame to be sent immediately on 2437 MHz
P2P: Clear timeout (state=SEARCH)
--> state machine stuck

Fix this by adding drv_in_listen > 0 condition for the optimization to
stop the listen operation in send_action() resulting in scheduled TX.

Fixes: 947b5a1532f9 ("P2P: Stop listen state if Action frame TX is needed on another channel")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agohostapd: Update DFS status in VHT80+80 mode
Lei Wang [Mon, 23 Sep 2019 04:19:09 +0000 (12:19 +0800)] 
hostapd: Update DFS status in VHT80+80 mode

Update center frequency and center frequency2's DFS channel status in
VHT80+80 mode. Otherwise it will cause AP failed to start on a DFS
channel.

Tested: qca9984 with firmware ver 10.4-3.10-00047

Signed-off-by: Rick Wu <rwu@codeaurora.org>
Signed-off-by: Lei Wang <leiwa@codeaurora.org>
4 years agoFix status code in SAE/DPP association PMKID mismatch (driver-AP-SME)
Jouni Malinen [Fri, 8 Nov 2019 22:33:58 +0000 (00:33 +0200)] 
Fix status code in SAE/DPP association PMKID mismatch (driver-AP-SME)

wpa_validate_wpa_ie() was already extended to cover these cases with
WPA_INVALID_PMKID return value, but hostapd_notif_assoc() did not have
code for mapping this into the appropriate status code
(STATUS_INVALID_PMKID) and ended up using the default
(WLAN_STATUS_INVALID_IE) instead. This caused AP SME-in-driver cases
returning incorrect status code when the AP did not have a matching
PMKSA cache entry. This could result in unexpected station behavior
where the station could continue trying to use a PMKSA cache entry that
the AP does not have and not being able to recover this.

Fix this by adding the previously missed mapping of validation errors to
status/reason codes.

Fixes: 567da5bbd027 ("DPP: Add new AKM")
Fixes: 458d8984de1d ("SAE: Reject request with mismatching PMKID (no PMKSA cache entry)")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: sigma_dut controlled AP and deauth commands
Jouni Malinen [Wed, 6 Nov 2019 17:55:42 +0000 (19:55 +0200)] 
tests: sigma_dut controlled AP and deauth commands

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoFix a typo in a comment
Jouni Malinen [Wed, 6 Nov 2019 17:44:50 +0000 (19:44 +0200)] 
Fix a typo in a comment

Spell NULL correctly.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: D-Bus MACAddressRandomizationMask property Get/Set
Jouni Malinen [Sun, 27 Oct 2019 17:23:47 +0000 (19:23 +0200)] 
tests: D-Bus MACAddressRandomizationMask property Get/Set

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agoAllow scans triggered by D-Bus to use MAC address randomization
Eric Caruso [Thu, 17 Oct 2019 23:03:52 +0000 (16:03 -0700)] 
Allow scans triggered by D-Bus to use MAC address randomization

wpas_dbus_handler_scan() constructs a set of 'params' each time, but it
doesn't acknowledge the existing randomization settings when doing so.
That means that any D-Bus initiated scans weren't going to follow the
configured settings.

Signed-off-by: Eric Caruso <ejcaruso@chromium.org>
4 years agoD-Bus: Add MAC address randomization endpoints
Eric Caruso [Thu, 17 Oct 2019 23:03:51 +0000 (16:03 -0700)] 
D-Bus: Add MAC address randomization endpoints

Add D-Bus property:
* MACAddressRandomizationMask: a{say}

which configure random MAC address functionality in the Wi-Fi
driver via netlink.

Signed-off-by: Eric Caruso <ejcaruso@chromium.org>
4 years agoMove ownership of MAC address randomization mask to scan params
Eric Caruso [Thu, 17 Oct 2019 23:03:50 +0000 (16:03 -0700)] 
Move ownership of MAC address randomization mask to scan params

This array can be freed either from the scan parameters or from
clearing the MAC address randomization parameters from the
wpa_supplicant struct. To make this ownership more clear, we have
each struct own its own copy of the parameters.

Signed-off-by: Eric Caruso <ejcaruso@chromium.org>
4 years agoDPP: Mention ssid and pass parameters for DPP_AUTH_INIT in documentation
Jouni Malinen [Sun, 27 Oct 2019 16:38:07 +0000 (18:38 +0200)] 
DPP: Mention ssid and pass parameters for DPP_AUTH_INIT in documentation

These parameter use hexdump values over the control interface, so
mention them in the DPP example documentation.

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agotests: DPP configuration saving
Jouni Malinen [Sun, 27 Oct 2019 15:10:35 +0000 (17:10 +0200)] 
tests: DPP configuration saving

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agoJSON: Fix escaping of characters that have MSB=1 with signed char
Jouni Malinen [Sun, 27 Oct 2019 15:08:31 +0000 (17:08 +0200)] 
JSON: Fix escaping of characters that have MSB=1 with signed char

The "\\u%04x" printf string did not really work in the correct way if
char is signed. Fix this by type casting this to unsigned char.

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agotests: Add negative scan tests
Johannes Berg [Tue, 8 Oct 2019 12:11:09 +0000 (14:11 +0200)] 
tests: Add negative scan tests

There was a bug in wmediumd in that it didn't set the
frequency of frames, and thus they were always received
by mac80211_hwsim, regardless of channel it was on.

Add two tests that verify we only find a single instance
of an AP if we only have that one, and run this both with
and without wmediumd.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
4 years agotests: Make wpas_mesh_pmksa_caching_ext more robust
Jouni Malinen [Sun, 27 Oct 2019 14:20:19 +0000 (16:20 +0200)] 
tests: Make wpas_mesh_pmksa_caching_ext more robust

Avoid race conditions in completing mesh group removal/re-addition steps
and starting connectivity check. It seemed to be possible to get to the
connectivity test in some cases before the mesh STA had rejoined the
mesh and completed key configuration.

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agodbus: Export OWE capability and OWE BSS key_mgmt
Beniamino Galvani [Sun, 13 Oct 2019 13:18:54 +0000 (15:18 +0200)] 
dbus: Export OWE capability and OWE BSS key_mgmt

Export a new 'owe' capability to indicate that wpa_supplicant was
built with OWE support and accepts 'key_mgmt=OWE'. Also, support 'owe'
in the array of BSS' available key managements.

Signed-off-by: Beniamino Galvani <bgalvani@redhat.com>
4 years agoD-Bus: Fix P2P NULL dereference after interface removal
Davide Caratti [Wed, 2 Oct 2019 12:08:41 +0000 (14:08 +0200)] 
D-Bus: Fix P2P NULL dereference after interface removal

When the P2P management interface is deleted, P2P is then disabled and
global->p2p_init_wpa_s is set to NULL. After that, other interfaces can
still trigger P2P functions (like wpas_p2p_find()) using D-Bus. This
makes wpa_supplicant terminate with SIGSEGV, because it dereferences a
NULL pointer. Fix this by adding proper checks, like it's done with
wpa_cli.

CC: Beniamino Galvani <bgalvani@redhat.com>
CC: Benjamin Berg <benjamin@sipsolutions.net>
Reported-by: Vladimir Benes <vbenes@redhat.com>
Signed-off-by: Davide Caratti <davide.caratti@gmail.com>
4 years agonl80211: Indicate SUITE_B_192 capa only when CCMP-256/GCMP-256 supported
Mikael Kanstrup [Tue, 1 Oct 2019 14:19:29 +0000 (16:19 +0200)] 
nl80211: Indicate SUITE_B_192 capa only when CCMP-256/GCMP-256 supported

SUITE_B_192 AKM capability was indicated for all devices using the
nl80211 driver (without the QCA vendor specific AKM capability
indication). However, some devices can't handle Suite B 192 due to
insufficient ciphers supported. Add a check for CCMP-256 or GCMP-256
cipher support and only indicate SUITE_B_192 capability when such cipher
is supported. This allows compiling with CONFIG_SUITEB192 and still get
proper response to the 'GET_CAPABILITY key_mgmt' command. Under Android
it can also serve as a dynamic way for HAL to query platform for
WPA3-Enterprise 192-bit support.

Signed-off-by: Mikael Kanstrup <mikael.kanstrup@sony.com>
4 years agotests: Additional SAE protocol testing
Jouni Malinen [Sun, 27 Oct 2019 13:16:03 +0000 (15:16 +0200)] 
tests: Additional SAE protocol testing

Check behavior with delayed/replayed SAE commit message.

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agoSAE: Ignore commit message when waiting for confirm in STA mode
Jouni Malinen [Sun, 27 Oct 2019 12:35:04 +0000 (14:35 +0200)] 
SAE: Ignore commit message when waiting for confirm in STA mode

Previously, an unexpected SAE commit message resulted in forcing
disconnection. While that allowed recovery by starting from scratch,
this is not really necessary. Ignore such unexpected SAE commit message
instead and allow SAE confirm message to be processed after this. This
is somewhat more robust way of handling the cases where SAE commit
message might be retransmitted either in STA->AP or AP->STA direction.

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agoDo not indicate possible PSK failure when using SAE
Jouni Malinen [Sun, 27 Oct 2019 10:54:40 +0000 (12:54 +0200)] 
Do not indicate possible PSK failure when using SAE

wpa_key_mgmt_wpa_psk() includes SAE AKMs. However, with SAE, there is no
way of reaching 4-way handshake without the password having already been
verified as part of SAE authentication. As such, a failure to complete
4-way handshake with SAE cannot indicate that the used password was
incorrect.

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agonl80211: Add STA node details in AP through QCA vendor subcommand
Shiva Sankar Gajula [Wed, 16 Oct 2019 07:43:32 +0000 (13:13 +0530)] 
nl80211: Add STA node details in AP through QCA vendor subcommand

Addi STA node details in AP through QCA vendor subcommand
QCA_NL80211_VENDOR_SUBCMD_ADD_STA_NODE vendor when processing FT
protocol roaming.

Signed-off-by: Shiva Sankar Gajula <sgajula@codeaurora.org>
4 years agoAdd QCA vendor cmd for setting BT coex chain mode
Yu Wang [Tue, 15 Oct 2019 09:10:07 +0000 (17:10 +0800)] 
Add QCA vendor cmd for setting BT coex chain mode

To config BT coex chain mode, add a new QCA sub command
QCA_NL80211_VENDOR_SUBCMD_BTC_CHAIN_MODE.

This new command has two attributes:
1. QCA_VENDOR_ATTR_COEX_BTC_CHAIN_MODE: u32 attribute. Indicates the
   BT coex chain mode, are 32-bit values from enum qca_btc_chain_mode.
2. QCA_VENDOR_ATTR_COEX_BTC_CHAIN_MODE_RESTART: flag attribute.
   If set, vdev should be restarted once BT coex chain mode is updated.

Signed-off-by: Yu Wang <yyuwang@codeaurora.org>
4 years agoExtend QCA OEM data vendor subcmd to allow use as an event
Ashish Kumar Dhanotiya [Fri, 18 Oct 2019 11:03:15 +0000 (16:33 +0530)] 
Extend QCA OEM data vendor subcmd to allow use as an event

The QCA_NL80211_VENDOR_SUBCMD_OEM_DATA command was previously defined
only to pass data blobs from user space to kernel (application to
firmware) but there was no mechanism to send the data blobs from
firmware to application. Extend this to define use of the same
subcommand and attributes as vendor events.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: SAE and authentication restarts with H2E/looping
Jouni Malinen [Fri, 25 Oct 2019 12:57:47 +0000 (15:57 +0300)] 
tests: SAE and authentication restarts with H2E/looping

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSAE: Determine H2E vs. looping when restarting SAE auth in AP mode
Jouni Malinen [Fri, 25 Oct 2019 12:54:11 +0000 (15:54 +0300)] 
SAE: Determine H2E vs. looping when restarting SAE auth in AP mode

If hostapd had existing STA SAE state, e.g., from a previously completed
SAE authentication, a new start of a separate SAE authentication (i.e.,
receiving of a new SAE commit) ended up using some of the previous
state. This is problematic for determining whether to H2E vs. looping
since the STA is allowed (even if not really expected to) to change
between these two alternatives. This could result in trying to use H2E
when STA was using looping to derive PWE and that would result in SAE
confirm failing.

Fix this by determining whether to use H2E or looping for the restarted
authentication based on the Status Code in the new SAE commit message
instead of previously cached state information.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agocrypto: Remove unused crypto_bignum_sqrtmod()
Jouni Malinen [Fri, 25 Oct 2019 11:34:44 +0000 (14:34 +0300)] 
crypto: Remove unused crypto_bignum_sqrtmod()

This wrapper function is not used anymore, so drop it instead of trying
to figure out good way of implementing it in constant time with various
crypto libraries.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSAE: Drop sqrt() alternative from SSWU (H2E)
Jouni Malinen [Fri, 25 Oct 2019 11:32:05 +0000 (14:32 +0300)] 
SAE: Drop sqrt() alternative from SSWU (H2E)

Remove support for performing full sqrt(), i.e., only support curves
that use prime with p = 3 mod 4. In practice, this drops only group 26
with SAE H2E. This seems acceptable since there does not seem to be any
strong use case for that group taken into account the limits being
placed on acceptable prime lengths.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: Remove SAE H2E testing with group 26
Jouni Malinen [Fri, 25 Oct 2019 11:36:50 +0000 (14:36 +0300)] 
tests: Remove SAE H2E testing with group 26

This is in preparation of an implementation to to remove the alternative
SSWU path that was needed only for this particular group.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: Fix copy-paste issues in SAE H2E group tests
Jouni Malinen [Fri, 25 Oct 2019 11:31:01 +0000 (14:31 +0300)] 
tests: Fix copy-paste issues in SAE H2E group tests

These test cases were all using group 21 even though they were supposed
to go through all the possible groups.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agowpa_supplicant: Fix arithmetic on void pointer
Jesus Fernandez Manzano [Wed, 9 Oct 2019 07:59:33 +0000 (09:59 +0200)] 
wpa_supplicant: Fix arithmetic on void pointer

When using void pointers in calculations, the behavior is undefined.
Arithmetic operations on 'void *' is a GNU C extension,
which defines the 'sizeof(void)' to be 1.

This change improves portability of the code.

Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>
4 years agocommon: Fix same expression checked twice in fils_key_auth_sk()
Jesus Fernandez Manzano [Tue, 8 Oct 2019 19:37:31 +0000 (21:37 +0200)] 
common: Fix same expression checked twice in fils_key_auth_sk()

Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>
4 years agotests: HE AP Functionality
Pradeep Kumar Chitrapu [Wed, 16 Oct 2019 18:57:39 +0000 (11:57 -0700)] 
tests: HE AP Functionality

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
4 years agoHE: Add 11ax info to ap mode ctrl iface STATUS command
Pradeep Kumar Chitrapu [Wed, 16 Oct 2019 18:57:38 +0000 (11:57 -0700)] 
HE: Add 11ax info to ap mode ctrl iface STATUS command

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
4 years agoFix AP Extended Capability length determination
Jouni Malinen [Mon, 21 Oct 2019 15:11:30 +0000 (18:11 +0300)] 
Fix AP Extended Capability length determination

The IE minimum length determination in hostapd_eid_ext_capab() was not
fully up to date with the hostapd_ext_capab_byte() conditions. This
could result in omitting some of the capability octets depending on
configuration. Fix this by adding the missing conditions.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoP2P: Continue listening next request if no post-PD operations
Jimmy Chen [Thu, 17 Oct 2019 13:36:50 +0000 (21:36 +0800)] 
P2P: Continue listening next request if no post-PD operations

If there are no post-provision discovery operations, we should continue
in find mode to avoid getting the p2p_find operation stopped (stuck in
SEARCH state) unexpectedly.

Signed-off-by: Jimmy Chen <jimmycmchen@google.com>
4 years agoFix hostapd build with CONFIG_WPA_TRACE but no CONFIG_WPA_TRACE_BFD
Brian Norris [Thu, 17 Oct 2019 23:19:15 +0000 (16:19 -0700)] 
Fix hostapd build with CONFIG_WPA_TRACE but no CONFIG_WPA_TRACE_BFD

Otherwise, we may get linker failures:

  ld.lld: error: unable to find library -lbfd

While we're at it, pull in the library selection fixes from commit
848905b12abf ("Avoid undefined references with CONFIG_WPA_TRACE_BFD=y").

Signed-off-by: Brian Norris <briannorris@chromium.org>
4 years agodbus: Suppress to show NULL string
Masashi Honma [Fri, 18 Oct 2019 02:04:19 +0000 (11:04 +0900)] 
dbus: Suppress to show NULL string

wpa_s->dbus_groupobj_path is always NULL so suppress to show it.
This was found by gcc 9.2.1 warning.

dbus/dbus_new.c: In function ‘wpas_dbus_unregister_p2p_group’:
dbus/dbus_new.c:4793:3: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
 4793 |   wpa_printf(MSG_DEBUG,
      |   ^~~~~~~~~~~~~~~~~~~~~
 4794 |       "%s: Group object '%s' already unregistered",
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4795 |       __func__, wpa_s->dbus_groupobj_path);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
4 years agoInterworking: Check NULL string to avoid compiler warning
Masashi Honma [Fri, 18 Oct 2019 02:04:18 +0000 (11:04 +0900)] 
Interworking: Check NULL string to avoid compiler warning

Fix warning by gcc 9.2.1.

interworking.c: In function ‘interworking_home_sp_cred’:
interworking.c:2263:3: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
 2263 |   wpa_msg(wpa_s, MSG_DEBUG,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
 2264 |    "Interworking: Search for match with SIM/USIM domain %s",
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2265 |    realm);
      |    ~~~~~~

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
4 years agoFix name of DBus interface in defconfig
Phil Wise [Mon, 2 Sep 2019 15:58:40 +0000 (16:58 +0100)] 
Fix name of DBus interface in defconfig

Signed-off-by: Phil Wise <phil@phil-wise.com>
4 years agotests: Make ap_ft_ap_oom4 more robust against compiler optimizations
Jouni Malinen [Fri, 18 Oct 2019 21:45:57 +0000 (00:45 +0300)] 
tests: Make ap_ft_ap_oom4 more robust against compiler optimizations

It looks like the wpa_auth_get_seqnum() function might not always be
visible in the backtrace since the compiler may optimize that wrapper
away. Use the i802_get_seqnum() function instead as a trigger for the
get_seqnum operation failure trigger to avoid this.

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years agoFT-SAE: Add RSNXE into FT MIC
Jouni Malinen [Fri, 18 Oct 2019 13:20:27 +0000 (16:20 +0300)] 
FT-SAE: Add RSNXE into FT MIC

Protect RSNXE, if present, in FT Reassociation Request/Response frames.
This is needed for SAE H2E with FT.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoAdd RSNXE into (Re)Association Response frames
Jouni Malinen [Fri, 18 Oct 2019 12:49:32 +0000 (15:49 +0300)] 
Add RSNXE into (Re)Association Response frames

Add the new RSNXE into (Re)Association Response frames if any of the
capability bits is nonzero.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: WPA2-PSK-FT-SAE AP (H2E)
Jouni Malinen [Fri, 18 Oct 2019 12:33:14 +0000 (15:33 +0300)] 
tests: WPA2-PSK-FT-SAE AP (H2E)

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoMerge wpa_supplicant and hostapd EAPOL-Key KDE parsers
Jouni Malinen [Fri, 18 Oct 2019 10:02:27 +0000 (13:02 +0300)] 
Merge wpa_supplicant and hostapd EAPOL-Key KDE parsers

Use a single struct definition and a single shared implementation for
parsing EAPOL-Key KDEs and IEs instead of maintaining more or less
identical functionality separately for wpa_supplicant and hostapd.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSAE: Verify that STA negotiated H2E if it claims to support it
Jouni Malinen [Fri, 18 Oct 2019 09:38:11 +0000 (12:38 +0300)] 
SAE: Verify that STA negotiated H2E if it claims to support it

If a STA indicates support for SAE H2E in RSNXE and H2E is enabled in
the AP configuration, require H2E to be used.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoRSN: Verify RSNXE match between (Re)AssocReq and EAPOL-Key msg 2/4
Jouni Malinen [Thu, 17 Oct 2019 21:17:51 +0000 (00:17 +0300)] 
RSN: Verify RSNXE match between (Re)AssocReq and EAPOL-Key msg 2/4

If the STA advertises RSN Extension element, it has to be advertised
consistently in the unprotected ((Re)Association Request) and protected
(EAPOL-Key msg 2/4) frames. Verify that this is the case.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoAdd RSNXE into AP KDE parser
Jouni Malinen [Thu, 17 Oct 2019 21:13:32 +0000 (00:13 +0300)] 
Add RSNXE into AP KDE parser

This is needed for SAE hash-to-element implementation.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoStore a copy of Association Request RSNXE in AP mode for later use
Jouni Malinen [Thu, 17 Oct 2019 21:11:24 +0000 (00:11 +0300)] 
Store a copy of Association Request RSNXE in AP mode for later use

This is needed to be able to compare the received RSNXE to a protected
version in EAPOL-Key msg 2/4.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSAE: Add RSNXE in Association Request and EAPOL-Key msg 2/4
Jouni Malinen [Thu, 17 Oct 2019 13:54:05 +0000 (16:54 +0300)] 
SAE: Add RSNXE in Association Request and EAPOL-Key msg 2/4

Add the new RSNXE into (Re)Association Request frames and EAPOL-Key msg
2/4 when using SAE with hash-to-element mechanism enabled. This allows
the AP to verify that there was no downgrade attack when both PWE
derivation mechanisms are enabled.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoAdd RSNXE into IE parser
Jouni Malinen [Thu, 17 Oct 2019 13:53:09 +0000 (16:53 +0300)] 
Add RSNXE into IE parser

This is needed for SAE hash-to-element implementation.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoWPS: Check SHA256 result success
Jouni Malinen [Tue, 15 Oct 2019 12:34:41 +0000 (15:34 +0300)] 
WPS: Check SHA256 result success

These functions can fail in theory, so verify they succeeded before
comparing the hash values.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoQCA vendor command for adding a STA node
Shiva Sankar Gajula [Tue, 8 Oct 2019 00:57:59 +0000 (06:27 +0530)] 
QCA vendor command for adding a STA node

Add a QCA vendor subcommand QCA_NL80211_VENDOR_SUBCMD_ADD_STA_NODE with
attributes qca_wlan_vendor_attr_add_sta_node_params to add STA peer
entries in AP mode. This vendor sub command is used in FT roaming
scenario to send STA node information from application/service to
driver/firmware. The attributes defined in enum
qca_wlan_vendor_attr_add_sta_node_params are used to deliver the
parameters.

Signed-off-by: Shiva Sankar Gajula <sgajula@codeaurora.org>
4 years agoAdd a new QCA vendor attribute to carry device info for OEM data
Subrat Dash [Thu, 3 Oct 2019 16:12:46 +0000 (21:42 +0530)] 
Add a new QCA vendor attribute to carry device info for OEM data

The OEM data binary blobs from application/service will be routed to the
appropriate device based on this attribute value. This optional
attribute is used to specify whether the device type is virtual or
physical. This attribute can be omitted when the command is for a
virtual device.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoQCA vendor attributes to indicate BW-based agile spectral capability
Edayilliam Jayadev [Thu, 19 Sep 2019 09:15:44 +0000 (14:45 +0530)] 
QCA vendor attributes to indicate BW-based agile spectral capability

Some chipsets don't have the capability to run agile spectral scan with
160/80+80 MHz modes. Add separate agile spectral scanning capability
flags for 160, 80+80, and non-160 MHz modes to cover such cases.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agonl80211: Allow external auth based on SAE/FT-SAE key mgmt
Sunil Dutt [Mon, 8 Jul 2019 14:12:12 +0000 (19:42 +0530)] 
nl80211: Allow external auth based on SAE/FT-SAE key mgmt

In the SME-in-driver case, wpa_supplicant used only the selected SAE
auth_alg value as the trigger for enabling external authentication
support for SAE. This prevented the driver from falling back to full SAE
authentication if PMKSA caching was attempted (Open auth_alg selected)
and the cached PMKID had been dropped.

Enable external auth based on SAE/FT-SAE key_mgmt, rather than doing
this based on SAE auth_alg, so that the driver can go through full SAE
authentication in cases where PMKSA caching is attempted and it fails.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoFST: Update FST about MAC address change
Dedy Lansky [Tue, 10 Sep 2019 09:53:55 +0000 (12:53 +0300)] 
FST: Update FST about MAC address change

Notify FST module upon MAC address change. FST module will update the
Multiband IE accordingly.

Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
4 years agoAP: Publish only HE capabilities and operation IEs on 6 GHz band
Andrei Otcheretianski [Wed, 19 Jun 2019 12:49:13 +0000 (15:49 +0300)] 
AP: Publish only HE capabilities and operation IEs on 6 GHz band

When operating on the 6 GHz band, add 6 GHz Operation Information inside
the HE Operation element and don't publish HT/VHT IEs.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
- Replace HOSTAPD_MODE_IEEE80211AX mode checks with is_6ghz_op_class()

Signed-off-by: Vamsi Krishna <vamsin@codeaurora.org>
4 years agoAP: Add initial support for 6 GHz band
Andrei Otcheretianski [Wed, 19 Jun 2019 12:49:11 +0000 (15:49 +0300)] 
AP: Add initial support for 6 GHz band

Add support for new hardware mode for 6 GHz band. 6 GHz operation is
defined in IEEE P802.11ax/D4.3. 6 GHz band adds global operating classes
131-135 that define channels in frequency range from 5940 MHz to 7105
MHz.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
- Remove HOSTAPD_MODE_IEEE80211AX mode
- Replace check for HOSTAPD_MODE_IEEE80211AX with is_6ghz_freq()
- Move center_idx_to_bw_6ghz() to ieee802_11_common.c file

Signed-off-by: Vamsi Krishna <vamsin@codeaurora.org>
4 years agoAP: Add op_class config item to specify 6 GHz channels uniquely
Liangwei Dong [Fri, 9 Aug 2019 04:27:46 +0000 (12:27 +0800)] 
AP: Add op_class config item to specify 6 GHz channels uniquely

Add hostapd config option "op_class" for fixed channel selection along
with existing "channel" option. "op_class" and "channel" config options
together can specify channels across 2.4 GHz, 5 GHz, and 6 GHz bands
uniquely.

Signed-off-by: Liangwei Dong <liangwei@codeaurora.org>
Signed-off-by: Vamsi Krishna <vamsin@codeaurora.org>
4 years agowpa_supplicant: Pass in operating class for channel validity checks
Jouni Malinen [Wed, 9 Oct 2019 15:49:42 +0000 (18:49 +0300)] 
wpa_supplicant: Pass in operating class for channel validity checks

This is needed to allow the 6 GHz operating classes to be compared
against the driver support channels since the channel numbers are not
really unique identifiers of a channel even within a single band.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agotests: SAE PWE derivation methods
Jouni Malinen [Thu, 5 Sep 2019 09:34:48 +0000 (12:34 +0300)] 
tests: SAE PWE derivation methods

Verify behavior with sae_pwe configuration values 0..2, i.e., test the
new hash-to-element mechanism for deriving PWE and negotiation for which
method to use.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSAE: Check that peer's rejected groups are not enabled in AP
Jouni Malinen [Fri, 6 Sep 2019 12:51:37 +0000 (15:51 +0300)] 
SAE: Check that peer's rejected groups are not enabled in AP

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSAE: H2E version of SAE commit message handling for AP
Jouni Malinen [Fri, 6 Sep 2019 12:51:37 +0000 (15:51 +0300)] 
SAE: H2E version of SAE commit message handling for AP

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSAE: Derive H2E PT in AP when starting the AP
Jouni Malinen [Fri, 6 Sep 2019 12:51:37 +0000 (15:51 +0300)] 
SAE: Derive H2E PT in AP when starting the AP

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSAE: Check that peer's rejected groups are not enabled
Jouni Malinen [Fri, 6 Sep 2019 12:40:39 +0000 (15:40 +0300)] 
SAE: Check that peer's rejected groups are not enabled

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
4 years agoSAE: H2E version of SAE commit message handling for STA
Jouni Malinen [Fri, 6 Sep 2019 12:40:39 +0000 (15:40 +0300)] 
SAE: H2E version of SAE commit message handling for STA

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>