pub struct WifiApRecord {Show 15 fields
pub bssid: [u8; 6],
pub ssid: Vec<u8, 33>,
pub primary: u8,
pub second: WifiSecondChan,
pub rssi: i8,
pub authmode: WifiAuthMode,
pub pairwise_cipher: WifiCipher,
pub group_cipher: WifiCipher,
pub ant: WifiAnt,
pub bitmask: u32,
pub country: WifiCountry,
pub he_ap: WifiHeApInfo,
pub bandwidth: WifiBandwidth,
pub vht_ch_freq1: u8,
pub vht_ch_freq2: u8,
}
Expand description
Description of a Wi-Fi AP. docs
Fields§
§bssid: [u8; 6]
§ssid: Vec<u8, 33>
§primary: u8
Channel of AP
second: WifiSecondChan
§rssi: i8
§authmode: WifiAuthMode
§pairwise_cipher: WifiCipher
§group_cipher: WifiCipher
§ant: WifiAnt
Antenna used to receive beacon from AP
bitmask: u32
Bit 0, 11b. 1: 11g. 2: 11n. 3: low rate. 4-6: 11ax mode.
country: WifiCountry
§he_ap: WifiHeApInfo
§bandwidth: WifiBandwidth
For AP 20 MHz this value is set to 1. For AP 40 MHz this value is set to 2. For AP 80 MHz this value is set to 3. For AP 160MHz this value is set to 4. For AP 80+80MHz this value is set to 5
vht_ch_freq1: u8
This fields are used only AP bandwidth is 80 and 160 MHz, to transmit the center channel frequency of the BSS. For AP bandwidth is 80 + 80 MHz, it is the center channel frequency of the lower frequency segment.
vht_ch_freq2: u8
This fields are used only AP bandwidth is 80 + 80 MHz, and is used to transmit the center channel frequency of the second segment.
Implementations§
Source§impl WifiApRecord
impl WifiApRecord
Trait Implementations§
Source§impl Default for WifiApRecord
impl Default for WifiApRecord
Source§fn default() -> WifiApRecord
fn default() -> WifiApRecord
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WifiApRecord
impl RefUnwindSafe for WifiApRecord
impl Send for WifiApRecord
impl Sync for WifiApRecord
impl Unpin for WifiApRecord
impl UnwindSafe for WifiApRecord
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