Home
last modified time | relevance | path

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

123456789

/external/wpa_supplicant_8/wpa_supplicant/
Dblacklist.c22 const u8 *bssid) in wpa_blacklist_get() argument
26 if (wpa_s == NULL || bssid == NULL) in wpa_blacklist_get()
31 if (os_memcmp(e->bssid, bssid, ETH_ALEN) == 0) in wpa_blacklist_get()
56 int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid) in wpa_blacklist_add() argument
60 if (wpa_s == NULL || bssid == NULL) in wpa_blacklist_add()
63 e = wpa_blacklist_get(wpa_s, bssid); in wpa_blacklist_add()
68 MAC2STR(bssid), e->count); in wpa_blacklist_add()
75 os_memcpy(e->bssid, bssid, ETH_ALEN); in wpa_blacklist_add()
80 MAC2STR(bssid)); in wpa_blacklist_add()
92 int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid) in wpa_blacklist_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()
154 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
156 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
181 res = wpa_drv_send_action(wpa_s, wpa_s->assoc_freq, 0, wpa_s->bssid, in ieee802_11_send_wnmsleep_req()
182 wpa_s->own_addr, wpa_s->bssid, in ieee802_11_send_wnmsleep_req()
204 wpa_s->bssid, NULL, NULL); in wnm_sleep_mode_enter_success()
215 if (ieee80211_11_set_tfs_ie(wpa_s, wpa_s->bssid, in wnm_sleep_mode_enter_success()
230 wpa_drv_wnm_oper(wpa_s, WNM_SLEEP_EXIT_CONFIRM, wpa_s->bssid, in wnm_sleep_mode_exit_success()
396 wpa_s->bssid, NULL, NULL); in ieee802_11_rx_wnmsleep_resp()
[all …]
Dnotify.c99 if (wpa_s->fst && !is_zero_ether_addr(wpa_s->bssid)) { in wpas_notify_state_changed()
101 fst_notify_peer_connected(wpa_s->fst, wpa_s->bssid); in wpas_notify_state_changed()
104 fst_notify_peer_disconnected(wpa_s->fst, wpa_s->bssid); in wpas_notify_state_changed()
120 MAC2STR(wpa_s->bssid), in wpas_notify_state_changed()
428 u8 bssid[], unsigned int id) in wpas_notify_bss_added() argument
433 wpas_dbus_register_bss(wpa_s, bssid, id); in wpas_notify_bss_added()
435 id, MAC2STR(bssid)); in wpas_notify_bss_added()
440 u8 bssid[], unsigned int id) in wpas_notify_bss_removed() argument
445 wpas_dbus_unregister_bss(wpa_s, bssid, id); in wpas_notify_bss_removed()
447 id, MAC2STR(bssid)); in wpas_notify_bss_removed()
[all …]
Devents.c136 struct wpa_supplicant *wpa_s, const u8 *bssid) in wpa_supplicant_get_new_bss() argument
142 bss = wpa_bss_get(wpa_s, bssid, ssid->ssid, ssid->ssid_len); in wpa_supplicant_get_new_bss()
144 bss = wpa_bss_get_bssid(wpa_s, bssid); in wpa_supplicant_get_new_bss()
152 struct wpa_bss *bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); in wpa_supplicant_update_current_bss()
158 bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); in wpa_supplicant_update_current_bss()
211 if (disallowed_bssid(wpa_s, wpa_s->bssid) || in wpa_supplicant_select_config()
305 bssid_changed = !is_zero_ether_addr(wpa_s->bssid); in wpa_supplicant_mark_disassoc()
306 os_memset(wpa_s->bssid, 0, ETH_ALEN); in wpa_supplicant_mark_disassoc()
376 MAC2STR(data->pmkid_candidate.bssid), in wpa_supplicant_event_pmkid_candidate()
380 pmksa_candidate_add(wpa_s->wpa, data->pmkid_candidate.bssid, in wpa_supplicant_event_pmkid_candidate()
[all …]
Dhs20_supplicant.c50 u8 bssid[ETH_ALEN]; member
71 u8 *bssid = wpa_s->bssid; in hs20_configure_frame_filters() local
79 " is not a Hotspot 2.0 network", MAC2STR(bssid)); in hs20_configure_frame_filters()
305 os_memcpy(icon_entry->bssid, dst, ETH_ALEN); in hs20_anqp_send_req()
323 const u8 *bssid, in hs20_find_icon() argument
329 if (os_memcmp(icon->bssid, bssid, ETH_ALEN) == 0 && in hs20_find_icon()
338 int hs20_get_icon(struct wpa_supplicant *wpa_s, const u8 *bssid, in hs20_get_icon() argument
349 MAC2STR(bssid), file_name, (unsigned int) offset, in hs20_get_icon()
352 icon = hs20_find_icon(wpa_s, bssid, file_name); in hs20_get_icon()
379 MAC2STR(icon->bssid), icon->dialog_token, in hs20_free_icon_entry()
[all …]
Dbss.c244 " SSID '%s' due to %s", bss->id, MAC2STR(bss->bssid), in wpa_bss_remove()
246 wpas_notify_bss_removed(wpa_s, bss->bssid, bss->id); in wpa_bss_remove()
260 struct wpa_bss * wpa_bss_get(struct wpa_supplicant *wpa_s, const u8 *bssid, in wpa_bss_get() argument
264 if (!wpa_supplicant_filter_bssid_match(wpa_s, bssid)) in wpa_bss_get()
267 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0 && in wpa_bss_get()
298 os_memcpy(dst->bssid, src->bssid, ETH_ALEN); in wpa_bss_copy_res()
381 return !is_zero_ether_addr(bss->bssid) && in wpa_bss_in_use()
382 (os_memcmp(bss->bssid, wpa_s->bssid, ETH_ALEN) == 0 || in wpa_bss_in_use()
383 os_memcmp(bss->bssid, wpa_s->pending_bssid, ETH_ALEN) == 0); in wpa_bss_in_use()
461 bss->id, MAC2STR(bss->bssid), wpa_ssid_txt(ssid, ssid_len), in wpa_bss_add()
[all …]
Dblacklist.h14 u8 bssid[ETH_ALEN]; member
19 const u8 *bssid);
20 int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid);
21 int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid);
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_blacklist_add(wpa_s, bssid); in wpas_wps_eapol_cb()
207 bss = wpa_bss_get(wpa_s, wpa_s->bssid, in wpas_wps_security_workaround()
283 if (os_memcmp(ssid->bssid, new_ssid->bssid, ETH_ALEN) != in wpas_wps_remove_dup_network()
730 wpas_p2p_wps_success(wpa_s, wpa_s->bssid, 0); in wpa_supplicant_wps_event_success()
1005 const u8 *bssid) in wpas_wps_add_network() argument
1030 if (bssid) { in wpas_wps_add_network()
[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,
71 const u8 *bssid,
89 void wpas_wps_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *bssid);
149 const u8 *bssid) in wpas_wps_notify_assoc() argument
Dsme.c88 const u8 *bssid, int external, in sme_auth_build_sae_commit() argument
119 os_memcmp(bssid, wpa_s->sme.sae.tmp->bssid, ETH_ALEN) == 0) { in sme_auth_build_sae_commit()
129 if (sae_prepare_commit(wpa_s->own_addr, bssid, in sme_auth_build_sae_commit()
137 os_memcpy(wpa_s->sme.sae.tmp->bssid, bssid, ETH_ALEN); in sme_auth_build_sae_commit()
278 params.bssid = bss->bssid; in sme_send_authentication()
343 bssid_changed = !is_zero_ether_addr(wpa_s->bssid); in sme_send_authentication()
344 os_memset(wpa_s->bssid, 0, ETH_ALEN); in sme_send_authentication()
345 os_memcpy(wpa_s->pending_bssid, bss->bssid, ETH_ALEN); in sme_send_authentication()
363 if (pmksa_cache_set_current(wpa_s->wpa, NULL, bss->bssid, in sme_send_authentication()
642 pmksa_cache_set_current(wpa_s->wpa, NULL, bss->bssid, ssid, 0, in sme_send_authentication()
[all …]
Dwpas_glue.c141 u8 *msg, *dst, bssid[ETH_ALEN]; in wpa_supplicant_eapol_send() local
188 if (is_zero_ether_addr(wpa_s->bssid)) { in wpa_supplicant_eapol_send()
191 if (wpa_drv_get_bssid(wpa_s, bssid) == 0 && in wpa_supplicant_eapol_send()
192 !is_zero_ether_addr(bssid)) { in wpa_supplicant_eapol_send()
193 dst = bssid; in wpa_supplicant_eapol_send()
207 dst = wpa_s->bssid; in wpa_supplicant_eapol_send()
244 unicast ? wpa_s->bssid : NULL, in wpa_eapol_set_wep_key()
380 if (os_memcmp(bss->bssid, wpa_s->bssid, ETH_ALEN) != 0) in wpa_get_beacon_ie()
481 static int wpa_supplicant_get_bssid(void *ctx, u8 *bssid) in wpa_supplicant_get_bssid() argument
484 return wpa_drv_get_bssid(wpa_s, bssid); in wpa_supplicant_get_bssid()
[all …]
/external/wpa_supplicant_8/src/rsn_supp/
Dpreauth.c28 u8 bssid[ETH_ALEN]; member
326 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL, NULL, 0); in rsn_preauth_candidate_process()
327 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 && in rsn_preauth_candidate_process()
332 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process()
334 rsn_preauth_init(sm, candidate->bssid, in rsn_preauth_candidate_process()
341 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process()
345 wpa_sm_add_pmkid(sm, NULL, candidate->bssid, p->pmkid, in rsn_preauth_candidate_process()
368 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, in pmksa_candidate_add() argument
375 bssid, 0); in pmksa_candidate_add()
388 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
/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()
45 os_memset(nr->bssid, 0, sizeof(nr->bssid)); in hostapd_neighbor_clear_entry()
66 int hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid, in hostapd_neighbor_set() argument
73 entry = hostapd_neighbor_get(hapd, bssid, ssid); in hostapd_neighbor_set()
81 os_memcpy(entry->bssid, bssid, ETH_ALEN); in hostapd_neighbor_set()
105 hostapd_neighbor_remove(hapd, bssid, ssid); in hostapd_neighbor_set()
110 int hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid, in hostapd_neighbor_remove() argument
115 nr = hostapd_neighbor_get(hapd, bssid, ssid); in hostapd_neighbor_remove()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dhidl_manager.cpp725 uint8_t *bssid; in notifyStateChange() local
730 bssid = wpa_s->pending_bssid; in notifyStateChange()
732 bssid = wpa_s->bssid; in notifyStateChange()
740 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()
861 std::placeholders::_1, bssid, hidl_anqp_data, in notifyAnqpQueryDone()
875 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name, in notifyHs20IconQueryDone() argument
878 if (!wpa_s || !bssid || !file_name || !image) in notifyHs20IconQueryDone()
889 std::placeholders::_1, bssid, file_name, in notifyHs20IconQueryDone()
[all …]
Dhidl.cpp188 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *result, in wpas_hidl_notify_anqp_query_done() argument
191 if (!wpa_s || !wpa_s->global->hidl || !bssid || !result || !anqp) in wpas_hidl_notify_anqp_query_done()
197 MAC2STR(bssid), result); in wpas_hidl_notify_anqp_query_done()
203 hidl_manager->notifyAnqpQueryDone(wpa_s, bssid, result, anqp); in wpas_hidl_notify_anqp_query_done()
207 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name, in wpas_hidl_notify_hs20_icon_query_done() argument
210 if (!wpa_s || !wpa_s->global->hidl || !bssid || !file_name || !image) in wpas_hidl_notify_hs20_icon_query_done()
217 MAC2STR(bssid), file_name); in wpas_hidl_notify_hs20_icon_query_done()
224 wpa_s, bssid, file_name, image, image_length); in wpas_hidl_notify_hs20_icon_query_done()
517 const u8 *bssid, int id, int op_freq) in wpas_hidl_notify_p2p_invitation_received() argument
519 if (!wpa_s || !sa || !go_dev_addr || !bssid) in wpas_hidl_notify_p2p_invitation_received()
[all …]
Dhidl.h42 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *result,
45 struct wpa_supplicant *wpa_s, const u8 *bssid,
84 const u8 *bssid, int id, int op_freq);
86 struct wpa_supplicant *wpa_s, int status, const u8 *bssid);
144 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *result, in wpas_hidl_notify_anqp_query_done() argument
148 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name, in wpas_hidl_notify_hs20_icon_query_done() argument
196 const u8 *bssid, int id, int op_freq) in wpas_hidl_notify_p2p_invitation_received() argument
199 struct wpa_supplicant *wpa_s, int status, const u8 *bssid) in wpas_hidl_notify_p2p_invitation_result() argument
/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/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/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…
/external/wpa_supplicant_8/src/fst/
Dfst_group.c40 mbie->chan, MAC2STR(mbie->bssid), mbie->beacon_int, in fst_dump_mb_ies()
54 static void fst_fill_mb_ie(struct wpabuf *buf, const u8 *bssid, in fst_fill_mb_ie() argument
76 if (bssid) in fst_fill_mb_ie()
77 os_memcpy(mbie->bssid, bssid, ETH_ALEN); in fst_fill_mb_ie()
92 const u8 *bssid; in fst_fill_iface_mb_ies() local
94 bssid = fst_iface_get_bssid(f); in fst_fill_iface_mb_ies()
95 if (bssid) { in fst_fill_iface_mb_ies()
101 fst_fill_mb_ie(buf, bssid, fst_iface_get_addr(f), in fst_fill_iface_mb_ies()
184 peer_addr = mbie->bssid; in fst_mbie_get_peer_addr()
/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/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_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…

123456789