class WlantapPhy

Defined at line 21 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.h

Serves the WlantapPhy protocol, which allows the test suite to interact with the mock driver.

This also implements the WlantapMac::Listener interface, which sends events to the test suite

when specific WlanSoftmac calls have been made.

Public Methods

void WlantapPhy (zx::channel user_channel, const fuchsia_wlan_tap::WlantapPhyConfig & phy_config, std::function<zx::result<> (WlantapPhy::ShutdownCompleter::Async)> phy_impl_shutdown_callback)

Defined at line 68 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

zx_status_t SetCountry (fuchsia_wlan_tap::SetCountryArgs args)

Defined at line 80 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void Shutdown (ShutdownCompleter::Sync & completer)

WlantapPhy protocol implementation

Defined at line 98 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void Rx (RxRequest & request, RxCompleter::Sync & completer)

Defined at line 110 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void ReportTxResult (ReportTxResultRequest & request, ReportTxResultCompleter::Sync & completer)

Defined at line 142 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void ScanComplete (ScanCompleteRequest & request, ScanCompleteCompleter::Sync & completer)

Defined at line 172 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void WlantapMacStart (fdf::ClientEnd<fuchsia_wlan_softmac::WlanSoftmacIfc> ifc_client)

WlantapMac::Listener impl

Defined at line 202 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void WlantapMacStop ()

Defined at line 216 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void WlantapMacQueueTx (const fuchsia_wlan_softmac::WlanTxPacket & pkt)

Defined at line 221 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void WlantapMacSetChannel (const fuchsia_wlan_ieee80211::WlanChannel & channel)

Defined at line 240 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void WlantapMacJoinBss (const fuchsia_wlan_driver::JoinBssRequest & config)

Defined at line 259 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void WlantapMacStartScan (uint64_t scan_id)

Defined at line 274 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void WlantapMacSetKey (const fuchsia_wlan_softmac::WlanKeyConfiguration & key_config)

Defined at line 288 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc