Searched refs:elem_len (Results 1 – 6 of 6) sorted by relevance
/external/bluetooth/bluedroid/stack/avdt/ |
D | avdt_msg.c | 585 UINT8 elem_len; in avdt_msg_prs_cfg() local 616 elem_len = *p++; in avdt_msg_prs_cfg() 635 p += elem_len; in avdt_msg_prs_cfg() 636 AVDT_TRACE_DEBUG("skipping unknown service category=%d len: %d", elem, elem_len); in avdt_msg_prs_cfg() 641 if ((elem_len > avdt_msg_ie_len_max[elem]) || in avdt_msg_prs_cfg() 642 (elem_len < avdt_msg_ie_len_min[elem])) in avdt_msg_prs_cfg() 650 AVDT_TRACE_DEBUG("elem=%d elem_len: %d psc_mask=0x%x", elem, elem_len, p_cfg->psc_mask); in avdt_msg_prs_cfg() 674 if ((elem_len + protect_offset) < AVDT_PROTECT_SIZE) in avdt_msg_prs_cfg() 677 p_cfg->protect_info[protect_offset] = elem_len; in avdt_msg_prs_cfg() 679 memcpy(&p_cfg->protect_info[protect_offset], p, elem_len); in avdt_msg_prs_cfg() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_hostap.c | 706 size_t blen, elem_len; in hostapd_ioctl_set_generic_elem() local 708 elem_len = drv->generic_ie_len + drv->wps_ie_len; in hostapd_ioctl_set_generic_elem() 709 blen = PRISM2_HOSTAPD_GENERIC_ELEMENT_HDR_LEN + elem_len; in hostapd_ioctl_set_generic_elem() 718 param->u.generic_elem.len = elem_len; in hostapd_ioctl_set_generic_elem() 728 param->u.generic_elem.data, elem_len); in hostapd_ioctl_set_generic_elem() 738 const u8 *elem, size_t elem_len) in hostap_set_generic_elem() argument 746 drv->generic_ie = os_malloc(elem_len); in hostap_set_generic_elem() 749 os_memcpy(drv->generic_ie, elem, elem_len); in hostap_set_generic_elem() 750 drv->generic_ie_len = elem_len; in hostap_set_generic_elem()
|
D | driver_test.c | 813 const u8 *elem, size_t elem_len) in test_driver_set_generic_elem() argument 825 bss->ie = os_malloc(elem_len); in test_driver_set_generic_elem() 831 memcpy(bss->ie, elem, elem_len); in test_driver_set_generic_elem() 832 bss->ielen = elem_len; in test_driver_set_generic_elem()
|
D | driver.h | 1941 int (*set_generic_elem)(void *priv, const u8 *elem, size_t elem_len);
|
/external/wpa_supplicant_8/src/ap/ |
D | ap_drv_ops.c | 406 size_t elem_len) in hostapd_set_generic_elem() argument 410 return hapd->driver->set_generic_elem(hapd->drv_priv, elem, elem_len); in hostapd_set_generic_elem()
|
D | ap_drv_ops.h | 46 size_t elem_len);
|