template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1111 of file fidling/gen/sdk/fidl/fuchsia.wlan.softmac/fuchsia.wlan.softmac/cpp/fidl/fuchsia.wlan.softmac/cpp/wire_types.h

Public Methods

::fuchsia_wlan_softmac::wire::WlanSoftmacBandCapability Build ()

Build and return the table. The builder should not be used after this.

bool has_band ()
void clear_band ()

Clears the band field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_wlan_ieee80211::wire::WlanBand & band ()

Getter for band.

BuilderImpl & band (::fuchsia_wlan_ieee80211::wire::WlanBand elem)

Setter for band.

bool has_basic_rate_count ()
void clear_basic_rate_count ()

Clears the basic_rate_count field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint8_t & basic_rate_count ()

Count of supported basic rates. If the `basic_rate_list` field is

present, then this field **must** also be present and **must** be

consistent with the `basic_rate_list` field.

# Deprecation

This field has been replaced by `basic_rates`. Servers (i.e., drivers)

that target platform versions wherein `basic_rate_count` is deprecated

should omit it and write basic rates to the `basic_rates` field instead.

Clients attempt to read `basic_rates` before `basic_rate_count`.

BuilderImpl & basic_rate_count (uint8_t elem)

Count of supported basic rates. If the `basic_rate_list` field is

present, then this field **must** also be present and **must** be

consistent with the `basic_rate_list` field.

# Deprecation

This field has been replaced by `basic_rates`. Servers (i.e., drivers)

that target platform versions wherein `basic_rate_count` is deprecated

should omit it and write basic rates to the `basic_rates` field instead.

Clients attempt to read `basic_rates` before `basic_rate_count`.

bool has_basic_rate_list ()
void clear_basic_rate_list ()

Clears the basic_rate_list field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::Array<uint8_t, 12> & basic_rate_list ()

Set of supported basic rates in units of 500 Kbit/s (as defined in IEEE

Std 802.11-2016, 9.4.2.3), e.g., 0x02 represents 1 Mbps. This set

represents all of the non-HT rates that the device supports for both

transmitting and receiving.

The count of rates present in this field **must** be consistent with the

`basic_rate_count` field when present.

# Deprecation

This field has been replaced by `basic_rates`. Servers (i.e., drivers)

that target platform versions wherein `basic_rate_list` is deprecated

should omit it and write basic rates to the `basic_rates` field instead.

Clients attempt to read `basic_rates` before `basic_rate_list`.

BuilderImpl & basic_rate_list (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::Array<uint8_t, 12>>> elem)

Set of supported basic rates in units of 500 Kbit/s (as defined in IEEE

Std 802.11-2016, 9.4.2.3), e.g., 0x02 represents 1 Mbps. This set

represents all of the non-HT rates that the device supports for both

transmitting and receiving.

The count of rates present in this field **must** be consistent with the

`basic_rate_count` field when present.

# Deprecation

This field has been replaced by `basic_rates`. Servers (i.e., drivers)

that target platform versions wherein `basic_rate_list` is deprecated

should omit it and write basic rates to the `basic_rates` field instead.

Clients attempt to read `basic_rates` before `basic_rate_list`.

bool has_ht_supported ()
void clear_ht_supported ()

Clears the ht_supported field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

bool & ht_supported ()

Determines if the `ht_caps` fields should be read by clients. If the

device supports HT PHY mode, then `ht_supported` **must** be true and

the `ht_caps` field **must** be set and provide data that describes HT

capabilities. Any other configuration of these fields means that the

device does **not** support HT PHY mode. See `HtCapabilities`.

# Deprecation

This field determines whether or not the `ht_caps` field is read by

clients, but is not strictly necessary as table fields like `ht_caps`

may be set or unset. Servers (i.e., drivers) that target platform

versions wherein `ht_supported` is deprecated should always set the

field to true and set `ht_caps` if the device supports HT PHY mode or

unset `ht_caps` if the device does not.

BuilderImpl & ht_supported (bool elem)

Determines if the `ht_caps` fields should be read by clients. If the

device supports HT PHY mode, then `ht_supported` **must** be true and

the `ht_caps` field **must** be set and provide data that describes HT

capabilities. Any other configuration of these fields means that the

device does **not** support HT PHY mode. See `HtCapabilities`.

# Deprecation

This field determines whether or not the `ht_caps` field is read by

clients, but is not strictly necessary as table fields like `ht_caps`

may be set or unset. Servers (i.e., drivers) that target platform

versions wherein `ht_supported` is deprecated should always set the

field to true and set `ht_caps` if the device supports HT PHY mode or

unset `ht_caps` if the device does not.

bool has_ht_caps ()
void clear_ht_caps ()

Clears the ht_caps field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_wlan_ieee80211::wire::HtCapabilities & ht_caps ()

Getter for ht_caps.

BuilderImpl & ht_caps (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_wlan_ieee80211::wire::HtCapabilities>> elem)

Setter for ht_caps.

bool has_vht_supported ()
void clear_vht_supported ()

Clears the vht_supported field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

bool & vht_supported ()

Determines if the `vht_caps` fields should be read by clients. If the

device supports VHT PHY mode, then `vht_supported` **must** be true and

the `vht_caps` field **must** be set and provide data that describes VHT

capabilities. Any other configuration of these fields means that the

device does **not** support VHT PHY mode. See `VhtCapabilities`.

