Jouni Malinen
aa45859eba
tests: Extend wpas_ctrl_cred to cover most cred block operations
...
This verifies the new cred modification events and GET_CRED.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-04-04 22:50:46 +03:00
Amit Khatri
0f3d4b504d
tests: Run make clean for hwsim_test before rebuilding it
...
This makes sure that the build.sh script ends up rebuilding hwsim_test.
Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
2014-04-01 11:22:51 +03:00
Jouni Malinen
d7d7843430
tests: Prevent grpform_pbc_overlap_group_iface failures
...
Do not report missing PBC overlap detection as an issue in this test
case since the sequence can miss the overlap due to per-SSID scan used
during group formation. In addition, increase AP beaconing frequency to
make it more likely for a Beacon frame to be seen during the optimized
scan.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-30 20:57:40 +03:00
Jouni Malinen
b2036fed9d
tests: Make grpform_pbc_overlap* more likely to clear state
...
The PBC overlap state could remain for the next test case and result in
unexpected failure reports.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-30 18:21:58 +03:00
Jouni Malinen
6acecce1fe
tests: hostapd configuration parameters
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-30 18:07:05 +03:00
Jouni Malinen
1d6f579ada
tests: Update hlr_auc_gw Milenage file
...
This increases hlr_auc_gw.c test coverage and allows the SQN updated to
be checked if desired.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-30 17:06:34 +03:00
Jouni Malinen
ba77228092
tests: hostapd MAC ACL file entry removal
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-30 17:06:34 +03:00
Jouni Malinen
fd6b727ed4
tests: VLAN using vlan_file mapping
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-30 17:06:34 +03:00
Jouni Malinen
14a7fb1f11
tests: STA disconnection due to MAC ACL file change
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-30 17:06:34 +03:00
Jouni Malinen
29b75b7860
tests: hostapd control interface error cases
...
Invalid parameters to HS20_WNM_NOTIF, HS20_DEAUTH_REQ,
DISASSOC_IMMINENT, and ESS_DISASSOC.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-30 17:06:05 +03:00
Jouni Malinen
a0f350fd79
tests: EAP-SIM server using GSM triplets
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-30 16:28:48 +03:00
Jouni Malinen
19d64886ef
tests: RADIUS MAC ACL
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 19:32:45 +02:00
Jouni Malinen
81699e2e6e
tests: Unknown Action frame category
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 17:07:22 +02:00
Jouni Malinen
41be44afeb
tests: max_num_sta limit
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 17:00:02 +02:00
Jouni Malinen
11a4c910ea
tests: max_listen_interval rejecting association
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 16:56:14 +02:00
Jouni Malinen
8abb3d4ea3
tests: OSEN network and invalid association without OSEN IE
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 16:51:44 +02:00
Jouni Malinen
eebad21495
tests: Connection during large packet loss
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 16:48:00 +02:00
Jouni Malinen
fd4709ffe6
tests: SAE anti-clogging with non-SAE STA associated as well
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 16:39:22 +02:00
Jouni Malinen
9645dbe9b2
tests: OLBC state clearing on timeout
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 16:35:54 +02:00
Jouni Malinen
ec36fff79f
tests: HT OLBC detection on 5 GHz
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 16:28:00 +02:00
Jouni Malinen
86c1861821
tests: Chargeable-User-Idnetity in Accounting-Request
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 16:16:24 +02:00
Jouni Malinen
9308d0a039
tests: Add initial cfg80211 test
...
This adds some helper definitions and functions to allow cfg80211 to be
tested with raw nl80211 messages built in the test scripts. The first
test case shows a case where station disassociates instead of
deauthenticates (which is the wpa_supplicant behavior).
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 11:02:32 +02:00
Jouni Malinen
fdc02e4caf
tests: Require HT/VHT as BSS membership selector in Supp Rates
...
These are similar to the previous cases, but with supported rate set
limited to allow the BSS membership selector to fit into that element
instead of Ext Supp Rates.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 10:39:32 +02:00
Jouni Malinen
a85bde822e
tests: hostapd configuration file error cases
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 10:36:25 +02:00
Jouni Malinen
138ec97ee5
tests: PSK file error cases
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 09:51:54 +02:00
Jouni Malinen
b0159308b5
tests: ACS for 40 MHz channels, on 5 GHz, and for VHT
...
The 5 GHz cases are not yet complete due to missing mac80211_hwsim
functionality. The current test cases allow the ACS operation to fail
for those cases.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-29 09:24:22 +02:00
Jouni Malinen
095ded5dd5
tests: Verify PBC overlap detection during P2P group formation
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-28 23:02:45 +02:00
Jouni Malinen
e56e286d00
tests: GAS/ANQP query for both IEEE 802.11 and Hotspot 2.0 elements
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-03-25 18:33:21 +02:00
Jouni Malinen
9d1e11725d
tests: HS 2.0 OSEN using nl80211 connect command
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-03-25 18:33:21 +02:00
Jouni Malinen
f8633c0064
tests: Remove CONFIG_WPS2=y from example configuration files
...
This build parameter is not used anymore.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-03-25 18:33:21 +02:00
Jouni Malinen
406739c499
tests: P2P persistent group re-invocation with empty BSS table
...
This verifies P2P Client scanning behavior during group re-invocation in
a case where old scan results are not available to allow the scan to be
skipped completely.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-03-25 15:09:34 +02:00
Jouni Malinen
9905de3129
tests: Optimize scanning in wpa_supplicant-as-AP test case
...
Wait for the AP to be ready before initiating the scan to avoid
unnecessary five second extra wait. In addition, disconnect the station
to avoid possibility of starting a new scan at the end of the test case.
These remove unnecessary wait time from the test cases.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-03-25 15:09:34 +02:00
Jouni Malinen
09e38c2fce
tests: Add scripts to allow parallel execution of tests in VMs
...
"parallel-vm.sh <number of VMs> [arguments..]" can now be used to run
multiple VMs in parallel to speed up full test cycle significantly. In
addition, the "--split srv/total" argument used in this design would
also make it possible to split this to multiple servers to speed up
testing.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-24 23:37:42 +02:00
Jouni Malinen
0df965e975
tests: Extend OBSS scan coverage
...
Include another BSS in the scan results and run a test with a 40 MHz
intolerant neighboring BSS.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2014-03-23 23:57:38 +02:00
Jouni Malinen
145f35bf30
tests: Verify HT/VHT required rejection
...
Previously, only the case of STA supporting HT/VHT was tested. Now both
cases are verified.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-23 19:49:12 +02:00
Jouni Malinen
a4e510fefd
tests: Additional AP parameters
...
This tests basic rate, short preamble, and spectrum management
configuration.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-23 19:38:12 +02:00
Jouni Malinen
3b80894541
tests: Negative FT RRB test cases
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-23 19:28:53 +02:00
Jouni Malinen
aaba98d30e
tests: FT pull PMK-R1
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-23 18:31:58 +02:00
Jouni Malinen
546735476a
tests: P2P broadcast SD query canceling
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-23 12:11:55 +02:00
Jouni Malinen
147766571e
tests: P2P channel selection
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-23 12:01:10 +02:00
Jouni Malinen
9007391650
tests: Allow test cases to receive additional parameters
...
The optional third argument to the test case functions can now be used
to receive additional parameters from run-tests.py. As the initial
parameter, logdir value is provided so that test cases can use it to
review the debug logs from the test run.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-23 12:01:10 +02:00
Jouni Malinen
33c9b8d8ac
tests: WPS AP PIN unlocked on timeout
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-22 23:38:39 +02:00
Jouni Malinen
56887c3581
tests: WPS configuration file update
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-22 21:12:06 +02:00
Jouni Malinen
373cce553b
tests: WPS and per-station PSK with non-writeable PSK file
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-22 19:19:17 +02:00
Jouni Malinen
650383134d
tests: hostapd GET_CONFIG key_mgmt values
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-22 19:01:34 +02:00
Jouni Malinen
d7a68ad6b9
tests: Print BSS data on ap_wps_ie_fragmention error case
...
This makes it easier to debug what failed.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-22 19:01:34 +02:00
Jouni Malinen
4f62bfefa4
tests: Increase DFS coverage even without hwsim support
...
This allows some more of the hostapd DFS operations to be executed even
before mac80211_hwsim supports CAC.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-22 19:01:34 +02:00
Jouni Malinen
986eedcdc4
tests: QoS Map ctrl_iface error cases
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-22 19:01:34 +02:00
Jouni Malinen
36a860b4d0
tests: WPS NFC failure cases in hostapd ctrl_iface
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-22 19:01:34 +02:00
Jouni Malinen
ac786d67fe
tests: WPS_CHECK_PIN error cases
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-22 19:01:34 +02:00