1. 08 Sep, 2014 3 commits
  2. 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
  3. 04 Sep, 2014 6 commits
  4. 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
  5. 02 Sep, 2014 1 commit
  6. 29 Aug, 2014 6 commits
  7. 26 Aug, 2014 2 commits
    • Satya Calloji's avatar
      scanWindow and interval are reversed · 6480b8e3
      Satya Calloji authored
      Corrected the byte position for HCI Command
      - Set Batch Scan Param sub cmd
      
      bug 17182636
      
      Change-Id: I45045a6e548ed2539d5e43695725883ca1e4ed7a
      6480b8e3
    • Satya Calloji's avatar
      GKI_exception on running longer batch scans · adb7bb50
      Satya Calloji authored
      Fixed GKI memory leak in btif_gatt_client.c file
      besides few needed logic improvements which will
      help in preventing leaks on exception conditions
      
      Bug:16829603
      Change-Id: Id39267fbedeb7435cdc2c3a9eda25d4b3cd82c2f
      adb7bb50
  8. 25 Aug, 2014 2 commits
  9. 21 Aug, 2014 1 commit
  10. 20 Aug, 2014 2 commits
  11. 19 Aug, 2014 2 commits
  12. 18 Aug, 2014 2 commits
  13. 17 Aug, 2014 2 commits
  14. 16 Aug, 2014 4 commits
  15. 15 Aug, 2014 1 commit
    • Jeff Deng's avatar
      Bluetooth: Restarting PM timer during incoming rfcomm data. · e68188f8
      Jeff Deng authored
          
      During incoming rfcomm data, we were setting the pm mode to
      active, thereby stopping timer and never restarting it again.
      So it was never going to sniff , if the last packet is incoming
      packet. Therefore add change to restart the PM timer during incoming
      data.
      
      Bug:17044698
      Change-Id: I4396bb2f267b12cb92a944c15609ddeaa13288ad
      e68188f8