[][src]Struct netlink_wi::WirelessStation

pub struct WirelessStation {
    pub interface_index: u32,
    pub mac: MacAddress,
    pub generation: u32,
    pub signal: Option<u8>,
    pub average_signal: Option<u8>,
    pub beacon_average_signal: Option<u8>,
    pub chain_signal: Vec<u8>,
    pub connected_time: Option<Duration>,
    pub inactive_time: Option<Duration>,
    pub associated_at_boot_time: Option<Duration>,
    pub rx_bytes: Option<u32>,
    pub tx_bytes: Option<u32>,
    pub rx_bytes64: Option<u64>,
    pub tx_bytes64: Option<u64>,
    pub rx_duration: Option<Duration>,
    pub tx_duration: Option<Duration>,
    pub rx_packets: Option<u32>,
    pub tx_packets: Option<u32>,
    pub tx_retries: Option<u32>,
    pub tx_failed: Option<u32>,
    pub beacon_loss: Option<u32>,
    pub rx_drop_misc: Option<u64>,
    pub beacon_rx: Option<u64>,
    pub tid_stats: Option<[TrafficIdStats; 17]>,
    pub bss_cts_protection: Option<bool>,
    pub bss_short_preamble: Option<bool>,
    pub bss_short_slot_time: Option<bool>,
    pub bss_dtim_period: Option<u8>,
    pub bss_beacon_interval: Option<u16>,
    pub rx_bitrate: Option<RateInfo>,
    pub tx_bitrate: Option<RateInfo>,
}

Station information returned from netlink.

Fields

interface_index: u32

Network interface index.

mac: MacAddress

Station MAC address (BSSID).

generation: u32

Used to indicate consistent snapshots for dumps. This number increases whenever the object list being dumped changes.

signal: Option<u8>

Signal strength of last received PPDU in dBm.

average_signal: Option<u8>

Signal strength average in dBm.

beacon_average_signal: Option<u8>

Signal strength average for beacons only in dBm.

chain_signal: Vec<u8>

Per-chain signal strength of last PPDU in dBm.

connected_time: Option<Duration>

Time since the station was last connected.

inactive_time: Option<Duration>

Time since last activity.

associated_at_boot_time: Option<Duration>

Timestamp of station's association after boot (CLOCK_BOOTTIME).

rx_bytes: Option<u32>

Total received bytes (MPDU length) from this station.

tx_bytes: Option<u32>

Total transmitted bytes (MPDU length) to this station.

rx_bytes64: Option<u64>

Total received bytes (MPDU length) from this station.

tx_bytes64: Option<u64>

Total transmitted bytes (MPDU length) to this station.

rx_duration: Option<Duration>

Aggregate PPDU duration for all frames received from the station.

tx_duration: Option<Duration>

Aggregate PPDU duration for all frames sent to the station.

rx_packets: Option<u32>

Total received packet (MSDUs and MMPDUs) from this station.

tx_packets: Option<u32>

Total transmitted packet (MSDUs and MMPDUs) to this station.

tx_retries: Option<u32>

Total retries (MPDUs) to this station.

tx_failed: Option<u32>

Total failed packets (MPDUs) to this station.

beacon_loss: Option<u32>

Count of times beacon loss was detected.

rx_drop_misc: Option<u64>

Total received packets dropped for unspecified reasons.

beacon_rx: Option<u64>

Number of beacons received from this station.

tid_stats: Option<[TrafficIdStats; 17]>

Per TID (traffic identifier) statistics.

bss_cts_protection: Option<bool>

Indicates if BSS CTS protection enabled.

bss_short_preamble: Option<bool>

Indicates if BSS short preamble is enabled.

bss_short_slot_time: Option<bool>

Indicates if short slot time is enabled.

bss_dtim_period: Option<u8>bss_beacon_interval: Option<u16>rx_bitrate: Option<RateInfo>tx_bitrate: Option<RateInfo>

Trait Implementations

impl Clone for WirelessStation[src]

impl Debug for WirelessStation[src]

impl Default for WirelessStation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.