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

Commit 437afcdb authored by JohnLai's avatar JohnLai
Browse files

floss: Adds INTEROP_UPDATE_HID_SSR_MAX_LAT for Bornd C170B

The bornd mouse has issue when it's in sniff subrating. The negotiated
max_lat value is not working and cause the mouse lag. This adds a new
sysprop entry to overwrite the max_lat to 0 when using bornd mouse.

Bug: 272143185
Tag: #floss
Test: m Bluetooth && manually test on bornd mouse
Change-Id: I9f7e3fd738921d2bf6742eacba4f777ce5eff44b
parent 394b5b8f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -94,6 +94,12 @@ const uint8_t
static void send_sniff_subrating(uint16_t handle, const RawAddress& addr,
                                 uint16_t max_lat, uint16_t min_rmt_to,
                                 uint16_t min_loc_to) {
  uint16_t new_max_lat = 0;
  if (interop_match_addr_get_max_lat(INTEROP_UPDATE_HID_SSR_MAX_LAT, &addr,
                                     &new_max_lat)) {
    max_lat = new_max_lat;
  }

  btsnd_hcic_sniff_sub_rate(handle, max_lat, min_rmt_to, min_loc_to);
  BTM_LogHistory(kBtmLogTag, addr, "Sniff subrating",
                 base::StringPrintf(