Home
last modified time | relevance | path

Searched refs:p2p_dev_addr (Results 1 – 25 of 33) sorted by relevance

12

/external/wpa_supplicant_8/wpa_supplicant/
Dnotify.c660 const u8 *p2p_dev_addr) in wpas_notify_ap_sta_authorized() argument
663 wpas_p2p_notify_ap_sta_authorized(wpa_s, p2p_dev_addr); in wpas_notify_ap_sta_authorized()
669 if (p2p_dev_addr) in wpas_notify_ap_sta_authorized()
670 wpas_dbus_signal_p2p_peer_joined(wpa_s, p2p_dev_addr); in wpas_notify_ap_sta_authorized()
680 const u8 *p2p_dev_addr) in wpas_notify_ap_sta_deauthorized() argument
687 if (p2p_dev_addr) in wpas_notify_ap_sta_deauthorized()
688 wpas_dbus_signal_p2p_peer_disconnected(wpa_s, p2p_dev_addr); in wpas_notify_ap_sta_deauthorized()
698 const u8 *p2p_dev_addr) in wpas_notify_sta_authorized() argument
701 wpas_notify_ap_sta_authorized(wpa_s, mac_addr, p2p_dev_addr); in wpas_notify_sta_authorized()
703 wpas_notify_ap_sta_deauthorized(wpa_s, mac_addr, p2p_dev_addr); in wpas_notify_sta_authorized()
Dap.c446 int authorized, const u8 *p2p_dev_addr) in ap_sta_authorized_cb() argument
448 wpas_notify_sta_authorized(ctx, mac_addr, authorized, p2p_dev_addr); in ap_sta_authorized_cb()
453 static void ap_new_psk_cb(void *ctx, const u8 *mac_addr, const u8 *p2p_dev_addr, in ap_new_psk_cb() argument
460 wpas_p2p_new_psk_cb(wpa_s, mac_addr, p2p_dev_addr, psk, psk_len); in ap_new_psk_cb()
795 const u8 *p2p_dev_addr) in wpa_supplicant_ap_wps_pbc() argument
800 p2p_dev_addr); in wpa_supplicant_ap_wps_pbc()
Dap.h19 const u8 *p2p_dev_addr);
Dnotify.h87 const u8 *p2p_dev_addr);
Dp2p_supplicant.c1283 os_memcpy(go_dev_addr, wpa_s->global->p2p_dev_addr, in wpas_group_formation_completed()
1613 os_memcpy(hpsk->p2p_dev_addr, psk->addr, ETH_ALEN); in wpas_p2p_add_psk_list()
1685 wpa_s->global->p2p_dev_addr, in p2p_go_configured()
1703 wpa_s->global->p2p_dev_addr); in p2p_go_configured()
3928 os_memcpy(wpa_s->global->p2p_dev_addr, wpa_s->own_addr, ETH_ALEN); in wpas_p2p_init()
3929 os_memcpy(p2p.dev_addr, wpa_s->global->p2p_dev_addr, ETH_ALEN); in wpas_p2p_init()
6218 go_dev_addr = wpa_s->global->p2p_dev_addr; in wpas_p2p_invite_group()
7206 const u8 *p2p_dev_addr, in wpas_p2p_new_psk_cb() argument
7216 if (p2p_dev_addr) { in wpas_p2p_new_psk_cb()
7219 MAC2STR(mac_addr), MAC2STR(p2p_dev_addr)); in wpas_p2p_new_psk_cb()
[all …]
Dp2p_supplicant.h135 const u8 *p2p_dev_addr,
Dmesh_rsn.c81 const u8 *p2p_dev_addr, const u8 *prev_psk) in auth_get_psk() argument
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.h23 const u8 *p2p_dev_addr);
80 const u8 *p2p_dev_addr) in hostapd_wps_button_pushed() argument
Dap_config.c670 const u8 *addr, const u8 *p2p_dev_addr, in hostapd_get_psk() argument
676 if (p2p_dev_addr && !is_zero_ether_addr(p2p_dev_addr)) { in hostapd_get_psk()
679 MAC2STR(addr), MAC2STR(p2p_dev_addr), prev_psk); in hostapd_get_psk()
691 (!addr && p2p_dev_addr && in hostapd_get_psk()
692 os_memcmp(psk->p2p_dev_addr, p2p_dev_addr, ETH_ALEN) == in hostapd_get_psk()
Dwps_hostapd.c96 const u8 *p2p_dev_addr, const u8 *psk, in hostapd_wps_new_psk_cb() argument
103 if (is_zero_ether_addr(p2p_dev_addr)) { in hostapd_wps_new_psk_cb()
111 MAC2STR(mac_addr), MAC2STR(p2p_dev_addr)); in hostapd_wps_new_psk_cb()
126 os_memcpy(p->p2p_dev_addr, p2p_dev_addr, ETH_ALEN); in hostapd_wps_new_psk_cb()
130 hapd->new_psk_cb(hapd->new_psk_cb_ctx, mac_addr, p2p_dev_addr, in hostapd_wps_new_psk_cb()
1304 const u8 *p2p_dev_addr = ctx; in wps_button_pushed() local
1307 return wps_registrar_button_pushed(hapd->wps->registrar, p2p_dev_addr); in wps_button_pushed()
1312 const u8 *p2p_dev_addr) in hostapd_wps_button_pushed() argument
1315 (void *) p2p_dev_addr); in hostapd_wps_button_pushed()
Dhostapd.h212 int authorized, const u8 *p2p_dev_addr);
219 const u8 *p2p_dev_addr, const u8 *psk,
Dwpa_auth.h196 const u8 * (*get_psk)(void *ctx, const u8 *addr, const u8 *p2p_dev_addr,
247 const u8 *p2p_dev_addr);
Dap_config.h136 u8 p2p_dev_addr[ETH_ALEN]; member
666 const u8 *addr, const u8 *p2p_dev_addr,
Dwpa_auth.c104 const u8 *p2p_dev_addr, in wpa_auth_get_psk() argument
109 return wpa_auth->cb.get_psk(wpa_auth->cb.ctx, addr, p2p_dev_addr, in wpa_auth_get_psk()
573 const u8 *p2p_dev_addr) in wpa_auth_sta_init() argument
584 if (p2p_dev_addr) in wpa_auth_sta_init()
585 os_memcpy(sm->p2p_dev_addr, p2p_dev_addr, ETH_ALEN); in wpa_auth_sta_init()
834 sm->p2p_dev_addr, pmk); in wpa_try_alt_snonce()
1929 psk = wpa_auth_get_psk(sm->wpa_auth, sm->addr, sm->p2p_dev_addr, NULL); in SM_STATE()
2024 sm->p2p_dev_addr, pmk); in SM_STATE()
2438 if (wpa_auth_get_psk(sm->wpa_auth, sm->addr, sm->p2p_dev_addr, in SM_STEP()
Dsta_info.c81 const u8 *p2p_dev_addr; in ap_get_sta_p2p() local
86 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in ap_get_sta_p2p()
87 if (p2p_dev_addr == NULL) in ap_get_sta_p2p()
90 if (os_memcmp(p2p_dev_addr, addr, ETH_ALEN) == 0) in ap_get_sta_p2p()
Dwpa_auth_i.h29 u8 p2p_dev_addr[ETH_ALEN]; member
Dwpa_auth_glue.c217 const u8 *p2p_dev_addr, in hostapd_wpa_auth_get_psk() argument
232 psk = hostapd_get_psk(hapd->conf, addr, p2p_dev_addr, prev_psk); in hostapd_wpa_auth_get_psk()
Ddrv_callbacks.c51 const u8 *p2p_dev_addr = NULL; in hostapd_notif_assoc() local
122 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in hostapd_notif_assoc()
195 p2p_dev_addr); in hostapd_notif_assoc()
/external/wpa_supplicant_8/src/wps/
Dwps_registrar.c147 int (*new_psk_cb)(void *ctx, const u8 *mac_addr, const u8 *p2p_dev_addr,
185 u8 p2p_dev_addr[ETH_ALEN]; member
368 const u8 *p2p_dev_addr) in wps_registrar_remove_pbc_session() argument
375 (p2p_dev_addr && !is_zero_ether_addr(reg->p2p_dev_addr) && in wps_registrar_remove_pbc_session()
376 os_memcmp(reg->p2p_dev_addr, p2p_dev_addr, ETH_ALEN) == in wps_registrar_remove_pbc_session()
963 os_memset(reg->p2p_dev_addr, 0, ETH_ALEN); in wps_registrar_stop_pbc()
995 const u8 *p2p_dev_addr) in wps_registrar_button_pushed() argument
997 if (p2p_dev_addr == NULL && in wps_registrar_button_pushed()
1008 if (p2p_dev_addr) in wps_registrar_button_pushed()
1009 os_memcpy(reg->p2p_dev_addr, p2p_dev_addr, ETH_ALEN); in wps_registrar_button_pushed()
[all …]
Dwps_i.h123 u8 p2p_dev_addr[ETH_ALEN]; /* P2P Device Address of the client or member
216 const u8 *p2p_dev_addr, const u8 *psk, size_t psk_len);
Dwps.c136 if (cfg->p2p_dev_addr) in wps_init()
137 os_memcpy(data->p2p_dev_addr, cfg->p2p_dev_addr, ETH_ALEN); in wps_init()
Dwps.h176 const u8 *p2p_dev_addr; member
260 int (*new_psk_cb)(void *ctx, const u8 *mac_addr, const u8 *p2p_dev_addr,
805 const u8 *p2p_dev_addr);
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c29 u8 *p2p_dev_addr; member
166 dbus_message_iter_get_fixed_array(&array_iter, &params->p2p_dev_addr, in wpas_dbus_handler_wps_p2p_dev_addr()
265 params.p2p_dev_addr); in wpas_dbus_handler_wps_start()
/external/wpa_supplicant_8/src/p2p/
Dp2p.c720 const u8 *p2p_dev_addr; in p2p_add_device() local
733 p2p_dev_addr = msg.p2p_device_addr; in p2p_add_device()
735 p2p_dev_addr = msg.device_id; in p2p_add_device()
743 os_memcmp(p2p_dev_addr, p2p->peer_filter, ETH_ALEN) != 0) { in p2p_add_device()
745 " due to peer filter", MAC2STR(p2p_dev_addr)); in p2p_add_device()
750 dev = p2p_create_device(p2p, p2p_dev_addr); in p2p_add_device()
788 if (os_memcmp(addr, p2p_dev_addr, ETH_ALEN) != 0) in p2p_add_device()
856 p2p_add_group_clients(p2p, p2p_dev_addr, addr, freq, in p2p_add_device()
5227 const u8 *p2p_dev_addr; in p2p_process_nfc_connection_handover() local
5241 p2p_dev_addr = msg.p2p_device_addr; in p2p_process_nfc_connection_handover()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_wsc.c138 cfg.p2p_dev_addr = p2p_get_go_dev_addr(sm->assoc_p2p_ie); in eap_wsc_init()

12