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

Commit 84397c65 authored by Myles Watson's avatar Myles Watson Committed by Automerger Merge Worker
Browse files

Merge "RootCanal: Disable LeExtendedAdvertising" am: d9279d66 am: 56424221

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1617639

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1e6e8f4fe62222f409a2006fa8dd4907e27b0fed
parents 9b8cbd43 56424221
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -107,7 +107,9 @@ DualModeController::DualModeController(const std::string& properties_filename, u
    uint16_t index = (uint16_t)bluetooth::hci::OpCodeIndex::name;            \
    uint16_t byte_index = index / 10;                                        \
    uint8_t bit = 1 << (index % 10);                                         \
    if (byte_index < 36) {                                                   \
      supported_commands[byte_index] = supported_commands[byte_index] | bit; \
    }                                                                        \
  }

  SET_SUPPORTED(RESET, Reset);
@@ -257,6 +259,7 @@ DualModeController::DualModeController(const std::string& properties_filename, u
  SET_SUPPORTED(LE_CLEAR_RESOLVING_LIST, LeClearResolvingList);
  SET_SUPPORTED(LE_READ_RESOLVING_LIST_SIZE, LeReadResolvingListSize);
  SET_SUPPORTED(LE_READ_MAXIMUM_DATA_LENGTH, LeReadMaximumDataLength);

  SET_SUPPORTED(LE_SET_EXTENDED_SCAN_PARAMETERS, LeSetExtendedScanParameters);
  SET_SUPPORTED(LE_SET_EXTENDED_SCAN_ENABLE, LeSetExtendedScanEnable);
  SET_SUPPORTED(LE_EXTENDED_CREATE_CONNECTION, LeExtendedCreateConnection);