wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Data Fields
wpa_driver_scan_params Struct Reference

Scan parameters Data for struct wpa_driver_ops::scan2(). More...

#include <driver.h>

Data Structures

struct  wpa_driver_scan_filter
 Filter for reporting SSIDs. More...
 
struct  wpa_driver_scan_ssid
 SSIDs to scan for. More...
 

Data Fields

struct
wpa_driver_scan_params::wpa_driver_scan_ssid 
ssids [WPAS_MAX_SCAN_SSIDS]
 
size_t num_ssids
 Number of entries in ssids array Zero indicates a request for a passive scan.
 
const u8 * extra_ies
 Extra IE(s) to add into Probe Request or NULL.
 
size_t extra_ies_len
 Length of extra_ies in octets.
 
int * freqs
 Array of frequencies to scan or NULL for all frequencies. More...
 
struct
wpa_driver_scan_params::wpa_driver_scan_filter
filter_ssids
 
size_t num_filter_ssids
 Number of entries in filter_ssids array.
 
s32 filter_rssi
 Filter by RSSI. More...
 
unsigned int p2p_probe:1
 Used to disable CCK (802.11b) rates for P2P probes. More...
 
unsigned int only_new_results:1
 Request driver to report only new results. More...
 
unsigned int low_priority:1
 Requests driver to use a lower scan priority. More...
 
unsigned int mac_addr_rand:1
 Requests driver to randomize MAC address.
 
const u8 * mac_addr
 MAC address used with randomization. The address cannot be a multicast one, i.e., bit 0 of byte 0 should not be set.
 
const u8 * mac_addr_mask
 MAC address mask used with randomization. More...
 

Detailed Description

Scan parameters Data for struct wpa_driver_ops::scan2().

Field Documentation

s32 wpa_driver_scan_params::filter_rssi

Filter by RSSI.

The driver may filter scan results in firmware to reduce host wakeups and thereby save power. Specify the RSSI threshold in s32 dBm.

int* wpa_driver_scan_params::freqs

Array of frequencies to scan or NULL for all frequencies.

The frequency is set in MHz. The array is zero-terminated.

unsigned int wpa_driver_scan_params::low_priority

Requests driver to use a lower scan priority.

This is used to request the driver to use a lower scan priority if it supports such a thing.

const u8* wpa_driver_scan_params::mac_addr_mask

MAC address mask used with randomization.

Bits that are 0 in the mask should be randomized. Bits that are 1 in the mask should be taken as is from mac_addr. The mask should not allow the generation of a multicast address, i.e., bit 0 of byte 0 must be set.

unsigned int wpa_driver_scan_params::only_new_results

Request driver to report only new results.

This is used to request the driver to report only BSSes that have been detected after this scan request has been started, i.e., to flush old cached BSS entries.

unsigned int wpa_driver_scan_params::p2p_probe

Used to disable CCK (802.11b) rates for P2P probes.

When set, the driver is expected to remove rates 1, 2, 5.5, and 11 Mbps from the support rates element(s) in the Probe Request frames and not to transmit the frames at any of those rates.


The documentation for this struct was generated from the following file: