/external/wpa_supplicant_8/src/rsn_supp/ |
H A D | wpa.c | 53 if (is_zero_ether_addr(dest) && is_zero_ether_addr(sm->bssid)) { 58 if (wpa_sm_get_bssid(sm, sm->bssid) < 0) { 63 dest = sm->bssid; 177 u8 bssid[ETH_ALEN], *rbuf, *key_mic, *mic; local 190 if (wpa_sm_get_bssid(sm, bssid) < 0) { 232 wpa_eapol_key_send(sm, &sm->ptk, ver, bssid, ETH_P_EAPOL, rbuf, rlen, 385 wpa_sm_ether_send(sm, sm->bssid, ETH_P_EAPOL, 510 sm->own_addr, sm->bssid, sm->snonce, 610 if (wpa_supplicant_send_2_of_4(sm, sm->bssid, key, ver, sm->snonce, 723 if (wpa_sm_set_key(sm, alg, sm->bssid, 2454 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument 2558 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 D | wpa_i.h | 69 u8 bssid[ETH_ALEN]; member in struct:wpa_sm 190 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) argument 193 return sm->ctx->get_bssid(sm->ctx->ctx, bssid); 225 const u8 *bssid, const u8 *pmkid) 228 return sm->ctx->add_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid); 232 const u8 *bssid, const u8 *pmkid) 235 return sm->ctx->remove_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid); 224 wpa_sm_add_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid) argument 231 wpa_sm_remove_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid) argument
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus_new.c | 770 (const char *) wpa_s->current_ssid->bssid, ETH_ALEN)) || 1442 * @bssid: Basic Service Set Identifier 1445 int status, const u8 *bssid) 1473 (bssid && 1475 (const char *) bssid, 1913 * @bssid: P2P Group BSSID or %NULL if not received 1920 const u8 *bssid, int id, 1948 (bssid && 1949 !wpa_dbus_dict_append_byte_array(&dict_iter, "bssid", 1950 (const char *) bssid, 1444 wpas_dbus_signal_p2p_invitation_result(struct wpa_supplicant *wpa_s, int status, const u8 *bssid) argument 1918 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 2615 wpas_dbus_unregister_bss(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN], unsigned int id) argument 2656 wpas_dbus_register_bss(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN], unsigned int id) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | driver_i.h | 125 static inline int wpa_drv_get_bssid(struct wpa_supplicant *wpa_s, u8 *bssid) argument 128 return wpa_s->driver->get_bssid(wpa_s->drv_priv, bssid); 192 const u8 *bssid, const u8 *pmkid) 195 return wpa_s->driver->add_pmkid(wpa_s->drv_priv, bssid, pmkid); 201 const u8 *bssid, const u8 *pmkid) 204 return wpa_s->driver->remove_pmkid(wpa_s->drv_priv, bssid, 377 const u8 *bssid, 383 wait, dst, src, bssid, 500 wpa_s->bssid); 685 const u8 *bssid) 191 wpa_drv_add_pmkid(struct wpa_supplicant *wpa_s, const u8 *bssid, const u8 *pmkid) argument 200 wpa_drv_remove_pmkid(struct wpa_supplicant *wpa_s, const u8 *bssid, const u8 *pmkid) argument 373 wpa_drv_send_action(struct wpa_supplicant *wpa_s, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, int no_cck) argument 684 wpa_drv_roaming(struct wpa_supplicant *wpa_s, int allowed, const u8 *bssid) argument [all...] |
H A D | eapol_test.c | 720 eapol_sm_rx_eapol(wpa_s->eapol, wpa_s->bssid, buf, 836 eapol_sm_rx_eapol(e->wpa_s->eapol, e->wpa_s->bssid, 970 static int driver_get_bssid(void *priv, u8 *bssid) argument 980 os_memset(bssid, 0, ETH_ALEN); 981 bssid[5] = 1; 1011 wpa_s->bssid[5] = 1;
|
H A D | events.c | 131 struct wpa_supplicant *wpa_s, const u8 *bssid) 137 bss = wpa_bss_get(wpa_s, bssid, ssid->ssid, ssid->ssid_len); 139 bss = wpa_bss_get_bssid(wpa_s, bssid); 147 struct wpa_bss *bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); 153 bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); 206 if (disallowed_bssid(wpa_s, wpa_s->bssid) || 293 bssid_changed = !is_zero_ether_addr(wpa_s->bssid); 294 os_memset(wpa_s->bssid, 0, ETH_ALEN); 350 wpa_dbg(wpa_s, MSG_DEBUG, "RSN: PMKID candidate event - bssid=" MACSTR 352 MAC2STR(data->pmkid_candidate.bssid), 130 wpa_supplicant_get_new_bss( struct wpa_supplicant *wpa_s, const u8 *bssid) argument 2155 u8 bssid[ETH_ALEN]; local 2426 u8 bssid[ETH_ALEN]; local 2654 const u8 *bssid; local 2705 const u8 *bssid; local 3814 const u8 *bssid = data->assoc_reject.bssid; local [all...] |
H A D | wpas_glue.c | 141 u8 *msg, *dst, bssid[ETH_ALEN]; local 186 if (is_zero_ether_addr(wpa_s->bssid)) { 189 if (wpa_drv_get_bssid(wpa_s, bssid) == 0 && 190 !is_zero_ether_addr(bssid)) { 191 dst = bssid; 205 dst = wpa_s->bssid; 242 unicast ? wpa_s->bssid : NULL, 378 if (os_memcmp(bss->bssid, wpa_s->bssid, ETH_ALEN) != 0) 479 static int wpa_supplicant_get_bssid(void *ctx, u8 *bssid) argument 531 wpa_supplicant_add_pmkid(void *_wpa_s, void *network_ctx, const u8 *bssid, const u8 *pmkid) argument 545 wpa_supplicant_remove_pmkid(void *_wpa_s, void *network_ctx, const u8 *bssid, const u8 *pmkid) argument [all...] |
H A D | wps_supplicant.c | 90 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); 280 if (os_memcmp(ssid->bssid, new_ssid->bssid, ETH_ALEN) != 710 wpas_p2p_wps_success(wpa_s, wpa_s->bssid, 0); 985 const u8 *bssid) 983 wpas_wps_add_network(struct wpa_supplicant *wpa_s, int registrar, const u8 *dev_addr, const u8 *bssid) argument 1091 wpas_wps_reassoc(struct wpa_supplicant *wpa_s, struct wpa_ssid *selected, const u8 *bssid, int freq) argument 1127 wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid, int p2p_group) argument 1179 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 1274 wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid, const char *pin, int p2p_group, u16 dev_pw_id) argument 1335 wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid, const char *pin, struct wps_new_ap_settings *settings) argument 2282 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 2574 const u8 *bssid = NULL; local 2825 wpas_wps_get_ap_info(struct wpa_supplicant *wpa_s, const u8 *bssid) argument 2921 wpas_wps_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *bssid) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/ |
H A D | hidl_manager.cpp | 653 uint8_t *bssid; local 655 // connection. Only after association state does it update the |bssid| 656 // field. So, in the HIDL callback send the appropriate bssid. 658 bssid = wpa_s->pending_bssid; 660 bssid = wpa_s->bssid; 668 bssid, hidl_network_id, hidl_ssid)); 741 * @param bssid BSSID of the access point. 746 struct wpa_supplicant *wpa_s, const u8 *bssid, const char *result, 749 if (!wpa_s || !bssid || !resul 745 notifyAnqpQueryDone( struct wpa_supplicant *wpa_s, const u8 *bssid, const char *result, const struct wpa_bss_anqp *anqp) argument 802 notifyHs20IconQueryDone( struct wpa_supplicant *wpa_s, const u8 *bssid, const char *file_name, const u8 *image, u32 image_length) argument 896 const u8 *bssid = wpa_s->bssid; local 926 const u8 *bssid = wpa_s->bssid; local 950 const u8 *bssid = wpa_s->bssid; local 973 const u8 *bssid; local 1231 notifyP2pInvitationReceived( struct wpa_supplicant *wpa_s, const u8 *sa, const u8 *go_dev_addr, const u8 *bssid, int id, int op_freq) argument 1256 notifyP2pInvitationResult( struct wpa_supplicant *wpa_s, int status, const u8 *bssid) argument [all...] |
H A D | p2p_iface.cpp | 363 const hidl_string& group_ifname, const hidl_array<uint8_t, 6>& bssid, 368 &P2pIface::startWpsPbcInternal, _hidl_cb, group_ifname, bssid); 381 const hidl_string& group_ifname, const hidl_array<uint8_t, 6>& bssid, 387 bssid); 1031 const std::string& group_ifname, const std::array<uint8_t, 6>& bssid) 1039 is_zero_ether_addr(bssid.data()) ? nullptr : bssid.data(); 1079 const std::string& group_ifname, const std::array<uint8_t, 6>& bssid) 1087 is_zero_ether_addr(bssid.data()) ? nullptr : bssid 362 startWpsPbc( const hidl_string& group_ifname, const hidl_array<uint8_t, 6>& bssid, startWpsPbc_cb _hidl_cb) argument 380 startWpsPinDisplay( const hidl_string& group_ifname, const hidl_array<uint8_t, 6>& bssid, startWpsPinDisplay_cb _hidl_cb) argument 1030 startWpsPbcInternal( const std::string& group_ifname, const std::array<uint8_t, 6>& bssid) argument 1078 startWpsPinDisplayInternal( const std::string& group_ifname, const std::array<uint8_t, 6>& bssid) argument [all...] |
H A D | sta_iface.cpp | 371 const hidl_array<uint8_t, 6> &bssid, const hidl_string &pin, 376 &StaIface::startWpsRegistrarInternal, _hidl_cb, bssid, pin); 380 const hidl_array<uint8_t, 6> &bssid, startWpsPbc_cb _hidl_cb) 384 &StaIface::startWpsPbcInternal, _hidl_cb, bssid); 396 const hidl_array<uint8_t, 6> &bssid, startWpsPinDisplay_cb _hidl_cb) 400 &StaIface::startWpsPinDisplayInternal, _hidl_cb, bssid); 835 const std::array<uint8_t, 6> &bssid, const std::string &pin) 838 if (wpas_wps_start_reg(wpa_s, bssid.data(), pin.c_str(), nullptr)) { 845 const std::array<uint8_t, 6> &bssid) 849 is_zero_ether_addr(bssid 370 startWpsRegistrar( const hidl_array<uint8_t, 6> &bssid, const hidl_string &pin, startWpsRegistrar_cb _hidl_cb) argument 379 startWpsPbc( const hidl_array<uint8_t, 6> &bssid, startWpsPbc_cb _hidl_cb) argument 395 startWpsPinDisplay( const hidl_array<uint8_t, 6> &bssid, startWpsPinDisplay_cb _hidl_cb) argument 834 startWpsRegistrarInternal( const std::array<uint8_t, 6> &bssid, const std::string &pin) argument 844 startWpsPbcInternal( const std::array<uint8_t, 6> &bssid) argument 866 startWpsPinDisplayInternal( const std::array<uint8_t, 6> &bssid) argument [all...] |
H A D | sta_network.cpp | 133 const hidl_array<uint8_t, 6> &bssid, setBssid_cb _hidl_cb) 137 &StaNetwork::setBssidInternal, _hidl_cb, bssid); 696 const std::array<uint8_t, 6> &bssid) 701 os_memcpy(prev_bssid, wpa_ssid->bssid, ETH_ALEN); 703 if (os_memcmp(bssid.data(), kZeroBssid, ETH_ALEN) == 0) { 707 os_memcpy(wpa_ssid->bssid, bssid.data(), ETH_ALEN); 709 wpa_hexdump(MSG_MSGDUMP, "BSSID", wpa_ssid->bssid, ETH_ALEN); 713 os_memcmp(wpa_ssid->bssid, prev_bssid, ETH_ALEN) != 0)) { 1140 std::array<uint8_t, 6> bssid{}; 132 setBssid( const hidl_array<uint8_t, 6> &bssid, setBssid_cb _hidl_cb) argument 695 setBssidInternal( const std::array<uint8_t, 6> &bssid) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | hostapd.h | 66 int (*cb)(void *ctx, const u8 *sa, const u8 *da, const u8 *bssid, 105 u8 bssid[ETH_ALEN]; member in struct:hostapd_neighbor_entry 508 const u8 *da, const u8 *bssid, 522 const u8 *bssid, const u8 *ie, size_t ie_len,
|
H A D | ieee802_11.c | 264 const u8 *dst, const u8 *bssid, 283 os_memcpy(reply->bssid, bssid, ETH_ALEN); 308 static void handle_auth_ft_finish(void *ctx, const u8 *dst, const u8 *bssid, argument 316 reply_res = send_auth_reply(hapd, dst, bssid, WLAN_AUTH_FT, 392 const u8 *bssid, int update) 401 reply_res = send_auth_reply(hapd, sta->addr, bssid, WLAN_AUTH_SAE, 1, 413 const u8 *bssid) 422 reply_res = send_auth_reply(hapd, sta->addr, bssid, WLAN_AUTH_SAE, 2, 581 const u8 *bssid, u 263 send_auth_reply(struct hostapd_data *hapd, const u8 *dst, const u8 *bssid, u16 auth_alg, u16 auth_transaction, u16 resp, const u8 *ies, size_t ies_len) argument 390 auth_sae_send_commit(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid, int update) argument 411 auth_sae_send_confirm(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid) argument 580 sae_sm_step(struct hostapd_data *hapd, struct sta_info *sta, const u8 *bssid, u8 auth_transaction) argument [all...] |
H A D | wpa_auth_ft.c | 1046 void wpa_ft_process_auth(struct wpa_state_machine *sm, const u8 *bssid, argument 1048 void (*cb)(void *ctx, const u8 *dst, const u8 *bssid, 1066 MAC2STR(sm->addr), MAC2STR(bssid), auth_transaction); 1082 cb(ctx, sm->addr, bssid, auth_transaction + 1, status, 1317 static void wpa_ft_rrb_rx_request_cb(void *ctx, const u8 *dst, const u8 *bssid, argument
|
H A D | wps_hostapd.c | 39 const u8 *bssid, 1380 const u8 *bssid, 1379 hostapd_wps_probe_req_rx(void *ctx, const u8 *addr, const u8 *da, const u8 *bssid, const u8 *ie, size_t ie_len, int ssi_signal) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/common/ |
H A D | wpa_common.c | 371 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, 393 addr[3] = bssid; 424 addr[2] = bssid; 1226 const u8 *sta_addr, const u8 *bssid, 1246 os_memcpy(pos, bssid, ETH_ALEN); 1272 addr[4] = bssid; 370 fils_key_auth_sk(const u8 *ick, size_t ick_len, const u8 *snonce, const u8 *anonce, const u8 *sta_addr, const u8 *bssid, const u8 *g_sta, size_t g_sta_len, const u8 *g_ap, size_t g_ap_len, int akmp, u8 *key_auth_sta, u8 *key_auth_ap, size_t *key_auth_len) argument 1225 wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, const u8 *sta_addr, const u8 *bssid, const u8 *pmk_r1_name, struct wpa_ptk *ptk, u8 *ptk_name, int akmp, int cipher) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_atheros.c | 864 event.rx_probe_req.bssid = mgmt->bssid; 872 (os_memcmp(drv->own_addr, mgmt->bssid, ETH_ALEN) == 0 || 873 is_broadcast_ether_addr(mgmt->bssid))) { 881 if (os_memcmp(drv->own_addr, mgmt->bssid, ETH_ALEN) != 0) { 907 os_memcpy(event.auth.bssid, mgmt->bssid, ETH_ALEN); 1953 const u8 *bssid, 1966 os_memcpy(act->bssid, bssid, ETH_ALE 1950 atheros_send_action(void *priv, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, int no_cck) argument [all...] |
H A D | driver_bsd.c | 952 wpa_driver_bsd_get_bssid(void *priv, u8 *bssid) argument 961 os_memcpy(bssid, bs.i_bssid, sizeof(bs.i_bssid)); 965 bssid, IEEE80211_ADDR_LEN) < 0 ? -1 : 0; 1135 if (params->bssid != NULL) 1136 os_memcpy(mlme.im_macaddr, params->bssid, IEEE80211_ADDR_LEN); 1373 os_memcpy(result->bssid, sr->isr_bssid, ETH_ALEN);
|
H A D | driver_wext.c | 69 * @bssid: Buffer for BSSID 72 int wpa_driver_wext_get_bssid(void *priv, u8 *bssid) argument 85 os_memcpy(bssid, iwr.u.ap_addr.sa_data, ETH_ALEN); 94 * @bssid: BSSID 97 int wpa_driver_wext_set_bssid(void *priv, const u8 *bssid) argument 106 if (bssid) 107 os_memcpy(iwr.u.ap_addr.sa_data, bssid, ETH_ALEN); 340 addr = (const u8 *) cand->bssid.sa_data; 343 "flags=0x%x index=%d bssid=" MACSTR, cand->flags, 347 os_memcpy(data.pmkid_candidate.bssid, add 2326 wpa_driver_wext_pmksa(struct wpa_driver_wext_data *drv, u32 cmd, const u8 *bssid, const u8 *pmkid) argument 2356 wpa_driver_wext_add_pmkid(void *priv, const u8 *bssid, const u8 *pmkid) argument 2364 wpa_driver_wext_remove_pmkid(void *priv, const u8 *bssid, const u8 *pmkid) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/ |
H A D | tdls.c | 71 u8 bssid[ETH_ALEN]; member in struct:wpa_tdls_lnkid 391 const u8 *own_addr, const u8 *bssid) 431 os_memcpy(data + 2 * ETH_ALEN, bssid, ETH_ALEN); 720 os_memcpy(lnkid->bssid, sm->bssid, ETH_ALEN); 1209 l->bssid[5] ^= 0x01; 1543 if (os_memcmp(sm->bssid, lnkid->bssid, ETH_ALEN) != 0) { 1545 " BSS " MACSTR, MAC2STR(lnkid->bssid)); 1853 if (os_memcmp(sm->bssid, lnki 390 wpa_tdls_generate_tpk(struct wpa_tdls_peer *peer, const u8 *own_addr, const u8 *bssid) argument [all...] |
H A D | wpa.c | 53 if (is_zero_ether_addr(dest) && is_zero_ether_addr(sm->bssid)) { 58 if (wpa_sm_get_bssid(sm, sm->bssid) < 0) { 63 dest = sm->bssid; 177 u8 bssid[ETH_ALEN], *rbuf, *key_mic, *mic; local 190 if (wpa_sm_get_bssid(sm, bssid) < 0) { 232 wpa_eapol_key_send(sm, &sm->ptk, ver, bssid, ETH_P_EAPOL, rbuf, rlen, 385 wpa_sm_ether_send(sm, sm->bssid, ETH_P_EAPOL, 510 sm->own_addr, sm->bssid, sm->snonce, 610 if (wpa_supplicant_send_2_of_4(sm, sm->bssid, key, ver, sm->snonce, 723 if (wpa_sm_set_key(sm, alg, sm->bssid, 2454 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument 2558 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 D | wpa_i.h | 69 u8 bssid[ETH_ALEN]; member in struct:wpa_sm 190 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) argument 193 return sm->ctx->get_bssid(sm->ctx->ctx, bssid); 225 const u8 *bssid, const u8 *pmkid) 228 return sm->ctx->add_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid); 232 const u8 *bssid, const u8 *pmkid) 235 return sm->ctx->remove_pmkid(sm->ctx->ctx, network_ctx, bssid, pmkid); 224 wpa_sm_add_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid) argument 231 wpa_sm_remove_pmkid(struct wpa_sm *sm, void *network_ctx, const u8 *bssid, const u8 *pmkid) argument
|
/external/wpa_supplicant_8/hostapd/src/p2p/ |
H A D | p2p_i.h | 165 u8 bssid[ETH_ALEN]; member in struct:p2p_pending_action_tx 767 void p2p_buf_add_group_bssid(struct wpabuf *buf, const u8 *bssid); 886 const u8 *src, const u8 *bssid, const u8 *buf,
|
/external/wpa_supplicant_8/src/p2p/ |
H A D | p2p_i.h | 165 u8 bssid[ETH_ALEN]; member in struct:p2p_pending_action_tx 767 void p2p_buf_add_group_bssid(struct wpabuf *buf, const u8 *bssid); 886 const u8 *src, const u8 *bssid, const u8 *buf,
|