Home
last modified time | relevance | path

Searched refs:wpa_ssid (Results 1 – 25 of 60) sorted by relevance

123

/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dsta_network.cpp677 struct wpa_ssid *wpa_ssid = retrieveNetworkPtr(); in setSsidInternal() local
685 ssid.data(), ssid.size(), &(wpa_ssid->ssid), in setSsidInternal()
686 &(wpa_ssid->ssid_len), "ssid")) { in setSsidInternal()
689 if (wpa_ssid->passphrase) { in setSsidInternal()
690 wpa_config_update_psk(wpa_ssid); in setSsidInternal()
698 struct wpa_ssid *wpa_ssid = retrieveNetworkPtr(); in setBssidInternal() local
699 int prev_bssid_set = wpa_ssid->bssid_set; in setBssidInternal()
701 os_memcpy(prev_bssid, wpa_ssid->bssid, ETH_ALEN); in setBssidInternal()
704 wpa_ssid->bssid_set = 0; in setBssidInternal()
707 os_memcpy(wpa_ssid->bssid, bssid.data(), ETH_ALEN); in setBssidInternal()
[all …]
Dp2p_network.cpp150 struct wpa_ssid *wpa_ssid = retrieveNetworkPtr(); in getSsidInternal() local
152 {wpa_ssid->ssid, wpa_ssid->ssid + wpa_ssid->ssid_len}}; in getSsidInternal()
158 struct wpa_ssid *wpa_ssid = retrieveNetworkPtr(); in getBssidInternal() local
160 if (wpa_ssid->bssid_set) { in getBssidInternal()
161 os_memcpy(bssid.data(), wpa_ssid->bssid, ETH_ALEN); in getBssidInternal()
169 struct wpa_ssid *wpa_ssid = retrieveNetworkPtr(); in isCurrentInternal() local
171 (wpa_s->current_ssid == wpa_ssid)}; in isCurrentInternal()
176 struct wpa_ssid *wpa_ssid = retrieveNetworkPtr(); in isPersistentInternal() local
177 return {{SupplicantStatusCode::SUCCESS, ""}, (wpa_ssid->disabled == 2)}; in isPersistentInternal()
182 struct wpa_ssid *wpa_ssid = retrieveNetworkPtr(); in isGoInternal() local
[all …]
Dhidl.h32 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
34 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
37 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
73 struct wpa_supplicant *wpa_s, const struct wpa_ssid *ssid, int persistent,
76 struct wpa_supplicant *wpa_s, const struct wpa_ssid *ssid,
104 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpas_hidl_register_network()
109 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpas_hidl_unregister_network()
118 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, in wpas_hidl_notify_network_request()
179 struct wpa_supplicant *wpa_s, const struct wpa_ssid *ssid, int persistent, in wpas_hidl_notify_p2p_group_started()
184 struct wpa_supplicant *wpa_s, const struct wpa_ssid *ssid, const char *role) in wpas_hidl_notify_p2p_group_removed()
Dhidl.cpp117 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpas_hidl_register_network()
133 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpas_hidl_unregister_network()
165 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, in wpas_hidl_notify_network_request()
476 struct wpa_supplicant *wpa_s, const struct wpa_ssid *ssid, int persistent, in wpas_hidl_notify_p2p_group_started()
494 struct wpa_supplicant *wpa_s, const struct wpa_ssid *ssid, const char *role) in wpas_hidl_notify_p2p_group_removed()
Dp2p_iface.cpp523 struct wpa_ssid* ssid = wpa_supplicant_add_network(wpa_s); in addNetworkInternal()
554 struct wpa_ssid* ssid = wpa_config_get_network(wpa_s->conf, id); in getNetworkInternal()
573 for (struct wpa_ssid* wpa_ssid = wpa_s->conf->ssid; wpa_ssid; in listNetworksInternal() local
574 wpa_ssid = wpa_ssid->next) { in listNetworksInternal()
575 network_ids.emplace_back(wpa_ssid->id); in listNetworksInternal()
757 struct wpa_ssid* ssid = in addGroupInternal()
827 struct wpa_ssid* ssid = in reinvokeInternal()
Dsta_iface.cpp515 struct wpa_ssid *ssid = wpa_supplicant_add_network(wpa_s); in addNetworkInternal()
546 struct wpa_ssid *ssid = wpa_config_get_network(wpa_s->conf, id); in getNetworkInternal()
565 for (struct wpa_ssid *wpa_ssid = wpa_s->conf->ssid; wpa_ssid; in listNetworksInternal() local
566 wpa_ssid = wpa_ssid->next) { in listNetworksInternal()
567 network_ids.emplace_back(wpa_ssid->id); in listNetworksInternal()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant_i.h356 struct wpa_ssid *ssid;
360 struct wpa_ssid *test_ssid);
527 struct wpa_ssid *current_ssid;
528 struct wpa_ssid *last_ssid;
554 struct wpa_ssid *next_ssid;
559 struct wpa_ssid *prev_scan_ssid; /* previously scanned SSID;
565 #define WILDCARD_SSID_SCAN ((struct wpa_ssid *) 1)
567 struct wpa_ssid *prev_sched_ssid; /* last SSID used in sched scan */
915 struct wpa_ssid *p2p_last_4way_hs_fail;
936 struct wpa_ssid *bgscan_ssid;
[all …]
Dconfig.h352 struct wpa_ssid *ssid;
357 struct wpa_ssid **pssid;
1352 void wpa_config_free_ssid(struct wpa_ssid *ssid);
1354 void (*func)(void *, struct wpa_ssid *),
1356 struct wpa_ssid * wpa_config_get_network(struct wpa_config *config, int id);
1357 struct wpa_ssid * wpa_config_add_network(struct wpa_config *config);
1359 void wpa_config_set_network_defaults(struct wpa_ssid *ssid);
1360 int wpa_config_set(struct wpa_ssid *ssid, const char *var, const char *value,
1362 int wpa_config_set_quoted(struct wpa_ssid *ssid, const char *var,
1369 char ** wpa_config_get_all(struct wpa_ssid *ssid, int get_keys);
[all …]
Dnotify.h34 struct wpa_ssid *ssid);
36 struct wpa_ssid *ssid);
38 struct wpa_ssid *ssid,
53 struct wpa_ssid *ssid);
55 struct wpa_ssid *ssid);
99 const struct wpa_ssid *ssid,
120 struct wpa_ssid *ssid, int persistent,
125 struct wpa_ssid *ssid);
127 struct wpa_ssid *ssid);
142 struct wpa_ssid *ssid);
[all …]
Dwps_supplicant.h31 enum wps_request_type wpas_wps_get_req_type(struct wpa_ssid *ssid);
41 struct wpa_ssid *ssid, struct wpa_bss *bss);
43 struct wpa_ssid *ssid, struct wpa_bss *bss);
45 struct wpa_bss *selected, struct wpa_ssid *ssid);
66 int ndef, struct wpa_ssid * ssid);
108 static inline u8 wpas_wps_get_req_type(struct wpa_ssid *ssid) in wpas_wps_get_req_type()
114 struct wpa_ssid *ssid, in wpas_wps_ssid_bss_match()
121 struct wpa_ssid *ssid, in wpas_wps_ssid_wildcard_ok()
129 struct wpa_ssid *ssid) in wpas_wps_scan_pbc_overlap()
Dwpas_kay.h15 struct wpa_ssid *ssid);
21 struct wpa_ssid *ssid);
26 struct wpa_ssid *ssid) in ieee802_1x_alloc_kay_sm()
44 struct wpa_ssid *ssid) in ieee802_1x_create_preshared_mka()
Dbgscan.h13 struct wpa_ssid;
19 const struct wpa_ssid *ssid);
32 int bgscan_init(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
54 struct wpa_ssid *ssid, const char name) in bgscan_init()
Dconfig.c41 int (*parser)(const struct parse_data *data, struct wpa_ssid *ssid,
47 char * (*writer)(const struct parse_data *data, struct wpa_ssid *ssid);
64 struct wpa_ssid *ssid, in wpa_config_parse_str()
180 struct wpa_ssid *ssid) in wpa_config_write_str()
200 struct wpa_ssid *ssid, in wpa_config_parse_int()
241 struct wpa_ssid *ssid) in wpa_config_write_int()
356 struct wpa_ssid *ssid, int line, in wpa_config_parse_bssid()
378 struct wpa_ssid *ssid) in wpa_config_write_bssid()
401 struct wpa_ssid *ssid, int line, in wpa_config_parse_bssid_blacklist()
413 struct wpa_ssid *ssid) in wpa_config_write_bssid_blacklist()
[all …]
Dconfig_winreg.c283 static struct wpa_ssid * wpa_config_read_network(HKEY hk, const TCHAR *netw, in wpa_config_read_network()
289 struct wpa_ssid *ssid; in wpa_config_read_network()
375 struct wpa_ssid *ssid, *tail = NULL, *head = NULL; in wpa_config_read_networks()
682 static void write_str(HKEY hk, const char *field, struct wpa_ssid *ssid) in write_str()
702 static void write_bssid(HKEY hk, struct wpa_ssid *ssid) in write_bssid()
712 static void write_psk(HKEY hk, struct wpa_ssid *ssid) in write_psk()
722 static void write_proto(HKEY hk, struct wpa_ssid *ssid) in write_proto()
738 static void write_key_mgmt(HKEY hk, struct wpa_ssid *ssid) in write_key_mgmt()
754 static void write_pairwise(HKEY hk, struct wpa_ssid *ssid) in write_pairwise()
770 static void write_group(HKEY hk, struct wpa_ssid *ssid) in write_group()
[all …]
Dnotify.c208 struct wpa_ssid *ssid) in wpas_notify_network_enabled_changed()
218 struct wpa_ssid *ssid) in wpas_notify_network_selected()
228 struct wpa_ssid *ssid, in wpas_notify_network_request()
344 struct wpa_ssid *ssid) in wpas_notify_network_added()
363 struct wpa_ssid *ssid) in wpas_notify_persistent_group_added()
373 struct wpa_ssid *ssid) in wpas_notify_persistent_group_removed()
383 struct wpa_ssid *ssid) in wpas_notify_network_removed()
641 const struct wpa_ssid *ssid, in wpas_notify_p2p_group_removed()
732 struct wpa_ssid *ssid, int persistent, in wpas_notify_p2p_group_started()
892 struct wpa_ssid *ssid) in wpas_notify_network_bssid_set_changed()
[all …]
Dconfig_file.c127 static int wpa_config_validate_network(struct wpa_ssid *ssid, int line) in wpa_config_validate_network()
166 static struct wpa_ssid * wpa_config_read_network(FILE *f, int *line, int id) in wpa_config_read_network()
168 struct wpa_ssid *ssid; in wpa_config_read_network()
371 struct wpa_ssid *ssid, *tail, *head; in wpa_config_read()
478 static void write_str(FILE *f, const char *field, struct wpa_ssid *ssid) in write_str()
496 static void write_bssid(FILE *f, struct wpa_ssid *ssid) in write_bssid()
506 static void write_psk(FILE *f, struct wpa_ssid *ssid) in write_psk()
521 static void write_proto(FILE *f, struct wpa_ssid *ssid) in write_proto()
537 static void write_key_mgmt(FILE *f, struct wpa_ssid *ssid) in write_key_mgmt()
553 static void write_pairwise(FILE *f, struct wpa_ssid *ssid) in write_pairwise()
[all …]
Dp2p_supplicant.h43 int freq, struct wpa_ssid *ssid);
48 struct wpa_ssid *ssid, int addr_allocated,
55 struct wpa_ssid *ssid);
118 struct wpa_ssid *ssid, const u8 *go_dev_addr, int freq,
139 struct wpa_ssid * wpas_p2p_get_persistent(struct wpa_supplicant *wpa_s,
204 struct wpa_ssid *ssid);
320 struct wpa_ssid *ssid) in wpas_p2p_network_removed()
Dwpas_glue.h17 struct wpa_ssid *ssid);
25 void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
Dconfig_ssid.h55 struct wpa_ssid { struct
62 struct wpa_ssid *next; argument
71 struct wpa_ssid *pnext; argument
Dhs20_supplicant.h21 int is_hs20_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
23 int hs20_get_pps_mo_id(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
Dwps_supplicant.c118 struct wpa_ssid *ssid = NULL; in wpas_wps_eapol_cb()
183 struct wpa_ssid *ssid, in wpas_wps_security_workaround()
264 struct wpa_ssid *new_ssid) in wpas_wps_remove_dup_network()
266 struct wpa_ssid *ssid, *next; in wpas_wps_remove_dup_network()
363 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_wps_cred()
652 struct wpa_ssid *ssid; in wpas_wps_reenable_networks()
907 enum wps_request_type wpas_wps_get_req_type(struct wpa_ssid *ssid) in wpas_wps_get_req_type()
920 struct wpa_ssid *ssid, *remove_ssid = NULL, *prev_current; in wpas_clear_wps()
983 static struct wpa_ssid * wpas_wps_add_network(struct wpa_supplicant *wpa_s, in wpas_wps_add_network()
987 struct wpa_ssid *ssid; in wpas_wps_add_network()
[all …]
Dsme.h15 struct wpa_bss *bss, struct wpa_ssid *ssid);
46 struct wpa_ssid *ssid) in sme_authenticate()
Dwpas_glue.c374 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_get_beacon_ie()
517 static struct wpa_ssid * wpas_get_network_ctx(struct wpa_supplicant *wpa_s, in wpas_get_network_ctx()
520 struct wpa_ssid *ssid; in wpas_get_network_ctx()
535 struct wpa_ssid *ssid; in wpa_supplicant_add_pmkid()
549 struct wpa_ssid *ssid; in wpa_supplicant_remove_pmkid()
834 void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, in wpas_send_ctrl_req()
869 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_eap_param_needed()
918 struct wpa_ssid *ssid; in wpa_sm_sim_state_error_handler()
1201 struct wpa_ssid *ssid) in wpa_supplicant_rsn_supp_set_config()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.h18 struct wpa_ssid;
143 struct wpa_ssid *ssid);
146 struct wpa_ssid *ssid,
159 struct wpa_ssid *ssid);
199 struct wpa_ssid *ssid);
203 const struct wpa_ssid *ssid);
205 struct wpa_ssid *ssid);
269 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpas_dbus_signal_network_enabled_changed()
279 struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, in wpas_dbus_signal_network_request()
315 struct wpa_ssid *ssid) in wpas_dbus_register_network()
[all …]
Ddbus_old_handlers.h50 struct wpa_ssid *ssid);
54 struct wpa_ssid *ssid);
58 struct wpa_ssid *ssid);

123