class WlantapPhy
Defined at line 23 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::channeluser_channel,const std::shared_ptr<const wlan_tap::WlantapPhyConfig> &phy_config,std::function<fit::result<zx_status_t> (WlantapPhy::ShutdownCompleter::Async)>phy_impl_shutdown_callback)
Defined at line 69 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc
zx_status_t SetCountry (wlan_tap::SetCountryArgs args)
Defined at line 82 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc
void Shutdown (ShutdownCompleter::Sync & completer)
Passes the |completer| to the |phy_impl_shutdown_callback_|
initialized during construction of WlantapPhy. WlantapPhy expects
|completer.Reply()| to called when the phy node and any iface node
no longer exists.
Defined at line 99 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc
void Rx (RxRequestView request, RxCompleter::Sync & completer)
Defined at line 111 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc
void ReportTxResult (ReportTxResultRequestView request, ReportTxResultCompleter::Sync & completer)
Defined at line 139 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc
void ScanComplete (ScanCompleteRequestView 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 205 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc
void WlantapMacStop ()
Defined at line 220 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc
void WlantapMacQueueTx (const fuchsia_wlan_softmac::wire::WlanTxPacket & pkt)
Defined at line 225 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc
void WlantapMacSetChannel (const fuchsia_wlan_ieee80211::wire::WlanChannel & channel)
Defined at line 244 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc
void WlantapMacJoinBss (const wlan_common::JoinBssRequest & config)
Defined at line 261 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 wlan_softmac::WlanKeyConfiguration & key_config)
Defined at line 289 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-phy.cc