Jouni Malinen
686ca5c45b
tests: Verify T&C Server URL generation result
...
Check that the @1@ macro gets replaced correctly both when in the middle
and when in the end of the URL template.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-07-31 00:21:59 +03:00
Jouni Malinen
6ccab679c2
tests: ap_hs20_terms_and_conditions_sql to test DAC_REQUEST
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-06-22 19:37:18 +03:00
Jouni Malinen
d7b60f7a9e
tests: Check current_sessions in ap_hs20_terms_and_conditions_sql
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-06-22 19:37:10 +03:00
Jouni Malinen
ed83029c29
tests: Move hs20_t_c_server_url parameter from AP to AS
...
This is needed with the modified hostapd implementation to fix the
ap_hs20_terms_and_conditions* test cases.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-06-21 20:52:54 +03:00
Jouni Malinen
e6f8042d17
tests: hs20-osu-client testing for PPS MO parsing
...
This adds a mechanism to allow hs20-osu-client set_pps command to be
tested with PPS MO files.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-06-21 19:18:54 +03:00
Jouni Malinen
db856f47ef
tests: Fix mbo_supp_oper_classes with new regdb
...
Change country code KZ to SY for the 2.4 GHz only case since 5 GHz rules
were added for KZ.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-06-20 15:23:50 +03:00
Jouni Malinen
e96fa19753
tests: Add more details on sae_bignum_failure logs
...
It is easier to understand the hostapd debug log here if each step is
noted there before starting the wpa_supplicant operation. In addition,
it looks safer to process all pending event messages between each step
to avoid running out of any buffer limits.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-06-20 13:07:38 +03:00
Jouni Malinen
b1e1187744
tests: sigma_dut controlled AP with EAP+OSEN
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-06-19 00:39:42 +03:00
Jouni Malinen
2403edb8fd
tests: P2P and avoid frequencies driver event on 5 GHz
...
This test case verifies that wpa_supplicant is able to perform CSA to a
VHT80 channel when having to move the GO due to an avoid-frequencies
driver event.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-06-18 20:11:52 +03:00
Jouni Malinen
25bd4e7beb
tests: Associated STA indicating 40 MHz intolerant and hostapd deinit
...
This is a regression test for a forgotten ap_ht2040_timeout() eloop
timer callback on AP interface removal.
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-06-12 21:47:43 +03:00
Jouni Malinen
fe102801f6
tests: SAE reauthentication
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-06-06 23:59:46 +03:00
Jouni Malinen
ffcaca68d3
tests: FT with different BIP algorithms
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-06-05 21:50:36 +03:00
Jouni Malinen
2842987879
tests: FILS+FT with SHA384
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-06-05 21:50:36 +03:00
Jouni Malinen
c52626489a
tests: Split ap_ft_ap_oom7 into separate test cases
...
The implementation changes in hostapd FT error path handling in the
follow commit would result in ap_ft_ap_oom7 test case failing. This is
triggered partially by PMF protections and SA Query attempts, so it
looks like it is easier to split each failure case into a separate test
case.
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-06-05 21:50:01 +03:00
Jouni Malinen
55b3cda775
tests: FT-EAP-SHA384
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-06-05 20:16:37 +03:00
Jouni Malinen
925584689b
tests: ERP enabled on RADIUS server and peer using EAP-TLS v1.3
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-06-01 17:53:10 +03:00
Jouni Malinen
13f69792b0
tests: Update mesh_oom to match implementation change
...
The initial direct allocation within wpa_supplicant_mesh_init() was
removed.
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-05-31 16:14:28 +03:00
Jouni Malinen
5fb016a219
tests: WNM Time Advertisement without time zone configuration
...
This is a regression test for a segfault in hostapd.
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-05-31 12:55:49 +03:00
Jouni Malinen
64224d5871
tests: Hotspot 2.0 OSEN-single-SSID connection
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-05-29 23:34:22 +03:00
Jouni Malinen
5e597ed9f0
tests: EAP-pwd with salted passwords
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-05-28 22:15:20 +03:00
Jouni Malinen
b30639b77e
tests: Adjust eap_proto_pwd_errors to match implementation changes
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-05-28 22:09:20 +03:00
Jouni Malinen
62566bc23d
tests: WPA2-EAP-FT AP changing from 802.1X-only to FT-only
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-05-21 22:24:36 +03:00
Jouni Malinen
9a0ae89d62
tests: SAE with Password Identifier
...
This verifies SAE Password Identifier functionality in both the
infrastructure and mesh BSS cases.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-05-19 17:30:29 +03:00
Jouni Malinen
6bf7a54754
tests: Brainpool curves in ap_wpa2_eap_pwd_groups with OpenSSL 1.1.x
...
The OpenSSL version check should not have been limited to 1.0.2 only.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-05-17 22:03:25 +03:00
Jouni Malinen
27fa11615b
tests: Additional VHT channel switch testing
...
Enable/disable VHT with CHAN_SWITCH.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-05-16 01:16:54 +03:00
Jouni Malinen
79467d74fd
tests: Fix dbus_tdls_channel_switch with missing kernel support
...
Check driver capabilities in the D-Bus TDLS case similarly to the
non-D-Bus cases.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-05-15 00:38:13 +03:00
Jouni Malinen
23c024b9c1
tests: Do not fail if driver supports power saving
...
Couple of "invalid value" tests started to fail now that mac80211_hwsim
actually accepts power save configuration. Fix these by running the same
command for more code coverage, but in a way that ignores the result of
the operation (succeeds with older kernel versions and fails with
newer).
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-05-04 23:56:32 +03:00
Jouni Malinen
f98fdc4e4b
tests: wpa_supplicant STATUS output and ieee80211ac=1
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-05-04 20:19:17 +03:00
Jouni Malinen
585e728a5c
tests: Skip OCSP tests with wolfSSL
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-05-02 13:32:51 +03:00
Sean Parkinson
f08362e9ce
tests: Use same certificates as used for GnuTLS with wolfSSL
...
Signed-off-by: Sean Parkinson <sean@wolfssl.com>
2018-05-02 00:37:57 +03:00
Sean Parkinson
7d5df79f2d
tests: Use a valid key exchange value in eap_proto_ikev2
...
Signed-off-by: Sean Parkinson <sean@wolfssl.com>
2018-05-02 00:37:38 +03:00
Jouni Malinen
832b736fb2
tests: Add TLS v1.3 into ap_wpa2_eap_tls_versions
...
When running with OpenSSL 1.1.1, verify that EAP-TLS can be used with
TLS v1.3.
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-05-01 22:13:38 +03:00
Jouni Malinen
1150d0756a
tests: Enable TLS v1.3 explicitly in the authentication server
...
For testing purposes, enable TLS v1.3 in the authentication server so
that the protocol version can be controlled from wpa_supplicant side
more easily.
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-05-01 22:13:38 +03:00
Jouni Malinen
0d34c13a72
tests: Ignore openssl_cipher_suite_config_hapd failure (OpenSSL 1.1.1)
...
It looks like OpenSSL 1.1.1 accepted the openssl_ciphers=FOO test
configuration or well, at least does not reject it like previous
versions did. For now, ignore this failure.
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-05-01 22:13:38 +03:00
Jouni Malinen
a61ee84d0c
tests: Fix ap_wpa2_eap_fast_cipher_suites with OpenSSL 1.1.1
...
RC4-SHA cipher case ended up allowing the handshake to be started just
to fail with "no ciphers available" when trying to generate ClientHello.
Fix this by handling an EAP failure case for the RC4-SHA test step with
OpenSSL 1.1.*.
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-05-01 13:23:25 +03:00
Jouni Malinen
edc4374ef5
tests: pending_tc table check for HS 2.0 Terms and Conditions
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-30 20:19:32 +03:00
Jouni Malinen
6444b08cea
tests: Hotspot 2.0 Terms and Conditions using SQLite for user DB
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-26 17:56:22 +03:00
Jouni Malinen
045c7c6817
tests: Hotspot 2.0 Terms and Conditions signaling - CoA
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-25 12:57:46 +03:00
Jouni Malinen
0f7fc6b98d
tests: Hotspot 2.0 Terms and Conditions signaling
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-24 00:35:47 +03:00
Jouni Malinen
c3d45e130a
tests: WDS STA interface events and STA command output
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-24 00:35:47 +03:00
Jouni Malinen
24b5b786e6
tests: WPA2-PSK/GCMP/CCMP ciphers
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-24 00:35:47 +03:00
Andrei Otcheretianski
440e9f0bbe
tests: Async. AP setup failure with wpa_supplicant
...
Verify that the AP initialization failure is reported back to
wpa_supplicant also when the initialization is complete in a callback.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
2018-04-20 00:50:25 +03:00
Jouni Malinen
ad5704631a
tests: roaming_consortium_selection
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-18 01:12:23 +03:00
Jouni Malinen
ce952ebda0
tests: Hotspot 2.0 connection based on roaming_consortiums match
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-17 17:26:56 +03:00
Jouni Malinen
53fa04e197
tests: wpa_supplicant cred roaming_consortiums parsing/writing
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-17 16:40:47 +03:00
Jouni Malinen
be5acc3884
tests: Hotspot 2.0 operator icons
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-17 16:40:47 +03:00
Jouni Malinen
f75ed521a5
tests: wpa_supplicant secure mesh using sae_password
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-04-13 12:09:33 +03:00
Jouni Malinen
e5b0b58bfa
tests: DPP and SAE AKMs
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-12 21:14:33 +03:00
Jouni Malinen
3dfccf7c09
tests: sigma_dut DPP/QR initiator as Enrollee (SAE)
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-04-10 21:41:58 +03:00
Jouni Malinen
fa617ee6a0
tests: SAE and PSK enabled in wpa_supplicant network profile
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-04-09 19:34:44 +03:00