Jouni Malinen
0456b7d312
tests: Add UDP checksum into DHCP frames in ProxyARP/DGAF disabled case
...
Previously, the special value 0 was used to indicate no UDP checksum.
Replace that with the calculated checksum for more like use case.
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-12-30 01:04:58 +02:00
Jouni Malinen
4992582187
tests: Hotspot 2.0 AAA server behavior for SIM provisioning
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-12-15 18:01:38 +02:00
Jouni Malinen
842c29c173
tests: Hotspot 2.0 connection attempt without PMF
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-12-08 14:06:58 +02:00
Jouni Malinen
c8f7a83c65
tests: Fix ap_hs20_deauth_req_without_pmf
...
Now that hostapd starts mandating PMF for Hotspot 2.0 Release 2
association, this test case needs some more tweaks to work. Hardcode
Hotspot 2.0 Release 1 to be used and disable PMF explicitly.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-12-08 14:06:58 +02:00
Jouni Malinen
647c0ed679
tests: Fix ap_hs20_ft with PMF enabled
...
The Beacon loss event was not reported anymore, so remove that as an
unnecessary step in the test case. In addition, check the key_mgmt
values explicitly.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-12-08 14:06:58 +02:00
Jouni Malinen
f40f8860d2
tests: Enable PMF in ap_hs20_unexpected configuration
...
This is needed to meet the Hotspot 2.0 Release 2 requirement for the
third station that is actually using RSN.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-12-08 14:06:58 +02:00
Jouni Malinen
ea57b0bcfe
tests: Enable PMF in ap_hs20_external_selection network profile
...
This is required for Hotspot 2.0 Release 2.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-12-08 14:06:58 +02:00
Jouni Malinen
dfd1b69de2
tests: Hotspot 2.0 release number indication
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-12-08 14:06:58 +02:00
Jouni Malinen
7436cd366e
tests: Update Hotspot 2.0 release number expectation to 3
...
Match the implementation change to fix the test cases that verified a
specific Hotspot 2.0 release number indication.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-12-08 14:06:58 +02:00
Jouni Malinen
db368b2e13
tests: ap_hs20_osen to test group cipher selection in SME case
...
Go through the group cipher selection in both the wpa_supplicant and
driver SME cases.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-11-09 18:09:34 +02:00
Jouni Malinen
97e27300f4
tests: Maximum number of cred roaming_consortiums
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-10-14 20:48:32 +03:00
Jouni Malinen
6bf62f7fc4
tests: OSU Providers NAI List ANQP-element
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-10-05 20:54:40 +03:00
Jouni Malinen
40d514ec64
tests: Hotspot 2.0 OSU provider and single SSID
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-09-12 03:49:16 +03:00
Jouni Malinen
2133a7cd7d
tests: Check both FT and non-FT connections in ap_hs20_ft
...
Verify that the automatically generated network profile is able to
connect to a non-FT network automatically after having used FT for the
first connection.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-08-03 00:40:51 +03:00
Jouni Malinen
f5dd150aac
tests: OSEN with two group ciphers allowed on client side
...
This verifies the new default behavior for OSEN in Single SSID capable
devices.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-07-31 00:33:08 +03:00
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
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
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
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
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
9960434dcf
tests: ProxyARP error cases
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2017-03-04 11:44:55 +02:00
Jouni Malinen
02538b39b4
tests: Check for ebtables having been installed
...
This makes proxyarp_open_ebtables and proxyarp_open_ebtables_ipv6 return
SKIP cleanly if the ebtables binary is not installed or does not work.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-08 13:35:36 +02:00
Jouni Malinen
326720c1db
tests: Split proxyarp test cases into IPv4 and IPv6 parts
...
This is useful for now since the IPv6 support for proxyarp is not yet
included in the upstream kernel. This allows the IPv4 test cases to pass
with the current upstream kernel while allowing the IPv6 test cases to
report SKIP instead of FAIL.
Signed-off-by: Jouni Malinen <j@w1.fi>
2017-01-29 14:32:17 +02:00
Jouni Malinen
dbaa8d5e5f
tests: ANQP Domain ID
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-12-30 00:28:54 +02:00
Jouni Malinen
b25e0fe5c0
tests: HS20_DEAUTH_REQ OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-12-28 14:31:42 +02:00
Jouni Malinen
d0d215d4b7
tests: Additional HS20_WNM_NOTIF coverage
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-12-28 14:31:42 +02:00
Jouni Malinen
58a5c4ae77
tests: Verify wpa_state after INTERWORKING_SELECT
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-12-11 19:51:09 +02:00
Jouni Malinen
96a5b80958
tests: Make ap_interworking_scan_filtering more robust
...
It was possible for the first wt.clear_bss_counters(bssid) call to fail
the test if timing worked out in a way that the wlantest process had not
received any Beacon frames from the first AP. Run a directed scan for
both of the BSSs before starting the test validation steps to make sure
such a case cannot fail this test case.
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-10-29 22:23:53 +03:00
Jouni Malinen
4ef3325fb6
tests: Dynamic Interworking element update
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2016-09-08 19:48:44 +03:00
Jouni Malinen
19f2a3f357
tests: Hotspot 2.0 OSU provider and OOM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 11:08:02 +03:00
Jouni Malinen
f281f508b7
tests: Hotspot 2.0 OSU provider and invalid directory
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 11:08:02 +03:00
Jouni Malinen
502f0ce848
tests: More GET_HS20_ICON coverage
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-17 11:08:02 +03:00
Jouni Malinen
6fc562a406
tests: Unexpected Hotspot 2.0 AP configuration
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-15 13:30:57 +03:00
Jouni Malinen
ec9812e7e7
tests: Hotspot 2.0 OSU provider and protocol testing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-15 13:30:57 +03:00
Jouni Malinen
2752537926
tests: Hotspot 2.0 OSU provider and no icon found
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-12 20:58:20 +03:00
Jouni Malinen
424e344fbf
tests: Hotspot 2.0 connection and deauthentication request without PMF
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-12 20:49:02 +03:00
Jouni Malinen
1c39f984fd
tests: Hotspot 2.0 icon fetch OOM with REQ_HS20_ICON
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-11 21:56:56 +03:00
Jouni Malinen
8e590f02bd
tests: Hotspot 2.0 and connect attempt without matching cred
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:54:26 +03:00
Jouni Malinen
6b16e073d3
tests: ANQP no sharing
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:50:59 +03:00
Jouni Malinen
c342bb7a3d
tests: Hotspot 2.0 and select with multiple matching home credentials
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:43:30 +03:00
Jouni Malinen
c63f2eb973
tests: Hotspot 2.0 connection with TTLS/default
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:24:23 +03:00
Jouni Malinen
26e43f01ae
tests: Hotspot 2.0 and connect attempt without RSN
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:24:23 +03:00
Jouni Malinen
99cbec7ea7
tests: Hotspot 2.0 and connect attempt without credential
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-07-04 18:03:28 +03:00