class WlanKeyConfig
Defined at line 243 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::wlan::driver::WlanProtection & protection ()
Which path to protect: None, TX, RX, or TX and RX.
Defined at line 250 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
bool has_protection ()
Defined at line 254 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
::fuchsia::wlan::driver::WlanProtection * mutable_protection ()
Which path to protect: None, TX, RX, or TX and RX.
Defined at line 259 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
void clear_protection ()
Defined at line 267 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/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 278 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
bool has_cipher_oui ()
Defined at line 282 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/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 289 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
void clear_cipher_oui ()
Defined at line 297 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
const ::fuchsia::wlan::ieee80211::CipherSuiteType & cipher_type ()
The cipher type.
Required.
Defined at line 307 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
bool has_cipher_type ()
Defined at line 311 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
::fuchsia::wlan::ieee80211::CipherSuiteType * mutable_cipher_type ()
The cipher type.
Required.
Defined at line 317 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
void clear_cipher_type ()
Defined at line 325 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
const ::fuchsia::wlan::ieee80211::KeyType & key_type ()
Whether this key is a pairwise, group or peer key.
Required.
Defined at line 335 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
bool has_key_type ()
Defined at line 339 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
::fuchsia::wlan::ieee80211::KeyType * mutable_key_type ()
Whether this key is a pairwise, group or peer key.
Required.
Defined at line 345 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
void clear_key_type ()
Defined at line 353 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/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 364 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
bool has_peer_addr ()
Defined at line 368 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/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 375 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
void clear_peer_addr ()
Defined at line 383 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/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 398 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
bool has_key_idx ()
Defined at line 402 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/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 413 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
void clear_key_idx ()
Defined at line 421 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
const ::std::vector<uint8_t> & key ()
They key's actual bytes.
Required.
Defined at line 431 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
bool has_key ()
Defined at line 435 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
::std::vector<uint8_t> * mutable_key ()
They key's actual bytes.
Required.
Defined at line 441 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
void clear_key ()
Defined at line 449 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/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 460 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
bool has_rsc ()
Defined at line 464 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/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 471 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
void clear_rsc ()
Defined at line 479 of file fidling/gen/sdk/fidl/fuchsia.wlan.driver/fuchsia.wlan.driver/hlcpp/fuchsia/wlan/driver/cpp/fidl.h
WlanKeyConfig & set_protection (::fuchsia::wlan::driver::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::ieee80211::KeyType _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)