Jouni Malinen
7f1eeda2df
tests: Reset sae_groups in sigma_dut_dpp_qr_init_enrollee_sae
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-03-18 19:00:06 +02:00
Jouni Malinen
fab49f6145
tests: Python coding style cleanup (pylint3 bad-whitespace)
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-03-16 18:52:09 +02:00
Jouni Malinen
a5387062e5
tests: Use a helper function for DPP_BOOTSTRAP_GEN commands
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-03-09 18:13:10 +02:00
Jouni Malinen
0422d06b54
tests: Use a helper function for DPP_QR_CODE commands
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-03-09 16:55:54 +02:00
Jouni Malinen
656f4a3edd
tests: Enable needed SAE groups explicitly in sigma_dut_sae
...
Configure the sae_groups parameter for hostapd explicitly in preparation
for the default value change in the implementation.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-03-05 17:12:44 +02:00
Jouni Malinen
366ada0412
tests: Decode sigma_dut output for python3
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 16:48:22 +02:00
Jouni Malinen
37df1775ad
tests: Read sigma_dut-ap.conf as binary data for python3 compatibility
...
Sending UTF-8 encoded data to logger file is currently not working
properly, so create a separate binary file with a copy of
sigma_dut-ap.conf instead to work with both python2 and python3.
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 16:46:31 +02:00
Jouni Malinen
a42ec6611c
tests: Explicit str/bytes conversion in sigma_dut_venue_url
...
This is needed for python3.
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 12:26:34 +02:00
Masashi Honma
e1810300c9
tests: Replace str.decode('hex') with binascii.unhexlify() for python3
...
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 12:26:34 +02:00
Masashi Honma
54c58f29c0
tests: Replace str.encode('hex') with binascii.hexlify() for python3
...
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 12:26:34 +02:00
Masashi Honma
cc02ce96cf
tests: Explicit str/bytes conversion for socket operations for python3
...
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 12:26:33 +02:00
Jouni Malinen
58be42b264
tests: Remove trailing semicolons from python code
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-02 12:10:53 +02:00
Jouni Malinen
524b963c6c
tests: Mark OSU BSS explicitly in sigma_dut_ap_hs20
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-11-09 18:10:28 +02:00
Jouni Malinen
b583907b53
tests: Use more correct OSU_METHOD value in sigma_dut_ap_hs20
...
The OSU Providers List includes two providers, so there should be two
OSU_METHOD values listed just like there was two OSU_SERVER_URI URLs.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-11-06 02:04:09 +02:00
Jouni Malinen
4902eb04b1
tests: Use bridge in sigma_dut_ap_eap_osen
...
This is needed to allow sigma_dut to enable ap_isolate=1. In addition,
verify that the two associated STAs with RSN(EAP) and OSEN cannot
exchange frames between them.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-11-06 00:46:23 +02:00
Jouni Malinen
e7869a664a
tests: sigma_dut AP configuration for Hotspot 2.0
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-11-01 17:10:40 +02:00
Jouni Malinen
31157568f2
tests: sigma_dut controlled Hotspot 2.0 connection
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-09-15 05:17:54 +03:00
Jouni Malinen
dc60d5643a
tests: sigma_dut controlled Venue URL fetch
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-09-15 05:17:54 +03:00
Jouni Malinen
0beb6c2f50
tests: sigma_dut controlled AP with OSEN
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-09-12 02:26:11 +03:00
Jouni Malinen
63add34eb0
tests: sigma_dut with various AP KeyMgnt values
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-08-01 18:45:53 +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
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
4ae39c121f
tests: sigma_dut DPP protocol testing - Stop at TX on Initiator/Enrollee
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-03-30 10:44:38 +03:00
Jouni Malinen
a8ec0b8ccc
tests: sigma_dut controlled STA as DPP PKEX responder and error case
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-02-13 00:24:50 +02:00
Jouni Malinen
e129e6bd27
tests: sigma_dut DPP roles incompatible
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-02-06 22:08:21 +02:00
Jouni Malinen
3e3d634fa7
tests: Enable PMF in sigma_dut DPP tests
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-02-06 22:08:21 +02:00
Jouni Malinen
6f90cfd780
tests: sigma_dut Suite B tests to not explicitly set PMF
...
PMF is supposed to be enabled automatically in sigma_dut, so remove
the explicit argument to do so from the commands.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-01-12 00:50:45 +02:00
Jouni Malinen
6333cb812b
tests: Use longer timeout in sigma_dut_dpp_proto_initiator
...
This is needed to be ready for a sigma_dut change to wait for an extra
frame RX event.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-01-12 00:50:45 +02:00
Jouni Malinen
7e526fa735
tests: sigma_dut sta_scan_bss
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-01-12 00:50:45 +02:00
Jouni Malinen
c5238c483f
tests: sigma_dut with alternative OWE transition mode configuration
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-01-12 00:50:45 +02:00
Jouni Malinen
23c45cd0ff
tests: sigma_dut and new DPP config index values
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-01-12 00:50:45 +02:00
Jouni Malinen
7b498ecafb
tests: Enable and require PMF in SAE and OWE test cases with sigma_dut
...
All SAE and OWE associations are expected to require PMF to be
negotiated, so enable or require PMF in AP and STA configurations
accordingly to match the new sigma_dut behavior.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-01-06 19:52:12 +02:00
Jouni Malinen
6e6651d02e
tests: Skip sigma_dut tests for SAE/DPP based on build capabilities
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2017-12-28 00:16:53 +02:00
Jouni Malinen
33cddd7fe9
tests: sigma_dut and DPPAuthDirection,Mutual on Initiator
...
Do not include this argument in normal case, but add a test case to
cover the special extra check case.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-12-05 21:13:30 +02:00
Jouni Malinen
c79b9db066
tests: sigma_dut DPP protocol testing - Stop at RX
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-12-05 20:22:07 +02:00
Jouni Malinen
ce83008c79
tests: sigma_dut and WPS PBC Enrollee
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-30 23:06:33 +02:00
Jouni Malinen
6923312dc6
tests: sigma_dut controlled connection using preconfigured profile
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-30 22:54:34 +02:00
Jouni Malinen
8b4adc38aa
tests: sigma_dut DPP AP Configurator using self-configuration
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-27 20:26:33 +02:00
Jouni Malinen
cb6b22325f
tests: sigma_dut DPP/QR initiator as Configurator (neg_freq)
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-21 01:12:58 +02:00
Jouni Malinen
0e664e0c12
tests: sigma_dut DPP/QR initiator as Configurator or Enrollee
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-21 01:02:37 +02:00
Jouni Malinen
e486e5fdcb
tests: sigma_dut DPP/QR (mutual) initiator (response pending)
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-19 12:07:07 +02:00
Jouni Malinen
20c18348e0
tests: sigma_dut controlled AP and PSKHEX
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-18 17:50:09 +02:00
Jouni Malinen
211b5d1ba1
tests: sigma_dut DPP Configurator and self-configuration
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-17 19:14:21 +02:00
Jouni Malinen
14f8e08128
tests: Fix spelling of sigma_dut DPPConfEnrolleeRole argument
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-17 19:13:50 +02:00
Jouni Malinen
21fd5576a5
tests: sigma_dut and group cipher override on AP
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-17 12:44:50 +02:00
Jouni Malinen
6af3b5934b
tests: sigma_dut and AP enabling two pairwise ciphers
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-17 12:33:54 +02:00
Jouni Malinen
71db91db96
tests: sigma_dut DPP/QR (mutual) responder (response pending sequence)
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-13 19:16:35 +02:00
Jouni Malinen
b014624bd5
tests: sigma_dut DPP/QR responder (channel list override)
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-13 18:44:24 +02:00
Jouni Malinen
a0604a4236
tests: sigma_dut DPP protocol testing - Peer Discovery Request
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-06 12:59:12 +02:00
Jouni Malinen
8c735316af
tests: sigma_dut and DPP protocol testing
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-06 00:35:58 +02:00
Jouni Malinen
b900fb1a43
tests: sigma_dut controlled AP as DPP PKEX responder
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-04 12:33:03 +02:00
Jouni Malinen
d84c0cf46c
tests: sigma_dut DPP functionality
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-11-02 12:05:37 +02:00
Jouni Malinen
89c343e887
tests: sigma_dut ap_get_mac_address
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-10-12 00:02:10 +03:00
Jouni Malinen
6644069ca9
tests: sigma_dut SAE and long password
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-10-11 23:24:19 +03:00
Jouni Malinen
86fd7d70e8
tests: sigma_dut controlled AP with OWE and transition mode
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-10-10 22:40:15 +03:00
Jouni Malinen
7f811be59e
tests: sigma_dut controlled AP with OWE and ECGroupID
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-10-10 21:04:00 +03:00
Jouni Malinen
e30de6c250
tests: sigma_dut OWE with invalid DH Param element
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-10-10 18:35:19 +03:00
Jouni Malinen
b9c0e1fa5c
tests: sigma_dut with OWE
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-10-09 16:54:03 +03:00
Jouni Malinen
002b49ed07
tests: sigma_dut Suite B station with RSA certificate
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-10-03 18:16:51 +03:00
Jouni Malinen
8cfdca1266
tests: sigma_dut PMF group management cipher selection on STA
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-09-26 17:54:56 +03:00
Jouni Malinen
2ef00a364b
tests: sigma_dut with Suite B
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-09-15 00:38:21 +03:00
Jouni Malinen
1ed508d9ea
tests: sigma_dut tests for SAE
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-08-22 21:23:04 +03:00
Jouni Malinen
65fa9d96ae
tests: Clear ignore_old_scan_res after sigma_dut test cases
...
sigma_dut can end up setting ignore_old_scan_res=1 and that can result
in some of the consecutive test cases failing. Fix this by explicitly
clearing ignore_old_scan_res after sigma_dut cases that may have ended
up setting the parameter.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-07-03 15:58:58 +03:00
Jouni Malinen
f6f33f8fcc
tests: sigma_dut test cases
...
Add possibility to test sigma_dut functionality as part of the hwsim
test cases.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-06-23 17:50:03 +03:00