pub struct WlanFullmacBandCapability {
pub band: WlanBand,
pub basic_rate_count: u8,
pub basic_rate_list: [u8; 12],
pub ht_supported: bool,
pub ht_caps: HtCapabilities,
pub vht_supported: bool,
pub vht_caps: VhtCapabilities,
pub operating_channel_count: u16,
pub operating_channel_list: [u8; 256],
}
Fields§
§band: WlanBand
The values of this struct apply to the band indicated in this field.
basic_rate_count: u8
Basic rates supported in units of 500 kbit/s (as defined in IEEE Std 802.11-2016, 9.4.2.3), e.g., 0x02 represents 1 Mbps. The value returned by this type indicates all the non-HT rates the device supports transmitting and receiving.
basic_rate_list: [u8; 12]
§ht_supported: bool
If the device supports the HT PHY mode in this band, then ht_supported is set to true, and the value in ht_caps indicates the capabilities. Otherwise, ht_supported is set to false.
ht_caps: HtCapabilities
§vht_supported: bool
If the device supports the VHT PHY mode in this band, then vht_supported is set to true, and the value in vht_caps indicates the capabilities. Otherwise, vht_supported is set to false.
vht_caps: VhtCapabilities
§operating_channel_count: u16
A list of operating channels considered valid by hardware, in the context of regulatory information known to the device driver, at the time of its construction during iface creation. In this context, an operating channel means a channel which APs may transmit Beacon frames on in the current regulatory domain.
This list should be used to determine 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.
operating_channel_list: [u8; 256]
Trait Implementations§
source§impl Clone for WlanFullmacBandCapability
impl Clone for WlanFullmacBandCapability
source§fn clone(&self) -> WlanFullmacBandCapability
fn clone(&self) -> WlanFullmacBandCapability
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WlanFullmacBandCapability
impl Debug for WlanFullmacBandCapability
source§impl Decode<WlanFullmacBandCapability> for WlanFullmacBandCapability
impl Decode<WlanFullmacBandCapability> for WlanFullmacBandCapability
source§impl Encode<WlanFullmacBandCapability> for &WlanFullmacBandCapability
impl Encode<WlanFullmacBandCapability> for &WlanFullmacBandCapability
source§impl<T0: Encode<WlanBand>, T1: Encode<u8>, T2: Encode<Array<u8, 12>>, T3: Encode<bool>, T4: Encode<HtCapabilities>, T5: Encode<bool>, T6: Encode<VhtCapabilities>, T7: Encode<u16>, T8: Encode<Array<u8, 256>>> Encode<WlanFullmacBandCapability> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
impl<T0: Encode<WlanBand>, T1: Encode<u8>, T2: Encode<Array<u8, 12>>, T3: Encode<bool>, T4: Encode<HtCapabilities>, T5: Encode<bool>, T6: Encode<VhtCapabilities>, T7: Encode<u16>, T8: Encode<Array<u8, 256>>> Encode<WlanFullmacBandCapability> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
source§impl PartialEq for WlanFullmacBandCapability
impl PartialEq for WlanFullmacBandCapability
source§fn eq(&self, other: &WlanFullmacBandCapability) -> bool
fn eq(&self, other: &WlanFullmacBandCapability) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl TypeMarker for WlanFullmacBandCapability
impl TypeMarker for WlanFullmacBandCapability
§type Owned = WlanFullmacBandCapability
type Owned = WlanFullmacBandCapability
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.source§impl ValueTypeMarker for WlanFullmacBandCapability
impl ValueTypeMarker for WlanFullmacBandCapability
§type Borrowed<'a> = &'a WlanFullmacBandCapability
type Borrowed<'a> = &'a WlanFullmacBandCapability
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more