Home
last modified time | relevance | path

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

/linux-5.19.10/net/bluetooth/
Deir.c246 if (adv && eir_get_data(adv->adv_data, adv->adv_data_len, EIR_FLAGS, in eir_create_adv_data()
284 memcpy(ptr, adv->adv_data, adv->adv_data_len); in eir_create_adv_data()
285 ad_len += adv->adv_data_len; in eir_create_adv_data()
286 ptr += adv->adv_data_len; in eir_create_adv_data()
Dhci_core.c1702 u16 adv_data_len, u8 *adv_data, in hci_add_adv_instance() argument
1731 adv_instance->adv_data_len = adv_data_len; in hci_add_adv_instance()
1737 if (adv_data_len) in hci_add_adv_instance()
1738 memcpy(adv_instance->adv_data, adv_data, adv_data_len); in hci_add_adv_instance()
1762 u16 adv_data_len, u8 *adv_data, in hci_set_adv_instance_data() argument
1773 if (adv_data_len) { in hci_set_adv_instance_data()
1776 memcpy(adv_instance->adv_data, adv_data, adv_data_len); in hci_set_adv_instance_data()
1777 adv_instance->adv_data_len = adv_data_len; in hci_set_adv_instance_data()
Dhci_request.c1046 if (hdev->adv_data_len == len && in __hci_req_update_adv_data()
1051 hdev->adv_data_len = len; in __hci_req_update_adv_data()
1068 if (hdev->adv_data_len == len && in __hci_req_update_adv_data()
1073 hdev->adv_data_len = len; in __hci_req_update_adv_data()
Dhci_sync.c1128 if (hdev->adv_data_len == len && in hci_set_ext_adv_data_sync()
1133 hdev->adv_data_len = len; in hci_set_ext_adv_data_sync()
1155 if (hdev->adv_data_len == len && in hci_set_adv_data_sync()
1160 hdev->adv_data_len = len; in hci_set_adv_data_sync()
Dmgmt.c8120 if (data_len != sizeof(*cp) + cp->adv_data_len + cp->scan_rsp_len) in add_advertising()
8146 if (!tlv_data_is_valid(hdev, flags, cp->data, cp->adv_data_len, true) || in add_advertising()
8147 !tlv_data_is_valid(hdev, flags, cp->data + cp->adv_data_len, in add_advertising()
8157 cp->adv_data_len, cp->data, in add_advertising()
8159 cp->data + cp->adv_data_len, in add_advertising()
8485 cp->adv_data_len, true) || in add_ext_adv_data()
8487 cp->adv_data_len, cp->scan_rsp_len, false)) { in add_ext_adv_data()
8494 hci_set_adv_instance_data(hdev, cp->instance, cp->adv_data_len, in add_ext_adv_data()
8496 cp->data + cp->adv_data_len); in add_ext_adv_data()
Dhci_event.c292 hdev->adv_data_len = 0; in hci_cc_reset()
/linux-5.19.10/include/net/bluetooth/
Dmgmt.h556 __u8 adv_data_len; member
816 __u8 adv_data_len; member
Dhci_core.h244 __u16 adv_data_len; member
580 __u8 adv_data_len; member
1396 u16 adv_data_len, u8 *adv_data,
1401 u16 adv_data_len, u8 *adv_data,