• Home
  • Raw
  • Download

Lines Matching refs:eir

1040 static u16 append_eir_data_to_buf(struct hci_dev *hdev, u8 *eir)  in append_eir_data_to_buf()  argument
1046 eir_len = eir_append_data(eir, eir_len, EIR_CLASS_OF_DEV, in append_eir_data_to_buf()
1050 eir_len = eir_append_le16(eir, eir_len, EIR_APPEARANCE, in append_eir_data_to_buf()
1054 eir_len = eir_append_data(eir, eir_len, EIR_NAME_COMPLETE, in append_eir_data_to_buf()
1058 eir_len = eir_append_data(eir, eir_len, EIR_NAME_SHORT, in append_eir_data_to_buf()
1086 eir_len = append_eir_data_to_buf(hdev, rp->eir); in read_ext_controller_info()
1112 eir_len = append_eir_data_to_buf(hdev, ev->eir); in ext_info_changed()
6980 eir_len = eir_append_data(mgmt_rp->eir, 0, EIR_CLASS_OF_DEV, in read_local_oob_ext_data_complete()
6984 eir_len = eir_append_data(mgmt_rp->eir, eir_len, in read_local_oob_ext_data_complete()
6986 eir_len = eir_append_data(mgmt_rp->eir, eir_len, in read_local_oob_ext_data_complete()
6991 eir_len = eir_append_data(mgmt_rp->eir, eir_len, in read_local_oob_ext_data_complete()
6993 eir_len = eir_append_data(mgmt_rp->eir, eir_len, in read_local_oob_ext_data_complete()
7105 eir_len = eir_append_data(rp->eir, eir_len, in read_local_oob_ext_data()
7145 eir_len = eir_append_data(rp->eir, eir_len, EIR_LE_BDADDR, in read_local_oob_ext_data()
7153 eir_len = eir_append_data(rp->eir, eir_len, EIR_LE_ROLE, in read_local_oob_ext_data()
7157 eir_len = eir_append_data(rp->eir, eir_len, in read_local_oob_ext_data()
7161 eir_len = eir_append_data(rp->eir, eir_len, in read_local_oob_ext_data()
7171 eir_len = eir_append_data(rp->eir, eir_len, EIR_FLAGS, in read_local_oob_ext_data()
8200 memcpy(&ev->eir[eir_len], in mgmt_device_connected()
8205 eir_len = eir_append_data(ev->eir, 0, EIR_NAME_COMPLETE, in mgmt_device_connected()
8209 eir_len = eir_append_data(ev->eir, eir_len, in mgmt_device_connected()
8531 memset(hdev->eir, 0, sizeof(hdev->eir)); in clear_eir()
8660 static bool eir_has_uuids(u8 *eir, u16 eir_len, u16 uuid_count, u8 (*uuids)[16]) in eir_has_uuids() argument
8665 u8 field_len = eir[0]; in eir_has_uuids()
8675 switch (eir[1]) { in eir_has_uuids()
8680 uuid[13] = eir[i + 3]; in eir_has_uuids()
8681 uuid[12] = eir[i + 2]; in eir_has_uuids()
8690 uuid[15] = eir[i + 5]; in eir_has_uuids()
8691 uuid[14] = eir[i + 4]; in eir_has_uuids()
8692 uuid[13] = eir[i + 3]; in eir_has_uuids()
8693 uuid[12] = eir[i + 2]; in eir_has_uuids()
8701 memcpy(uuid, eir + i + 2, 16); in eir_has_uuids()
8709 eir += field_len + 1; in eir_has_uuids()
8730 static bool is_filter_match(struct hci_dev *hdev, s8 rssi, u8 *eir, in is_filter_match() argument
8752 if (!eir_has_uuids(eir, eir_len, hdev->discovery.uuid_count, in is_filter_match()
8777 u8 *eir, u16 eir_len, u8 *scan_rsp, u8 scan_rsp_len) in mgmt_device_found() argument
8799 if (!is_filter_match(hdev, rssi, eir, eir_len, scan_rsp, in mgmt_device_found()
8810 u8 *flags = eir_get_data(eir, eir_len, EIR_FLAGS, NULL); in mgmt_device_found()
8843 memcpy(ev->eir, eir, eir_len); in mgmt_device_found()
8845 if (dev_class && !eir_get_data(ev->eir, eir_len, EIR_CLASS_OF_DEV, in mgmt_device_found()
8847 eir_len = eir_append_data(ev->eir, eir_len, EIR_CLASS_OF_DEV, in mgmt_device_found()
8852 memcpy(ev->eir + eir_len, scan_rsp, scan_rsp_len); in mgmt_device_found()
8875 eir_len = eir_append_data(ev->eir, 0, EIR_NAME_COMPLETE, name, in mgmt_remote_name()