Home
last modified time | relevance | path

Searched refs:bssid (Results 1 – 25 of 207) sorted by relevance

123456789

/external/wpa_supplicant_8/wpa_supplicant/
Dbssid_ignore.c22 const u8 *bssid) in wpa_bssid_ignore_get() argument
26 if (wpa_s == NULL || bssid == NULL) in wpa_bssid_ignore_get()
40 if (os_memcmp(e->bssid, bssid, ETH_ALEN) == 0) in wpa_bssid_ignore_get()
65 int wpa_bssid_ignore_add(struct wpa_supplicant *wpa_s, const u8 *bssid) in wpa_bssid_ignore_add() argument
70 if (wpa_s == NULL || bssid == NULL) in wpa_bssid_ignore_add()
73 e = wpa_bssid_ignore_get(wpa_s, bssid); in wpa_bssid_ignore_add()
90 MAC2STR(bssid), e->count, e->timeout_secs); in wpa_bssid_ignore_add()
97 os_memcpy(e->bssid, bssid, ETH_ALEN); in wpa_bssid_ignore_add()
105 MAC2STR(bssid), e->timeout_secs); in wpa_bssid_ignore_add()
117 int wpa_bssid_ignore_del(struct wpa_supplicant *wpa_s, const u8 *bssid) in wpa_bssid_ignore_del() argument
[all …]
Dbgscan_learn.c24 u8 bssid[ETH_ALEN]; member
52 static int bssid_in_array(u8 *array, size_t array_len, const u8 *bssid) in bssid_in_array() argument
60 if (os_memcmp(array + i * ETH_ALEN, bssid, ETH_ALEN) == 0) in bssid_in_array()
69 const u8 *bssid) in bgscan_learn_add_neighbor() argument
73 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0) in bgscan_learn_add_neighbor()
75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid)) in bgscan_learn_add_neighbor()
82 os_memcpy(n + bss->num_neigh * ETH_ALEN, bssid, ETH_ALEN); in bgscan_learn_add_neighbor()
89 struct bgscan_learn_data *data, const u8 *bssid) in bgscan_learn_get_bss() argument
94 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0) in bgscan_learn_get_bss()
130 if (hwaddr_aton(buf + 4, bss->bssid) < 0) { in bgscan_learn_load()
[all …]
Dwnm_sta.c38 return wpa_drv_wnm_oper(wpa_s, oper, wpa_s->bssid, buf, buf_len); in ieee80211_11_get_tfs_ie()
72 MAC2STR(wpa_s->bssid)); in ieee802_11_send_wnmsleep_req()
163 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
165 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
190 res = wpa_drv_send_action(wpa_s, wpa_s->assoc_freq, 0, wpa_s->bssid, in ieee802_11_send_wnmsleep_req()
191 wpa_s->own_addr, wpa_s->bssid, in ieee802_11_send_wnmsleep_req()
213 wpa_s->bssid, NULL, NULL); in wnm_sleep_mode_enter_success()
224 if (ieee80211_11_set_tfs_ie(wpa_s, wpa_s->bssid, in wnm_sleep_mode_enter_success()
239 wpa_drv_wnm_oper(wpa_s, WNM_SLEEP_EXIT_CONFIRM, wpa_s->bssid, in wnm_sleep_mode_exit_success()
413 wpa_s->bssid, NULL, NULL); in ieee802_11_rx_wnmsleep_resp()
[all …]
Dbssid_ignore.h14 u8 bssid[ETH_ALEN]; member
26 const u8 *bssid);
27 int wpa_bssid_ignore_add(struct wpa_supplicant *wpa_s, const u8 *bssid);
28 int wpa_bssid_ignore_del(struct wpa_supplicant *wpa_s, const u8 *bssid);
29 int wpa_bssid_ignore_is_listed(struct wpa_supplicant *wpa_s, const u8 *bssid);
Dpasn_supplicant.c31 u8 bssid[ETH_ALEN]; member
58 static void wpas_pasn_auth_status(struct wpa_supplicant *wpa_s, const u8 *bssid, in wpas_pasn_auth_status() argument
63 MAC2STR(bssid), wpa_key_mgmt_txt(akmp, WPA_PROTO_RSN), in wpas_pasn_auth_status()
95 ret = sae_prepare_commit(wpa_s->own_addr, pasn->bssid, in wpas_pasn_wd_sae_commit()
369 bss = wpa_bss_get_bssid(wpa_s, pasn->bssid); in wpas_pasn_wd_fils_auth()
534 pasn->bssid, pasn->akmp); in wpas_pasn_wd_fils_rx()
643 wpa_pasn_build_auth_header(buf, pasn->bssid, in wpas_pasn_build_auth_1()
644 wpa_s->own_addr, pasn->bssid, in wpas_pasn_build_auth_1()
650 pasn->bssid, in wpas_pasn_build_auth_1()
664 pmksa = wpa_sm_pmksa_cache_get(wpa_s->wpa, pasn->bssid, in wpas_pasn_build_auth_1()
[all …]
Dnotify.c100 if (wpa_s->fst && !is_zero_ether_addr(wpa_s->bssid)) { in wpas_notify_state_changed()
102 fst_notify_peer_connected(wpa_s->fst, wpa_s->bssid); in wpas_notify_state_changed()
105 fst_notify_peer_disconnected(wpa_s->fst, wpa_s->bssid); in wpas_notify_state_changed()
121 MAC2STR(wpa_s->bssid), in wpas_notify_state_changed()
152 const u8 *bssid, u8 timed_out, in wpas_notify_assoc_status_code() argument
160 wpas_hidl_notify_assoc_reject(wpa_s, bssid, timed_out, assoc_resp_ie, assoc_resp_ie_len); in wpas_notify_assoc_status_code()
440 u8 bssid[], unsigned int id) in wpas_notify_bss_added() argument
445 wpas_dbus_register_bss(wpa_s, bssid, id); in wpas_notify_bss_added()
447 id, MAC2STR(bssid)); in wpas_notify_bss_added()
452 u8 bssid[], unsigned int id) in wpas_notify_bss_removed() argument
[all …]
Devents.c138 struct wpa_supplicant *wpa_s, const u8 *bssid) in wpa_supplicant_get_new_bss() argument
144 bss = wpa_bss_get(wpa_s, bssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_get_new_bss()
146 bss = wpa_bss_get_bssid(wpa_s, bssid); in wpa_supplicant_get_new_bss()
154 struct wpa_bss *bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); in wpa_supplicant_update_current_bss()
160 bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); in wpa_supplicant_update_current_bss()
223 if (disallowed_bssid(wpa_s, wpa_s->bssid) || in wpa_supplicant_select_config()
317 bssid_changed = !is_zero_ether_addr(wpa_s->bssid); in wpa_supplicant_mark_disassoc()
318 os_memset(wpa_s->bssid, 0, ETH_ALEN); in wpa_supplicant_mark_disassoc()
393 MAC2STR(data->pmkid_candidate.bssid), in wpa_supplicant_event_pmkid_candidate()
397 pmksa_candidate_add(wpa_s->wpa, data->pmkid_candidate.bssid, in wpa_supplicant_event_pmkid_candidate()
[all …]
Dbss.c232 " SSID '%s' due to %s", bss->id, MAC2STR(bss->bssid), in wpa_bss_remove()
234 wpas_notify_bss_removed(wpa_s, bss->bssid, bss->id); in wpa_bss_remove()
248 struct wpa_bss * wpa_bss_get(struct wpa_supplicant *wpa_s, const u8 *bssid, in wpa_bss_get() argument
252 if (!wpa_supplicant_filter_bssid_match(wpa_s, bssid)) in wpa_bss_get()
255 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0 && in wpa_bss_get()
286 os_memcpy(dst->bssid, src->bssid, ETH_ALEN); in wpa_bss_copy_res()
348 if (os_memcmp(bss->bssid, wpa_s->pending_join_iface_addr, in is_p2p_pending_bss()
390 return !is_zero_ether_addr(bss->bssid) && in wpa_bss_in_use()
391 (os_memcmp(bss->bssid, wpa_s->bssid, ETH_ALEN) == 0 || in wpa_bss_in_use()
392 os_memcmp(bss->bssid, wpa_s->pending_bssid, ETH_ALEN) == 0); in wpa_bss_in_use()
[all …]
Dwps_supplicant.c90 const u8 *bssid = wpa_s->bssid; in wpas_wps_eapol_cb() local
91 if (is_zero_ether_addr(bssid)) in wpas_wps_eapol_cb()
92 bssid = wpa_s->pending_bssid; in wpas_wps_eapol_cb()
96 "suitable AP", MAC2STR(bssid)); in wpas_wps_eapol_cb()
97 wpa_bssid_ignore_add(wpa_s, bssid); in wpas_wps_eapol_cb()
208 bss = wpa_bss_get(wpa_s, wpa_s->bssid, in wpas_wps_security_workaround()
287 if (os_memcmp(ssid->bssid, new_ssid->bssid, ETH_ALEN) != in wpas_wps_remove_dup_network()
733 wpas_p2p_wps_success(wpa_s, wpa_s->bssid, 0); in wpa_supplicant_wps_event_success()
1008 const u8 *bssid) in wpas_wps_add_network() argument
1033 if (bssid) { in wpas_wps_add_network()
[all …]
Dhs20_supplicant.c50 u8 bssid[ETH_ALEN]; member
71 u8 *bssid = wpa_s->bssid; in hs20_configure_frame_filters() local
84 " is not a Hotspot 2.0 network", MAC2STR(bssid)); in hs20_configure_frame_filters()
315 os_memcpy(icon_entry->bssid, dst, ETH_ALEN); in hs20_anqp_send_req()
333 const u8 *bssid, in hs20_find_icon() argument
339 if (os_memcmp(icon->bssid, bssid, ETH_ALEN) == 0 && in hs20_find_icon()
348 int hs20_get_icon(struct wpa_supplicant *wpa_s, const u8 *bssid, in hs20_get_icon() argument
359 MAC2STR(bssid), file_name, (unsigned int) offset, in hs20_get_icon()
362 icon = hs20_find_icon(wpa_s, bssid, file_name); in hs20_get_icon()
389 MAC2STR(icon->bssid), icon->dialog_token, in hs20_free_icon_entry()
[all …]
Dwps_supplicant.h32 int wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid,
34 int wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
38 int wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid,
72 const u8 *bssid,
90 void wpas_wps_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *bssid);
150 const u8 *bssid) in wpas_wps_notify_assoc() argument
Dnotify.h31 void wpas_notify_assoc_status_code(struct wpa_supplicant *wpa_s, const u8 *bssid, u8 timed_out,
65 void wpas_notify_bss_added(struct wpa_supplicant *wpa_s, u8 bssid[],
67 void wpas_notify_bss_removed(struct wpa_supplicant *wpa_s, u8 bssid[],
116 int status, const u8 *bssid);
146 const u8 *addr, const u8 *dst, const u8 *bssid,
157 const u8 *bssid, int id, int op_freq);
167 void wpas_notify_anqp_query_done(struct wpa_supplicant *wpa_s, const u8* bssid,
170 void wpas_notify_hs20_icon_query_done(struct wpa_supplicant *wpa_s, const u8* bssid,
/external/wpa_supplicant_8/src/rsn_supp/
Dpreauth.c28 u8 bssid[ETH_ALEN]; member
332 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL, NULL, 0); in rsn_preauth_candidate_process()
333 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 && in rsn_preauth_candidate_process()
338 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process()
340 rsn_preauth_init(sm, candidate->bssid, in rsn_preauth_candidate_process()
347 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process()
351 wpa_sm_add_pmkid(sm, NULL, candidate->bssid, p->pmkid, in rsn_preauth_candidate_process()
375 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, in pmksa_candidate_add() argument
382 bssid, 0); in pmksa_candidate_add()
395 if (os_memcmp(pos->bssid, bssid, ETH_ALEN) == 0) { in pmksa_candidate_add()
[all …]
Dpreauth.h21 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid,
23 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
55 static inline void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, in rsn_preauth_scan_result() argument
61 const u8 *bssid, in pmksa_candidate_add() argument
Dwpa_ft.c28 static void wpa_ft_pasn_store_r1kh(struct wpa_sm *sm, const u8 *bssid);
30 static void wpa_ft_pasn_store_r1kh(struct wpa_sm *sm, const u8 *bssid) in wpa_ft_pasn_store_r1kh() argument
79 sm->own_addr, sm->bssid, sm->pmk_r1_name, ptk, in wpa_derive_ptk_ft()
447 static int wpa_ft_install_ptk(struct wpa_sm *sm, const u8 *bssid) in wpa_ft_install_ptk() argument
464 if (wpa_sm_set_key(sm, alg, bssid, 0, 1, null_rsc, sizeof(null_rsc), in wpa_ft_install_ptk()
471 wpa_sm_store_ptk(sm, sm->bssid, sm->pairwise_cipher, in wpa_ft_install_ptk()
495 NULL, 0, sm->bssid, NULL, 0, mdie, 0); in wpa_ft_prepare_auth_request()
547 const u8 *bssid; in wpa_ft_process_response() local
670 bssid = target_ap; in wpa_ft_process_response()
672 wpa_ft_pasn_store_r1kh(sm, bssid); in wpa_ft_process_response()
[all …]
/external/wpa_supplicant_8/src/ap/
Dneighbor_db.c19 hostapd_neighbor_get(struct hostapd_data *hapd, const u8 *bssid, in hostapd_neighbor_get() argument
26 if (os_memcmp(bssid, nr->bssid, ETH_ALEN) == 0 && in hostapd_neighbor_get()
77 MAC2STR(nr->bssid), ssid, in hostapd_neighbor_show()
99 os_memset(nr->bssid, 0, sizeof(nr->bssid)); in hostapd_neighbor_clear_entry()
120 int hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid, in hostapd_neighbor_set() argument
127 entry = hostapd_neighbor_get(hapd, bssid, ssid); in hostapd_neighbor_set()
135 os_memcpy(entry->bssid, bssid, ETH_ALEN); in hostapd_neighbor_set()
159 hostapd_neighbor_remove(hapd, bssid, ssid); in hostapd_neighbor_set()
164 int hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid, in hostapd_neighbor_remove() argument
169 nr = hostapd_neighbor_get(hapd, bssid, ssid); in hostapd_neighbor_remove()
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
Dp2p_invite.py32 bssid = invite_result['BSSID']
33 print("BSSID = ", hex(bssid[0]) , ":" , \
34 hex(bssid[1]) , ":" , hex(bssid[2]) , ":", \
35 hex(bssid[3]) , ":" , hex(bssid[4]) , ":" , \
36 hex(bssid[5]))
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dhidl.h42 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *result,
45 struct wpa_supplicant *wpa_s, const u8 *bssid,
55 void wpas_hidl_notify_assoc_reject(struct wpa_supplicant *wpa_s, const u8 *bssid,
88 const u8 *bssid, int id, int op_freq);
90 struct wpa_supplicant *wpa_s, int status, const u8 *bssid);
160 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *result, in wpas_hidl_notify_anqp_query_done() argument
164 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name, in wpas_hidl_notify_hs20_icon_query_done() argument
177 static void wpas_hidl_notify_assoc_reject(struct wpa_supplicant *wpa_s, const u8 *bssid, in wpas_hidl_notify_assoc_reject() argument
216 const u8 *bssid, int id, int op_freq) in wpas_hidl_notify_p2p_invitation_received() argument
219 struct wpa_supplicant *wpa_s, int status, const u8 *bssid) in wpas_hidl_notify_p2p_invitation_result() argument
Dhidl.cpp194 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *result, in wpas_hidl_notify_anqp_query_done() argument
197 if (!wpa_s || !wpa_s->global->hidl || !bssid || !result || !anqp) in wpas_hidl_notify_anqp_query_done()
203 MAC2STR(bssid), result); in wpas_hidl_notify_anqp_query_done()
209 hidl_manager->notifyAnqpQueryDone(wpa_s, bssid, result, anqp); in wpas_hidl_notify_anqp_query_done()
213 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name, in wpas_hidl_notify_hs20_icon_query_done() argument
216 if (!wpa_s || !wpa_s->global->hidl || !bssid || !file_name || !image) in wpas_hidl_notify_hs20_icon_query_done()
223 MAC2STR(bssid), file_name); in wpas_hidl_notify_hs20_icon_query_done()
230 wpa_s, bssid, file_name, image, image_length); in wpas_hidl_notify_hs20_icon_query_done()
305 const u8 *bssid, u8 timed_out, const u8 *assoc_resp_ie, size_t assoc_resp_ie_len) in wpas_hidl_notify_assoc_reject() argument
318 hidl_manager->notifyAssocReject(wpa_s, bssid, timed_out, assoc_resp_ie, assoc_resp_ie_len); in wpas_hidl_notify_assoc_reject()
[all …]
Dhidl_manager.cpp716 uint8_t *bssid; in notifyStateChange() local
721 bssid = wpa_s->pending_bssid; in notifyStateChange()
723 bssid = wpa_s->bssid; in notifyStateChange()
738 bssid, hidl_network_id, hidl_ssid, in notifyStateChange()
818 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *result, in notifyAnqpQueryDone() argument
821 if (!wpa_s || !bssid || !result || !anqp) in notifyAnqpQueryDone()
871 std::placeholders::_1, bssid, hidl_anqp_data, in notifyAnqpQueryDone()
885 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name, in notifyHs20IconQueryDone() argument
888 if (!wpa_s || !bssid || !file_name || !image) in notifyHs20IconQueryDone()
899 std::placeholders::_1, bssid, file_name, in notifyHs20IconQueryDone()
[all …]
/external/iw/
Dconnect.c17 unsigned char bssid[6]; in iw_conn() local
40 if (mac_addr_a2n(bssid, argv[0]) == 0) { in iw_conn()
41 NLA_PUT(msg, NL80211_ATTR_MAC, 6, bssid); in iw_conn()
154 unsigned char bssid[6]; in iw_auth() local
167 if (mac_addr_a2n(bssid, argv[0]) == 0) { in iw_auth()
168 NLA_PUT(msg, NL80211_ATTR_MAC, 6, bssid); in iw_auth()
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/rdev_assoc/
Dformat12 field:u8 bssid[6]; offset:60; size:6; signed:0;
17 … "%s, netdev:%s(%d), bssid: %pM, previous bssid: %pM, use mfp: %s, flags: %u", REC->wiphy_name, RE…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/cfg80211/rdev_assoc/
Dformat12 field:u8 bssid[6]; offset:60; size:6; signed:0;
17 … "%s, netdev:%s(%d), bssid: %pM, previous bssid: %pM, use mfp: %s, flags: %u", REC->wiphy_name, RE…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/rdev_assoc/
Dformat12 field:u8 bssid[6]; offset:60; size:6; signed:0;
17 … "%s, netdev:%s(%d), bssid: %pM, previous bssid: %pM, use mfp: %s, flags: %u", REC->wiphy_name, RE…
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dwpas-dbus-new.py47 bssid = ""
49 bssid = bssid + ":%02x" % item
50 bssid = bssid[1:]
76 …print(" %s :: ssid='%s' wpa=%s wpa2=%s signal=%d rate=%d freq=%d" % (bssid, ssid, wpa, wpa…

123456789