blob: 513dc455ad23bbc679464a237990cc5a8fbe16ac [file] [log] [blame] [view]
<link rel="stylesheet" href="../style.css" />
[TOC]
# fuchsia.wlan.common
<div class="fidl-version-div"><span class="fidl-attribute fidl-version">Added: 7</span></div>
## **STRUCTS**
### DataPlaneExtension {#DataPlaneExtension data-text="DataPlaneExtension"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=50)*
<p>Indicates where the data plane is implemented.
This is a MAC sublayer extension, usable for fullmac or softmac. This
extension is not part of the 802.11-2016 spec.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="DataPlaneExtension.data_plane_type">
<td><code>data_plane_type</code></td>
<td>
<code><a class='link' href='#DataPlaneType'>DataPlaneType</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
</table>
### DeviceExtension {#DeviceExtension data-text="DeviceExtension"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=64)*
<p>Feature-like information specific to the device.
This is a MAC sublayer extension. This extension is not part of the
802.11-2016 spec.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="DeviceExtension.is_synthetic">
<td><code>is_synthetic</code></td>
<td>
<code>bool</code>
</td>
<td><p>Indicates that device is not a real hardware device. This extension only
exists to support the SYNTH value in
fuchsia.hardware.ethernet/EthernetFeature.</p>
</td>
<td>No default</td>
</tr>
<tr id="DeviceExtension.mac_implementation_type">
<td><code>mac_implementation_type</code></td>
<td>
<code><a class='link' href='#MacImplementationType'>MacImplementationType</a></code>
</td>
<td><p>Indicates where MAC layer is implemented.</p>
</td>
<td>No default</td>
</tr>
<tr id="DeviceExtension.tx_status_report_supported">
<td><code>tx_status_report_supported</code></td>
<td>
<code>bool</code>
</td>
<td><p>Indicates whether device supports transmission reports.</p>
</td>
<td>No default</td>
</tr>
</table>
### DfsFeature {#DfsFeature data-text="DfsFeature"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=112)*
<p>Dynamic Frequency Selection.
See IEEE 802.11-2016 11.9.
This is a spectrum management feature, usable for fullmac or softmac.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="DfsFeature.supported">
<td><code>supported</code></td>
<td>
<code>bool</code>
</td>
<td><p>If true, driver implements DFS procedures (e.g. vacate channel upon
detecting RADAR). Based on whether the driver implements DFS procedures,
higher layers may adjust their logic (e.g. to include/exclude channels
that require DFS).</p>
</td>
<td>No default</td>
</tr>
</table>
### DiscoverySupport {#DiscoverySupport data-text="DiscoverySupport"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=27)*
<p>Features related to discovery of potential BSSs.
See IEEE 802.11-2016 11.1.4.2 and 11.1.4.3.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="DiscoverySupport.scan_offload">
<td><code>scan_offload</code></td>
<td>
<code><a class='link' href='#ScanOffloadExtension'>ScanOffloadExtension</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="DiscoverySupport.probe_response_offload">
<td><code>probe_response_offload</code></td>
<td>
<code><a class='link' href='#ProbeResponseOffloadExtension'>ProbeResponseOffloadExtension</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
</table>
### MacSublayerSupport {#MacSublayerSupport data-text="MacSublayerSupport"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=78)*
<p>Features related to the MAC sublayer (below MLME).
See IEEE 802.11-2016 10.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="MacSublayerSupport.rate_selection_offload">
<td><code>rate_selection_offload</code></td>
<td>
<code><a class='link' href='#RateSelectionOffloadExtension'>RateSelectionOffloadExtension</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="MacSublayerSupport.data_plane">
<td><code>data_plane</code></td>
<td>
<code><a class='link' href='#DataPlaneExtension'>DataPlaneExtension</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="MacSublayerSupport.device">
<td><code>device</code></td>
<td>
<code><a class='link' href='#DeviceExtension'>DeviceExtension</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
</table>
### MfpFeature {#MfpFeature data-text="MfpFeature"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=98)*
<p>Management Frame Protection.
See IEEE 802.11-2016 4.5.4.9.
This is a security feature, usable for fullmac or softmac.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="MfpFeature.supported">
<td><code>supported</code></td>
<td>
<code>bool</code>
</td>
<td></td>
<td>No default</td>
</tr>
</table>
### ProbeResponseOffloadExtension {#ProbeResponseOffloadExtension data-text="ProbeResponseOffloadExtension"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=20)*
<p>Indicates where and how probe responses are to be handled.
See IEEE 802.11-2016 11.1.4.3.
This is a discovery extension, expected to be used for softmac only.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="ProbeResponseOffloadExtension.supported">
<td><code>supported</code></td>
<td>
<code>bool</code>
</td>
<td><p>If true, driver responds to probe requests; otherwise MLME must respond.</p>
</td>
<td>No default</td>
</tr>
</table>
### RateSelectionOffloadExtension {#RateSelectionOffloadExtension data-text="RateSelectionOffloadExtension"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=35)*
<p>Indicates where and how rate selection logic is orchestrated.
See IEEE 802.11-2016 10.7.
This is a MAC sublayer extension, expected to be used for softmac only.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="RateSelectionOffloadExtension.supported">
<td><code>supported</code></td>
<td>
<code>bool</code>
</td>
<td><p>If true, driver orchestrates rate selection; otherwise MLME must do so.</p>
</td>
<td>No default</td>
</tr>
</table>
### SaeFeature {#SaeFeature data-text="SaeFeature"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=87)*
<p>Simultaneous Authentication of Equals.
See IEEE 802.11-2016 12.4.
This is a security feature, usable for fullmac or softmac.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="SaeFeature.driver_handler_supported">
<td><code>driver_handler_supported</code></td>
<td>
<code>bool</code>
</td>
<td><p>SAE can be handled by the driver.</p>
</td>
<td>No default</td>
</tr>
<tr id="SaeFeature.sme_handler_supported">
<td><code>sme_handler_supported</code></td>
<td>
<code>bool</code>
</td>
<td><p>SAE can be handled by SME.</p>
</td>
<td>No default</td>
</tr>
</table>
### ScanOffloadExtension {#ScanOffloadExtension data-text="ScanOffloadExtension"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=10)*
<p>Indicates where and how scan logic is orchestrated.
See IEEE 802.11-2016 11.1.4.2 and 11.1.4.3.
This is a discovery extension, expected to be used for softmac only.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="ScanOffloadExtension.supported">
<td><code>supported</code></td>
<td>
<code>bool</code>
</td>
<td><p>If true, driver orchestrates scans; otherwise MLME must do so.</p>
</td>
<td>No default</td>
</tr>
<tr id="ScanOffloadExtension.scan_cancel_supported">
<td><code>scan_cancel_supported</code></td>
<td>
<code>bool</code>
</td>
<td><div class="fidl-version-div"><span class="fidl-attribute fidl-version">Added: 10</span></div>
</td>
<td>No default</td>
</tr>
</table>
### SecuritySupport {#SecuritySupport data-text="SecuritySupport"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=104)*
<p>Features related to security / access control and data confidentiality.
See IEEE 802.11-2016 4.5.4 and 802.11-2016 12.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="SecuritySupport.sae">
<td><code>sae</code></td>
<td>
<code><a class='link' href='#SaeFeature'>SaeFeature</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="SecuritySupport.mfp">
<td><code>mfp</code></td>
<td>
<code><a class='link' href='#MfpFeature'>MfpFeature</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
</table>
### SpectrumManagementSupport {#SpectrumManagementSupport data-text="SpectrumManagementSupport"}
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=122)*
<p>Features related to spectrum management.
See IEEE 802.11-2016 4.5.5, 11.8, and 11.9.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="SpectrumManagementSupport.dfs">
<td><code>dfs</code></td>
<td>
<code><a class='link' href='#DfsFeature'>DfsFeature</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
</table>
### WlanChannel {#WlanChannel data-text="WlanChannel"}
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=112)*
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="WlanChannel.primary">
<td><code>primary</code></td>
<td>
<code>uint8</code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="WlanChannel.cbw">
<td><code>cbw</code></td>
<td>
<code><a class='link' href='#ChannelBandwidth'>ChannelBandwidth</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="WlanChannel.secondary80">
<td><code>secondary80</code></td>
<td>
<code>uint8</code>
</td>
<td></td>
<td>No default</td>
</tr>
</table>
### WlanTxStatus {#WlanTxStatus data-text="WlanTxStatus"}
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=175)*
<p>TX status reports are used by the Minstrel rate selection algorithm
Tests should use the default value in //src/connectivity/wlan/testing/hw-sim/src/lib.rs</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="WlanTxStatus.tx_status_entry">
<td><code>tx_status_entry</code></td>
<td>
<code>[8]</code>
</td>
<td><p>up to 8 different tx_vector for one PPDU frame.
WLAN_TX_VECTOR_IDX_INVALID indicates no more entries.</p>
</td>
<td>No default</td>
</tr>
<tr id="WlanTxStatus.peer_addr">
<td><code>peer_addr</code></td>
<td>
<code><a class='link' href='../fuchsia.wlan.ieee80211/'>fuchsia.wlan.ieee80211</a>/<a class='link' href='../fuchsia.wlan.ieee80211/#MacAddr'>MacAddr</a></code>
</td>
<td><p>Destination mac address, or addr1 in packet header.</p>
</td>
<td>No default</td>
</tr>
<tr id="WlanTxStatus.result">
<td><code>result</code></td>
<td>
<code><a class='link' href='#WlanTxResult'>WlanTxResult</a></code>
</td>
<td></td>
<td>No default</td>
</tr>
</table>
### WlanTxStatusEntry {#WlanTxStatusEntry data-text="WlanTxStatusEntry"}
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=158)*
<p>One entry in a WlanTxStatus report. Indicates a number of attempted transmissions on
a particular tx vector, but does not imply successful transmission.</p>
<table>
<tr><th>Field</th><th>Type</th><th>Description</th><th>Default</th></tr>
<tr id="WlanTxStatusEntry.tx_vector_idx">
<td><code>tx_vector_idx</code></td>
<td>
<code>uint16</code>
</td>
<td></td>
<td>No default</td>
</tr>
<tr id="WlanTxStatusEntry.attempts">
<td><code>attempts</code></td>
<td>
<code>uint8</code>
</td>
<td><p>Number of total attempts with this specific tx vector, including successful attempts.
DDK assumes the number of attempts per packet will not exceed 255. (typically &lt;= 8)</p>
</td>
<td>No default</td>
</tr>
</table>
## **ENUMS**
### ChannelBandwidth [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#ChannelBandwidth data-text="ChannelBandwidth"}
Type: <code>uint32</code>
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=103)*
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="ChannelBandwidth.CBW20">
<td><h3 id="ChannelBandwidth.CBW20" class="add-link hide-from-toc">CBW20</h3></td>
<td><code>0</code></td>
<td></td>
</tr>
<tr id="ChannelBandwidth.CBW40">
<td><h3 id="ChannelBandwidth.CBW40" class="add-link hide-from-toc">CBW40</h3></td>
<td><code>1</code></td>
<td></td>
</tr>
<tr id="ChannelBandwidth.CBW40BELOW">
<td><h3 id="ChannelBandwidth.CBW40BELOW" class="add-link hide-from-toc">CBW40BELOW</h3></td>
<td><code>2</code></td>
<td></td>
</tr>
<tr id="ChannelBandwidth.CBW80">
<td><h3 id="ChannelBandwidth.CBW80" class="add-link hide-from-toc">CBW80</h3></td>
<td><code>3</code></td>
<td></td>
</tr>
<tr id="ChannelBandwidth.CBW160">
<td><h3 id="ChannelBandwidth.CBW160" class="add-link hide-from-toc">CBW160</h3></td>
<td><code>4</code></td>
<td></td>
</tr>
<tr id="ChannelBandwidth.CBW80P80">
<td><h3 id="ChannelBandwidth.CBW80P80" class="add-link hide-from-toc">CBW80P80</h3></td>
<td><code>5</code></td>
<td></td>
</tr>
</table>
### DataPlaneType [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#DataPlaneType data-text="DataPlaneType"}
Type: <code>uint8</code>
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=41)*
<p>Indicates where data plane is implemented.</p>
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="DataPlaneType.ETHERNET_DEVICE">
<td><h3 id="DataPlaneType.ETHERNET_DEVICE" class="add-link hide-from-toc">ETHERNET_DEVICE</h3></td>
<td><code>1</code></td>
<td></td>
</tr>
<tr id="DataPlaneType.GENERIC_NETWORK_DEVICE">
<td><h3 id="DataPlaneType.GENERIC_NETWORK_DEVICE" class="add-link hide-from-toc">GENERIC_NETWORK_DEVICE</h3></td>
<td><code>2</code></td>
<td></td>
</tr>
</table>
### GuardInterval [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#GuardInterval data-text="GuardInterval"}
Type: <code>uint8</code>
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=132)*
<p>HT and VHT guard interval.
See IEEE 802.11-2016 Table 19-1 and Table 21-1.</p>
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="GuardInterval.LONG_GI">
<td><h3 id="GuardInterval.LONG_GI" class="add-link hide-from-toc">LONG_GI</h3></td>
<td><code>1</code></td>
<td></td>
</tr>
<tr id="GuardInterval.SHORT_GI">
<td><h3 id="GuardInterval.SHORT_GI" class="add-link hide-from-toc">SHORT_GI</h3></td>
<td><code>2</code></td>
<td></td>
</tr>
</table>
### MacImplementationType [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#MacImplementationType data-text="MacImplementationType"}
Type: <code>uint8</code>
*Defined in [fuchsia.wlan.common/driver_features.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/driver_features.fidl;l=55)*
<p>Indicates where MAC layer is implemented.</p>
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="MacImplementationType.SOFTMAC">
<td><h3 id="MacImplementationType.SOFTMAC" class="add-link hide-from-toc">SOFTMAC</h3></td>
<td><code>1</code></td>
<td></td>
</tr>
<tr id="MacImplementationType.FULLMAC">
<td><h3 id="MacImplementationType.FULLMAC" class="add-link hide-from-toc">FULLMAC</h3></td>
<td><code>2</code></td>
<td></td>
</tr>
</table>
### PowerSaveType [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#PowerSaveType data-text="PowerSaveType"}
Type: <code>uint32</code>
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=140)*
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="PowerSaveType.PS_MODE_ULTRA_LOW_POWER">
<td><h3 id="PowerSaveType.PS_MODE_ULTRA_LOW_POWER" class="add-link hide-from-toc">PS_MODE_ULTRA_LOW_POWER</h3></td>
<td><code>0</code></td>
<td></td>
</tr>
<tr id="PowerSaveType.PS_MODE_LOW_POWER">
<td><h3 id="PowerSaveType.PS_MODE_LOW_POWER" class="add-link hide-from-toc">PS_MODE_LOW_POWER</h3></td>
<td><code>1</code></td>
<td></td>
</tr>
<tr id="PowerSaveType.PS_MODE_BALANCED">
<td><h3 id="PowerSaveType.PS_MODE_BALANCED" class="add-link hide-from-toc">PS_MODE_BALANCED</h3></td>
<td><code>2</code></td>
<td></td>
</tr>
<tr id="PowerSaveType.PS_MODE_PERFORMANCE">
<td><h3 id="PowerSaveType.PS_MODE_PERFORMANCE" class="add-link hide-from-toc">PS_MODE_PERFORMANCE</h3></td>
<td><code>3</code></td>
<td></td>
</tr>
</table>
### RequestStatus [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#RequestStatus data-text="RequestStatus"}
Type: <code>uint32</code>
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=8)*
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="RequestStatus.ACKNOWLEDGED">
<td><h3 id="RequestStatus.ACKNOWLEDGED" class="add-link hide-from-toc">ACKNOWLEDGED</h3></td>
<td><code>0</code></td>
<td></td>
</tr>
<tr id="RequestStatus.REJECTED_NOT_SUPPORTED">
<td><h3 id="RequestStatus.REJECTED_NOT_SUPPORTED" class="add-link hide-from-toc">REJECTED_NOT_SUPPORTED</h3></td>
<td><code>1</code></td>
<td></td>
</tr>
<tr id="RequestStatus.REJECTED_INCOMPATIBLE_MODE">
<td><h3 id="RequestStatus.REJECTED_INCOMPATIBLE_MODE" class="add-link hide-from-toc">REJECTED_INCOMPATIBLE_MODE</h3></td>
<td><code>2</code></td>
<td></td>
</tr>
<tr id="RequestStatus.REJECTED_ALREADY_IN_USE">
<td><h3 id="RequestStatus.REJECTED_ALREADY_IN_USE" class="add-link hide-from-toc">REJECTED_ALREADY_IN_USE</h3></td>
<td><code>3</code></td>
<td></td>
</tr>
<tr id="RequestStatus.REJECTED_DUPLICATE_REQUEST">
<td><h3 id="RequestStatus.REJECTED_DUPLICATE_REQUEST" class="add-link hide-from-toc">REJECTED_DUPLICATE_REQUEST</h3></td>
<td><code>4</code></td>
<td></td>
</tr>
</table>
### ScanType [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#ScanType data-text="ScanType"}
Type: <code>uint32</code>
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=125)*
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="ScanType.ACTIVE">
<td><h3 id="ScanType.ACTIVE" class="add-link hide-from-toc">ACTIVE</h3></td>
<td><code>1</code></td>
<td></td>
</tr>
<tr id="ScanType.PASSIVE">
<td><h3 id="ScanType.PASSIVE" class="add-link hide-from-toc">PASSIVE</h3></td>
<td><code>2</code></td>
<td></td>
</tr>
</table>
### WlanBand [flexible](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#WlanBand data-text="WlanBand"}
Type: <code>uint8</code>
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=118)*
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="WlanBand.TWO_GHZ">
<td><h3 id="WlanBand.TWO_GHZ" class="add-link hide-from-toc">TWO_GHZ</h3></td>
<td><code>0</code></td>
<td></td>
</tr>
<tr id="WlanBand.FIVE_GHZ">
<td><h3 id="WlanBand.FIVE_GHZ" class="add-link hide-from-toc">FIVE_GHZ</h3></td>
<td><code>1</code></td>
<td></td>
</tr>
</table>
### WlanMacRole [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#WlanMacRole data-text="WlanMacRole"}
Type: <code>uint32</code>
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=87)*
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="WlanMacRole.CLIENT">
<td><h3 id="WlanMacRole.CLIENT" class="add-link hide-from-toc">CLIENT</h3></td>
<td><code>1</code></td>
<td></td>
</tr>
<tr id="WlanMacRole.AP">
<td><h3 id="WlanMacRole.AP" class="add-link hide-from-toc">AP</h3></td>
<td><code>2</code></td>
<td></td>
</tr>
<tr id="WlanMacRole.MESH">
<td><h3 id="WlanMacRole.MESH" class="add-link hide-from-toc">MESH</h3></td>
<td><code>3</code></td>
<td></td>
</tr>
</table>
### WlanPhyType [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#WlanPhyType data-text="WlanPhyType"}
Type: <code>uint32</code>
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=21)*
<p>PHY types supporting different MCS and payload data rates.
Based off of dot11PHYType from IEEE 802.11-2016/2020 Annex C + Amendments</p>
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="WlanPhyType.DSSS">
<td><h3 id="WlanPhyType.DSSS" class="add-link hide-from-toc">DSSS</h3></td>
<td><code>1</code></td>
<td><p>IEEE 802.11-2016 Clause 15:
Direct Sequence Spread Spectrum
Supports 1, 2 Mbps.</p>
</td>
</tr>
<tr id="WlanPhyType.HR">
<td><h3 id="WlanPhyType.HR" class="add-link hide-from-toc">HR</h3></td>
<td><code>2</code></td>
<td><p>IEEE 802.11-2016 Clause 16:
High Rate DSSS
Supports 5.5, 11 Mbps.
Also referred to as ERP-CCK</p>
</td>
</tr>
<tr id="WlanPhyType.OFDM">
<td><h3 id="WlanPhyType.OFDM" class="add-link hide-from-toc">OFDM</h3></td>
<td><code>3</code></td>
<td><p>IEEE 802.11a/g or IEEE 802.11-2016 Clause 17:
Orthogonal Frequency Division Multiplexing
Supports 6, 9, 12, 18, 24, 36, 48, and 54 Mbps.</p>
</td>
</tr>
<tr id="WlanPhyType.ERP">
<td><h3 id="WlanPhyType.ERP" class="add-link hide-from-toc">ERP</h3></td>
<td><code>4</code></td>
<td><p>IEEE 802.11g or IEEE 802.11-2016 Clause 18:
Extended Rate PHY
Supports 1, 2, 5.5, 11, 12, 24 Mbps + optionally 6, 54 Mbps.
Encompasses DSSS/HR/OFDM rates and modulation.</p>
</td>
</tr>
<tr id="WlanPhyType.HT">
<td><h3 id="WlanPhyType.HT" class="add-link hide-from-toc">HT</h3></td>
<td><code>5</code></td>
<td><p>IEEE 802.11n or IEEE 802.11-2016 Clause 19:
High Throughput PHY
Supports rates up to 495 Mbps.</p>
</td>
</tr>
<tr id="WlanPhyType.DMG">
<td><h3 id="WlanPhyType.DMG" class="add-link hide-from-toc">DMG</h3></td>
<td><code>6</code></td>
<td><p>802.11ad or IEEE 802.11-2016 Clause 20:
Directional Multi-Gigabit PHY</p>
</td>
</tr>
<tr id="WlanPhyType.VHT">
<td><h3 id="WlanPhyType.VHT" class="add-link hide-from-toc">VHT</h3></td>
<td><code>7</code></td>
<td><p>IEEE 802.11ac or IEEE 802.11-2016 Clause 21:
Very High Throughput PHY
Supports rates up to 6.9 Gbps.</p>
</td>
</tr>
<tr id="WlanPhyType.TVHT">
<td><h3 id="WlanPhyType.TVHT" class="add-link hide-from-toc">TVHT</h3></td>
<td><code>8</code></td>
<td><p>IEEE 802.11af or IEEE 802.11-2016 Clause 22:
Television Very High Throughput PHY
Supports rates of up to 568.9 Mbps in TV spectrum</p>
</td>
</tr>
<tr id="WlanPhyType.S1G">
<td><h3 id="WlanPhyType.S1G" class="add-link hide-from-toc">S1G</h3></td>
<td><code>9</code></td>
<td><p>IEEE 802.11ah or IEEE 802.11-2020 Clause 23:
Sub 1-GHz PHY</p>
</td>
</tr>
<tr id="WlanPhyType.CDMG">
<td><h3 id="WlanPhyType.CDMG" class="add-link hide-from-toc">CDMG</h3></td>
<td><code>10</code></td>
<td><p>IEEE 802.11aj or IEEE 802.11-2020 Clause 24:
China Directional Multi-Gigabit PHY</p>
</td>
</tr>
<tr id="WlanPhyType.CMMG">
<td><h3 id="WlanPhyType.CMMG" class="add-link hide-from-toc">CMMG</h3></td>
<td><code>11</code></td>
<td><p>IEEE 802.11aj or IEEE 802.11-2020 Clause 25:
China Millimeter-wave Multi-Gigabit PHY</p>
</td>
</tr>
<tr id="WlanPhyType.HE">
<td><h3 id="WlanPhyType.HE" class="add-link hide-from-toc">HE</h3></td>
<td><code>12</code></td>
<td><p>IEEE 802.11ax: High Efficiency PHY
Supports rates of up to 9.6 Gbps (whew!)</p>
</td>
</tr>
</table>
### WlanSoftmacHardwareCapabilityBit [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#WlanSoftmacHardwareCapabilityBit data-text="WlanSoftmacHardwareCapabilityBit"}
Type: <code>uint32</code>
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=184)*
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="WlanSoftmacHardwareCapabilityBit.SHORT_PREAMBLE">
<td><h3 id="WlanSoftmacHardwareCapabilityBit.SHORT_PREAMBLE" class="add-link hide-from-toc">SHORT_PREAMBLE</h3></td>
<td><code>32</code></td>
<td><p>Short packet preamble.</p>
</td>
</tr>
<tr id="WlanSoftmacHardwareCapabilityBit.SPECTRUM_MGMT">
<td><h3 id="WlanSoftmacHardwareCapabilityBit.SPECTRUM_MGMT" class="add-link hide-from-toc">SPECTRUM_MGMT</h3></td>
<td><code>256</code></td>
<td><p>Spectrum management.</p>
</td>
</tr>
<tr id="WlanSoftmacHardwareCapabilityBit.QOS">
<td><h3 id="WlanSoftmacHardwareCapabilityBit.QOS" class="add-link hide-from-toc">QOS</h3></td>
<td><code>512</code></td>
<td></td>
</tr>
<tr id="WlanSoftmacHardwareCapabilityBit.SHORT_SLOT_TIME">
<td><h3 id="WlanSoftmacHardwareCapabilityBit.SHORT_SLOT_TIME" class="add-link hide-from-toc">SHORT_SLOT_TIME</h3></td>
<td><code>1024</code></td>
<td><p>Short slot times after packet collision.</p>
</td>
</tr>
<tr id="WlanSoftmacHardwareCapabilityBit.RADIO_MSMT">
<td><h3 id="WlanSoftmacHardwareCapabilityBit.RADIO_MSMT" class="add-link hide-from-toc">RADIO_MSMT</h3></td>
<td><code>4096</code></td>
<td><p>Radio measurement.</p>
</td>
</tr>
<tr id="WlanSoftmacHardwareCapabilityBit.SIMULTANEOUS_CLIENT_AP">
<td><h3 id="WlanSoftmacHardwareCapabilityBit.SIMULTANEOUS_CLIENT_AP" class="add-link hide-from-toc">SIMULTANEOUS_CLIENT_AP</h3></td>
<td><code>65536</code></td>
<td></td>
</tr>
</table>
### WlanTxResult [strict](/fuchsia-src/reference/fidl/language/language.md#strict-vs-flexible){:.fidl-attribute} {#WlanTxResult data-text="WlanTxResult"}
Type: <code>uint8</code>
*Defined in [fuchsia.wlan.common/wlan_common.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=166)*
<p>Outcome of a packet transmission.</p>
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="WlanTxResult.FAILED">
<td><h3 id="WlanTxResult.FAILED" class="add-link hide-from-toc">FAILED</h3></td>
<td><code>0</code></td>
<td><p>ACK was not received or transmission otherwise failed.</p>
</td>
</tr>
<tr id="WlanTxResult.SUCCESS">
<td><h3 id="WlanTxResult.SUCCESS" class="add-link hide-from-toc">SUCCESS</h3></td>
<td><code>1</code></td>
<td><p>ACK was received from peer.</p>
</td>
</tr>
</table>
## **CONSTANTS**
<table>
<tr><th>Name</th><th>Value</th><th>Type</th><th>Description</th></tr>
<tr id="MAX_BANDS">
<td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=101">MAX_BANDS</a></td>
<td>
<code>16</code>
</td>
<td><code>uint8</code></td>
<td><p>This constant defined the fixed length for arrays containing the capabilities
for each band supported by a device driver.</p>
</td>
</tr>
<tr id="MAX_SUPPORTED_MAC_ROLES">
<td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=96">MAX_SUPPORTED_MAC_ROLES</a></td>
<td>
<code>16</code>
</td>
<td><code>uint8</code></td>
<td><p>This constant defines fixed length for arrays containing MAC roles supported by
PHY entities.</p>
</td>
</tr>
<tr id="MAX_SUPPORTED_PHY_TYPES">
<td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=83">MAX_SUPPORTED_PHY_TYPES</a></td>
<td>
<code>64</code>
</td>
<td><code>uint8</code></td>
<td><p>This constant defines fixed length for arrays containing PHY types supported by
PHY entities.</p>
</td>
</tr>
<tr id="WLAN_TX_STATUS_MAX_ENTRY">
<td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=154">WLAN_TX_STATUS_MAX_ENTRY</a></td>
<td>
<code>8</code>
</td>
<td><code>uint32</code></td>
<td></td>
</tr>
<tr id="WLAN_TX_VECTOR_IDX_INVALID">
<td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=152">WLAN_TX_VECTOR_IDX_INVALID</a></td>
<td>
<code>0</code>
</td>
<td><code>uint16</code></td>
<td></td>
</tr>
</table>
## **ALIASES**
<table>
<tr><th>Name</th><th>Value</th><th>Description</th></tr>
<tr id="WlanSoftmacHardwareCapability">
<td><a href="https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.wlan.common/wlan_common.fidl;l=208">WlanSoftmacHardwareCapability</a></td>
<td>
<code>uint32</code></td>
<td></td>
</tr>
</table>