Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 344b09fa authored by Myles Watson's avatar Myles Watson
Browse files

btif: Use multi-advertising sets when available

Bug: 201435522
Test: check logcat at boot for features
Tag: #gd-refactor
Change-Id: Ieff62e1c95d18676b3535e608788d813bd2f4eb8
parent 375bcca5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -600,6 +600,10 @@ void btif_get_adapter_property(bt_property_type_t type) {
        cmn_vsc_cb.debug_logging_supported > 0;
    const controller_t* controller = controller_get_interface();

    if (controller->supports_ble_extended_advertising()) {
      local_le_features.max_adv_instance =
          controller->get_ble_number_of_supported_advertising_sets();
    }
    local_le_features.le_2m_phy_supported = controller->supports_ble_2m_phy();
    local_le_features.le_coded_phy_supported =
        controller->supports_ble_coded_phy();