Home
last modified time | relevance | path

Searched refs:dev_addr (Results 1 – 25 of 48) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
Ddbus_new.h189 int wpas_dbus_register_peer(struct wpa_supplicant *wpa_s, const u8 *dev_addr);
192 const u8 *dev_addr);
194 const u8 *dev_addr);
196 const u8 *dev_addr);
198 const u8 *dev_addr);
202 const u8 *dev_addr, int request,
255 const u8 *sa, const u8 *dev_addr,
401 const u8 *dev_addr) in wpas_dbus_register_peer() argument
407 const u8 *dev_addr) in wpas_dbus_unregister_peer() argument
414 const u8 *dev_addr) in wpas_dbus_signal_peer_groups_changed() argument
[all …]
Ddbus_new.c1226 const u8 *dev_addr, int request, in wpas_dbus_signal_p2p_provision_discovery() argument
1285 if (!p2p_peer_known(wpa_s->global->p2p, dev_addr)) in wpas_dbus_signal_p2p_provision_discovery()
1291 wpa_s->dbus_new_path, MAC2STR(dev_addr)); in wpas_dbus_signal_p2p_provision_discovery()
2135 const u8 *sa, const u8 *dev_addr, in wpas_dbus_signal_p2p_invitation_received() argument
2163 (dev_addr && in wpas_dbus_signal_p2p_invitation_received()
2165 (const char *) dev_addr, in wpas_dbus_signal_p2p_invitation_received()
4400 const u8 *dev_addr, const char *interface, in wpas_dbus_signal_peer() argument
4419 wpa_s->dbus_new_path, MAC2STR(dev_addr)); in wpas_dbus_signal_peer()
4449 const u8 *dev_addr) in wpas_dbus_signal_peer_device_found() argument
4451 wpas_dbus_signal_peer(wpa_s, dev_addr, in wpas_dbus_signal_peer_device_found()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_new.h194 int wpas_dbus_register_peer(struct wpa_supplicant *wpa_s, const u8 *dev_addr);
197 const u8 *dev_addr);
199 const u8 *dev_addr);
201 const u8 *dev_addr);
203 const u8 *dev_addr);
207 const u8 *dev_addr, int request,
260 const u8 *sa, const u8 *dev_addr,
413 const u8 *dev_addr) in wpas_dbus_register_peer() argument
419 const u8 *dev_addr) in wpas_dbus_unregister_peer() argument
426 const u8 *dev_addr) in wpas_dbus_signal_peer_groups_changed() argument
[all …]
Ddbus_new.c1319 const u8 *dev_addr, int request, in wpas_dbus_signal_p2p_provision_discovery() argument
1378 if (!p2p_peer_known(wpa_s->global->p2p, dev_addr)) in wpas_dbus_signal_p2p_provision_discovery()
1384 wpa_s->dbus_new_path, MAC2STR(dev_addr)); in wpas_dbus_signal_p2p_provision_discovery()
2228 const u8 *sa, const u8 *dev_addr, in wpas_dbus_signal_p2p_invitation_received() argument
2256 (dev_addr && in wpas_dbus_signal_p2p_invitation_received()
2258 (const char *) dev_addr, in wpas_dbus_signal_p2p_invitation_received()
4551 const u8 *dev_addr, const char *interface, in wpas_dbus_signal_peer() argument
4570 wpa_s->dbus_new_path, MAC2STR(dev_addr)); in wpas_dbus_signal_peer()
4600 const u8 *dev_addr) in wpas_dbus_signal_peer_device_found() argument
4602 wpas_dbus_signal_peer(wpa_s, dev_addr, in wpas_dbus_signal_peer_device_found()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_group.c24 u8 dev_addr[ETH_ALEN]; /* P2P Device Address */ member
239 p2p_buf_add_device_id(ie, group->p2p->cfg->dev_addr); in p2p_group_build_beacon_ie()
335 wpabuf_put_data(buf, m->dev_addr, ETH_ALEN); in wifi_display_add_dev_info_descr()
438 p2p_buf_add_group_id(buf, group->p2p->cfg->dev_addr, group->cfg->ssid, in p2p_group_buf_add_id()
524 u8 *dev_capab, u8 *dev_addr) in p2p_build_client_info() argument
544 os_memcpy(dev_addr, msg.p2p_device_addr, ETH_ALEN); in p2p_build_client_info()
620 m->dev_addr); in p2p_group_notif_assoc()
788 if (os_memcmp(msg.device_id, group->p2p->cfg->dev_addr, ETH_ALEN) == 0) in p2p_group_match_dev_id()
792 if (os_memcmp(msg.device_id, m->dev_addr, ETH_ALEN) == 0) in p2p_group_match_dev_id()
847 if (os_memcmp(dev_id, m->dev_addr, ETH_ALEN) == 0) in p2p_group_get_client()
[all …]
Dp2p_build.c198 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_device_info()
245 void p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr) in p2p_buf_add_device_id() argument
250 wpabuf_put_data(buf, dev_addr, ETH_ALEN); in p2p_buf_add_device_id()
251 wpa_printf(MSG_DEBUG, "P2P: * Device ID: " MACSTR, MAC2STR(dev_addr)); in p2p_buf_add_device_id()
290 void p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr, in p2p_buf_add_group_id() argument
296 wpabuf_put_data(buf, dev_addr, ETH_ALEN); in p2p_buf_add_group_id()
299 MAC2STR(dev_addr)); in p2p_buf_add_group_id()
359 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_p2p_interface()
366 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_p2p_interface()
693 void p2p_buf_add_persistent_group_info(struct wpabuf *buf, const u8 *dev_addr, in p2p_buf_add_persistent_group_info() argument
[all …]
Dp2p.h531 u8 dev_addr[ETH_ALEN]; member
773 void (*dev_lost)(void *ctx, const u8 *dev_addr);
872 const u8 *dev_addr, const u8 *pri_dev_type,
1001 int (*go_connected)(void *ctx, const u8 *dev_addr);
1902 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr);
1911 int p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr);
2047 int p2p_get_interface_addr(struct p2p_data *p2p, const u8 *dev_addr,
2050 u8 *dev_addr);
2169 const u8 *dev_addr);
2186 int p2p_group_is_client_connected(struct p2p_group *group, const u8 *dev_addr);
Dp2p_invitation.c25 const u8 *dev_addr; in p2p_build_invitation_req() local
79 dev_addr = go_dev_addr; in p2p_build_invitation_req()
81 dev_addr = peer->info.p2p_device_addr; in p2p_build_invitation_req()
83 dev_addr = p2p->cfg->dev_addr; in p2p_build_invitation_req()
84 p2p_buf_add_group_id(buf, dev_addr, p2p->inv_ssid, p2p->inv_ssid_len); in p2p_build_invitation_req()
419 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_invitation_req()
420 p2p->cfg->dev_addr, in p2p_process_invitation_req()
592 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_invite_send()
Dp2p_dev_disc.c96 p2p->cfg->dev_addr, go->info.p2p_device_addr, in p2p_send_dev_disc_req()
151 if (p2p_send_action(p2p, freq, addr, p2p->cfg->dev_addr, in p2p_send_dev_disc_resp()
152 p2p->cfg->dev_addr, in p2p_send_dev_disc_resp()
Dp2p_sd.c204 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, dst, in p2p_send_gas_comeback_req()
316 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_start_sd()
473 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, in p2p_sd_response()
474 p2p->cfg->dev_addr, in p2p_sd_response()
685 if (p2p_send_action(p2p, rx_freq, sa, p2p->cfg->dev_addr, in p2p_rx_gas_comeback_req()
686 p2p->cfg->dev_addr, in p2p_rx_gas_comeback_req()
Dp2p_pd.c68 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info()
82 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info()
90 buf, p2p->cfg->dev_addr); in p2ps_add_new_group_info()
719 if (os_memcmp(p2p->cfg->dev_addr, msg.adv_mac, ETH_ALEN)) { in p2p_process_prov_disc_req()
995 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_prov_disc_req()
996 p2p->cfg->dev_addr, in p2p_process_prov_disc_req()
1150 const u8 *dev_addr = sa; in p2p_process_prov_disc_req() local
1153 dev_addr = msg.p2p_device_addr; in p2p_process_prov_disc_req()
1156 dev_addr, msg.pri_dev_type, in p2p_process_prov_disc_req()
1658 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_send_prov_disc_req()
Dp2p_go_neg.c257 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_connect_send()
345 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, p2p->ssid, in p2p_build_go_neg_resp()
905 os_memcmp(sa, p2p->cfg->dev_addr, ETH_ALEN) > 0) { in p2p_process_go_neg_req()
1054 if (os_memcmp(sa, p2p->cfg->dev_addr, ETH_ALEN) < 0) { in p2p_process_go_neg_req()
1068 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_go_neg_req()
1069 p2p->cfg->dev_addr, in p2p_process_go_neg_req()
1133 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, p2p->ssid, in p2p_build_go_neg_conf()
1407 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, sa, in p2p_process_go_neg_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_group.c24 u8 dev_addr[ETH_ALEN]; /* P2P Device Address */ member
239 p2p_buf_add_device_id(ie, group->p2p->cfg->dev_addr); in p2p_group_build_beacon_ie()
335 wpabuf_put_data(buf, m->dev_addr, ETH_ALEN); in wifi_display_add_dev_info_descr()
438 p2p_buf_add_group_id(buf, group->p2p->cfg->dev_addr, group->cfg->ssid, in p2p_group_buf_add_id()
524 u8 *dev_capab, u8 *dev_addr) in p2p_build_client_info() argument
544 os_memcpy(dev_addr, msg.p2p_device_addr, ETH_ALEN); in p2p_build_client_info()
620 m->dev_addr); in p2p_group_notif_assoc()
788 if (os_memcmp(msg.device_id, group->p2p->cfg->dev_addr, ETH_ALEN) == 0) in p2p_group_match_dev_id()
792 if (os_memcmp(msg.device_id, m->dev_addr, ETH_ALEN) == 0) in p2p_group_match_dev_id()
847 if (os_memcmp(dev_id, m->dev_addr, ETH_ALEN) == 0) in p2p_group_get_client()
[all …]
Dp2p_build.c198 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_device_info()
245 void p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr) in p2p_buf_add_device_id() argument
250 wpabuf_put_data(buf, dev_addr, ETH_ALEN); in p2p_buf_add_device_id()
251 wpa_printf(MSG_DEBUG, "P2P: * Device ID: " MACSTR, MAC2STR(dev_addr)); in p2p_buf_add_device_id()
290 void p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr, in p2p_buf_add_group_id() argument
296 wpabuf_put_data(buf, dev_addr, ETH_ALEN); in p2p_buf_add_group_id()
299 MAC2STR(dev_addr)); in p2p_buf_add_group_id()
359 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_p2p_interface()
366 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_p2p_interface()
693 void p2p_buf_add_persistent_group_info(struct wpabuf *buf, const u8 *dev_addr, in p2p_buf_add_persistent_group_info() argument
[all …]
Dp2p.h524 u8 dev_addr[ETH_ALEN]; member
764 void (*dev_lost)(void *ctx, const u8 *dev_addr);
863 const u8 *dev_addr, const u8 *pri_dev_type,
992 int (*go_connected)(void *ctx, const u8 *dev_addr);
1890 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr);
1899 int p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr);
2035 int p2p_get_interface_addr(struct p2p_data *p2p, const u8 *dev_addr,
2038 u8 *dev_addr);
2155 const u8 *dev_addr);
2172 int p2p_group_is_client_connected(struct p2p_group *group, const u8 *dev_addr);
Dp2p_invitation.c25 const u8 *dev_addr; in p2p_build_invitation_req() local
79 dev_addr = go_dev_addr; in p2p_build_invitation_req()
81 dev_addr = peer->info.p2p_device_addr; in p2p_build_invitation_req()
83 dev_addr = p2p->cfg->dev_addr; in p2p_build_invitation_req()
84 p2p_buf_add_group_id(buf, dev_addr, p2p->inv_ssid, p2p->inv_ssid_len); in p2p_build_invitation_req()
419 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_invitation_req()
420 p2p->cfg->dev_addr, in p2p_process_invitation_req()
592 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_invite_send()
Dp2p_dev_disc.c96 p2p->cfg->dev_addr, go->info.p2p_device_addr, in p2p_send_dev_disc_req()
151 if (p2p_send_action(p2p, freq, addr, p2p->cfg->dev_addr, in p2p_send_dev_disc_resp()
152 p2p->cfg->dev_addr, in p2p_send_dev_disc_resp()
Dp2p_sd.c204 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, dst, in p2p_send_gas_comeback_req()
316 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_start_sd()
473 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, in p2p_sd_response()
474 p2p->cfg->dev_addr, in p2p_sd_response()
685 if (p2p_send_action(p2p, rx_freq, sa, p2p->cfg->dev_addr, in p2p_rx_gas_comeback_req()
686 p2p->cfg->dev_addr, in p2p_rx_gas_comeback_req()
Dp2p_pd.c68 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info()
82 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info()
90 buf, p2p->cfg->dev_addr); in p2ps_add_new_group_info()
719 if (os_memcmp(p2p->cfg->dev_addr, msg.adv_mac, ETH_ALEN)) { in p2p_process_prov_disc_req()
995 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_prov_disc_req()
996 p2p->cfg->dev_addr, in p2p_process_prov_disc_req()
1150 const u8 *dev_addr = sa; in p2p_process_prov_disc_req() local
1153 dev_addr = msg.p2p_device_addr; in p2p_process_prov_disc_req()
1156 dev_addr, msg.pri_dev_type, in p2p_process_prov_disc_req()
1658 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_send_prov_disc_req()
Dp2p_go_neg.c257 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_connect_send()
345 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, p2p->ssid, in p2p_build_go_neg_resp()
896 os_memcmp(sa, p2p->cfg->dev_addr, ETH_ALEN) > 0) { in p2p_process_go_neg_req()
1045 if (os_memcmp(sa, p2p->cfg->dev_addr, ETH_ALEN) < 0) { in p2p_process_go_neg_req()
1059 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_go_neg_req()
1060 p2p->cfg->dev_addr, in p2p_process_go_neg_req()
1124 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, p2p->ssid, in p2p_build_go_neg_conf()
1398 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, sa, in p2p_process_go_neg_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dnotify.c621 const u8 *dev_addr, int new_device) in wpas_notify_p2p_device_found() argument
625 wpas_dbus_register_peer(wpa_s, dev_addr); in wpas_notify_p2p_device_found()
629 wpas_dbus_signal_peer_device_found(wpa_s, dev_addr); in wpas_notify_p2p_device_found()
634 const u8 *dev_addr) in wpas_notify_p2p_device_lost() argument
636 wpas_dbus_unregister_peer(wpa_s, dev_addr); in wpas_notify_p2p_device_lost()
639 wpas_dbus_signal_peer_device_lost(wpa_s, dev_addr); in wpas_notify_p2p_device_lost()
707 const u8 *dev_addr, int request, in wpas_notify_p2p_provision_discovery() argument
712 wpas_dbus_signal_p2p_provision_discovery(wpa_s, dev_addr, request, in wpas_notify_p2p_provision_discovery()
Dnotify.h97 const u8 *dev_addr, int new_device);
99 const u8 *dev_addr);
117 const u8 *dev_addr, int request,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dnotify.c633 const u8 *dev_addr, int new_device) in wpas_notify_p2p_device_found() argument
637 wpas_dbus_register_peer(wpa_s, dev_addr); in wpas_notify_p2p_device_found()
641 wpas_dbus_signal_peer_device_found(wpa_s, dev_addr); in wpas_notify_p2p_device_found()
646 const u8 *dev_addr) in wpas_notify_p2p_device_lost() argument
648 wpas_dbus_unregister_peer(wpa_s, dev_addr); in wpas_notify_p2p_device_lost()
651 wpas_dbus_signal_peer_device_lost(wpa_s, dev_addr); in wpas_notify_p2p_device_lost()
719 const u8 *dev_addr, int request, in wpas_notify_p2p_provision_discovery() argument
724 wpas_dbus_signal_p2p_provision_discovery(wpa_s, dev_addr, request, in wpas_notify_p2p_provision_discovery()
Dnotify.h98 const u8 *dev_addr, int new_device);
100 const u8 *dev_addr);
118 const u8 *dev_addr, int request,
/third_party/NuttX/drivers/usbdev/gadget/
Df_ether.c272 uint8_t dev_addr[NETIF_MAX_HWADDR_LEN]; in netdev_register() local
293 eth_random_addr(dev_addr); in netdev_register()
294 (void)memcpy_s(usb_netif->hwaddr, NETIF_MAX_HWADDR_LEN, dev_addr, NETIF_MAX_HWADDR_LEN); in netdev_register()

12