hostapd
Public Types | Public Attributes | List of all members
wpa_supplicant Struct Reference

struct wpa_supplicant - Internal data for wpa_supplicant interface More...

#include <wpa_supplicant_i.h>

Public Types

enum  scan_req_type { NORMAL_SCAN_REQ, INITIAL_SCAN_REQ, MANUAL_SCAN_REQ }
 scan_req - Type of the scan request More...
 
enum  local_hw_capab { CAPAB_NO_HT_VHT, CAPAB_HT, CAPAB_HT40, CAPAB_VHT }
 

Public Attributes

struct wpa_globalglobal
 
struct wpa_radioradio
 
struct dl_list radio_list
 
struct wpa_supplicantparent
 
struct wpa_supplicantp2pdev
 
struct wpa_supplicantnext
 
struct l2_packet_datal2
 
struct l2_packet_datal2_br
 
unsigned char own_addr [ETH_ALEN]
 
unsigned char perm_addr [ETH_ALEN]
 
char ifname [100]
 
char bridge_ifname [16]
 
char * confname
 
char * confanother
 
struct wpa_configconf
 
int countermeasures
 
struct os_reltime last_michael_mic_error
 
u8 bssid [ETH_ALEN]
 
u8 pending_bssid [ETH_ALEN]
 
int reassociate
 
unsigned int reassoc_same_bss:1
 
unsigned int reassoc_same_ess:1
 
int disconnected
 
struct wpa_ssidcurrent_ssid
 
struct wpa_ssidlast_ssid
 
struct wpa_bsscurrent_bss
 
int ap_ies_from_associnfo
 
unsigned int assoc_freq
 
int pairwise_cipher
 
int group_cipher
 
int key_mgmt
 
int wpa_proto
 
int mgmt_group_cipher
 
void * drv_priv
 
void * global_drv_priv
 
u8 * bssid_filter
 
size_t bssid_filter_count
 
u8 * disallow_aps_bssid
 
size_t disallow_aps_bssid_count
 
struct wpa_ssid_valuedisallow_aps_ssid
 
size_t disallow_aps_ssid_count
 
enum set_band setband
 
struct wpa_ssidnext_ssid
 
int prev_scan_wildcard
 
struct wpa_ssidprev_scan_ssid
 
struct wpa_ssidprev_sched_ssid
 
int sched_scan_timeout
 
int first_sched_scan
 
int sched_scan_timed_out
 
struct sched_scan_plan * sched_scan_plans
 
size_t sched_scan_plans_num
 
void(* scan_res_handler )(struct wpa_supplicant *wpa_s, struct wpa_scan_results *scan_res)
 
struct dl_list bss
 
struct dl_list bss_id
 
size_t num_bss
 
unsigned int bss_update_idx
 
unsigned int bss_next_id
 
struct wpa_bss ** last_scan_res
 
unsigned int last_scan_res_used
 
unsigned int last_scan_res_size
 
struct os_reltime last_scan
 
const struct wpa_driver_opsdriver
 
int interface_removed
 
struct wpa_smwpa
 
struct eapol_smeapol
 
struct ctrl_iface_privctrl_iface
 
enum wpa_states wpa_state
 
struct wpa_radio_workscan_work
 
int scanning
 
int sched_scanning
 
unsigned int sched_scan_stop_req:1
 
int new_connection
 
int eapol_received
 
struct scard_datascard
 
char imsi [20]
 
int mnc_len
 
unsigned char last_eapol_src [ETH_ALEN]
 
unsigned int keys_cleared
 
struct wpa_blacklistblacklist
 
int extra_blacklist_count
 extra_blacklist_count - Sum of blacklist counts after last connection More...
 
enum wpa_supplicant::scan_req_type scan_req
 
enum wpa_supplicant::scan_req_type last_scan_req
 
enum wpa_states scan_prev_wpa_state
 
struct os_reltime scan_trigger_time scan_start_time
 
struct os_reltime scan_min_time
 
int scan_runs
 
int * next_scan_freqs
 
int * manual_scan_freqs
 
int * manual_sched_scan_freqs
 
unsigned int manual_scan_passive:1
 
unsigned int manual_scan_use_id:1
 
unsigned int manual_scan_only_new:1
 
unsigned int own_scan_requested:1
 
unsigned int own_scan_running:1
 
unsigned int clear_driver_scan_cache:1
 
unsigned int manual_scan_id
 
int scan_interval
 
int normal_scans
 
int scan_for_connection
 
u64 curr_scan_cookie
 
int scan_id [MAX_SCAN_ID]
 
unsigned int scan_id_count
 
u8 next_scan_bssid [ETH_ALEN]
 
struct wpa_ssid_valuessids_from_scan_req
 
unsigned int num_ssids_from_scan_req
 
u64 drv_flags
 
unsigned int drv_enc
 
unsigned int drv_smps_modes
 
unsigned int drv_rrm_flags
 
unsigned int probe_resp_offloads
 
const u8 * extended_capa
 
const u8 * extended_capa_mask
 
unsigned int extended_capa_len
 
int max_scan_ssids
 
int max_sched_scan_ssids
 
unsigned int max_sched_scan_plans
 
unsigned int max_sched_scan_plan_interval
 
unsigned int max_sched_scan_plan_iterations
 
int sched_scan_supported
 
unsigned int max_match_sets
 
unsigned int max_remain_on_chan
 
unsigned int max_stations
 
int pending_mic_error_report
 
int pending_mic_error_pairwise
 
int mic_errors_seen
 
struct wps_contextwps
 
int wps_success
 
struct wps_erwps_er
 
