class WlanKeyConfig

Defined at line 2507 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::fuchsia::wlan::common::WlanProtection & protection ()

Which path to protect: None, TX, RX, or TX and RX.

Defined at line 2514 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

bool has_protection ()

Defined at line 2518 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

::fuchsia::wlan::common::WlanProtection * mutable_protection ()

Which path to protect: None, TX, RX, or TX and RX.

Defined at line 2523 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

void clear_protection ()

Defined at line 2531 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

const ::std::array<uint8_t, 3> & cipher_oui ()

IEEE Cipher suite selector.

See IEEE Std 802.11-2016, 9.4.2.25.2, Table 9-131

Optional. If not specified, it's assumed that this is the IEEE OUI.

Defined at line 2542 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

bool has_cipher_oui ()

Defined at line 2546 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

::std::array<uint8_t, 3> * mutable_cipher_oui ()

IEEE Cipher suite selector.

See IEEE Std 802.11-2016, 9.4.2.25.2, Table 9-131

Optional. If not specified, it's assumed that this is the IEEE OUI.

Defined at line 2553 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

void clear_cipher_oui ()

Defined at line 2561 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

const ::fuchsia::wlan::ieee80211::CipherSuiteType & cipher_type ()

The cipher type.

Required.

Defined at line 2571 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

bool has_cipher_type ()

Defined at line 2575 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

::fuchsia::wlan::ieee80211::CipherSuiteType * mutable_cipher_type ()

The cipher type.

Required.

Defined at line 2581 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

void clear_cipher_type ()

Defined at line 2589 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

const ::fuchsia::wlan::common::WlanKeyType & key_type ()

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

Required.

Defined at line 2599 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

bool has_key_type ()

Defined at line 2603 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

::fuchsia::wlan::common::WlanKeyType * mutable_key_type ()

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

Required.

Defined at line 2609 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

void clear_key_type ()

Defined at line 2617 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

const ::std::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.

Defined at line 2628 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

bool has_peer_addr ()

Defined at line 2632 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

::std::array<uint8_t, 6> * mutable_peer_addr ()

The peer MAC address for pairwise and peer keys.

For group keys this value is always the broadcast address.

Required.

Defined at line 2639 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

void clear_peer_addr ()

Defined at line 2647 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

const uint8_t & key_idx ()

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.

TODO(https://fxbug.dev/301104836): This is a uint8, but SetKeyDescriptor in MLME FIDL and

DeleteKeysDescriptor in Fullmac FIDL use a uint16 for key_id/key_idx. We should consider

making all these use the same type.

Defined at line 2662 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

bool has_key_idx ()

Defined at line 2666 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

uint8_t * mutable_key_idx ()

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.

TODO(https://fxbug.dev/301104836): This is a uint8, but SetKeyDescriptor in MLME FIDL and

DeleteKeysDescriptor in Fullmac FIDL use a uint16 for key_id/key_idx. We should consider

making all these use the same type.

Defined at line 2677 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

void clear_key_idx ()

Defined at line 2685 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

const ::std::vector<uint8_t> & key ()

They key's actual bytes.

Required.

Defined at line 2695 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

bool has_key ()

Defined at line 2699 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

::std::vector<uint8_t> * mutable_key ()

They key's actual bytes.

Required.

Defined at line 2705 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

void clear_key ()

Defined at line 2713 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

const uint64_t & rsc ()

Receive Sequence Counter for group keys only.

In all other cases the RSC will be 0.

Optional.

Defined at line 2724 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

bool has_rsc ()

Defined at line 2728 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

uint64_t * mutable_rsc ()

Receive Sequence Counter for group keys only.

In all other cases the RSC will be 0.

Optional.

Defined at line 2735 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

void clear_rsc ()

Defined at line 2743 of file fidling/gen/sdk/fidl/fuchsia.wlan.common/fuchsia.wlan.common/hlcpp/fuchsia/wlan/common/cpp/fidl.h

WlanKeyConfig & set_protection (::fuchsia::wlan::common::WlanProtection _value)
WlanKeyConfig & set_cipher_oui (::std::array<uint8_t, 3> _value)
WlanKeyConfig & set_cipher_type (::fuchsia::wlan::ieee80211::CipherSuiteType _value)
WlanKeyConfig & set_key_type (::fuchsia::wlan::common::WlanKeyType _value)
WlanKeyConfig & set_peer_addr (::std::array<uint8_t, 6> _value)
WlanKeyConfig & set_key_idx (uint8_t _value)
WlanKeyConfig & set_key (::std::vector<uint8_t> _value)
WlanKeyConfig & set_rsc (uint64_t _value)
void WlanKeyConfig ()
void WlanKeyConfig (WlanKeyConfig && other)
void ~WlanKeyConfig ()
WlanKeyConfig & operator= (WlanKeyConfig && other)
::std::unique_ptr<WlanKeyConfig> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, WlanKeyConfig * _value, size_t _offset)
zx_status_t Clone (WlanKeyConfig * _result)