/hostap-latest/tests/hwsim/ |
D | test_p2p_discovery.py | 92 if "FAIL" not in dev[0].p2p_find(dev_type="foo"): 94 if "FAIL" not in dev[0].p2p_find(dev_type="1-foo-2"): 96 if "FAIL" not in dev[0].p2p_find(dev_type="1-11223344"): 228 dev[0].p2p_find(social=True, dev_type="5-0050F204-1") 232 dev[0].p2p_find(social=True, dev_type="1-0050F204-2") 249 dev[2].p2p_find(social=True, dev_type="5-0050F204-1") 253 dev[2].p2p_find(social=True, dev_type="1-0050F204-2") 793 dev_type = "\x00\x00\x00\x00\x00\x00\x00\x01".encode() 794 cli += dev_type 797 cli += num_sec * dev_type
|
D | wpasupplicant.py | 625 dev_type=None, delay=None, freq=None): argument 633 if dev_type: 634 cmd = cmd + " dev_type=" + dev_type
|
D | test_p2p_messages.py | 84 def p2p_attr_device_info(addr, name="Test", config_methods=0, dev_type="00010050F2040001"): argument 86 val2 = struct.unpack('8B', binascii.unhexlify(dev_type))
|
/hostap-latest/src/wps/ |
D | wps_common.c | 462 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]) in wps_dev_type_str2bin() 467 WPA_PUT_BE16(dev_type, atoi(str)); in wps_dev_type_str2bin() 472 if (hexstr2bin(pos, &dev_type[2], 4)) in wps_dev_type_str2bin() 478 WPA_PUT_BE16(&dev_type[6], atoi(pos)); in wps_dev_type_str2bin() 485 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf, in wps_dev_type_bin2str() 491 WPA_GET_BE16(dev_type), WPA_GET_BE32(&dev_type[2]), in wps_dev_type_bin2str() 492 WPA_GET_BE16(&dev_type[6])); in wps_dev_type_bin2str()
|
D | wps_dev_attr.c | 356 const u8 *dev_type) in wps_process_primary_dev_type() argument 362 if (dev_type == NULL) { in wps_process_primary_dev_type() 367 os_memcpy(dev->pri_dev_type, dev_type, WPS_DEV_TYPE_LEN); in wps_process_primary_dev_type()
|
D | wps.h | 929 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]); 930 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf,
|
/hostap-latest/wpa_supplicant/dbus/ |
D | dbus_new_handlers_wps.c | 782 u8 *dev_type; in wpas_dbus_setter_wps_device_device_type() local 794 dbus_message_iter_get_fixed_array(&array_iter, &dev_type, &dev_len); in wpas_dbus_setter_wps_device_device_type() 799 os_memcpy(wpa_s->conf->device_type, dev_type, WPS_DEV_TYPE_LEN); in wpas_dbus_setter_wps_device_device_type()
|
/hostap-latest/wpa_supplicant/ |
D | wps_supplicant.c | 754 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_ap_add() local 758 wps_dev_type_bin2str(ap->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_ap_add() 759 sizeof(dev_type)); in wpa_supplicant_wps_event_er_ap_add() 761 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_ap_add() 765 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add() 788 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_enrollee_add() local 792 wps_dev_type_bin2str(enrollee->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_enrollee_add() 793 sizeof(dev_type)); in wpa_supplicant_wps_event_er_enrollee_add() 795 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_enrollee_add() 801 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
|
D | README-P2P | 75 [dev_id=<addr>] [dev_type=<device type>] \ 93 The optional dev_type option can be used to specify a single device type 95 "p2p_find dev_type=1-0050F204-1".
|
D | ctrl_iface.c | 6072 u8 dev_type[WPS_DEV_TYPE_LEN], *_dev_type = NULL; in p2p_ctrl_find() local 6104 if (wps_dev_type_str2bin(pos, dev_type) < 0) in p2p_ctrl_find() 6106 _dev_type = dev_type; in p2p_ctrl_find()
|
/hostap-latest/wpa_supplicant/wpa_gui-qt4/ |
D | peers.cpp | 525 QString dev_type; in add_p2p_group_client() local 537 else if (str.startsWith("dev_type=") && dev_type.isEmpty()) in add_p2p_group_client() 538 dev_type = str.mid(pos); in add_p2p_group_client() 552 if (!dev_type.isEmpty()) in add_p2p_group_client() 553 item->setData(dev_type, peer_role_pri_dev_type); in add_p2p_group_client()
|
/hostap-latest/src/p2p/ |
D | p2p_i.h | 882 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[],
|
D | p2p.c | 2171 static int dev_type_match(const u8 *dev_type, const u8 *req_dev_type) in dev_type_match() argument 2173 if (os_memcmp(dev_type, req_dev_type, WPS_DEV_TYPE_LEN) == 0) in dev_type_match() 2175 if (os_memcmp(dev_type, req_dev_type, 2) == 0 && in dev_type_match() 2183 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[], in dev_type_list_match() argument 2188 if (dev_type_match(dev_type, req_dev_type[i])) in dev_type_list_match()
|