pub struct WlanSoftmacStartActiveScanRequest {
pub channels: Option<Vec<u8>>,
pub ssids: Option<Vec<CSsid>>,
pub mac_header: Option<Vec<u8>>,
pub ies: Option<Vec<u8>>,
pub min_channel_time: Option<i64>,
pub max_channel_time: Option<i64>,
pub min_home_time: Option<i64>,
pub min_probes_per_channel: Option<u8>,
pub max_probes_per_channel: Option<u8>,
/* private fields */
}
Expand description
Argument struct to be passed as the single argument to WlanSoftmac.StartActiveScan
Fields§
§channels: Option<Vec<u8>>
List of channels to scan on. An empty list of channels will cause a scan request to immediately return ZX_ERR_INVALID_ARGS.
Invalid channel numbers will be silently ignored. The validity of a channel number depends on the current regulatory region, and a SoftMAC driver cannot always determine the region setting. This is especially the case when firmware changes the region setting dynamically.
ssids: Option<Vec<CSsid>>
List of SSIDs to scan for. For a list with a single SSID, the SSID will be placed in the SSID element in the Probe Request frame. For a list with more than one SSID, all SSIDs will be placed in an SSID List element in the Probe Request frame with the first SSID in the list in the required SSID element. An empty list is the same as specifying a list containing only the wildcard SSID.
mac_header: Option<Vec<u8>>
Buffer containing a MAC header (as defined in IEEE Std 802.11-2016, 9.3.3.2) to include in each Probe Request frame.
ies: Option<Vec<u8>>
Buffer containing IE bytes to include in each Probe Request frame.
The IEs specified must not result in a Probe Request MMPDU that exceed the limits defined by IEEE Std 802.11-2016, 9.2.4.7. MMPDU limit constants can be found in fuchsia.wlan.ieee80211. These limits are very large and will likely not be exceeded by specifying the most common IEs found in Probe Request frames.
min_channel_time: Option<i64>
Minimum duration to spend on each channel during the scan.
max_channel_time: Option<i64>
Maximum duration to spend on each channel during the scan.
min_home_time: Option<i64>
Minimum duration to spend on the home channel(s) between the dwell time on each channel where a home channel corresponds to channels the device should otherwise be present on while not scanning.
min_probes_per_channel: Option<u8>
Minimum number of Probe Request frames to transmit per channel visit during a scan. The definition of a channel visit may differ between device drivers, but it is roughly the interval of time spent on a specific channel during a scan.
Sending more than one Probe Request frame on a channel may increase the probability that it is received in a noisy environment.
max_probes_per_channel: Option<u8>
Maximum number of Probe Request frames to transmit per channel visit during a scan. The definition of a channel visit may differ between device drivers, but it is roughly the interval of time spent on a specific channel during a scan. Specifying 0 is invalid since at least one Probe Request frame must be transmitted for an active scan.
Limiting the number of Probe Request frames sent on a channel reduces the time spent transmitting frames, and thus increase the time spent receiving frames, while scanning.
Trait Implementations§
Source§impl Clone for WlanSoftmacStartActiveScanRequest
impl Clone for WlanSoftmacStartActiveScanRequest
Source§fn clone(&self) -> WlanSoftmacStartActiveScanRequest
fn clone(&self) -> WlanSoftmacStartActiveScanRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<D: ResourceDialect> Decode<WlanSoftmacStartActiveScanRequest, D> for WlanSoftmacStartActiveScanRequest
impl<D: ResourceDialect> Decode<WlanSoftmacStartActiveScanRequest, D> for WlanSoftmacStartActiveScanRequest
Source§impl Default for WlanSoftmacStartActiveScanRequest
impl Default for WlanSoftmacStartActiveScanRequest
Source§fn default() -> WlanSoftmacStartActiveScanRequest
fn default() -> WlanSoftmacStartActiveScanRequest
Source§impl<D: ResourceDialect> Encode<WlanSoftmacStartActiveScanRequest, D> for &WlanSoftmacStartActiveScanRequest
impl<D: ResourceDialect> Encode<WlanSoftmacStartActiveScanRequest, D> for &WlanSoftmacStartActiveScanRequest
Source§impl PartialEq for WlanSoftmacStartActiveScanRequest
impl PartialEq for WlanSoftmacStartActiveScanRequest
Source§fn eq(&self, other: &WlanSoftmacStartActiveScanRequest) -> bool
fn eq(&self, other: &WlanSoftmacStartActiveScanRequest) -> bool
self
and other
values to be equal, and is used by ==
.Source§impl TypeMarker for WlanSoftmacStartActiveScanRequest
impl TypeMarker for WlanSoftmacStartActiveScanRequest
Source§type Owned = WlanSoftmacStartActiveScanRequest
type Owned = WlanSoftmacStartActiveScanRequest
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for WlanSoftmacStartActiveScanRequest
impl ValueTypeMarker for WlanSoftmacStartActiveScanRequest
Source§type Borrowed<'a> = &'a WlanSoftmacStartActiveScanRequest
type Borrowed<'a> = &'a WlanSoftmacStartActiveScanRequest
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for WlanSoftmacStartActiveScanRequest
impl StructuralPartialEq for WlanSoftmacStartActiveScanRequest
Auto Trait Implementations§
impl Freeze for WlanSoftmacStartActiveScanRequest
impl RefUnwindSafe for WlanSoftmacStartActiveScanRequest
impl Send for WlanSoftmacStartActiveScanRequest
impl Sync for WlanSoftmacStartActiveScanRequest
impl Unpin for WlanSoftmacStartActiveScanRequest
impl UnwindSafe for WlanSoftmacStartActiveScanRequest
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)