wlan_hw_sim

Function connect_or_timeout

Source
pub async fn connect_or_timeout(
    helper: &mut TestHelper,
    timeout: MonotonicDuration,
    ssid: &Ssid,
    bssid: &Bssid,
    bss_protection: &Protection,
    password_or_psk: Option<&str>,
    security_type: SecurityType,
)
Expand description

Waits for a timeout or Policy to establish a connection to an AP with the given SSID, BSSID, and protection.