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

Commit d5598562 authored by Myles Watson's avatar Myles Watson
Browse files

RootCanal: Disable LeExtendedAdvertising

Bug: 181783722
Test: cert/run
Tag: #gd-refactor
Change-Id: I1e687b9177211385f62aff39db59c312db3c8c4a
parent f5a771b8
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);