unsigned int wps_run
 
struct os_reltime wps_pin_start_time
 
int blacklist_cleared
 
struct wpabufpending_eapol_rx
 
struct os_reltime pending_eapol_rx_time
 
u8 pending_eapol_rx_src [ETH_ALEN]
 
unsigned int last_eapol_matches_bssid:1
 
unsigned int eap_expected_failure:1
 
unsigned int reattach:1
 
unsigned int mac_addr_changed:1
 
unsigned int added_vif:1
 
unsigned int wnmsleep_used:1
 
struct os_reltime last_mac_addr_change
 
int last_mac_addr_style
 
struct ibss_rsnibss_rsn
 
int set_sta_uapsd
 
int sta_uapsd
 
int set_ap_uapsd
 
int ap_uapsd
 
struct hostapd_ifaceifmsh
 
unsigned int off_channel_freq
 
struct wpabufpending_action_tx
 
u8 pending_action_src [ETH_ALEN]
 
u8 pending_action_dst [ETH_ALEN]
 
u8 pending_action_bssid [ETH_ALEN]
 
unsigned int pending_action_freq
 
int pending_action_no_cck
 
int pending_action_without_roc
 
unsigned int pending_action_tx_done:1
 
void(* pending_action_tx_status_cb )(struct wpa_supplicant *wpa_s, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, enum offchannel_send_action_result result)
 
unsigned int roc_waiting_drv_freq
 
int action_tx_wait_time
 
int p2p_mgmt
 
struct wpa_ssidbgscan_ssid
 
const struct bgscan_opsbgscan
 
void * bgscan_priv
 
const struct autoscan_opsautoscan
 
struct wpa_driver_scan_paramsautoscan_params
 
void * autoscan_priv
 
struct wpa_ssidconnect_without_scan
 
struct wps_ap_infowps_ap
 
size_t num_wps_ap
 
int wps_ap_iter
 
int after_wps
 
int known_wps_freq
 
unsigned int wps_freq
 
int wps_fragment_size
 
int auto_reconnect_disabled
 
int best_24_freq
 
int best_5_freq
 
int best_overall_freq
 
struct gas_querygas
 
unsigned int drv_capa_known
 
struct {
   struct hostapd_hw_modes *   modes
 
   u16   num_modes
 
   u16   flags
 
hw
 
enum wpa_supplicant::local_hw_capab hw_capab
 
int pno
 
int pno_sched_pending
 
int disconnect_reason
 
u16 assoc_status_code
 
struct ext_password_dataext_pw
 
struct wpabuflast_gas_resp
 
struct wpabufprev_gas_resp
 
u8 last_gas_addr [ETH_ALEN]
 
u8 prev_gas_addr [ETH_ALEN]
 
u8 last_gas_dialog_token
 
u8 prev_gas_dialog_token
 
unsigned int no_keep_alive:1
 
unsigned int ext_mgmt_frame_handling:1
 
unsigned int ext_eapol_frame_io:1
 
unsigned int wmm_ac_supported:1
 
unsigned int ext_work_in_progress:1
 
unsigned int own_disconnect_req:1
 
unsigned int ignore_post_flush_scan_res:1
 
unsigned int mac_addr_rand_supported
 
unsigned int mac_addr_rand_enable
 
u8 * mac_addr_scan
 
u8 * mac_addr_sched_scan
 
u8 * mac_addr_pno
 
unsigned int num_multichan_concurrent
 
struct wpa_radio_workconnect_work
 
unsigned int ext_work_id
 
struct wpabufvendor_elem [NUM_VENDOR_ELEM_FRAMES]
 
struct wmm_ac_assoc_datawmm_ac_assoc_info
 
struct wmm_tspec_elementtspecs [WMM_AC_NUM][TS_DIR_IDX_COUNT]
 
struct wmm_ac_addts_requestaddts_request
 
u8 wmm_ac_last_dialog_token
 
struct wmm_tspec_elementlast_tspecs
 
u8 last_tspecs_count
 
struct rrm_data rrm
 
struct beacon_rep_data beacon_rep_data
 
struct dl_list bss_tmp_disallowed
 
struct wpabuflci
 
struct os_reltime lci_time
 
struct os_reltime beacon_rep_scan
 

Detailed Description

struct wpa_supplicant - Internal data for wpa_supplicant interface

This structure contains the internal data for core wpa_supplicant code. This should be only used directly from the core code. However, a pointer to this data is used from other files as an arbitrary context pointer in calls to core functions.

Member Enumeration Documentation

§ scan_req_type

scan_req - Type of the scan request

Enumerator
NORMAL_SCAN_REQ 

NORMAL_SCAN_REQ - Normal scan request.

This is used for scans initiated by wpa_supplicant to find an AP for a connection.

INITIAL_SCAN_REQ 

INITIAL_SCAN_REQ - Initial scan request.

This is used for the first scan on an interface to force at least one scan to be run even if the configuration does not include any enabled networks.

MANUAL_SCAN_REQ 

MANUAL_SCAN_REQ - Manual scan request.

This is used for scans where the user request a scan or a specific wpa_supplicant operation (e.g., WPS) requires scan to be run.

Member Data Documentation

§ extra_blacklist_count

int wpa_supplicant::extra_blacklist_count

extra_blacklist_count - Sum of blacklist counts after last connection

This variable is used to maintain a count of temporary blacklisting failures (maximum number for any BSS) over blacklist clear operations. This is needed for figuring out whether there has been failures prior to the last blacklist clear operation which happens whenever no other not-blacklisted BSS candidates are available. This gets cleared whenever a connection has been established successfully.


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