pub struct WlanRxInfo {
pub rx_flags: WlanRxInfoFlags,
pub valid_fields: WlanRxInfoValid,
pub phy: WlanPhyType,
pub data_rate: u32,
pub primary: ChannelNumber,
pub bandwidth: ChannelBandwidth,
pub vht_secondary_80_channel: ChannelNumber,
pub mcs: u8,
pub rssi_dbm: i8,
pub snr_dbh: i16,
}Fields§
§rx_flags: WlanRxInfoFlagsReceive flags. These represent boolean flags as opposed to enums or value-based info which are represented below. Values should be taken from the WLAN_RX_INFO_FLAGS_* enum.
valid_fields: WlanRxInfoValidBitmask indicating which of the following fields are valid in this struct. Reserved flags must be zero.
phy: WlanPhyTypeThe PHY format of the device at the time of the operation.
data_rate: u32The data rate of the device, measured in units of 0.5 Mb/s.
primary: ChannelNumberThe channel of the device at the time of the operation. This field must be included.
bandwidth: ChannelBandwidthThe bandwidth of the channel at the time of the operation.
vht_secondary_80_channel: ChannelNumberThe secondary 80 MHz channel segment, if applicable.
mcs: u8The modulation and coding scheme index of the device at the time of the operation. Depends on the PHY format and channel width.
rssi_dbm: i8Received Signal Strength Indicator.
snr_dbh: i16Signal-to-Noise Ratio, in 0.5 dB.
Trait Implementations§
Source§impl Clone for WlanRxInfo
impl Clone for WlanRxInfo
Source§impl Debug for WlanRxInfo
impl Debug for WlanRxInfo
Source§impl<D: ResourceDialect> Decode<WlanRxInfo, D> for WlanRxInfo
impl<D: ResourceDialect> Decode<WlanRxInfo, D> for WlanRxInfo
Source§impl<D: ResourceDialect> Encode<WlanRxInfo, D> for &WlanRxInfo
impl<D: ResourceDialect> Encode<WlanRxInfo, D> for &WlanRxInfo
Source§impl<D: ResourceDialect, T0: Encode<WlanRxInfoFlags, D>, T1: Encode<WlanRxInfoValid, D>, T2: Encode<WlanPhyType, D>, T3: Encode<u32, D>, T4: Encode<ChannelNumber, D>, T5: Encode<ChannelBandwidth, D>, T6: Encode<ChannelNumber, D>, T7: Encode<u8, D>, T8: Encode<i8, D>, T9: Encode<i16, D>> Encode<WlanRxInfo, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
impl<D: ResourceDialect, T0: Encode<WlanRxInfoFlags, D>, T1: Encode<WlanRxInfoValid, D>, T2: Encode<WlanPhyType, D>, T3: Encode<u32, D>, T4: Encode<ChannelNumber, D>, T5: Encode<ChannelBandwidth, D>, T6: Encode<ChannelNumber, D>, T7: Encode<u8, D>, T8: Encode<i8, D>, T9: Encode<i16, D>> Encode<WlanRxInfo, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Source§impl PartialEq for WlanRxInfo
impl PartialEq for WlanRxInfo
impl Persistable for WlanRxInfo
impl StructuralPartialEq for WlanRxInfo
Source§impl TypeMarker for WlanRxInfo
impl TypeMarker for WlanRxInfo
Source§type Owned = WlanRxInfo
type Owned = WlanRxInfo
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.Source§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 moreSource§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 WlanRxInfo
impl ValueTypeMarker for WlanRxInfo
Source§type Borrowed<'a> = &'a WlanRxInfo
type Borrowed<'a> = &'a WlanRxInfo
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read more