5 #ifndef WPA_SUPPLICANT_I_H
6 #define WPA_SUPPLICANT_I_H
16 extern const char *
const wpa_supplicant_version;
17 extern const char *
const wpa_supplicant_license;
18 #ifndef CONFIG_NO_STDOUT_DEBUG
19 extern const char *
const wpa_supplicant_full_license1;
20 extern const char *
const wpa_supplicant_full_license2;
21 extern const char *
const wpa_supplicant_full_license3;
22 extern const char *
const wpa_supplicant_full_license4;
23 extern const char *
const wpa_supplicant_full_license5;
285 u8 p2p_dev_addr[ETH_ALEN];
287 struct dl_list p2p_srv_bonjour;
290 int cross_connection;
294 WPA_CONC_PREF_NOT_SET,
298 unsigned int p2p_per_sta_psk:1;
299 unsigned int p2p_fail_on_wps_complete:1;
300 unsigned int p2p_24ghz_social_channels:1;
301 unsigned int pending_p2ps_group:1;
302 unsigned int pending_group_iface_for_p2ps:1;
304 #ifdef CONFIG_WIFI_DISPLAY
306 #define MAX_WFD_SUBELEMS 10
307 struct wpabuf *wfd_subelem[MAX_WFD_SUBELEMS];
325 unsigned int external_scan_running:1;
341 unsigned int started:1;
346 const char *type,
int next,
351 const char *type,
int remove_all);
354 radio_work_pending(
struct wpa_supplicant *wpa_s,
const char *type);
358 unsigned int bss_removed:1;
371 unsigned int timeout;
388 enum wps_ap_info_type {
395 unsigned int pbc_active;
396 u8 uuid[WPS_UUID_LEN];
400 u8 ssid[SSID_MAX_LEN];
404 #define WPA_FREQ_USED_BY_INFRA_STATION BIT(0)
405 #define WPA_FREQ_USED_BY_P2P_CLIENT BIT(1)
412 #define RRM_NEIGHBOR_REPORT_TIMEOUT 1
419 unsigned int rrm_used:1;
424 void (*notify_neighbor_rep)(
void *ctx,
struct wpabuf *neighbor_rep);
431 void *neighbor_rep_cb_ctx;
434 u8 next_neighbor_rep_token;
437 enum wpa_supplicant_test_failure {
438 WPAS_TEST_FAILURE_NONE,
439 WPAS_TEST_FAILURE_SCAN_TRIGGER,
459 unsigned char own_addr[ETH_ALEN];
460 unsigned char perm_addr[ETH_ALEN];
462 #ifdef CONFIG_CTRL_IFACE_DBUS
465 #ifdef CONFIG_CTRL_IFACE_DBUS_NEW
467 char *dbus_groupobj_path;
469 char *preq_notify_peer;
472 char bridge_ifname[16];
481 u8 pending_bssid[ETH_ALEN];
484 int reassoc_same_bss;
490 int ap_ies_from_associnfo;
491 unsigned int assoc_freq;
498 int mgmt_group_cipher;
501 void *global_drv_priv;
504 size_t bssid_filter_count;
506 u8 *disallow_aps_bssid;
507 size_t disallow_aps_bssid_count;
509 size_t disallow_aps_ssid_count;
511 enum set_band setband;
518 int prev_scan_wildcard;
525 #define WILDCARD_SSID_SCAN ((struct wpa_ssid *) 1)
528 int sched_scan_timeout;
529 int sched_scan_interval;
530 int first_sched_scan;
531 int sched_scan_timed_out;
538 unsigned int bss_update_idx;
539 unsigned int bss_next_id;
545 struct wpa_bss **last_scan_res;
546 unsigned int last_scan_res_used;
547 unsigned int last_scan_res_size;
551 int interface_removed;
571 unsigned char last_eapol_src[ETH_ALEN];
573 unsigned int keys_cleared;
624 } scan_req, last_scan_req;
626 struct os_reltime scan_trigger_time, scan_start_time;
630 int *next_scan_freqs;
631 int *manual_scan_freqs;
632 int *manual_sched_scan_freqs;
633 unsigned int manual_scan_passive:1;
634 unsigned int manual_scan_use_id:1;
635 unsigned int manual_scan_only_new:1;
636 unsigned int own_scan_requested:1;
637 unsigned int own_scan_running:1;
638 unsigned int clear_driver_scan_cache:1;
639 unsigned int manual_scan_id;
642 int scan_for_connection;
644 #define MAX_SCAN_ID 16
645 int scan_id[MAX_SCAN_ID];
646 unsigned int scan_id_count;
649 unsigned int num_ssids_from_scan_req;
652 unsigned int drv_enc;
653 unsigned int drv_smps_modes;
654 unsigned int drv_rrm_flags;
660 unsigned int probe_resp_offloads;
663 const u8 *extended_capa, *extended_capa_mask;
664 unsigned int extended_capa_len;
667 int max_sched_scan_ssids;
668 int sched_scan_supported;
669 unsigned int max_match_sets;
670 unsigned int max_remain_on_chan;
671 unsigned int max_stations;
673 int pending_mic_error_report;
674 int pending_mic_error_pairwise;
680 unsigned int wps_run;
682 int blacklist_cleared;
684 struct wpabuf *pending_eapol_rx;
686 u8 pending_eapol_rx_src[ETH_ALEN];
687 unsigned int last_eapol_matches_bssid:1;
688 unsigned int eap_expected_failure:1;
689 unsigned int reattach:1;
690 unsigned int mac_addr_changed:1;
691 unsigned int added_vif:1;
694 int last_mac_addr_style;
705 u8 ssid[SSID_MAX_LEN];
708 u8 assoc_req_ie[200];
709 size_t assoc_req_ie_len;
712 u8 mobility_domain[2];
715 u8 prev_bssid[ETH_ALEN];
722 int sa_query_timed_out;
723 u8 *sa_query_trans_id;
728 enum { HT_SEC_CHAN_UNKNOWN,
730 HT_SEC_CHAN_BELOW } ht_sec_chan;
733 u16 bss_max_idle_period;
738 unsigned int sae_pmksa_caching:1;
745 void (*ap_configured_cb)(
void *ctx,
void *data);
746 void *ap_configured_cb_ctx;
747 void *ap_configured_cb_data;
754 unsigned int mesh_if_created:1;
755 unsigned int mesh_ht_enabled:1;
756 int mesh_auth_block_duration;
759 unsigned int off_channel_freq;
760 struct wpabuf *pending_action_tx;
761 u8 pending_action_src[ETH_ALEN];
762 u8 pending_action_dst[ETH_ALEN];
763 u8 pending_action_bssid[ETH_ALEN];
764 unsigned int pending_action_freq;
765 int pending_action_no_cck;
766 int pending_action_without_roc;
767 unsigned int pending_action_tx_done:1;
769 unsigned int freq,
const u8 *dst,
770 const u8 *src,
const u8 *bssid,
771 const u8 *data,
size_t data_len,
774 unsigned int roc_waiting_drv_freq;
775 int action_tx_wait_time;
781 int create_p2p_iface;
782 u8 pending_interface_addr[ETH_ALEN];
783 char pending_interface_name[100];
784 int pending_interface_type;
786 unsigned int pending_listen_freq;
787 unsigned int pending_listen_duration;
789 NOT_P2P_GROUP_INTERFACE,
790 P2P_GROUP_INTERFACE_PENDING,
791 P2P_GROUP_INTERFACE_GO,
792 P2P_GROUP_INTERFACE_CLIENT
793 } p2p_group_interface;
798 u8 p2p_auth_invite[ETH_ALEN];
799 int p2p_sd_over_ctrl_iface;
800 int p2p_in_provisioning;
801 int p2p_in_invitation;
802 int p2p_invite_go_freq;
803 int pending_invite_ssid_id;
804 int show_group_started;
805 u8 go_dev_addr[ETH_ALEN];
806 int pending_pd_before_join;
807 u8 pending_join_iface_addr[ETH_ALEN];
808 u8 pending_join_dev_addr[ETH_ALEN];
809 int pending_join_wps_method;
810 u8 p2p_join_ssid[SSID_MAX_LEN];
811 size_t p2p_join_ssid_len;
812 int p2p_join_scan_count;
813 int auto_pd_scan_retry;
815 u16 pending_pd_config_methods;
817 NORMAL_PD, AUTO_PD_GO_NEG, AUTO_PD_JOIN, AUTO_PD_ASP
824 int cross_connect_disallowed;
831 int cross_connect_enabled;
834 int cross_connect_in_use;
839 char cross_connect_uplink[100];
841 unsigned int p2p_auto_join:1;
842 unsigned int p2p_auto_pd:1;
843 unsigned int p2p_persistent_group:1;
844 unsigned int p2p_fallback_to_go_neg:1;
845 unsigned int p2p_pd_before_go_neg:1;
846 unsigned int p2p_go_ht40:1;
847 unsigned int p2p_go_vht:1;
848 unsigned int user_initiated_pd:1;
849 unsigned int p2p_go_group_formation_completed:1;
850 unsigned int group_formation_reported:1;
851 unsigned int waiting_presence_resp;
852 int p2p_first_connection_timeout;
853 unsigned int p2p_nfc_tag_enabled:1;
854 unsigned int p2p_peer_oob_pk_hash_known:1;
855 unsigned int p2p_disable_ip_addr_req:1;
856 unsigned int p2ps_method_config_any:1;
857 unsigned int p2p_cli_probe:1;
858 int p2p_persistent_go_freq;
859 int p2p_persistent_id;
861 int p2p_connect_freq;
863 struct wpa_ssid *p2p_last_4way_hs_fail;
868 u16 p2p_oob_dev_pw_id;
869 struct wpabuf *p2p_oob_dev_pw;
871 u8 p2p_peer_oob_pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN];
872 u8 p2p_ip_addr_info[3 * 4];
875 int *p2p_group_common_freqs;
876 unsigned int p2p_group_common_freqs_num;
877 u8 p2ps_join_addr[ETH_ALEN];
888 struct wpa_ssid *connect_without_scan;
896 unsigned int wps_freq;
897 int wps_fragment_size;
898 int auto_reconnect_disabled;
903 int best_overall_freq;
907 #ifdef CONFIG_INTERWORKING
908 unsigned int fetch_anqp_in_progress:1;
909 unsigned int network_select:1;
910 unsigned int auto_select:1;
911 unsigned int auto_network_select:1;
912 unsigned int interworking_fast_assoc_tried:1;
913 unsigned int fetch_all_anqp:1;
914 unsigned int fetch_osu_info:1;
915 unsigned int fetch_osu_waiting_scan:1;
916 unsigned int fetch_osu_icon_in_progress:1;
917 struct wpa_bss *interworking_gas_bss;
918 unsigned int osu_icon_id;
920 size_t osu_prov_count;
922 unsigned int num_osu_scans;
923 unsigned int num_prov_found;
925 unsigned int drv_capa_known;
932 enum local_hw_capab {
943 int pno_sched_pending;
946 int disconnect_reason;
950 struct wpabuf *last_gas_resp, *prev_gas_resp;
951 u8 last_gas_addr[ETH_ALEN], prev_gas_addr[ETH_ALEN];
952 u8 last_gas_dialog_token, prev_gas_dialog_token;
954 unsigned int no_keep_alive:1;
955 unsigned int ext_mgmt_frame_handling:1;
956 unsigned int ext_eapol_frame_io:1;
957 unsigned int wmm_ac_supported:1;
958 unsigned int ext_work_in_progress:1;
959 unsigned int own_disconnect_req:1;
961 #define MAC_ADDR_RAND_SCAN BIT(0)
962 #define MAC_ADDR_RAND_SCHED_SCAN BIT(1)
963 #define MAC_ADDR_RAND_PNO BIT(2)
964 #define MAC_ADDR_RAND_ALL (MAC_ADDR_RAND_SCAN | \
965 MAC_ADDR_RAND_SCHED_SCAN | \
967 unsigned int mac_addr_rand_supported;
968 unsigned int mac_addr_rand_enable;
972 u8 *mac_addr_sched_scan;
978 u8 wnm_num_neighbor_report;
980 u16 wnm_dissoc_timer;
981 u8 wnm_bss_termination_duration[12];
984 u8 wnm_cand_from_bss[ETH_ALEN];
987 #ifdef CONFIG_TESTING_GET_GTK
992 unsigned int num_multichan_concurrent;
995 unsigned int ext_work_id;
997 struct wpabuf *vendor_elem[NUM_VENDOR_ELEM_FRAMES];
999 #ifdef CONFIG_TESTING_OPTIONS
1001 unsigned int extra_roc_dur;
1002 enum wpa_supplicant_test_failure test_failure;
1008 u8 wmm_ac_last_dialog_token;
1010 u8 last_tspecs_count;
1015 struct fst_iface *fst;
1016 const struct wpabuf *fst_ies;
1017 struct wpabuf *received_mb_ies;
1023 void wpa_supplicant_apply_ht_overrides(
1026 void wpa_supplicant_apply_vht_overrides(
1031 int wpa_supplicant_set_wpa_none_key(
struct wpa_supplicant *wpa_s,
1037 int wpa_supplicant_update_mac_addr(
struct wpa_supplicant *wpa_s);
1041 u8 *wpa_ie,
size_t *wpa_ie_len);
1051 void wpa_supplicant_reinit_autoscan(
struct wpa_supplicant *wpa_s);
1067 const char *pkcs11_engine_path,
1068 const char *pkcs11_module_path);
1072 unsigned int expire_age);
1074 unsigned int expire_count);
1078 int debug_level,
int debug_timestamp,
1079 int debug_show_keys);
1082 void wpa_show_license(
void);
1091 const char *ifname);
1098 void wpa_supplicant_terminate_proc(
struct wpa_global *global);
1100 const u8 *buf,
size_t len);
1103 void wpas_connection_failed(
struct wpa_supplicant *wpa_s,
const u8 *bssid);
1106 void wpas_auth_failed(
struct wpa_supplicant *wpa_s,
char *reason);
1108 struct wpa_ssid *ssid,
int clear_failures);
1109 int disallowed_bssid(
struct wpa_supplicant *wpa_s,
const u8 *bssid);
1110 int disallowed_ssid(
struct wpa_supplicant *wpa_s,
const u8 *ssid,
1113 int wpas_build_ext_capab(
struct wpa_supplicant *wpa_s, u8 *buf,
size_t buflen);
1114 int wpas_update_random_addr(
struct wpa_supplicant *wpa_s,
int style);
1115 int wpas_update_random_addr_disassoc(
struct wpa_supplicant *wpa_s);
1116 void add_freq(
int *freqs,
int *num_freqs,
int freq);
1120 const u8 *report,
size_t report_len);
1123 void (*cb)(
void *ctx,
1124 struct wpabuf *neighbor_rep),
1126 void wpas_rrm_handle_link_measurement_request(
struct wpa_supplicant *wpa_s,
1128 const u8 *frame,
size_t len,
1155 void wpa_supplicant_stop_countermeasures(
void *eloop_ctx,
void *sock_ctx);
1156 void wpa_supplicant_delayed_mic_error_report(
void *eloop_ctx,
void *sock_ctx);
1170 static inline int network_is_persistent_group(
struct wpa_ssid *ssid)
1180 void dump_freq_data(
struct wpa_supplicant *wpa_s,
const char *title,
1188 int *freq_array,
unsigned int len);
1190 void wpas_network_reenabled(
void *eloop_ctx,
void *timeout_ctx);
1196 void fst_wpa_supplicant_fill_iface_obj(
struct wpa_supplicant *wpa_s,
1197 struct fst_wpa_obj *iface_obj);
int p2p_persistent_group
Whether this is a persistent group.
Definition: config_ssid.h:580
Definition: wpa_supplicant_i.h:254
void wpa_supplicant_disable_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
Mark a configured network as disabled.
Definition: wpa_supplicant.c:2598
char * override_ctrl_interface
Optional ctrl_interface override.
Definition: wpa_supplicant_i.h:230
Definition: wpa_supplicant_i.h:356
void wpa_supplicant_rx_eapol(void *ctx, const u8 *src_addr, const u8 *buf, size_t len)
Deliver a received EAPOL frame to wpa_supplicant.
Definition: wpa_priv.c:1001
int wait_for_monitor
Wait for a monitor program before starting.
Definition: wpa_supplicant_i.h:141
Initial scan request.
Definition: wpa_supplicant_i.h:613
Wi-Fi Protected Setup - message definitions.
Definition: ctrl_iface_named_pipe.c:548
const char * wpa_supplicant_get_eap_mode(struct wpa_supplicant *wpa_s)
Get the current EAP mode.
Definition: wpa_supplicant.c:4715
Normal scan request.
Definition: wpa_supplicant_i.h:603
Manual scan request.
Definition: wpa_supplicant_i.h:623
void wpas_request_connection(struct wpa_supplicant *wpa_s)
Request a new connection.
Definition: wpa_supplicant.c:5491
Radio work item.
Definition: wpa_supplicant_i.h:334
Definition: wpa_supplicant_i.h:417
wpa_supplicant/hostapd control interface library
hostapd per-interface data structure
Definition: hostapd.h:291
const char * driver_param
Driver interface parameters.
Definition: wpa_supplicant_i.h:96
Simultaneous authentication of equals.
Definition: wpa_supplicant_i.h:368
WPA Supplicant / Network configuration structures.
int wpa_supplicant_set_bss_expiration_age(struct wpa_supplicant *wpa_s, unsigned int expire_age)
Set BSS entry expiration age.
Definition: wpa_supplicant.c:2824
char * conf_p2p_dev
Configuration file used to hold the P2P Device configuration parameters.
Definition: wpa_supplicant_i.h:249
Definition: autoscan.h:10
void wpa_supplicant_deinit(struct wpa_global *global)
Deinitialize wpa_supplicant.
Definition: wpa_supplicant.c:4964
int wpa_debug_syslog
Enable log output through syslog.
Definition: wpa_supplicant_i.h:204
WPA Supplicant - Common definitions.
Scan parameters Data for struct wpa_driver_ops::scan2().
Definition: driver.h:306
int wpa_supplicant_reload_configuration(struct wpa_supplicant *wpa_s)
Reload configuration data.
Definition: wpa_supplicant.c:877
char * ctrl_interface
Global ctrl_iface path/parameter.
Definition: wpa_supplicant_i.h:180
void wpa_supplicant_req_auth_timeout(struct wpa_supplicant *wpa_s, int sec, int usec)
Schedule a timeout for authentication.
Definition: wpa_supplicant.c:213
Internal, global data for all wpa_supplicant interfaces.
Definition: wpa_supplicant_i.h:273
const char * ctrl_interface
Control interface parameter.
Definition: wpa_supplicant_i.h:78
const char * driver
Driver interface name, or NULL to use the default driver.
Definition: wpa_supplicant_i.h:84
char * override_driver
Optional driver parameter override.
Definition: wpa_supplicant_i.h:220
int wpa_supplicant_set_scan_interval(struct wpa_supplicant *wpa_s, int scan_interval)
Set scan interval.
Definition: wpa_supplicant.c:2870
int wpa_supplicant_driver_init(struct wpa_supplicant *wpa_s)
Initialize driver interface parameters.
Definition: wpa_supplicant.c:3276
wpa_supplicant configuration data
Definition: config.h:367
wpa_states
wpa_supplicant state
Definition: defs.h:161
int wpa_supplicant_set_bss_expiration_count(struct wpa_supplicant *wpa_s, unsigned int expire_count)
Set BSS entry expiration scan count.
Definition: wpa_supplicant.c:2847
ADDTS Request Information.
Definition: wmm_ac.h:90
void wpa_supplicant_set_state(struct wpa_supplicant *wpa_s, enum wpa_states state)
Set current connection state.
Definition: wpa_supplicant.c:708
Definition: blacklist.h:8
void wpa_supplicant_cancel_auth_timeout(struct wpa_supplicant *wpa_s)
Cancel authentication timeout.
Definition: wpa_supplicant.c:235
struct wpa_ssid * wpa_supplicant_get_ssid(struct wpa_supplicant *wpa_s)
Get a pointer to the current network structure.
Definition: wpa_supplicant.c:2933
const char * bridge_ifname
Optional bridge interface name.
Definition: wpa_supplicant_i.h:113
char * entropy_file
Optional entropy file.
Definition: wpa_supplicant_i.h:239
Internal GAS query data.
Definition: gas_query.c:54
Definition: l2_packet_freebsd.c:32
Definition: ieee802_1x_kay.h:88
int wpa_debug_timestamp
Whether to include timestamp in debug messages.
Definition: wpa_supplicant_i.h:174
int wpa_debug_tracing
Enable log output through Linux tracing.
Definition: wpa_supplicant_i.h:210
P2P module data (internal to P2P module)
Definition: p2p_i.h:177
int extra_blacklist_count
Sum of blacklist counts after last connection.
Definition: wpa_supplicant_i.h:589
Supported hardware mode information.
Definition: driver.h:132
Definition: wpa_supplicant_i.h:379
Doubly-linked list.
Definition: list.h:12
void wpa_supplicant_associate(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, struct wpa_ssid *ssid)
Request association.
Definition: wpa_supplicant.c:1579
int wpas_rrm_send_neighbor_rep_request(struct wpa_supplicant *wpa_s, const struct wpa_ssid *ssid, void(*cb)(void *ctx, struct wpabuf *neighbor_rep), void *cb_ctx)
Request a neighbor report from our AP.
Definition: wpa_supplicant.c:5706
Association parameters Data for struct wpa_driver_ops::associate().
Definition: driver.h:578
const char * confname
Configuration name (file or profile) name.
Definition: wpa_supplicant_i.h:57
int wpa_supplicant_scard_init(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
Initialize SIM/USIM access with PC/SC.
Definition: events.c:381
Definition: wpa_supplicant_i.h:386
Definition: ext_password.c:26
offchannel_send_action_result
Result of offchannel send Action frame.
Definition: wpa_supplicant_i.h:378
const char * confanother
Additional configuration name (file or profile) name.
Definition: wpa_supplicant_i.h:66
struct wpa_global * wpa_supplicant_init(struct wpa_params *params)
Initialize wpa_supplicant.
Definition: wpa_supplicant.c:4798
Driver interface API definition.
Definition: driver.h:1746
WMM Admission Control Association Data.
Definition: wmm_ac.h:32
const char * wpa_supplicant_state_txt(enum wpa_states state)
Get the connection state name as a text string.
Definition: wpa_supplicant.c:591
P2P Group Owner Negotiation results.
Definition: p2p.h:85
Definition: pcsc_funcs.c:106
BSS table.
Definition: bss.h:52
Parameters for wpa_supplicant_add_iface()
Definition: wpa_supplicant_i.h:48
char * pid_file
Path to a PID (process ID) file.
Definition: wpa_supplicant_i.h:150
int wpa_supplicant_set_debug_params(struct wpa_global *global, int debug_level, int debug_timestamp, int debug_show_keys)
Set global debug params.
Definition: wpa_supplicant.c:2894
Definition: dbus_common_i.h:12
u8 * ssid
Service set identifier (network name)
Definition: config_ssid.h:115
Wi-Fi Multimedia Admission Control (WMM-AC) Copyright(c) 2014, Intel Mobile Communication GmbH...
void radio_work_done(struct wpa_radio_work *work)
Indicate that a radio work item has been completed.
Definition: wpa_supplicant.c:4096
Scan results.
Definition: driver.h:277
Definition: config_ssid.h:36
int wpa_supplicant_ctrl_iface_ctrl_rsp_handle(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, const char *field, const char *value)
Handle a control response.
Definition: wpa_supplicant.c:5208
Definition: wpa_supplicant_i.h:380
int wpa_supplicant_remove_iface(struct wpa_global *global, struct wpa_supplicant *wpa_s, int terminate)
Remove a network interface.
Definition: wpa_supplicant.c:4658
struct wpa_supplicant * wpa_supplicant_add_iface(struct wpa_global *global, struct wpa_interface *iface, struct wpa_supplicant *parent)
Add a new network interface.
Definition: wpa_supplicant.c:4575
int daemonize
Run wpa_supplicant in the background.
Definition: wpa_supplicant_i.h:135
int eap_register_methods(void)
Register statically linked EAP methods.
Definition: eap_register.c:20
Internal data for EAPOL state machines.
Definition: eapol_supp_sm.c:28
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
void wpa_supplicant_deauthenticate(struct wpa_supplicant *wpa_s, int reason_code)
Deauthenticate the current connection.
Definition: wpa_supplicant.c:2484
Definition: ieee802_11_defs.h:957
void wpa_supplicant_enable_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
Mark a configured network as enabled.
Definition: wpa_supplicant.c:2564
Definition: hs20_supplicant.c:43
Channel parameters.
Definition: driver.h:510
void wpa_supplicant_initiate_eapol(struct wpa_supplicant *wpa_s)
Configure EAPOL state machine.
Definition: wpa_supplicant.c:250
int wpas_set_pkcs11_engine_and_module_path(struct wpa_supplicant *wpa_s, const char *pkcs11_engine_path, const char *pkcs11_module_path)
Set PKCS #11 engine and module path.
Definition: wpa_supplicant.c:2735
Internal data for per-radio information.
Definition: wpa_supplicant_i.h:322
Internal WPA state machine data.
Definition: wpa_i.h:18
Internal P2P module per-group data.
Definition: p2p_group.c:31
const char * wpa_debug_file_path
Path of debug file or NULL to use stdout.
Definition: wpa_supplicant_i.h:198
void wpa_clear_keys(struct wpa_supplicant *wpa_s, const u8 *addr)
Clear keys configured for the driver.
Definition: wpa_supplicant.c:555
void wpa_supplicant_select_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
Attempt association with a network.
Definition: wpa_supplicant.c:2651
int p2p_mgmt
Interface used for P2P management (P2P Device operations)
Definition: wpa_supplicant_i.h:123
char * ctrl_interface_group
Global ctrl_iface group.
Definition: wpa_supplicant_i.h:186
int radio_add_work(struct wpa_supplicant *wpa_s, unsigned int freq, const char *type, int next, void(*cb)(struct wpa_radio_work *work, int deinit), void *ctx)
Add a radio work item.
Definition: wpa_supplicant.c:4056
int wpa_debug_level
Debugging verbosity level (e.g., MSG_INFO)
Definition: wpa_supplicant_i.h:156
int wpa_supplicant_run(struct wpa_global *global)
Run the wpa_supplicant main event loop.
Definition: wpa_supplicant.c:4933
Parameters for wpa_supplicant_init()
Definition: wpa_supplicant_i.h:130
int wpa_supplicant_set_ap_scan(struct wpa_supplicant *wpa_s, int ap_scan)
Set AP scan mode for interface.
Definition: wpa_supplicant.c:2784
int wpa_supplicant_set_suites(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, struct wpa_ssid *ssid, u8 *wpa_ie, size_t *wpa_ie_len)
Set authentication and encryption parameters.
Definition: wpa_supplicant.c:1027
Network configuration data.
Definition: config_ssid.h:52
const char * ifname
Interface name.
Definition: wpa_supplicant_i.h:102
Definition: wpa_supplicant_i.h:407
Definition: wpa_supplicant_i.h:260
int wpa_debug_show_keys
Whether keying material is included in debug.
Definition: wpa_supplicant_i.h:168
Definition: wpa_supplicant_i.h:382
void wpa_supplicant_set_non_wpa_policy(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
Set WPA parameters to non-WPA mode.
Definition: wpa_supplicant.c:336
Long term WPS context data.
Definition: wps.h:623
Definition: wpa_supplicant_i.h:399
int dbus_ctrl_interface
Enable the DBus control interface.
Definition: wpa_supplicant_i.h:192
Definition: ibss_rsn.h:42
int disabled
Whether this network is currently disabled.
Definition: config_ssid.h:402
struct wpa_supplicant * wpa_supplicant_get_iface(struct wpa_global *global, const char *ifname)
Get a new network interface.
Definition: wpa_supplicant.c:4738
Definition: ctrl_iface_named_pipe.c:72
scan_req_type
Type of the scan request.
Definition: wpa_supplicant_i.h:595