Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/wpa_supplicant/
Dnotify.c778 const u8 *p2p_dev_addr) in wpas_notify_ap_sta_authorized() argument
781 wpas_p2p_notify_ap_sta_authorized(wpa_s, p2p_dev_addr); in wpas_notify_ap_sta_authorized()
787 if (p2p_dev_addr) in wpas_notify_ap_sta_authorized()
788 wpas_dbus_signal_p2p_peer_joined(wpa_s, p2p_dev_addr); in wpas_notify_ap_sta_authorized()
794 wpas_hidl_notify_ap_sta_authorized(wpa_s, sta, p2p_dev_addr); in wpas_notify_ap_sta_authorized()
800 const u8 *p2p_dev_addr) in wpas_notify_ap_sta_deauthorized() argument
807 if (p2p_dev_addr) in wpas_notify_ap_sta_deauthorized()
808 wpas_dbus_signal_p2p_peer_disconnected(wpa_s, p2p_dev_addr); in wpas_notify_ap_sta_deauthorized()
814 wpas_hidl_notify_ap_sta_deauthorized(wpa_s, sta, p2p_dev_addr); in wpas_notify_ap_sta_deauthorized()
820 const u8 *p2p_dev_addr) in wpas_notify_sta_authorized() argument
[all …]
Dap.c569 int authorized, const u8 *p2p_dev_addr) in ap_sta_authorized_cb() argument
571 wpas_notify_sta_authorized(ctx, mac_addr, authorized, p2p_dev_addr); in ap_sta_authorized_cb()
576 static void ap_new_psk_cb(void *ctx, const u8 *mac_addr, const u8 *p2p_dev_addr, in ap_new_psk_cb() argument
583 wpas_p2p_new_psk_cb(wpa_s, mac_addr, p2p_dev_addr, psk, psk_len); in ap_new_psk_cb()
928 const u8 *p2p_dev_addr) in wpa_supplicant_ap_wps_pbc() argument
933 p2p_dev_addr); in wpa_supplicant_ap_wps_pbc()
Dap.h19 const u8 *p2p_dev_addr);
Dp2p_supplicant.c1357 os_memcpy(go_dev_addr, wpa_s->global->p2p_dev_addr, in wpas_group_formation_completed()
1705 os_memcpy(hpsk->p2p_dev_addr, psk->addr, ETH_ALEN); in wpas_p2p_add_psk_list()
1785 wpa_s->global->p2p_dev_addr, in p2p_go_configured()
1811 wpa_s->global->p2p_dev_addr); in p2p_go_configured()
4363 os_memcpy(wpa_s->global->p2p_dev_addr, wpa_s->own_addr, ETH_ALEN); in wpas_p2p_init()
4364 os_memcpy(p2p.dev_addr, wpa_s->global->p2p_dev_addr, ETH_ALEN); in wpas_p2p_init()
6950 go_dev_addr = wpa_s->global->p2p_dev_addr; in wpas_p2p_invite_group()
7948 const u8 *p2p_dev_addr, in wpas_p2p_new_psk_cb() argument
7958 if (p2p_dev_addr) { in wpas_p2p_new_psk_cb()
7961 MAC2STR(mac_addr), MAC2STR(p2p_dev_addr)); in wpas_p2p_new_psk_cb()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dhidl.h91 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr);
93 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr);
208 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_authorized() argument
212 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_deauthorized() argument
Dhidl.cpp594 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_authorized() argument
608 hidl_manager->notifyApStaAuthorized(wpa_s, sta, p2p_dev_addr); in wpas_hidl_notify_ap_sta_authorized()
612 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_deauthorized() argument
626 hidl_manager->notifyApStaDeauthorized(wpa_s, sta, p2p_dev_addr); in wpas_hidl_notify_ap_sta_deauthorized()
Dhidl_manager.cpp1328 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in notifyApStaAuthorized() argument
1338 std::placeholders::_1, sta, p2p_dev_addr ? p2p_dev_addr : kZeroBssid)); in notifyApStaAuthorized()
1342 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in notifyApStaDeauthorized() argument
1353 std::placeholders::_1, sta, p2p_dev_addr ? p2p_dev_addr : kZeroBssid)); in notifyApStaDeauthorized()
Dhidl_manager.h120 const u8 *p2p_dev_addr);
123 const u8 *p2p_dev_addr);
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/
Dhidl.h91 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr);
93 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr);
209 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_authorized() argument
213 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_deauthorized() argument
Dhidl.cpp594 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_authorized() argument
608 hidl_manager->notifyApStaAuthorized(wpa_s, sta, p2p_dev_addr); in wpas_hidl_notify_ap_sta_authorized()
612 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in wpas_hidl_notify_ap_sta_deauthorized() argument
626 hidl_manager->notifyApStaDeauthorized(wpa_s, sta, p2p_dev_addr); in wpas_hidl_notify_ap_sta_deauthorized()
Dhidl_manager.cpp1353 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in notifyApStaAuthorized() argument
1363 std::placeholders::_1, sta, p2p_dev_addr ? p2p_dev_addr : kZeroBssid)); in notifyApStaAuthorized()
1367 struct wpa_supplicant *wpa_s, const u8 *sta, const u8 *p2p_dev_addr) in notifyApStaDeauthorized() argument
1378 std::placeholders::_1, sta, p2p_dev_addr ? p2p_dev_addr : kZeroBssid)); in notifyApStaDeauthorized()
Dhidl_manager.h123 const u8 *p2p_dev_addr);
126 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.c768 const u8 *addr, const u8 *p2p_dev_addr, in hostapd_get_psk() argument
774 if (p2p_dev_addr && !is_zero_ether_addr(p2p_dev_addr)) { in hostapd_get_psk()
777 MAC2STR(addr), MAC2STR(p2p_dev_addr), prev_psk); in hostapd_get_psk()
789 (!addr && p2p_dev_addr && in hostapd_get_psk()
790 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()
1315 const u8 *p2p_dev_addr; member
1326 data->p2p_dev_addr); in wps_button_pushed()
1334 const u8 *p2p_dev_addr) in hostapd_wps_button_pushed() argument
1340 ctx.p2p_dev_addr = p2p_dev_addr; in hostapd_wps_button_pushed()
Dhostapd.h239 int authorized, const u8 *p2p_dev_addr);
246 const u8 *p2p_dev_addr, const u8 *psk,
Dap_config.h150 u8 p2p_dev_addr[ETH_ALEN]; member
814 const u8 *addr, const u8 *p2p_dev_addr,
Dwpa_auth.h238 const u8 * (*get_psk)(void *ctx, const u8 *addr, const u8 *p2p_dev_addr,
293 const u8 *p2p_dev_addr);
Dsta_info.c87 const u8 *p2p_dev_addr; in ap_get_sta_p2p() local
92 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in ap_get_sta_p2p()
93 if (p2p_dev_addr == NULL) in ap_get_sta_p2p()
96 if (os_memcmp(p2p_dev_addr, addr, ETH_ALEN) == 0) in ap_get_sta_p2p()
/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()
965 os_memset(reg->p2p_dev_addr, 0, ETH_ALEN); in wps_registrar_stop_pbc()
997 const u8 *p2p_dev_addr) in wps_registrar_button_pushed() argument
999 if (p2p_dev_addr == NULL && in wps_registrar_button_pushed()
1010 if (p2p_dev_addr) in wps_registrar_button_pushed()
1011 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,
815 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()
5372 const u8 *p2p_dev_addr; in p2p_process_nfc_connection_handover() local
5386 p2p_dev_addr = msg.p2p_device_addr; in p2p_process_nfc_connection_handover()
[all …]

12