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 144 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

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

Defined at line 174 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 204 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc

void WlantapMacStop ()

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

void WlantapMacQueueTx (const fuchsia_wlan_softmac::WlanTxPacket & pkt)

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

void WlantapMacSetChannel (const fuchsia_wlan_ieee80211::ChannelNumber & channel, fuchsia_wlan_ieee80211::ChannelBandwidth cbw, const fuchsia_wlan_ieee80211::ChannelNumber & secondary80)

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

void WlantapMacJoinBss (const fuchsia_wlan_driver::JoinBssRequest & config)

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

void WlantapMacStartScan (uint64_t scan_id)

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

void WlantapMacSetKey (const fuchsia_wlan_softmac::WlanKeyConfiguration & key_config)

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