pub struct WlanFullmacBandCapability {
pub band: WlanBand,
pub basic_rates: Vec<u8>,
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_rates: Vec<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.
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<D: ResourceDialect> Decode<WlanFullmacBandCapability, D> for WlanFullmacBandCapability
impl<D: ResourceDialect> Decode<WlanFullmacBandCapability, D> for WlanFullmacBandCapability
Source§impl<D: ResourceDialect> Encode<WlanFullmacBandCapability, D> for &WlanFullmacBandCapability
impl<D: ResourceDialect> Encode<WlanFullmacBandCapability, D> for &WlanFullmacBandCapability
Source§impl<D: ResourceDialect, T0: Encode<WlanBand, D>, T1: Encode<Vector<u8, 12>, D>, T2: Encode<bool, D>, T3: Encode<HtCapabilities, D>, T4: Encode<bool, D>, T5: Encode<VhtCapabilities, D>, T6: Encode<u16, D>, T7: Encode<Array<u8, 256>, D>> Encode<WlanFullmacBandCapability, D> for (T0, T1, T2, T3, T4, T5, T6, T7)
impl<D: ResourceDialect, T0: Encode<WlanBand, D>, T1: Encode<Vector<u8, 12>, D>, T2: Encode<bool, D>, T3: Encode<HtCapabilities, D>, T4: Encode<bool, D>, T5: Encode<VhtCapabilities, D>, T6: Encode<u16, D>, T7: Encode<Array<u8, 256>, D>> Encode<WlanFullmacBandCapability, D> for (T0, T1, T2, T3, T4, T5, T6, T7)
Source§impl TypeMarker for WlanFullmacBandCapability
impl TypeMarker for WlanFullmacBandCapability
Source§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
Source§type Borrowed<'a> = &'a WlanFullmacBandCapability
type Borrowed<'a> = &'a WlanFullmacBandCapability
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for WlanFullmacBandCapability
impl StructuralPartialEq for WlanFullmacBandCapability
Auto Trait Implementations§
impl Freeze for WlanFullmacBandCapability
impl RefUnwindSafe for WlanFullmacBandCapability
impl Send for WlanFullmacBandCapability
impl Sync for WlanFullmacBandCapability
impl Unpin for WlanFullmacBandCapability
impl UnwindSafe for WlanFullmacBandCapability
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)