class BeaconTest

Defined at line 26 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

Public Members

Environment env_
FakeAp ap_
list beacons_received_
uint32_t csa_beacon_count

Public Methods

void BeaconTest ()

Defined at line 44 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void ~BeaconTest ()

Defined at line 45 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void StartBeaconCallback ()

Event handlers

Defined at line 149 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void UpdateBeaconCallback ()

Defined at line 197 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void AssocCallback ()

Defined at line 272 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void ChannelSwitchCallback (wlan_ieee80211::WlanChannel & channel, zx::duration & interval)

Defined at line 281 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void SetSecurityCallback (wlan::simulation::FakeAp::Security sec)

Defined at line 446 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void StopBeaconCallback ()

Defined at line 157 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void ValidateStartStopBeacons ()

Test validation routines

Defined at line 159 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void ValidateUpdateBeacons ()

Defined at line 205 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void ValidateChannelSwitchBeacons ()

Defined at line 287 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void ValidateOverlapChannelSwitches ()

This is to verify following workflow: (first beacon)->(set channel)->(second beacon)->(set

channel again before first set channel executed)->(third beacon)->(set channel before second set

channel executed)->(fourth beacon->channel switch) The expected results will be:

1. Target channel in CSA IE of each beacon will be updated after each set channel.

2. The very first channel of AP will be maintained the same all the way until changing to the

last channel.

Defined at line 358 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void ValidateSetSecurity ()

Defined at line 450 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void ValidateErrInjBeacon ()

Defined at line 475 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void ScheduleCall (void (BeaconTest::*)() fn, zx::duration when)

Defined at line 125 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void ScheduleChannelSwitchCall (void (BeaconTest::*)(wlan_ieee80211::WlanChannel &, zx::duration &) fn, zx::duration when, const wlan_ieee80211::WlanChannel & channel, const zx::duration & interval)

Defined at line 129 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

void ScheduleSetSecurityCall (void (BeaconTest::*)(wlan::simulation::FakeAp::Security) fn, zx::duration when, ieee80211_cipher_suite cipher)

Defined at line 135 of file ../../src/connectivity/wlan/drivers/testing/lib/sim-fake-ap/test/beacon_unittests.cc

Records