Searched refs:bssid (Results 26 - 50 of 184) sorted by relevance

12345678

/freebsd-13-stable/tools/tools/net80211/scripts/
H A Dsetup.simple219 WLAN=`ifconfig wlan create wlanmode hostap wlandev $WIRELESS bssid`
/freebsd-13-stable/contrib/wpa/wpa_supplicant/examples/
H A Dwpas-dbus-new-signals.py54 bssid = ""
56 bssid = bssid + ":%02x" % item
57 bssid = bssid[1:]
83 print(" %s :: ssid='%s' wpa=%s wpa2=%s signal=%d rate=%d freq=%d" % (bssid, ssid, wpa, wpa2, signal, maxrate, freq))
/freebsd-13-stable/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c90 const u8 *bssid = wpa_s->bssid; local
91 if (is_zero_ether_addr(bssid))
92 bssid = wpa_s->pending_bssid;
96 "suitable AP", MAC2STR(bssid));
97 wpa_blacklist_add(wpa_s, bssid);
207 bss = wpa_bss_get(wpa_s, wpa_s->bssid,
283 if (os_memcmp(ssid->bssid, new_ssid->bssid, ETH_ALEN) !=
730 wpas_p2p_wps_success(wpa_s, wpa_s->bssid,
1003 wpas_wps_add_network(struct wpa_supplicant *wpa_s, int registrar, const u8 *dev_addr, const u8 *bssid) argument
1110 wpas_wps_reassoc(struct wpa_supplicant *wpa_s, struct wpa_ssid *selected, const u8 *bssid, int freq) argument
1146 wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid, int p2p_group, int multi_ap_backhaul_sta) argument
1204 wpas_wps_start_dev_pw(struct wpa_supplicant *wpa_s, const u8 *dev_addr, const u8 *bssid, const char *pin, int p2p_group, u16 dev_pw_id, const u8 *peer_pubkey_hash, const u8 *ssid_val, size_t ssid_len, int freq) argument
1299 wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid, const char *pin, int p2p_group, u16 dev_pw_id) argument
1360 wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid, const char *pin, struct wps_new_ap_settings *settings) argument
2310 wpas_wps_start_nfc(struct wpa_supplicant *wpa_s, const u8 *go_dev_addr, const u8 *bssid, const struct wpabuf *dev_pw, u16 dev_pw_id, int p2p_group, const u8 *peer_pubkey_hash, const u8 *ssid, size_t ssid_len, int freq) argument
2602 const u8 *bssid = NULL; local
2853 wpas_wps_get_ap_info(struct wpa_supplicant *wpa_s, const u8 *bssid) argument
2949 wpas_wps_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *bssid) argument
[all...]
H A Dhs20_supplicant.c49 u8 bssid[ETH_ALEN]; member in struct:osu_provider
70 u8 *bssid = wpa_s->bssid; local
78 " is not a Hotspot 2.0 network", MAC2STR(bssid));
304 os_memcpy(icon_entry->bssid, dst, ETH_ALEN);
322 const u8 *bssid,
328 if (os_memcmp(icon->bssid, bssid, ETH_ALEN) == 0 &&
337 int hs20_get_icon(struct wpa_supplicant *wpa_s, const u8 *bssid, argument
348 MAC2STR(bssid), file_nam
321 hs20_find_icon(struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name) argument
387 hs20_del_icon(struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name) argument
[all...]
H A Dwpas_glue.c141 u8 *msg, *dst, bssid[ETH_ALEN]; local
188 if (is_zero_ether_addr(wpa_s->bssid)) {
191 if (wpa_drv_get_bssid(wpa_s, bssid) == 0 &&
192 !is_zero_ether_addr(bssid)) {
193 dst = bssid;
207 dst = wpa_s->bssid;
244 unicast ? wpa_s->bssid : NULL,
380 if (os_memcmp(bss->bssid, wpa_s->bssid, ETH_ALEN) != 0)
481 static int wpa_supplicant_get_bssid(void *ctx, u8 *bssid) argument
543 wpa_supplicant_add_pmkid(void *_wpa_s, void *network_ctx, const u8 *bssid, const u8 *pmkid, const u8 *fils_cache_id, const u8 *pmk, size_t pmk_len) argument
573 wpa_supplicant_remove_pmkid(void *_wpa_s, void *network_ctx, const u8 *bssid, const u8 *pmkid, const u8 *fils_cache_id) argument
[all...]
H A Dsme.c88 const u8 *bssid, int external,
119 os_memcmp(bssid, wpa_s->sme.sae.tmp->bssid, ETH_ALEN) == 0) {
129 if (sae_prepare_commit(wpa_s->own_addr, bssid,
137 os_memcpy(wpa_s->sme.sae.tmp->bssid, bssid, ETH_ALEN);
278 params.bssid = bss->bssid;
343 bssid_changed = !is_zero_ether_addr(wpa_s->bssid);
344 os_memset(wpa_s->bssid,
86 sme_auth_build_sae_commit(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, const u8 *bssid, int external, int reuse) argument
935 sme_external_auth_send_sae_commit(struct wpa_supplicant *wpa_s, const u8 *bssid, struct wpa_ssid *ssid) argument
1130 const u8 *bssid = sa ? sa : wpa_s->pending_bssid; local
1440 sme_associate(struct wpa_supplicant *wpa_s, enum wpas_mode mode, const u8 *bssid, u16 auth_type) argument
[all...]
H A Dnotify.h60 void wpas_notify_bss_added(struct wpa_supplicant *wpa_s, u8 bssid[],
62 void wpas_notify_bss_removed(struct wpa_supplicant *wpa_s, u8 bssid[],
108 int status, const u8 *bssid);
138 const u8 *addr, const u8 *dst, const u8 *bssid,
149 const u8 *bssid, int id, int op_freq);
H A Dwnm_sta.h25 u8 bssid[ETH_ALEN]; member in struct:neighbor_report
H A Drrm.c261 if (wpa_drv_send_action(wpa_s, wpa_s->assoc_freq, 0, wpa_s->bssid,
262 wpa_s->own_addr, wpa_s->bssid,
384 if (wpa_drv_send_action(wpa_s, wpa_s->assoc_freq, 0, wpa_s->bssid,
385 wpa_s->own_addr, wpa_s->bssid,
917 if (os_memcmp(data->bssid, broadcast_ether_addr, ETH_ALEN) != 0 &&
918 os_memcmp(data->bssid, bss->bssid, ETH_ALEN) != 0)
934 os_memcpy(rep.bssid, bss->bssid, ETH_ALEN);
1175 os_memcpy(data->bssid, re
[all...]
H A Dwpa_priv.c264 params.bssid = auth->bssid;
298 u8 *bssid; local
316 bssid = assoc->bssid;
317 if (bssid[0] | bssid[1] | bssid[2] | bssid[3] | bssid[
344 u8 bssid[ETH_ALEN]; local
[all...]
H A Dp2p_supplicant.h127 int wpas_p2p_deauth_notif(struct wpa_supplicant *wpa_s, const u8 *bssid,
130 void wpas_p2p_disassoc_notif(struct wpa_supplicant *wpa_s, const u8 *bssid,
176 const u8 *dst, const u8 *bssid,
188 const u8 *sa, const u8 *bssid,
238 const u8 *dst, const u8 *bssid,
264 const u8 *sa, const u8 *bssid,
236 wpas_p2p_probe_req_rx(struct wpa_supplicant *wpa_s, const u8 *addr, const u8 *dst, const u8 *bssid, const u8 *ie, size_t ie_len, unsigned int rx_freq, int ssi_signal) argument
262 wpas_p2p_rx_action(struct wpa_supplicant *wpa_s, const u8 *da, const u8 *sa, const u8 *bssid, u8 category, const u8 *data, size_t len, int freq) argument
/freebsd-13-stable/contrib/wpa/src/fst/
H A Dfst_group.c35 "%s: %s: mb_ctrl=%u band_id=%u op_class=%u chan=%u bssid="
40 mbie->chan, MAC2STR(mbie->bssid), mbie->beacon_int,
54 static void fst_fill_mb_ie(struct wpabuf *buf, const u8 *bssid, argument
76 if (bssid)
77 os_memcpy(mbie->bssid, bssid, ETH_ALEN);
92 const u8 *bssid; local
94 bssid = fst_iface_get_bssid(f);
95 if (bssid) {
101 fst_fill_mb_ie(buf, bssid, fst_iface_get_add
[all...]
/freebsd-13-stable/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new.h176 u8 bssid[ETH_ALEN], unsigned int id);
178 u8 bssid[ETH_ALEN], unsigned int id);
225 int status, const u8 *bssid);
246 const u8 *addr, const u8 *dst, const u8 *bssid,
256 const u8 *bssid, int id,
352 u8 bssid[ETH_ALEN], unsigned int id)
358 u8 bssid[ETH_ALEN], unsigned int id)
485 const u8 *bssid)
562 const u8 *bssid,
589 const u8 *bssid, in
351 wpas_dbus_unregister_bss(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN], unsigned int id) argument
357 wpas_dbus_register_bss(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN], unsigned int id) argument
483 wpas_dbus_signal_p2p_invitation_result( struct wpa_supplicant *wpa_s, int status, const u8 *bssid) argument
560 wpas_dbus_signal_preq(struct wpa_supplicant *wpa_s, const u8 *addr, const u8 *dst, const u8 *bssid, const u8 *ie, size_t ie_len, u32 ssi_signal) argument
587 wpas_dbus_signal_p2p_invitation_received(struct wpa_supplicant *wpa_s, const u8 *sa, const u8 *dev_addr, const u8 *bssid, int id, int op_freq) argument
[all...]
/freebsd-13-stable/contrib/wpa/src/drivers/
H A Ddriver_openbsd.c47 wpa_driver_openbsd_get_bssid(void *priv, u8 *bssid) argument
56 os_memcpy(bssid, id.i_bssid, IEEE80211_ADDR_LEN);
H A Ddriver_ndis.c645 static int wpa_driver_ndis_get_bssid(void *priv, u8 *bssid) argument
654 os_memcpy(bssid, pae_group_addr, ETH_ALEN);
658 return ndis_get_oid(drv, OID_802_11_BSSID, (char *) bssid, ETH_ALEN) <
878 os_memcpy(r->bssid, bss->MacAddress, ETH_ALEN);
905 const u8 *bssid, int pairwise)
917 os_memcpy(rkey.BSSID, bssid, ETH_ALEN);
977 u8 bssid[ETH_ALEN]; local
982 if (wpa_driver_ndis_get_bssid(drv, bssid) < 0)
983 os_memset(bssid, 0xff, ETH_ALEN);
987 os_memcpy(bssid, add
903 wpa_driver_ndis_remove_key(struct wpa_driver_ndis_data *drv, int key_idx, const u8 *addr, const u8 *bssid, int pairwise) argument
1229 const u8 *bssid = params->bssid; local
1274 const u8 *bssid = params->bssid; local
1455 u8 bssid[ETH_ALEN]; local
[all...]
H A Ddriver_nl80211_scan.c359 if (params->bssid) {
361 MACSTR, MAC2STR(params->bssid));
362 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid))
752 os_memcpy(r->bssid, nla_data(bss[NL80211_BSS_BSSID]),
882 MACSTR " as associated", MAC2STR(r->bssid));
886 clear_state_mismatch(drv, r->bssid);
888 os_memcmp(drv->bssid, r->bssid, ETH_ALEN) != 0) {
892 MAC2STR(drv->bssid));
893 clear_state_mismatch(drv, r->bssid);
[all...]
H A Ddriver.h299 * @bssid: BSSID
334 u8 bssid[ETH_ALEN]; member in struct:wpa_scan_res
540 * bssid - Specific BSSID to scan for
546 const u8 *bssid; member in struct:wpa_driver_scan_params
635 const u8 *bssid; member in struct:wpa_driver_auth_params
817 * bssid - BSSID of the selected AP
820 const u8 *bssid; member in struct:wpa_driver_associate_params
827 * selection. Unlike the @bssid parameter, @bssid_hint does not limit
1918 const u8 *bssid; member in struct:wpa_init_params
2159 u8 *bssid; member in struct:wpa_bss_trans_info
2165 u8 bssid[ETH_ALEN]; member in struct:wpa_bss_candidate_info::candidate_list
2172 const u8 *bssid; member in struct:wpa_pmkid_params
2212 const u8 *bssid; member in struct:external_auth
5114 u8 bssid[ETH_ALEN]; member in struct:wpa_event_data::pmkid_candidate
5184 u8 bssid[ETH_ALEN]; member in struct:wpa_event_data::auth_info
5199 const u8 *bssid; member in struct:wpa_event_data::assoc_reject
5262 const u8 *bssid; member in struct:wpa_event_data::rx_from_unknown
5360 const u8 *bssid; member in struct:wpa_event_data::rx_probe_req
5447 const u8 *bssid; member in struct:wpa_event_data::driver_gtk_rekey
[all...]
H A Ddriver_nl80211_event.c240 event.assoc_reject.bssid = mgmt->bssid;
254 os_memcpy(drv->bssid, mgmt->sa, ETH_ALEN);
335 event.assoc_reject.bssid = nla_data(addr);
338 if (!event.assoc_reject.bssid ||
339 (os_memcmp(event.assoc_reject.bssid,
385 os_memcpy(drv->bssid, nla_data(addr), ETH_ALEN);
386 os_memcpy(drv->prev_bssid, drv->bssid, ETH_ALEN);
663 "nl80211: RX frame da=" MACSTR " sa=" MACSTR " bssid=" MACSTR
665 MAC2STR(mgmt->da), MAC2STR(mgmt->sa), MAC2STR(mgmt->bssid),
722 const u8 *bssid = NULL; local
1801 u8 *bssid; local
[all...]
/freebsd-13-stable/contrib/wpa/src/rsn_supp/
H A Dpmksa_cache.h79 const u8 *bssid, void *network_ctx,
148 const u8 *bssid,
147 pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, const u8 *bssid, void *network_ctx, int try_opportunistic, const u8 *fils_cache_id, int akmp) argument
H A Dwpa.h35 int (*get_bssid)(void *ctx, u8 *bssid);
42 int (*add_pmkid)(void *ctx, void *network_ctx, const u8 *bssid,
45 int (*remove_pmkid)(void *ctx, void *network_ctx, const u8 *bssid,
122 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
125 const u8 *pmkid, const u8 *bssid);
164 const u8 *pmkid, const u8 *bssid,
166 int wpa_sm_pmksa_exists(struct wpa_sm *sm, const u8 *bssid,
194 static inline void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument
204 const u8 *bssid)
453 int fils_process_auth(struct wpa_sm *sm, const u8 *bssid, cons
202 wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len, const u8 *pmkid, const u8 *bssid) argument
[all...]
H A Dwpa_i.h72 u8 bssid[ETH_ALEN]; member in struct:wpa_sm
213 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) argument
216 return sm->ctx->get_bssid(sm->ctx->ctx, bssid);
248 const u8 *bssid, const u8 *pmkid,
253 return sm->ctx->add_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid,
258 const u8 *bssid, const u8 *pmkid,
262 return sm->ctx->remove_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid,
247 wpa_sm_add_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid, const u8 *cache_id, const u8 *pmk, size_t pmk_len) argument
257 wpa_sm_remove_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid, const u8 *cache_id) argument
H A Dpmksa_cache.c99 pmksa_cache_get(pmksa, pmksa->sm->bssid, NULL, NULL, 0);
477 * @bssid: BSSID for PMKSA or %NULL if not used
484 const u8 *bssid, void *network_ctx,
495 if (bssid)
497 MAC2STR(bssid));
507 if (sm->cur_pmksa == NULL && bssid)
508 sm->cur_pmksa = pmksa_cache_get(pmksa, bssid, NULL,
510 if (sm->cur_pmksa == NULL && try_opportunistic && bssid)
513 bssid, akmp);
483 pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, const u8 *bssid, void *network_ctx, int try_opportunistic, const u8 *fils_cache_id, int akmp) argument
/freebsd-13-stable/sys/dev/usb/wlan/
H A Dif_uathreg.h233 uint32_t bssid; /* NB: use zero */ member in struct:uath_cmd_join_bss
234 uint32_t bssmac[2]; /* bssid mac address */
253 uint32_t bssid; member in struct:uath_cmd_assoc_bss
258 uint32_t bssid; member in struct:uath_cmd_start_bss
289 uint8_t bssid[IEEE80211_ADDR_LEN]; member in struct:uath_connkey_rec
352 uint32_t bssid; member in struct:uath_cmd_create_connection
423 uint32_t bssid[2]; member in struct:uath_cmd_set_associd
561 uint32_t bssid; member in struct:uath_cmd_update_bss_attribute
568 uint32_t bssid; member in struct:uath_cmd_update_bss_attribute_key
/freebsd-13-stable/contrib/wpa/src/common/
H A Dgas_server.c160 const u8 *bssid, int freq, u8 dialog_token,
290 const u8 *bssid, int freq, u8 dialog_token)
314 * @bssid: BSSID of the Action frame
322 const u8 *bssid, u8 categ, const u8 *data, size_t len,
347 MAC2STR(da), MAC2STR(sa), MAC2STR(bssid), freq, dialog_token,
351 return gas_server_rx_initial_req(gas, da, sa, bssid,
354 return gas_server_rx_comeback_req(gas, da, sa, bssid,
159 gas_server_rx_initial_req(struct gas_server *gas, const u8 *da, const u8 *sa, const u8 *bssid, int freq, u8 dialog_token, const u8 *data, size_t len) argument
289 gas_server_rx_comeback_req(struct gas_server *gas, const u8 *da, const u8 *sa, const u8 *bssid, int freq, u8 dialog_token) argument
321 gas_server_rx(struct gas_server *gas, const u8 *da, const u8 *sa, const u8 *bssid, u8 categ, const u8 *data, size_t len, int freq) argument
H A Dhw_features_common.c237 MAC2STR(bss->bssid));
259 MACSTR " freq=%d", MAC2STR(bss->bssid), bss->freq);
269 MACSTR " freq=%d", MAC2STR(bss->bssid), bss->freq);
324 MAC2STR(bss->bssid), bss->freq, pri_chan, sec_chan);
332 MAC2STR(bss->bssid),
351 MACSTR, pri, MAC2STR(bss->bssid));

Completed in 290 milliseconds

12345678