Home
last modified time | relevance | path

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

/linux-6.6.21/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.c1716 u32 flags, u16 adv_data_len, u8 *adv_data, in hci_add_adv_instance() argument
1754 hci_set_adv_instance_data(hdev, instance, adv_data_len, adv_data, in hci_add_adv_instance()
1796 u16 adv_data_len, u8 *adv_data, in hci_set_adv_instance_data() argument
1807 if (adv_data_len && ADV_DATA_CMP(adv, adv_data, adv_data_len)) { in hci_set_adv_instance_data()
1809 memcpy(adv->adv_data, adv_data, adv_data_len); in hci_set_adv_instance_data()
1810 adv->adv_data_len = adv_data_len; in hci_set_adv_instance_data()
Dmgmt.c2300 send->adv_data_len, send->adv_data, in mesh_send_sync()
8675 if (data_len != sizeof(*cp) + cp->adv_data_len + cp->scan_rsp_len) in add_advertising()
8701 if (!tlv_data_is_valid(hdev, flags, cp->data, cp->adv_data_len, true) || in add_advertising()
8702 !tlv_data_is_valid(hdev, flags, cp->data + cp->adv_data_len, in add_advertising()
8712 cp->adv_data_len, cp->data, in add_advertising()
8714 cp->data + cp->adv_data_len, in add_advertising()
9041 cp->adv_data_len, true) || in add_ext_adv_data()
9043 cp->adv_data_len, cp->scan_rsp_len, false)) { in add_ext_adv_data()
9050 hci_set_adv_instance_data(hdev, cp->instance, cp->adv_data_len, in add_ext_adv_data()
9052 cp->data + cp->adv_data_len); in add_ext_adv_data()
Dhci_sync.c1429 if (eir_get_service_data(adv->adv_data, adv->adv_data_len, 0x1852, in hci_adv_bcast_annoucement()
1708 hdev->adv_data_len = len; in hci_set_ext_adv_data_sync()
1724 if (hdev->adv_data_len == len && in hci_set_adv_data_sync()
1729 hdev->adv_data_len = len; in hci_set_adv_data_sync()
Dhci_event.c296 hdev->adv_data_len = 0; in hci_cc_reset()
/linux-6.6.21/include/net/bluetooth/
Dmgmt.h560 __u8 adv_data_len; member
820 __u8 adv_data_len; member
870 __u8 adv_data_len; member
Dhci_core.h254 __u16 adv_data_len; member
279 DATA_CMP((_adv)->adv_data, (_adv)->adv_data_len, _data, _len)
614 __u8 adv_data_len; member
1760 u32 flags, u16 adv_data_len, u8 *adv_data,
1769 u16 adv_data_len, u8 *adv_data,