Home
last modified time | relevance | path

Searched refs:eir_len (Results 1 – 2 of 2) sorted by relevance

/net/bluetooth/
Dmgmt.c6163 static inline u16 eir_append_data(u8 *eir, u16 eir_len, u8 type, u8 *data, in eir_append_data() argument
6166 eir[eir_len++] = sizeof(type) + data_len; in eir_append_data()
6167 eir[eir_len++] = type; in eir_append_data()
6168 memcpy(&eir[eir_len], data, data_len); in eir_append_data()
6169 eir_len += data_len; in eir_append_data()
6171 return eir_len; in eir_append_data()
6180 u16 eir_len = 0; in mgmt_device_connected() local
6188 eir_len = eir_append_data(ev->eir, 0, EIR_NAME_COMPLETE, in mgmt_device_connected()
6192 eir_len = eir_append_data(ev->eir, eir_len, in mgmt_device_connected()
6195 ev->eir_len = cpu_to_le16(eir_len); in mgmt_device_connected()
[all …]
Dhci_event.c3519 static inline size_t eir_get_length(u8 *eir, size_t eir_len) in eir_get_length() argument
3523 while (parsed < eir_len) { in eir_get_length()
3533 return eir_len; in eir_get_length()
3542 size_t eir_len; in hci_extended_inquiry_result_evt() local
3576 eir_len = eir_get_length(info->data, sizeof(info->data)); in hci_extended_inquiry_result_evt()
3580 flags, info->data, eir_len, NULL, 0); in hci_extended_inquiry_result_evt()