Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/wpa_supplicant/
Dnotify.c804 const u8 *p2p_dev_addr) in wpas_notify_ap_sta_authorized() argument
807 wpas_p2p_notify_ap_sta_authorized(wpa_s, p2p_dev_addr); in wpas_notify_ap_sta_authorized()
813 if (p2p_dev_addr) in wpas_notify_ap_sta_authorized()
814 wpas_dbus_signal_p2p_peer_joined(wpa_s, p2p_dev_addr); in wpas_notify_ap_sta_authorized()
823 wpas_hidl_notify_ap_sta_authorized(wpa_s, sta, p2p_dev_addr); in wpas_notify_ap_sta_authorized()
829 const u8 *p2p_dev_addr) in wpas_notify_ap_sta_deauthorized() argument
836 if (p2p_dev_addr) in wpas_notify_ap_sta_deauthorized()
837 wpas_dbus_signal_p2p_peer_disconnected(wpa_s, p2p_dev_addr); in wpas_notify_ap_sta_deauthorized()
843 wpas_hidl_notify_ap_sta_deauthorized(wpa_s, sta, p2p_dev_addr); in wpas_notify_ap_sta_deauthorized()
851 const u8 *p2p_dev_addr) in wpas_notify_sta_authorized() argument
[all …]
Dap.c625 int authorized, const u8 *p2p_dev_addr) in ap_sta_authorized_cb() argument
627 wpas_notify_sta_authorized(ctx, mac_addr, authorized, p2p_dev_addr); in ap_sta_authorized_cb()
632 static void ap_new_psk_cb(void *ctx, const u8 *mac_addr, const u8 *p2p_dev_addr, in ap_new_psk_cb() argument
639 wpas_p2p_new_psk_cb(wpa_s, mac_addr, p2p_dev_addr, psk, psk_len); in ap_new_psk_cb()
1002 const u8 *p2p_dev_addr) in wpa_supplicant_ap_wps_pbc() argument
1007 p2p_dev_addr); in wpa_supplicant_ap_wps_pbc()
Dap.h19 const u8 *p2p_dev_addr);
Dp2p_supplicant.c1359 os_memcpy(go_dev_addr, wpa_s->global->p2p_dev_addr, in wpas_group_formation_completed()
1714 os_memcpy(hpsk->p2p_dev_addr, psk->addr, ETH_ALEN); in wpas_p2p_add_psk_list()
1803 wpa_s->global->p2p_dev_addr, in p2p_go_configured()
1829 wpa_s->global->p2p_dev_addr); in p2p_go_configured()
4493 os_memcpy(wpa_s->global->p2p_dev_addr, wpa_s->own_addr, ETH_ALEN); in wpas_p2p_init()
4494 os_memcpy(p2p.dev_addr, wpa_s->global->p2p_dev_addr, ETH_ALEN); in wpas_p2p_init()
7190 go_dev_addr = wpa_s->global->p2p_dev_addr; in wpas_p2p_invite_group()
8190 const u8 *p2p_dev_addr, in wpas_p2p_new_psk_cb() argument
8200 if (p2p_dev_addr) { in wpas_p2p_new_psk_cb()
8203 MAC2STR(mac_addr), MAC2STR(p2p_dev_addr)); in wpas_p2p_new_psk_cb()
[all …]
Dnotify.h95 const u8 *p2p_dev_addr);
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dhidl.h96 const u8 *p2p_dev_addr);
99 const u8 *p2p_dev_addr);
211 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_authorized() argument
214 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_deauthorized() argument
Dhidl.cpp601 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_authorized() argument
615 hidl_manager->notifyApStaAuthorized(wpa_s, sta, p2p_dev_addr); in wpas_hidl_notify_ap_sta_authorized()
619 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_deauthorized() argument
633 hidl_manager->notifyApStaDeauthorized(wpa_s, sta, p2p_dev_addr); in wpas_hidl_notify_ap_sta_deauthorized()
Dhidl_manager.cpp1397 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in notifyApStaAuthorized() argument
1409 p2p_dev_addr ? p2p_dev_addr : kZeroBssid)); in notifyApStaAuthorized()
1413 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in notifyApStaDeauthorized() argument
1426 p2p_dev_addr ? p2p_dev_addr : kZeroBssid)); in notifyApStaDeauthorized()
Dhidl_manager.h126 const u8 *p2p_dev_addr);
129 const u8 *p2p_dev_addr);
/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.c870 const u8 *addr, const u8 *p2p_dev_addr, in hostapd_get_psk() argument
879 if (p2p_dev_addr && !is_zero_ether_addr(p2p_dev_addr)) { in hostapd_get_psk()
882 MAC2STR(addr), MAC2STR(p2p_dev_addr), prev_psk); in hostapd_get_psk()
894 (!addr && p2p_dev_addr && in hostapd_get_psk()
895 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()
1383 const u8 *p2p_dev_addr; member
1394 data->p2p_dev_addr); in wps_button_pushed()
1402 const u8 *p2p_dev_addr) in hostapd_wps_button_pushed() argument
1408 ctx.p2p_dev_addr = p2p_dev_addr; in hostapd_wps_button_pushed()
Dhostapd.h258 int authorized, const u8 *p2p_dev_addr);
265 const u8 *p2p_dev_addr, const u8 *psk,
Dap_config.h154 u8 p2p_dev_addr[ETH_ALEN]; member
879 const u8 *addr, const u8 *p2p_dev_addr,
Dwpa_auth.h256 const u8 * (*get_psk)(void *ctx, const u8 *addr, const u8 *p2p_dev_addr,
333 const u8 *p2p_dev_addr);
Dsta_info.c88 const u8 *p2p_dev_addr; in ap_get_sta_p2p() local
93 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in ap_get_sta_p2p()
94 if (p2p_dev_addr == NULL) in ap_get_sta_p2p()
97 if (os_memcmp(p2p_dev_addr, addr, ETH_ALEN) == 0) in ap_get_sta_p2p()
Dwpa_auth_i.h24 u8 p2p_dev_addr[ETH_ALEN]; member
Dwpa_auth.c116 const u8 *p2p_dev_addr, in wpa_auth_get_psk() argument
122 return wpa_auth->cb->get_psk(wpa_auth->cb_ctx, addr, p2p_dev_addr, in wpa_auth_get_psk()
591 const u8 *p2p_dev_addr) in wpa_auth_sta_init() argument
602 if (p2p_dev_addr) in wpa_auth_sta_init()
603 os_memcpy(sm->p2p_dev_addr, p2p_dev_addr, ETH_ALEN); in wpa_auth_sta_init()
875 sm->p2p_dev_addr, pmk, &pmk_len, in wpa_try_alt_snonce()
2054 psk = wpa_auth_get_psk(sm->wpa_auth, sm->addr, sm->p2p_dev_addr, NULL, in SM_STATE()
2783 sm->p2p_dev_addr, pmk, &pmk_len, in SM_STATE()
3400 if (wpa_auth_get_psk(sm->wpa_auth, sm->addr, sm->p2p_dev_addr, in SM_STEP()
/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
399 const u8 *p2p_dev_addr) in wps_registrar_remove_pbc_session() argument
406 (p2p_dev_addr && !is_zero_ether_addr(reg->p2p_dev_addr) && in wps_registrar_remove_pbc_session()
407 os_memcmp(reg->p2p_dev_addr, p2p_dev_addr, ETH_ALEN) == in wps_registrar_remove_pbc_session()
1014 os_memset(reg->p2p_dev_addr, 0, ETH_ALEN); in wps_registrar_stop_pbc()
1046 const u8 *p2p_dev_addr) in wps_registrar_button_pushed() argument
1048 if (p2p_dev_addr == NULL && in wps_registrar_button_pushed()
1059 if (p2p_dev_addr) in wps_registrar_button_pushed()
1060 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
219 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.h177 const u8 *p2p_dev_addr; member
267 int (*new_psk_cb)(void *ctx, const u8 *mac_addr, const u8 *p2p_dev_addr,
853 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.c712 const u8 *p2p_dev_addr; in p2p_add_device() local
726 p2p_dev_addr = msg.p2p_device_addr; in p2p_add_device()
728 p2p_dev_addr = msg.device_id; in p2p_add_device()
736 os_memcmp(p2p_dev_addr, p2p->peer_filter, ETH_ALEN) != 0) { in p2p_add_device()
738 " due to peer filter", MAC2STR(p2p_dev_addr)); in p2p_add_device()
743 dev = p2p_create_device(p2p, p2p_dev_addr); in p2p_add_device()
781 if (os_memcmp(addr, p2p_dev_addr, ETH_ALEN) != 0) in p2p_add_device()
855 p2p_add_group_clients(p2p, p2p_dev_addr, addr, freq, in p2p_add_device()
5408 const u8 *p2p_dev_addr; in p2p_process_nfc_connection_handover() local
5422 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