#[repr(C)]pub struct ScanRequest {
pub scan_type: ScanType,
pub scan_duration: u8,
pub channel_page: u8,
pub security_level: SecurityLevel,
pub scan_channels: [u8; 4],
pub key_source: [u8; 8],
pub key_id_mode: KeyIdMode,
pub key_index: u8,
pub a_stuffing: [u8; 2],
}
Expand description
MLME SCAN Request used to initiate a channel scan over a given list of channels
Fields§
§scan_type: ScanType
the type of scan to be performed
scan_duration: u8
the time spent on scanning each channel
channel_page: u8
channel page on which to perform the scan
security_level: SecurityLevel
security level to be used
scan_channels: [u8; 4]
indicate which channels are to be scanned
key_source: [u8; 8]
originator the key to be used
key_id_mode: KeyIdMode
mode used to identify the key to be used
key_index: u8
index of the key to be used
a_stuffing: [u8; 2]
byte stuffing to keep 32 bit alignment
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanRequest
impl RefUnwindSafe for ScanRequest
impl Send for ScanRequest
impl Sync for ScanRequest
impl Unpin for ScanRequest
impl UnwindSafe for ScanRequest
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