Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 12 of 12) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_common.c459 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]) in wps_dev_type_str2bin()
464 WPA_PUT_BE16(dev_type, atoi(str)); in wps_dev_type_str2bin()
469 if (hexstr2bin(pos, &dev_type[2], 4)) in wps_dev_type_str2bin()
475 WPA_PUT_BE16(&dev_type[6], atoi(pos)); in wps_dev_type_str2bin()
482 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf, in wps_dev_type_bin2str()
488 WPA_GET_BE16(dev_type), WPA_GET_BE32(&dev_type[2]), in wps_dev_type_bin2str()
489 WPA_GET_BE16(&dev_type[6])); in wps_dev_type_bin2str()
Dwps_dev_attr.c341 const u8 *dev_type) in wps_process_primary_dev_type() argument
347 if (dev_type == NULL) { in wps_process_primary_dev_type()
352 os_memcpy(dev->pri_dev_type, dev_type, WPS_DEV_TYPE_LEN); in wps_process_primary_dev_type()
Dwps.h873 int wps_dev_type_str2bin(const char *str, u8 dev_type[WPS_DEV_TYPE_LEN]);
874 char * wps_dev_type_bin2str(const u8 dev_type[WPS_DEV_TYPE_LEN], char *buf,
/external/autotest/server/
Dsite_linux_router.py466 dev_type='ibss'))
780 if instance.dev_type == 'ibss':
782 elif instance.dev_type == 'managed':
1059 dev_type='managed'))
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c718 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_ap_add() local
722 wps_dev_type_bin2str(ap->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_ap_add()
723 sizeof(dev_type)); in wpa_supplicant_wps_event_er_ap_add()
725 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_ap_add()
729 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, in wpa_supplicant_wps_event_er_ap_add()
752 char dev_type[WPS_DEV_TYPE_BUFSIZE]; in wpa_supplicant_wps_event_er_enrollee_add() local
756 wps_dev_type_bin2str(enrollee->pri_dev_type, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
757 sizeof(dev_type)); in wpa_supplicant_wps_event_er_enrollee_add()
759 dev_type[0] = '\0'; in wpa_supplicant_wps_event_er_enrollee_add()
765 enrollee->config_methods, enrollee->dev_passwd_id, dev_type, in wpa_supplicant_wps_event_er_enrollee_add()
DREADME-P2P75 [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".
Dctrl_iface.c4657 u8 dev_type[WPS_DEV_TYPE_LEN], *_dev_type = NULL; in p2p_ctrl_find() local
4685 if (wps_dev_type_str2bin(pos, dev_type) < 0) in p2p_ctrl_find()
4687 _dev_type = dev_type; in p2p_ctrl_find()
/external/autotest/client/common_lib/cros/bluetooth/
Dbluetooth_socket.py1168 ( dev_id, name, address, flags, dev_type, features, pkt_type,
1180 (dev_type & 0x30) >> 4,
1181 dev_type & 0x0f,
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dpeers.cpp523 QString dev_type; in add_p2p_group_client() local
535 else if (str.startsWith("dev_type=") && dev_type.isEmpty()) in add_p2p_group_client()
536 dev_type = str.mid(pos); in add_p2p_group_client()
550 if (!dev_type.isEmpty()) in add_p2p_group_client()
551 item->setData(dev_type, peer_role_pri_dev_type); in add_p2p_group_client()
/external/wpa_supplicant_8/src/p2p/
Dp2p_i.h875 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[],
Dp2p.c2114 static int dev_type_match(const u8 *dev_type, const u8 *req_dev_type) in dev_type_match() argument
2116 if (os_memcmp(dev_type, req_dev_type, WPS_DEV_TYPE_LEN) == 0) in dev_type_match()
2118 if (os_memcmp(dev_type, req_dev_type, 2) == 0 && in dev_type_match()
2126 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[], in dev_type_list_match() argument
2131 if (dev_type_match(dev_type, req_dev_type[i])) in dev_type_list_match()
/external/kernel-headers/original/uapi/linux/
Dsoundcard.h519 int dev_type; member