pub struct Extended80211Tx {
pub ssid: String,
pub bssid: MacAddress,
pub version: u32,
pub transmissions: u32,
pub packet_duration: u32,
pub retrans_duration: u32,
pub channel: u32,
pub speed: u64,
pub power: u32,
}Expand description
Extended 802.11 TX - Format (0,1015)
802.11 transmit information
§XDR Definition (sFlow 802.11)
/* Extended 802.11 TX */
/* opaque = flow_data; enterprise = 0; format = 1015 */
struct extended_80211_tx {
string ssid<32>; /* SSID string */
mac bssid; /* BSSID */
ieee80211_version version; /* version */
unsigned int transmissions; /* number of transmissions */
duration_us packet_duration; /* time packet occupied RF medium */
duration_us retrans_duration;/* time failed attempts occupied RF */
unsigned int channel; /* channel number */
unsigned hyper speed; /* speed */
unsigned int power; /* transmit power in mW */
}Fields§
§ssid: StringSSID string (max 32 bytes)
bssid: MacAddressBSSID (MAC address)
version: u32IEEE 802.11 version (a=1, b=2, g=3, n=4)
transmissions: u32Number of transmissions (0=unknown, 1=success on first attempt, n>1 = n-1 retransmissions)
packet_duration: u32Packet duration in microseconds (successful transmission)
retrans_duration: u32Retransmission duration in microseconds (failed attempts)
channel: u32Channel number
speed: u64Speed in bits per second
power: u32Transmit power in milliwatts
Trait Implementations§
Source§impl Clone for Extended80211Tx
impl Clone for Extended80211Tx
Source§fn clone(&self) -> Extended80211Tx
fn clone(&self) -> Extended80211Tx
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Extended80211Tx
impl Debug for Extended80211Tx
Source§impl PartialEq for Extended80211Tx
impl PartialEq for Extended80211Tx
impl Eq for Extended80211Tx
impl StructuralPartialEq for Extended80211Tx
Auto Trait Implementations§
impl Freeze for Extended80211Tx
impl RefUnwindSafe for Extended80211Tx
impl Send for Extended80211Tx
impl Sync for Extended80211Tx
impl Unpin for Extended80211Tx
impl UnwindSafe for Extended80211Tx
Blanket Implementations§
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
Mutably borrows from an owned value. Read more