summaryrefslogtreecommitdiff
path: root/tools/rootcanal/model/controller/link_layer_controller.cc
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-09 23:09:28 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-09 23:09:28 +0000
commit4b17cbcccf3c79b9839b32d055883b4fa12dac6c (patch)
tree671509816cac7f79d56c4515300ace3e6a1c33c4 /tools/rootcanal/model/controller/link_layer_controller.cc
parentc7d896b3b3e5aa58ec83546790cdd2f81ca32314 (diff)
parentd76065776b2690ee6c1595e46b10115ae0d32a42 (diff)
Snap for 8431966 from d76065776b2690ee6c1595e46b10115ae0d32a42 to tm-release
Change-Id: I0af90a0b5ca04edd75f394b617297a5f082d05f4
Diffstat (limited to 'tools/rootcanal/model/controller/link_layer_controller.cc')
-rw-r--r--tools/rootcanal/model/controller/link_layer_controller.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/rootcanal/model/controller/link_layer_controller.cc b/tools/rootcanal/model/controller/link_layer_controller.cc
index b4764cb6bd..655dcd0a87 100644
--- a/tools/rootcanal/model/controller/link_layer_controller.cc
+++ b/tools/rootcanal/model/controller/link_layer_controller.cc
@@ -799,7 +799,7 @@ void LinkLayerController::IncomingInquiryResponsePacket(
(bluetooth::hci::PageScanRepetitionMode)
inquiry_response.GetPageScanRepetitionMode();
- std::vector<bluetooth::hci::InquiryResult> responses;
+ std::vector<bluetooth::hci::InquiryResponse> responses;
responses.emplace_back();
responses.back().bd_addr_ = inquiry_response.GetSourceAddress();
responses.back().page_scan_repetition_mode_ = page_scan_repetition_mode;
@@ -820,7 +820,7 @@ void LinkLayerController::IncomingInquiryResponsePacket(
(bluetooth::hci::PageScanRepetitionMode)
inquiry_response.GetPageScanRepetitionMode();
- std::vector<bluetooth::hci::InquiryResultWithRssi> responses;
+ std::vector<bluetooth::hci::InquiryResponseWithRssi> responses;
responses.emplace_back();
responses.back().address_ = inquiry_response.GetSourceAddress();
responses.back().page_scan_repetition_mode_ = page_scan_repetition_mode;
@@ -1825,7 +1825,7 @@ void LinkLayerController::IncomingLeScanResponsePacket(
if (adv_type != model::packets::AdvertisementType::SCAN_RESPONSE) {
return;
}
- bluetooth::hci::LeAdvertisingReportRaw report;
+ bluetooth::hci::LeAdvertisingResponseRaw report;
report.event_type_ = bluetooth::hci::AdvertisingEventType::SCAN_RESPONSE;
report.address_ = incoming.GetSourceAddress();
report.address_type_ =
@@ -1845,7 +1845,7 @@ void LinkLayerController::IncomingLeScanResponsePacket(
properties_.IsUnmasked(EventCode::LE_META_EVENT) &&
properties_.GetLeEventSupported(
bluetooth::hci::SubeventCode::EXTENDED_ADVERTISING_REPORT)) {
- bluetooth::hci::LeExtendedAdvertisingReport report{};
+ bluetooth::hci::LeExtendedAdvertisingResponse report{};
report.address_ = incoming.GetSourceAddress();
report.address_type_ =
static_cast<bluetooth::hci::DirectAdvertisingAddressType>(address_type);