1. 17 Sep, 2014 3 commits
  2. 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
  3. 12 Sep, 2014 3 commits
  4. 11 Sep, 2014 2 commits
    • Andre Eisenbach's avatar
      LE: Use random address when initiating background connections · a015a834
      Andre Eisenbach authored
      When re-connecting to HID devices, the first reconnection immediately
      after a reboot incorrectly uses the static, public Bluetooth address of
      the phone/tablet as the own address.
      
      This patch fixes the Bluetooth initialization sequence to make sure
      privacy is enabled before any Bluetooth services are started.
      
      Bug: 16952502
      Change-Id: I43e595ddc7e347fab972b059382b512fb03e9459
      a015a834
    • Satya Calloji's avatar
      Fix ADV data exceeding max adv packet length · 7ddf2d88
      Satya Calloji authored
      Fixed the 128-bit UUID handling during setting up
      of adv data/scan response
      
      Bug:16799331
      Change-Id: I81e4ab0a80a5c1b7abf012dccc29eead54229b21
      7ddf2d88
  5. 10 Sep, 2014 2 commits
  6. 09 Sep, 2014 8 commits
  7. 08 Sep, 2014 4 commits
  8. 05 Sep, 2014 1 commit
    • Priti Aghera's avatar
      Avoid premature LE connection notifaction to app · 9c29d08b
      Priti Aghera 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.
      bug 17326529
      
      Change-Id: Id731bf02e8d5d5a68db12e0478b8eb74723eb95d
      9c29d08b
  9. 04 Sep, 2014 6 commits
  10. 03 Sep, 2014 5 commits
    • Andre Eisenbach's avatar
      Avoid race condition in SBC encoder initialization · ae13ec98
      Andre Eisenbach authored
      In the A2DP media task, btif_a2dp_encoder_update() relies on the fact
      that btif_a2dp_encoder_init() is called beforehand. Otherwise division
      by zero errors will occur.
      
      Since _init() called after the audio stream is opened, and _update() is
      called in resonse the the audio stream being opened, a race condition
      could ensue where _update() was called before open.
      
      This patch changes the A2DP stream start sequence to ensure the SBC
      encoder is initialized before the updated parameters are calculated.
      
      Bug: 17339248
      Change-Id: I6ed36a7fff0e4aa672a8866727030681eb4b3dfc
      ae13ec98
    • Zhenye Zhu's avatar
      Limit the time PAN can occupy the BTU stack thread · 95ca3c43
      Zhenye Zhu authored
      Also make sure tap read/write are non-blocking and PAN does not use the
      complete shared buffer pool to avoid GKI buffer overruns.
      
      Bug: 16374840
      Change-Id: I6f96d1c8d2804d253d33fe37ff87275e03e55ddd
      95ca3c43
    • Matthew Xie's avatar
    • Matthew Xie's avatar
      Clean up fd when failed to add monitor thread · ec2777e6
      Matthew Xie authored
      Bug: 10773872
      Change-Id: I7f5b5f976ee7fa522e02b9ee4369b8f152b15cfb
      ec2777e6
    • Chris Manton's avatar
      Bluetooth: Properly initialize UART fds · 2172d0a7
      Chris Manton authored
      If the vendor library is unable to open the UART,
      the passed in file descriptor array is unchanged.
      This array was uninitialized stack memory which
      may miss the illegal fd check and barrel ahead
      forking a userial read thread causing FD_SET
      problems should the uninitialized stack memory be
      bogus fds outside the processes boundaries.
      Verify that the vendor library was actually opening
      exactly one uart.
      
      Bug: 16651586
      
      Change-Id: I24e700cdb0b0f3ed107f56b94b5b535abba66806
      2172d0a7
  11. 02 Sep, 2014 1 commit
  12. 29 Aug, 2014 4 commits