pub struct wifi_pkt_rx_ctrl {Show 19 fields
pub rssi: i32,
pub rate: u32,
pub sig_mode: u32,
pub mcs: u32,
pub cwb: u32,
pub smoothing: u32,
pub not_sounding: u32,
pub aggregation: u32,
pub stbc: u32,
pub fec_coding: u32,
pub sgi: u32,
pub noise_floor: i32,
pub ampdu_cnt: u32,
pub channel: u32,
pub secondary_channel: u32,
pub timestamp: u32,
pub ant: u32,
pub sig_len: u32,
pub rx_state: u32,
}
Fields§
§rssi: i32
§rate: u32
§sig_mode: u32
§mcs: u32
§cwb: u32
§smoothing: u32
§not_sounding: u32
§aggregation: u32
§stbc: u32
§fec_coding: u32
§sgi: u32
§noise_floor: i32
§ampdu_cnt: u32
§channel: u32
§secondary_channel: u32
§timestamp: u32
§ant: u32
§sig_len: u32
§rx_state: u32
Implementations§
Source§impl wifi_pkt_rx_ctrl
impl wifi_pkt_rx_ctrl
Sourcepub fn init_rssi(self, value: i32) -> Self
pub fn init_rssi(self, value: i32) -> Self
Builder method that sets the value of rssi
. Useful for initializing the message.
Sourcepub fn init_rate(self, value: u32) -> Self
pub fn init_rate(self, value: u32) -> Self
Builder method that sets the value of rate
. Useful for initializing the message.
Sourcepub fn mut_sig_mode(&mut self) -> &mut u32
pub fn mut_sig_mode(&mut self) -> &mut u32
Return a mutable reference to sig_mode
Sourcepub fn set_sig_mode(&mut self, value: u32) -> &mut Self
pub fn set_sig_mode(&mut self, value: u32) -> &mut Self
Set the value of sig_mode
Sourcepub fn init_sig_mode(self, value: u32) -> Self
pub fn init_sig_mode(self, value: u32) -> Self
Builder method that sets the value of sig_mode
. Useful for initializing the message.
Sourcepub fn init_mcs(self, value: u32) -> Self
pub fn init_mcs(self, value: u32) -> Self
Builder method that sets the value of mcs
. Useful for initializing the message.
Sourcepub fn init_cwb(self, value: u32) -> Self
pub fn init_cwb(self, value: u32) -> Self
Builder method that sets the value of cwb
. Useful for initializing the message.
Sourcepub fn mut_smoothing(&mut self) -> &mut u32
pub fn mut_smoothing(&mut self) -> &mut u32
Return a mutable reference to smoothing
Sourcepub fn set_smoothing(&mut self, value: u32) -> &mut Self
pub fn set_smoothing(&mut self, value: u32) -> &mut Self
Set the value of smoothing
Sourcepub fn init_smoothing(self, value: u32) -> Self
pub fn init_smoothing(self, value: u32) -> Self
Builder method that sets the value of smoothing
. Useful for initializing the message.
Sourcepub fn not_sounding(&self) -> &u32
pub fn not_sounding(&self) -> &u32
Return a reference to not_sounding
Sourcepub fn mut_not_sounding(&mut self) -> &mut u32
pub fn mut_not_sounding(&mut self) -> &mut u32
Return a mutable reference to not_sounding
Sourcepub fn set_not_sounding(&mut self, value: u32) -> &mut Self
pub fn set_not_sounding(&mut self, value: u32) -> &mut Self
Set the value of not_sounding
Sourcepub fn init_not_sounding(self, value: u32) -> Self
pub fn init_not_sounding(self, value: u32) -> Self
Builder method that sets the value of not_sounding
. Useful for initializing the message.
Sourcepub fn aggregation(&self) -> &u32
pub fn aggregation(&self) -> &u32
Return a reference to aggregation
Sourcepub fn mut_aggregation(&mut self) -> &mut u32
pub fn mut_aggregation(&mut self) -> &mut u32
Return a mutable reference to aggregation
Sourcepub fn set_aggregation(&mut self, value: u32) -> &mut Self
pub fn set_aggregation(&mut self, value: u32) -> &mut Self
Set the value of aggregation
Sourcepub fn init_aggregation(self, value: u32) -> Self
pub fn init_aggregation(self, value: u32) -> Self
Builder method that sets the value of aggregation
. Useful for initializing the message.
Sourcepub fn init_stbc(self, value: u32) -> Self
pub fn init_stbc(self, value: u32) -> Self
Builder method that sets the value of stbc
. Useful for initializing the message.
Sourcepub fn fec_coding(&self) -> &u32
pub fn fec_coding(&self) -> &u32
Return a reference to fec_coding
Sourcepub fn mut_fec_coding(&mut self) -> &mut u32
pub fn mut_fec_coding(&mut self) -> &mut u32
Return a mutable reference to fec_coding
Sourcepub fn set_fec_coding(&mut self, value: u32) -> &mut Self
pub fn set_fec_coding(&mut self, value: u32) -> &mut Self
Set the value of fec_coding
Sourcepub fn init_fec_coding(self, value: u32) -> Self
pub fn init_fec_coding(self, value: u32) -> Self
Builder method that sets the value of fec_coding
. Useful for initializing the message.
Sourcepub fn init_sgi(self, value: u32) -> Self
pub fn init_sgi(self, value: u32) -> Self
Builder method that sets the value of sgi
. Useful for initializing the message.
Sourcepub fn noise_floor(&self) -> &i32
pub fn noise_floor(&self) -> &i32
Return a reference to noise_floor
Sourcepub fn mut_noise_floor(&mut self) -> &mut i32
pub fn mut_noise_floor(&mut self) -> &mut i32
Return a mutable reference to noise_floor
Sourcepub fn set_noise_floor(&mut self, value: i32) -> &mut Self
pub fn set_noise_floor(&mut self, value: i32) -> &mut Self
Set the value of noise_floor
Sourcepub fn init_noise_floor(self, value: i32) -> Self
pub fn init_noise_floor(self, value: i32) -> Self
Builder method that sets the value of noise_floor
. Useful for initializing the message.
Sourcepub fn mut_ampdu_cnt(&mut self) -> &mut u32
pub fn mut_ampdu_cnt(&mut self) -> &mut u32
Return a mutable reference to ampdu_cnt
Sourcepub fn set_ampdu_cnt(&mut self, value: u32) -> &mut Self
pub fn set_ampdu_cnt(&mut self, value: u32) -> &mut Self
Set the value of ampdu_cnt
Sourcepub fn init_ampdu_cnt(self, value: u32) -> Self
pub fn init_ampdu_cnt(self, value: u32) -> Self
Builder method that sets the value of ampdu_cnt
. Useful for initializing the message.
Sourcepub fn mut_channel(&mut self) -> &mut u32
pub fn mut_channel(&mut self) -> &mut u32
Return a mutable reference to channel
Sourcepub fn set_channel(&mut self, value: u32) -> &mut Self
pub fn set_channel(&mut self, value: u32) -> &mut Self
Set the value of channel
Sourcepub fn init_channel(self, value: u32) -> Self
pub fn init_channel(self, value: u32) -> Self
Builder method that sets the value of channel
. Useful for initializing the message.
Sourcepub fn secondary_channel(&self) -> &u32
pub fn secondary_channel(&self) -> &u32
Return a reference to secondary_channel
Sourcepub fn mut_secondary_channel(&mut self) -> &mut u32
pub fn mut_secondary_channel(&mut self) -> &mut u32
Return a mutable reference to secondary_channel
Sourcepub fn set_secondary_channel(&mut self, value: u32) -> &mut Self
pub fn set_secondary_channel(&mut self, value: u32) -> &mut Self
Set the value of secondary_channel
Sourcepub fn init_secondary_channel(self, value: u32) -> Self
pub fn init_secondary_channel(self, value: u32) -> Self
Builder method that sets the value of secondary_channel
. Useful for initializing the message.
Sourcepub fn mut_timestamp(&mut self) -> &mut u32
pub fn mut_timestamp(&mut self) -> &mut u32
Return a mutable reference to timestamp
Sourcepub fn set_timestamp(&mut self, value: u32) -> &mut Self
pub fn set_timestamp(&mut self, value: u32) -> &mut Self
Set the value of timestamp
Sourcepub fn init_timestamp(self, value: u32) -> Self
pub fn init_timestamp(self, value: u32) -> Self
Builder method that sets the value of timestamp
. Useful for initializing the message.
Sourcepub fn init_ant(self, value: u32) -> Self
pub fn init_ant(self, value: u32) -> Self
Builder method that sets the value of ant
. Useful for initializing the message.
Sourcepub fn mut_sig_len(&mut self) -> &mut u32
pub fn mut_sig_len(&mut self) -> &mut u32
Return a mutable reference to sig_len
Sourcepub fn set_sig_len(&mut self, value: u32) -> &mut Self
pub fn set_sig_len(&mut self, value: u32) -> &mut Self
Set the value of sig_len
Sourcepub fn init_sig_len(self, value: u32) -> Self
pub fn init_sig_len(self, value: u32) -> Self
Builder method that sets the value of sig_len
. Useful for initializing the message.
Sourcepub fn mut_rx_state(&mut self) -> &mut u32
pub fn mut_rx_state(&mut self) -> &mut u32
Return a mutable reference to rx_state
Sourcepub fn set_rx_state(&mut self, value: u32) -> &mut Self
pub fn set_rx_state(&mut self, value: u32) -> &mut Self
Set the value of rx_state
Sourcepub fn init_rx_state(self, value: u32) -> Self
pub fn init_rx_state(self, value: u32) -> Self
Builder method that sets the value of rx_state
. Useful for initializing the message.
Trait Implementations§
Source§impl Clone for wifi_pkt_rx_ctrl
impl Clone for wifi_pkt_rx_ctrl
Source§fn clone(&self) -> wifi_pkt_rx_ctrl
fn clone(&self) -> wifi_pkt_rx_ctrl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for wifi_pkt_rx_ctrl
impl Debug for wifi_pkt_rx_ctrl
Source§impl Default for wifi_pkt_rx_ctrl
impl Default for wifi_pkt_rx_ctrl
Source§fn default() -> wifi_pkt_rx_ctrl
fn default() -> wifi_pkt_rx_ctrl
Source§impl MessageDecode for wifi_pkt_rx_ctrl
impl MessageDecode for wifi_pkt_rx_ctrl
Source§fn decode<IMPL_MICROPB_READ: PbRead>(
&mut self,
decoder: &mut PbDecoder<IMPL_MICROPB_READ>,
len: usize,
) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
fn decode<IMPL_MICROPB_READ: PbRead>( &mut self, decoder: &mut PbDecoder<IMPL_MICROPB_READ>, len: usize, ) -> Result<(), DecodeError<IMPL_MICROPB_READ::Error>>
self
. Read more