fuchsia.wlan.tap

PROTOCOLS

WlantapCtl

Defined in fuchsia.wlan.tap/wlantap.fidl

Instruct the wlantap-ctl device to creates a fake wlantap-phy device based on the WlantapPhyConfig passed in. The newly created wlantap-phy device will use the channel to allow a WlantapPhy client to observe and control its behavior

CreatePhy

Request

NameType
config WlantapPhyConfig
proxy request<WlantapPhy>

Response

NameType
status int32

WlantapPhy

Defined in fuchsia.wlan.tap/wlantap.fidl

Rx

Request

NameType
wlanmac_id uint16
data vector<uint8>
info WlanRxInfo

Status

Request

NameType
wlanmac_id uint16
st uint32

ReportTxStatus

Request

NameType
wlanmac_id uint16
txs WlanTxStatus

Tx

Response

NameType
args TxArgs

SetChannel

Response

NameType
args SetChannelArgs

ConfigureBss

Response

NameType
args ConfigureBssArgs

SetKey

Response

NameType
args SetKeyArgs

WlanmacStart

Response

NameType
args WlanmacStartArgs

SetCountry

Response

NameType
args SetCountryArgs

STRUCTS

WlantapPhyConfig

Defined in fuchsia.wlan.tap/wlantap.fidl

Describes the capabilities of the fake wlantap-phy device to be created.

NameTypeDescriptionDefault
phy_info fuchsia.wlan.device/PhyInfo No default
name string No default
quiet bool No default

WlanRxInfo

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
rx_flags uint32 No default
valid_fields uint32 No default
phy uint16 No default
data_rate uint32 No default
chan fuchsia.wlan.common/WlanChan No default
mcs uint8 No default
rssi_dbm int8 No default
rcpi_dbmh int16 No default
snr_dbh int16 No default

WlanTxInfo

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
tx_flags uint32 No default
valid_fields uint32 No default
tx_vector_idx uint16 No default
phy uint16 No default
cbw uint8 No default
mcs uint8 No default

WlanTxPacket

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
data vector<uint8> No default
info WlanTxInfo No default

WlanBssConfig

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
bssid uint8[6] No default
bss_type uint8 No default
remote bool No default

WlanKeyConfig

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
protection uint8 No default
cipher_oui uint8[3] No default
cipher_type uint8 No default
key_type uint8 No default
peer_addr uint8[6] No default
key_idx uint8 No default
key vector<uint8>[32] No default

WlanTxStatusEntry

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
tx_vec_idx uint16 No default
attempts uint8 No default

WlanTxStatus

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
peer_addr uint8[6] No default
tx_status_entries [8] No default
success bool No default

SetCountryArgs

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
alpha2 uint8[2] No default

TxArgs

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
wlanmac_id uint16 No default
packet WlanTxPacket No default

SetChannelArgs

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
wlanmac_id uint16 No default
chan fuchsia.wlan.common/WlanChan No default

ConfigureBssArgs

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
wlanmac_id uint16 No default
config WlanBssConfig No default

SetKeyArgs

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
wlanmac_id uint16 No default
config WlanKeyConfig No default

WlanmacStartArgs

Defined in fuchsia.wlan.tap/wlantap.fidl

NameTypeDescriptionDefault
wlanmac_id uint16 No default