Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.h170 int wpas_dbus_register_peer(struct wpa_supplicant *wpa_s, const u8 *dev_addr);
172 const u8 *dev_addr);
174 const u8 *dev_addr);
176 const u8 *dev_addr);
178 const u8 *dev_addr);
182 const u8 *dev_addr, int request,
346 const u8 *dev_addr) in wpas_dbus_register_peer() argument
352 const u8 *dev_addr) in wpas_dbus_unregister_peer() argument
359 const u8 *dev_addr) in wpas_dbus_signal_peer_groups_changed() argument
371 const u8 *dev_addr, int request, in wpas_dbus_signal_p2p_provision_discovery() argument
[all …]
Ddbus_new.c1017 const u8 *dev_addr, int request, in wpas_dbus_signal_p2p_provision_discovery() argument
1070 if (!p2p_peer_known(wpa_s->global->p2p, dev_addr)) in wpas_dbus_signal_p2p_provision_discovery()
1076 wpa_s->dbus_new_path, MAC2STR(dev_addr)); in wpas_dbus_signal_p2p_provision_discovery()
3410 const u8 *dev_addr, const char *interface, in wpas_dbus_signal_peer() argument
3426 wpa_s->dbus_new_path, MAC2STR(dev_addr)); in wpas_dbus_signal_peer()
3458 const u8 *dev_addr) in wpas_dbus_signal_peer_device_found() argument
3460 wpas_dbus_signal_peer(wpa_s, dev_addr, in wpas_dbus_signal_peer_device_found()
3473 const u8 *dev_addr) in wpas_dbus_signal_peer_device_lost() argument
3475 wpas_dbus_signal_peer(wpa_s, dev_addr, in wpas_dbus_signal_peer_device_lost()
3488 int wpas_dbus_register_peer(struct wpa_supplicant *wpa_s, const u8 *dev_addr) in wpas_dbus_register_peer() argument
[all …]
/external/wpa_supplicant_8/src/p2p/
Dp2p_group.c24 u8 dev_addr[ETH_ALEN]; /* P2P Device Address */ member
238 p2p_buf_add_device_id(ie, group->p2p->cfg->dev_addr); in p2p_group_build_beacon_ie()
334 wpabuf_put_data(buf, m->dev_addr, ETH_ALEN); in wifi_display_add_dev_info_descr()
435 p2p_buf_add_group_id(buf, group->p2p->cfg->dev_addr, group->cfg->ssid, in p2p_group_buf_add_id()
521 u8 *dev_capab, u8 *dev_addr) in p2p_build_client_info() argument
541 os_memcpy(dev_addr, msg.p2p_device_addr, ETH_ALEN); in p2p_build_client_info()
617 m->dev_addr); in p2p_group_notif_assoc()
785 if (os_memcmp(msg.device_id, group->p2p->cfg->dev_addr, ETH_ALEN) == 0) in p2p_group_match_dev_id()
789 if (os_memcmp(msg.device_id, m->dev_addr, ETH_ALEN) == 0) in p2p_group_match_dev_id()
844 if (os_memcmp(dev_id, m->dev_addr, ETH_ALEN) == 0) in p2p_group_get_client()
[all …]
Dp2p_build.c159 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_device_info()
203 void p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr) in p2p_buf_add_device_id() argument
208 wpabuf_put_data(buf, dev_addr, ETH_ALEN); in p2p_buf_add_device_id()
209 wpa_printf(MSG_DEBUG, "P2P: * Device ID: " MACSTR, MAC2STR(dev_addr)); in p2p_buf_add_device_id()
248 void p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr, in p2p_buf_add_group_id() argument
254 wpabuf_put_data(buf, dev_addr, ETH_ALEN); in p2p_buf_add_group_id()
257 MAC2STR(dev_addr)); in p2p_buf_add_group_id()
317 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_p2p_interface()
324 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_p2p_interface()
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()
389 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_invitation_req()
390 p2p->cfg->dev_addr, in p2p_process_invitation_req()
513 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_invite_send()
Dp2p.h354 u8 dev_addr[ETH_ALEN]; member
588 void (*dev_lost)(void *ctx, const u8 *dev_addr);
685 const u8 *dev_addr, const u8 *pri_dev_type,
809 int (*go_connected)(void *ctx, const u8 *dev_addr);
1576 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr);
1585 int p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr);
1715 int p2p_get_interface_addr(struct p2p_data *p2p, const u8 *dev_addr,
1718 u8 *dev_addr);
1832 int p2p_group_is_client_connected(struct p2p_group *group, const u8 *dev_addr);
Dp2p_pd.c236 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_prov_disc_req()
237 p2p->cfg->dev_addr, in p2p_process_prov_disc_req()
246 const u8 *dev_addr = sa; in p2p_process_prov_disc_req() local
248 dev_addr = msg.p2p_device_addr; in p2p_process_prov_disc_req()
251 dev_addr, msg.pri_dev_type, in p2p_process_prov_disc_req()
401 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_send_prov_disc_req()
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.c195 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, dst, in p2p_send_gas_comeback_req()
298 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_start_sd()
446 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, in p2p_sd_response()
447 p2p->cfg->dev_addr, in p2p_sd_response()
651 if (p2p_send_action(p2p, rx_freq, sa, p2p->cfg->dev_addr, in p2p_rx_gas_comeback_req()
652 p2p->cfg->dev_addr, in p2p_rx_gas_comeback_req()
Dp2p_go_neg.c246 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_connect_send()
329 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, p2p->ssid, in p2p_build_go_neg_resp()
693 os_memcmp(sa, p2p->cfg->dev_addr, ETH_ALEN) > 0) { in p2p_process_go_neg_req()
817 if (os_memcmp(sa, p2p->cfg->dev_addr, ETH_ALEN) < 0) { in p2p_process_go_neg_req()
831 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_go_neg_req()
832 p2p->cfg->dev_addr, in p2p_process_go_neg_req()
896 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, p2p->ssid, in p2p_build_go_neg_conf()
1146 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, sa, in p2p_process_go_neg_resp()
Dp2p.c474 if (os_memcmp(cli->p2p_device_addr, p2p->cfg->dev_addr, in p2p_add_group_clients()
2090 os_memcmp(dst, p2p->cfg->dev_addr, ETH_ALEN) != 0) { in p2p_reply_probe()
2127 os_memcmp(msg.device_id, p2p->cfg->dev_addr, ETH_ALEN) != 0) { in p2p_reply_probe()
2175 os_memcpy(resp->sa, p2p->cfg->dev_addr, ETH_ALEN); in p2p_reply_probe()
2176 os_memcpy(resp->bssid, p2p->cfg->dev_addr, ETH_ALEN); in p2p_reply_probe()
2380 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr) in p2p_parse_dev_addr_in_p2p_ie() argument
2389 os_memcpy(dev_addr, msg.p2p_device_addr, ETH_ALEN); in p2p_parse_dev_addr_in_p2p_ie()
2392 os_memcpy(dev_addr, msg.device_id, ETH_ALEN); in p2p_parse_dev_addr_in_p2p_ie()
2399 int p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr) in p2p_parse_dev_addr() argument
2408 ret = p2p_parse_dev_addr_in_p2p_ie(p2p_ie, dev_addr); in p2p_parse_dev_addr()
[all …]
Dp2p_i.h666 void p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr);
680 void p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr,
/external/wpa_supplicant_8/wpa_supplicant/
Dnotify.c421 const u8 *dev_addr, int new_device) in wpas_notify_p2p_device_found() argument
425 wpas_dbus_register_peer(wpa_s, dev_addr); in wpas_notify_p2p_device_found()
429 wpas_dbus_signal_peer_device_found(wpa_s, dev_addr); in wpas_notify_p2p_device_found()
434 const u8 *dev_addr) in wpas_notify_p2p_device_lost() argument
436 wpas_dbus_unregister_peer(wpa_s, dev_addr); in wpas_notify_p2p_device_lost()
439 wpas_dbus_signal_peer_device_lost(wpa_s, dev_addr); in wpas_notify_p2p_device_lost()
507 const u8 *dev_addr, int request, in wpas_notify_p2p_provision_discovery() argument
512 wpas_dbus_signal_p2p_provision_discovery(wpa_s, dev_addr, request, in wpas_notify_p2p_provision_discovery()
Dnotify.h88 const u8 *dev_addr, int new_device);
90 const u8 *dev_addr);
108 const u8 *dev_addr, int request,
Dbss.h116 const u8 *dev_addr);
Dwps_supplicant.h67 int wpas_wps_start_nfc(struct wpa_supplicant *wpa_s, const u8 *dev_addr,
Dp2p_supplicant.c110 const u8 *dev_addr, enum p2p_wps_method wps_method,
1741 static void wpas_dev_lost(void *ctx, const u8 *dev_addr) in wpas_dev_lost() argument
1746 "p2p_dev_addr=" MACSTR, MAC2STR(dev_addr)); in wpas_dev_lost()
1748 wpas_notify_p2p_device_lost(wpa_s, dev_addr); in wpas_dev_lost()
2816 const u8 *dev_addr, const u8 *pri_dev_type, in wpas_prov_disc_req() argument
2848 MAC2STR(dev_addr), in wpas_prov_disc_req()
3759 static int wpas_go_connected(void *ctx, const u8 *dev_addr) in wpas_go_connected() argument
3763 return wpas_get_p2p_client_iface(wpa_s, dev_addr) != NULL; in wpas_go_connected()
3920 os_memcpy(p2p.dev_addr, wpa_s->global->p2p_dev_addr, ETH_ALEN); in wpas_p2p_init()
4581 const u8 *dev_addr, enum p2p_wps_method wps_method, in wpas_p2p_join() argument
[all …]
Dbss.c935 const u8 *dev_addr) in wpa_bss_get_p2p_dev_addr() argument
942 os_memcmp(addr, dev_addr, ETH_ALEN) == 0) in wpa_bss_get_p2p_dev_addr()
Dwps_supplicant.c940 int registrar, const u8 *dev_addr, in wpas_wps_add_network() argument
962 if (dev_addr) in wpas_wps_add_network()
963 os_memcpy(ssid->go_p2p_dev_addr, dev_addr, ETH_ALEN); in wpas_wps_add_network()
1115 const u8 *dev_addr, const u8 *bssid, in wpas_wps_start_dev_pw() argument
1128 ssid = wpas_wps_add_network(wpa_s, 0, dev_addr, bssid); in wpas_wps_start_dev_pw()
/external/bluetooth/bluedroid/bta/hf_client/
Dbta_hf_client_act.c268 BD_ADDR dev_addr; in bta_hf_client_rfc_acp_open() local
278 if (PORT_SUCCESS != (status=PORT_CheckConnection(p_data->rfc.port_handle, dev_addr, &lcid))) in bta_hf_client_rfc_acp_open()
290 if (bdcmp (dev_addr, bta_hf_client_cb.scb.peer_addr) == 0) in bta_hf_client_rfc_acp_open()
302 bdcpy (bta_hf_client_cb.scb.peer_addr, dev_addr); in bta_hf_client_rfc_acp_open()
/external/chromium_org/third_party/libusb/src/libusb/os/
Dwince_usb.c153 unsigned char bus_addr, unsigned char dev_addr) in init_device() argument
159 dev->device_address = dev_addr; in init_device()
351 unsigned char bus_addr, dev_addr; in wince_get_device_list() local
365 success = UkwGetDeviceAddress(devices[i], &bus_addr, &dev_addr, &session_id); in wince_get_device_list()
374 bus_addr, dev_addr, session_id); in wince_get_device_list()
382 bus_addr, dev_addr, session_id); in wince_get_device_list()
388 r = init_device(dev, devices[i], bus_addr, dev_addr); in wince_get_device_list()
/external/bluetooth/bluedroid/bta/ag/
Dbta_ag_act.c557 BD_ADDR dev_addr; in bta_ag_rfc_acp_open() local
567 if (PORT_SUCCESS != (status=PORT_CheckConnection(p_data->rfc.port_handle, dev_addr, &lcid))) in bta_ag_rfc_acp_open()
581 if (bdcmp (dev_addr, ag_scb->peer_addr) == 0) in bta_ag_rfc_acp_open()
604 bdcpy (p_scb->peer_addr, dev_addr); in bta_ag_rfc_acp_open()
/external/wpa_supplicant_8/src/ap/
Dsta_info.c942 const u8 *dev_addr = NULL; in ap_sta_set_authorized() local
956 dev_addr = addr; in ap_sta_set_authorized()
958 dev_addr = p2p_group_get_dev_addr(hapd->p2p_group, sta->addr); in ap_sta_set_authorized()
960 if (dev_addr) in ap_sta_set_authorized()
962 MAC2STR(sta->addr), MAC2STR(dev_addr)); in ap_sta_set_authorized()
1002 sta->addr, authorized, dev_addr); in ap_sta_set_authorized()
/external/libpcap/
Dpcap-usb-linux.c473 int tag, cnt, ep_num, dev_addr, dummy, ret, urb_len, data_len; in usb_read_linux() local
505 &pipeid1, &pipeid2, &dev_addr, &ep_num, status, in usb_read_linux()
515 uhdr->device_address = dev_addr; in usb_read_linux()
/external/iputils/Modules/
Dpg3.c170 hh[p1]=odev->dev_addr[p2++]; in pg_setup_inject()

12