# Deprecation

This field determines whether or not the `vht_caps` field is read by

clients, but is not strictly necessary as table fields like `vht_caps`

may be set or unset. Servers (i.e., drivers) that target platform

versions wherein `vht_supported` is deprecated should always set the

field to true and set `vht_caps` if the device supports VHT PHY mode or

unset `vht_caps` if the device does not.

BuilderImpl & vht_supported (bool elem)

Determines if the `vht_caps` fields should be read by clients. If the

device supports VHT PHY mode, then `vht_supported` **must** be true and

the `vht_caps` field **must** be set and provide data that describes VHT

capabilities. Any other configuration of these fields means that the

device does **not** support VHT PHY mode. See `VhtCapabilities`.

# Deprecation

This field determines whether or not the `vht_caps` field is read by

clients, but is not strictly necessary as table fields like `vht_caps`

may be set or unset. Servers (i.e., drivers) that target platform

versions wherein `vht_supported` is deprecated should always set the

field to true and set `vht_caps` if the device supports VHT PHY mode or

unset `vht_caps` if the device does not.

bool has_vht_caps ()
void clear_vht_caps ()

Clears the vht_caps field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_wlan_ieee80211::wire::VhtCapabilities & vht_caps ()

Getter for vht_caps.

BuilderImpl & vht_caps (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_wlan_ieee80211::wire::VhtCapabilities>> elem)

Setter for vht_caps.

bool has_operating_channel_count ()
void clear_operating_channel_count ()

Clears the operating_channel_count field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint16_t & operating_channel_count ()

Count of operating channels. If the `operating_channel_list` field is

present, then this field **must** also be present and **must** be

consistent with the `operating_channel_list` field.

# Deprecation

This field has been replaced by `operating_channels`. Servers (i.e.,

drivers) that target platform versions wherein `operating_channel_count`

is deprecated should omit it and write operating channels to the

`operating_channels` field instead. Clients attempt to read

`operating_channels` before `operating_channel_count`.

BuilderImpl & operating_channel_count (uint16_t elem)

Count of operating channels. If the `operating_channel_list` field is

present, then this field **must** also be present and **must** be

consistent with the `operating_channel_list` field.

# Deprecation

This field has been replaced by `operating_channels`. Servers (i.e.,

drivers) that target platform versions wherein `operating_channel_count`

is deprecated should omit it and write operating channels to the

`operating_channels` field instead. Clients attempt to read

`operating_channels` before `operating_channel_count`.

bool has_operating_channel_list ()
void clear_operating_channel_list ()

Clears the operating_channel_list field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::Array<uint8_t, 256> & operating_channel_list ()

Set of valid operating channels per regulatory information as determined

by the device driver during iface creation. An operating channel refers

to a channel on which APs may transmit beacon frames.

The count of channels present in this field **must** be consistent with

the `operating_channel_count` field when present.

# Deprecation

This field has been replaced by `operating_channels`. Servers (i.e.,

drivers) that target platform versions wherein `operating_channel_list`

is deprecated should omit it and write operating channels to the

`operating_channels` field instead. Clients attempt to read

`operating_channels` before `operating_channel_list`.

BuilderImpl & operating_channel_list (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::Array<uint8_t, 256>>> elem)

Set of valid operating channels per regulatory information as determined

by the device driver during iface creation. An operating channel refers

to a channel on which APs may transmit beacon frames.

The count of channels present in this field **must** be consistent with

the `operating_channel_count` field when present.

# Deprecation

This field has been replaced by `operating_channels`. Servers (i.e.,

drivers) that target platform versions wherein `operating_channel_list`

is deprecated should omit it and write operating channels to the

`operating_channels` field instead. Clients attempt to read

`operating_channels` before `operating_channel_list`.

bool has_basic_rates ()
void clear_basic_rates ()

Clears the basic_rates field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView<uint8_t> & basic_rates ()

Set of supported basic rates in units of 500 Kbit/s (as defined in IEEE

Std 802.11-2016, 9.4.2.3), e.g., 0x02 represents 1 Mbps. This set

represents all of the non-HT rates that the device supports for both

transmitting and receiving.

BuilderImpl & basic_rates (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint8_t>>> elem)

Set of supported basic rates in units of 500 Kbit/s (as defined in IEEE

Std 802.11-2016, 9.4.2.3), e.g., 0x02 represents 1 Mbps. This set

represents all of the non-HT rates that the device supports for both

transmitting and receiving.

bool has_operating_channels ()
void clear_operating_channels ()

Clears the operating_channels field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView<uint8_t> & operating_channels ()

Set of valid operating channels per regulatory information as determined

by the device driver during iface creation. An operating channel refers

to a channel on which APs may transmit beacon frames.

The client must use this set to determine the efficacy of subsequent

requests to scan a subset of channels using the iface or to determine

which operating channel to use when starting an AP.

BuilderImpl & operating_channels (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint8_t>>> elem)

Set of valid operating channels per regulatory information as determined

by the device driver during iface creation. An operating channel refers

to a channel on which APs may transmit beacon frames.

The client must use this set to determine the efficacy of subsequent

requests to scan a subset of channels using the iface or to determine

which operating channel to use when starting an AP.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_wlan_softmac::wire::WlanSoftmacBandCapability, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_wlan_softmac::wire::WlanSoftmacBandCapability>> && frame)

Records