1. 20 Oct, 2014 1 commit
    • Chaojing Sun's avatar
      Cache HOGP HID report map · 433fe016
      Chaojing Sun authored
      HID reports from a bonded device can be missed when Bluetooth is
      restarted HOGP report discovery is still active. Caching the
      report information and loading it back when the stack resets
      will ensure incoming HID reports can be processed immediately.
      
      Bug: 17999991
      Change-Id: I4608935f8749537d6b05625b894445a21f844ee0
      433fe016
  2. 18 Oct, 2014 1 commit
  3. 17 Oct, 2014 1 commit
    • Andre Eisenbach's avatar
      A2DP: Lowering maximum PCM frame limit to avoid audio breaks · 01d102b3
      Andre Eisenbach authored
      Some car kits (notably Renesas car kits used in Nissan/Infiniti models)
      will throttle incoming A2DP frames if too many frames are sent at once.
      This patch lowers the maximum number of frames sent per tick to not
      overwhelm the remote device.
      
      Bug: 17880920
      Change-Id: I7bfbba625405c96159d1c94eebd8dc498f100daa
      01d102b3
  4. 16 Oct, 2014 4 commits
  5. 15 Oct, 2014 5 commits
  6. 10 Oct, 2014 3 commits
    • Andre Eisenbach's avatar
    • Mattias Agren's avatar
      Added missing A2DP priority on java alarm service · f061e74b
      Mattias Agren authored
      Running GKI timer engine via JAVA alarm service was causing severe
      timer preemption at times which affects A2DP media task timer. This in
      turn was stressing the compensation logic towards UIPC resulting in
      very bursty reads of up to 40 UIPC frames at a time. This led to
      instabilities on the UIPC pipe and trickled upwards in audio framework.
      Inclusion of java alarm thread in A2DP high priority thread list results
      in a much smoother data flow for entire A2DP data path and improved
      audio quality.
      
      Bug: 17520043
      Change-Id: I7cea6ec64aa5b973b5fff767389a8827e681619e
      f061e74b
    • Andre Eisenbach's avatar
      Revert "Unable to connect to a Motorola s705 until Bluetooth was toggled of and back on" · 1fbddc8f
      Andre Eisenbach authored
      This reverts commit a934f018.
      
      This patch caused various headset audio break issues and slow
      reconnections on headsets like the Bose AE2W.
      
      Based on the original bug under which this patch was merged
      (b/10648781) it is unlikely that this bug even fixed the
      issue it was meant to address.
      
      Bug: 17520043
      Change-Id: I39bb9abbf5735abff25b5257425c34972287dc27
      1fbddc8f
  7. 08 Oct, 2014 2 commits
  8. 07 Oct, 2014 2 commits
  9. 06 Oct, 2014 4 commits
  10. 03 Oct, 2014 2 commits
  11. 25 Sep, 2014 1 commit
  12. 24 Sep, 2014 2 commits
    • Priti Aghera's avatar
      Null check for irk entry · 1cd92393
      Priti Aghera authored
      When BT is turning off btm_ble_vendor control block is cleaned up.
      So irk_entry which points to the first element of irk_list is NULL
      Included a null check for irk_entry to prevent stack crash.
      
      Bug 17399097
      
      Change-Id: Ib129f7dd06f9db61cc54257aa4a563fe2c9f41f2
      1cd92393
    • Maggie_Lee's avatar
      anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer · c1ccb0d9
      Maggie_Lee authored
      b/17623865
      
      Getbuff is checking for the pool which can accommodate
      requested size, but it changing the pool with a restricted
      check and not checking for the free memory size in that pool.
      
      Added a check to avoid return the wrong pool free buf pointer
      and avoid gki get_buffer overflow.
      
      Change-Id: I142870c989fc37f49c2d9b411d5eddbfba59bd9d
      c1ccb0d9
  13. 23 Sep, 2014 2 commits
  14. 19 Sep, 2014 1 commit
    • Satya Calloji's avatar
      All 00 mac address with advt · 3f24f460
      Satya Calloji authored
      Read the controller features before local name read
      
      Bug 17505545 
      Change-Id: I7995a8c714ebec6e1751af5371edfd29c74b12ea
      3f24f460
  15. 18 Sep, 2014 2 commits
    • Zhenye Zhu's avatar
      Enable flow control when tx buffer is full and · b4a53ec6
      Zhenye Zhu authored
      peer stuck in receiving
      
      bug 17525124
      Change-Id:Ic67e9c0aab7e64afc9679733e6c3de10a28078d7
      b4a53ec6
    • Chris Manton's avatar
      Check userial fd before reading · d1e6922c
      Chris Manton authored
      The userial read loop uses one global flag
      to condition the serial port read and a
      second global file descriptor variable that
      may change from another thread underneath it.
      
      Check the validity of the serial port file
      descriptor by making a copy immediately before
      the read and only proceeding if it's a valid fd.
      
      bug: 17552690
      
      Change-Id: Iaaf1b8476fdee462ddc178d2a31ef8f55cb33e52
      d1e6922c
  16. 17 Sep, 2014 5 commits
  17. 14 Sep, 2014 1 commit
    • Priti Aghera's avatar
      host cannot recover when connection exceed controller capability · 24adb37e
      Priti Aghera authored
      Host can not initiate new connection when exceed controller capability
      and connection then drop back to lower than the max. Controller will not
      generate connection complete event when initaite LE ll connection request
      failed, and host is dead loop waiting for the connection complete
      then can not recover. Included a connection complete callback with failure
      status when controller capability is exceeded.
      
      bug 17326529
      Change-Id: I9b863578dc868456e092f1d060e50d2c9fdcb441
      24adb37e
  18. 12 Sep, 2014 1 commit
    • Prerepa Viswanadham's avatar
      Avoid premature LE connection notifaction to app · 7ae25156
      Prerepa Viswanadham authored
      To avoid premature connection notification to app, always wait for
      LE read remote feature complete with success before the connection
      event is sent to application.
      
      This patch also deprecates the BTA_SKIP_BLE_READ_REMOTE_FEAT flag.
      Since the remote feature request is now serialized and start encryption
      won't be called until the connection is up, this flag is no longer
      necessary and interferes with the new behaviour.
      
      This is an extension of previous CL
      
      Bug: 17326529
      Change-Id: Icfd4c5dfdd9f89d1318ef429e132eb005abb1f64
      7ae25156