Home
last modified time | relevance | path

Searched refs:adv_data_len (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/net/bluetooth/
Deir.c278 if (adv && eir_get_data(adv->adv_data, adv->adv_data_len, EIR_FLAGS, in eir_create_adv_data()
316 memcpy(ptr, adv->adv_data, adv->adv_data_len); in eir_create_adv_data()
317 ad_len += adv->adv_data_len; in eir_create_adv_data()
318 ptr += adv->adv_data_len; in eir_create_adv_data()
Dhci_core.c1715 u32 flags, u16 adv_data_len, u8 *adv_data, in hci_add_adv_instance() argument
1753 hci_set_adv_instance_data(hdev, instance, adv_data_len, adv_data, in hci_add_adv_instance()
1795 u16 adv_data_len, u8 *adv_data, in hci_set_adv_instance_data() argument
1806 if (adv_data_len && ADV_DATA_CMP(adv, adv_data, adv_data_len)) { in hci_set_adv_instance_data()
1808 memcpy(adv->adv_data, adv_data, adv_data_len); in hci_set_adv_instance_data()
1809 adv->adv_data_len = adv_data_len; in hci_set_adv_instance_data()
Dmgmt.c2274 send->adv_data_len, send->adv_data, in mesh_send_sync()
8662 if (data_len != sizeof(*cp) + cp->adv_data_len + cp->scan_rsp_len) in add_advertising()
8688 if (!tlv_data_is_valid(hdev, flags, cp->data, cp->adv_data_len, true) || in add_advertising()
8689 !tlv_data_is_valid(hdev, flags, cp->data + cp->adv_data_len, in add_advertising()
8699 cp->adv_data_len, cp->data, in add_advertising()
8701 cp->data + cp->adv_data_len, in add_advertising()
9028 cp->adv_data_len, true) || in add_ext_adv_data()
9030 cp->adv_data_len, cp->scan_rsp_len, false)) { in add_ext_adv_data()
9037 hci_set_adv_instance_data(hdev, cp->instance, cp->adv_data_len, in add_ext_adv_data()
9039 cp->data + cp->adv_data_len); in add_ext_adv_data()
Dhci_sync.c1397 if (eir_get_service_data(adv->adv_data, adv->adv_data_len, 0x1852, in hci_adv_bcast_annoucement()
1679 hdev->adv_data_len = len; in hci_set_ext_adv_data_sync()
1695 if (hdev->adv_data_len == len && in hci_set_adv_data_sync()
1700 hdev->adv_data_len = len; in hci_set_adv_data_sync()
Dhci_event.c292 hdev->adv_data_len = 0; in hci_cc_reset()
/linux-6.1.9/include/net/bluetooth/
Dmgmt.h556 __u8 adv_data_len; member
816 __u8 adv_data_len; member
866 __u8 adv_data_len; member
Dhci_core.h247 __u16 adv_data_len; member
272 DATA_CMP((_adv)->adv_data, (_adv)->adv_data_len, _data, _len)
602 __u8 adv_data_len; member
1583 u32 flags, u16 adv_data_len, u8 *adv_data,
1592 u16 adv_data_len, u8 *adv_data,