Lines Matching refs:pdu

1253 	DEFINE_FLEX(struct hci_cp_le_set_ext_adv_data, pdu, data, length,  in hci_set_ext_adv_data_sync()
1265 len = eir_create_adv_data(hdev, instance, pdu->data, in hci_set_ext_adv_data_sync()
1268 pdu->length = len; in hci_set_ext_adv_data_sync()
1269 pdu->handle = adv ? adv->handle : instance; in hci_set_ext_adv_data_sync()
1270 pdu->operation = LE_SET_ADV_DATA_OP_COMPLETE; in hci_set_ext_adv_data_sync()
1271 pdu->frag_pref = LE_SET_ADV_DATA_NO_FRAG; in hci_set_ext_adv_data_sync()
1274 struct_size(pdu, data, len), pdu, in hci_set_ext_adv_data_sync()
1283 memcpy(hdev->adv_data, pdu->data, len); in hci_set_ext_adv_data_sync()
1466 DEFINE_FLEX(struct hci_cp_le_set_ext_scan_rsp_data, pdu, data, length, in hci_set_ext_scan_rsp_data_sync()
1478 len = eir_create_scan_rsp(hdev, instance, pdu->data); in hci_set_ext_scan_rsp_data_sync()
1480 pdu->handle = adv ? adv->handle : instance; in hci_set_ext_scan_rsp_data_sync()
1481 pdu->length = len; in hci_set_ext_scan_rsp_data_sync()
1482 pdu->operation = LE_SET_ADV_DATA_OP_COMPLETE; in hci_set_ext_scan_rsp_data_sync()
1483 pdu->frag_pref = LE_SET_ADV_DATA_NO_FRAG; in hci_set_ext_scan_rsp_data_sync()
1486 struct_size(pdu, data, len), pdu, in hci_set_ext_scan_rsp_data_sync()
1494 memcpy(hdev->scan_rsp_data, pdu->data, len); in hci_set_ext_scan_rsp_data_sync()
1638 DEFINE_FLEX(struct hci_cp_le_set_per_adv_data, pdu, data, length, in hci_set_per_adv_data_sync()
1649 len = eir_create_per_adv_data(hdev, instance, pdu->data); in hci_set_per_adv_data_sync()
1651 pdu->length = len; in hci_set_per_adv_data_sync()
1652 pdu->handle = adv ? adv->handle : instance; in hci_set_per_adv_data_sync()
1653 pdu->operation = LE_SET_ADV_DATA_OP_COMPLETE; in hci_set_per_adv_data_sync()
1656 struct_size(pdu, data, len), pdu, in hci_set_per_adv_data_sync()