#[repr(C)]pub struct wifi_scan_threshold_t {
pub rssi: i8,
pub authmode: wifi_auth_mode_t,
pub rssi_5g_adjustment: u8,
}Expand description
@brief Structure describing parameters for a Wi-Fi fast scan
Fields§
§rssi: i8< The minimum rssi to accept in the fast scan mode. Defaults to -127 if set to >= 0
authmode: wifi_auth_mode_t< The weakest auth mode to accept in the fast scan mode Note: In case this value is not set and password is set as per WPA2 standards(password len >= 8), it will be defaulted to WPA2 and device won’t connect to deprecated WEP/WPA networks. Please set auth mode threshold as WIFI_AUTH_WEP/WIFI_AUTH_WPA_PSK to connect to WEP/WPA networks
rssi_5g_adjustment: u8< The RSSI value of the 5G AP is within the rssi_5g_adjustment range compared to the 2G AP, the 5G AP will be given priority for connection.
Trait Implementations§
Source§impl Clone for wifi_scan_threshold_t
impl Clone for wifi_scan_threshold_t
Source§fn clone(&self) -> wifi_scan_threshold_t
fn clone(&self) -> wifi_scan_threshold_t
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for wifi_scan_threshold_t
impl Debug for wifi_scan_threshold_t
Source§impl Default for wifi_scan_threshold_t
impl Default for wifi_scan_threshold_t
impl Copy for wifi_scan_threshold_t
Auto Trait Implementations§
impl Freeze for wifi_scan_threshold_t
impl RefUnwindSafe for wifi_scan_threshold_t
impl Send for wifi_scan_threshold_t
impl Sync for wifi_scan_threshold_t
impl Unpin for wifi_scan_threshold_t
impl UnsafeUnpin for wifi_scan_threshold_t
impl UnwindSafe for wifi_scan_threshold_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)