template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_wlan_ieee80211::wire::SetKeyDescriptor Build ()

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

bool has_key ()
void clear_key ()

Clears the key field.

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

O(number_of_fields) complexity.

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

The key value as bytes.

802.11 specifies a bit string for this field, but we represent it as a byte array for

convenience.

Required.

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

The key value as bytes.

802.11 specifies a bit string for this field, but we represent it as a byte array for

convenience.

Required.

bool has_key_id ()
void clear_key_id ()

Clears the key_id field.

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

O(number_of_fields) complexity.

uint16_t & key_id ()

Index for rotating keys, e.g. group keys.

This value is always 0 for key types which aren't rotating, e.g. pairwise keys.

Required.

BuilderImpl & key_id (uint16_t elem)

Index for rotating keys, e.g. group keys.

This value is always 0 for key types which aren't rotating, e.g. pairwise keys.

Required.

bool has_key_type ()
void clear_key_type ()

Clears the key_type field.

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

O(number_of_fields) complexity.

::fuchsia_wlan_ieee80211::wire::KeyType & key_type ()

Whether this key is a pairwise, group or peer key.

Required.

BuilderImpl & key_type (::fuchsia_wlan_ieee80211::wire::KeyType elem)

Whether this key is a pairwise, group or peer key.

Required.

bool has_peer_addr ()
void clear_peer_addr ()

Clears the peer_addr field.

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

O(number_of_fields) complexity.

::fidl::Array<uint8_t, 6> & peer_addr ()

The peer MAC address for pairwise and peer keys.

For group keys this value is always the broadcast address.

Required.

BuilderImpl & peer_addr (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::Array<uint8_t, 6>>> elem)

The peer MAC address for pairwise and peer keys.

For group keys this value is always the broadcast address.

Required.

bool has_rsc ()
void clear_rsc ()

Clears the rsc field.

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

O(number_of_fields) complexity.

uint64_t & rsc ()

Receive Sequence Counter for group keys only.

In all other cases the RSC will be 0.

Optional.

BuilderImpl & rsc (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)

Receive Sequence Counter for group keys only.

In all other cases the RSC will be 0.

Optional.

bool has_cipher_oui ()
void clear_cipher_oui ()

Clears the cipher_oui field.

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

O(number_of_fields) complexity.

::fidl::Array<uint8_t, 3> & cipher_oui ()

IEEE Cipher suite selector. See IEEE Std 802.11-2016, 9.4.2.25.2, Table 9-131

Required.

BuilderImpl & cipher_oui (::fidl::Array<uint8_t, 3> elem)

IEEE Cipher suite selector. See IEEE Std 802.11-2016, 9.4.2.25.2, Table 9-131

Required.

bool has_cipher_type ()
void clear_cipher_type ()

Clears the cipher_type field.

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

O(number_of_fields) complexity.

::fuchsia_wlan_ieee80211::wire::CipherSuiteType & cipher_type ()

The cipher type.

Required.

BuilderImpl & cipher_type (::fuchsia_wlan_ieee80211::wire::CipherSuiteType elem)

The cipher type.

Required.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_wlan_ieee80211::wire::SetKeyDescriptor, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_wlan_ieee80211::wire::SetKeyDescriptor>> && frame)

Records