aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: DPP Relay and incomplete connectionsHEADpendingmasterJouni Malinen2 days1-0/+59
| | | | Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
* tests: Update PASN tests with SAE to use sae_pwe=2Ilan Peer5 days1-45/+73
| | | | | | | As a preparation for changing wpa_supplicant and hostapd implementation to use SAE H2E only. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
* tests: Use the correct SSID in PASN SAE testsIlan Peer5 days1-5/+5
| | | | Signed-off-by: Ilan Peer <ilan.peer@intel.com>
* tests: Add coverage for PASN authentication with KDK derivationIlan Peer5 days1-0/+17
| | | | Signed-off-by: Ilan Peer <ilan.peer@intel.com>
* tests: Multi-AP and WPS parameter updateJouni Malinen2021-03-281-1/+11
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: WPS Registrar init errorsJouni Malinen2021-03-281-1/+15
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: WPS PBC session overlap workaroundJouni Malinen2021-03-281-0/+37
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: WPS ER and UNSUBSCRIBE errorsJouni Malinen2021-03-281-0/+40
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: WPS ER and HTTP client timeoutJouni Malinen2021-03-281-2/+13
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: assoc+auth driver eventJouni Malinen2021-03-282-0/+53
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: IEEE 802.1X and FORCE_UNAUTH stateJouni Malinen2021-03-281-0/+17
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: P2P peer table limitJouni Malinen2021-03-251-0/+51
| | | | Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
* tests: INTERFACE_ADD behavior on driver init failureJouni Malinen2021-03-251-0/+8
| | | | Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
* tests: FT with beacon protectionJouni Malinen2021-03-251-3/+13
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: OCV testing with AP special functionality set after ENABLEJouni Malinen2021-03-251-7/+50
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: WPA2-PSK AP and GTK rekey failureJouni Malinen2021-03-251-0/+16
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: WNM-Sleep Mode exit with PMF and beacon protectionJouni Malinen2021-03-251-2/+35
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: Re-enable op class 118-120 tests with new regdbJouni Malinen2021-03-251-3/+3
| | | | | | | Move from RS to PA country code to allow these test cases to work since regdb was updated to require DFS for these operating classes in RS. Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: hostapd configuration with op_classJouni Malinen2021-03-231-17/+52
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: DPP PFS error casesJouni Malinen2021-03-231-0/+19
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: MSCSJouni Malinen2021-03-221-0/+231
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: Add PASN tests with comeback flowIlan Peer2021-03-211-0/+122
| | | | Signed-off-by: Ilan Peer <ilan.peer@intel.com>
* tests: DPP NFC operation failures in hostapdJouni Malinen2021-03-211-0/+34
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: DPP bootstrapping via NFC URI record (hostapd reading tag)Jouni Malinen2021-03-212-2/+29
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: DPP GAS Query error cases with hostapdJouni Malinen2021-03-211-3/+293
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: PMKSA cache add failureJouni Malinen2021-03-201-0/+14
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: hostapd ctrl_iface SET_NEIGHBOR failuresJouni Malinen2021-03-201-0/+14
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: DPP and hostapd as Enrollee with GAS fragmentation/timeoutJouni Malinen2021-03-201-0/+44
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: DPP connection status - success with hostapd as ConfiguratorJouni Malinen2021-03-202-1/+47
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: hostapd airtime policy configurationJouni Malinen2021-03-202-0/+62
| | | | | | | | Add minimal testing for airtime policy configuration. mac80211_hwsim does not actually support this functionality, so this is just for testing coverage of src/ap/airtime_policy.c. Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: DPP with hostapd as configurator/initiator with v1 enrolleeJouni Malinen2021-03-201-0/+8
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: DPP chirp by an AP on 5 GHzJouni Malinen2021-03-201-0/+68
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: AP tracking STA taxonomy (5 GHz)Jouni Malinen2021-03-201-0/+32
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: HE AP spatial reuse parametersJouni Malinen2021-03-191-0/+18
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: Fix error messages for HE config missingJouni Malinen2021-03-191-2/+2
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: EAP-SIM with decorated anonymous identityJouni Malinen2021-03-191-0/+1
| | | | Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
* tests: Make FT roaming and data connectivity checks more robustJouni Malinen2021-03-191-0/+14
| | | | | | | | | | | | Dump pending monitor interface messages between each roaming step to make the test log easier to understand and hostapd wait for the new connection more robust by ensuring that the processed event if for the very last reassociation. It looks like at least ap_ft_vlan_over_ds_many could fail due to the connectivity check being started before the final roam had been completed on the AP side even though there was an explicit hapd2ap.wait_sta() wait before the test. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
* tests: Check update misbehaving MBO AP test to include roamMatthew Wang2021-03-191-7/+24
| | | | | | | | APs PMF capabilities can differ. wpa_supplicant should be able to disable and enable MBO when roaming to and from a misbehaving MBO AP that doesn't support PMF. Verify that this is indeed happening. Signed-off-by: Matthew Wang <matthewmwang@chromium.org>
* tests: Fix eap_proto_eke_errors with gcc-10Jouni Malinen2021-03-171-4/+4
| | | | | | | | | | gcc-10 seems to be inlining eap_eke_prf() and eap_eke_prfplus() which breaks this test case due to a different backtrace being generated for triggering the local failures. Point to the functions called by those instead of these two functions to get this working with both gcc-9 and gcc-10. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
* tests: Speed up tshark operationsJouni Malinen2021-03-171-0/+5
| | | | | | | | | Hide /usr/share/wireshark from hostfs to prevent tshark from loading all the data from there since that can take significant amount of time and is not really needed for the test cases. In addition, set HOME to point to local tmpfs to avoid unnecessary references through hostfs. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
* tests: Add coverage for PASN deauthenticationIlan Peer2021-03-161-4/+16
| | | | Signed-off-by: Ilan Peer <ilan.peer@intel.com>
* tests: Add test coverage for PASN with MIC errorsIlan Peer2021-03-161-3/+36
| | | | Signed-off-by: Ilan Peer <ilan.peer@intel.com>
* tests: PASN: configure the nid before sending the commandIlan Peer2021-03-161-1/+2
| | | | Signed-off-by: Ilan Peer <ilan.peer@intel.com>
* tests: Enable HE overrides in wpa_supplicant buildJouni Malinen2021-03-141-0/+1
| | | | | | This is needed for the recently added he_disabled_on_sta test case. Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: DPP Authentication Confirm timeout in hostapdJouni Malinen2021-03-141-0/+61
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: OCV without PMFJouni Malinen2021-03-141-0/+12
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: WEP and HEJouni Malinen2021-03-141-0/+16
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: HE AP and 6 GHz security parameter validationJouni Malinen2021-03-141-0/+40
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: Automatic channel selection for VHT 80+80Jouni Malinen2021-03-141-0/+24
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* tests: RADIUS Accounting and interim updates failingJouni Malinen2021-03-141-0/+14
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>