class WlanKeyConfig
Defined at line 2358 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 2365 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 2369 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 2374 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 2382 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 2393 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 2397 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 2404 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 2412 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 2422 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 2426 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 2432 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 2440 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 2450 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 2454 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 2460 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 2468 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 2479 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 2483 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 2490 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 2498 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 2513 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 2517 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 2528 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 2536 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 2546 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 2550 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 2556 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 2564 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 2575 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 2579 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 2586 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 2594 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)