- 18 Nov, 2014 1 commit
-
-
Andre Eisenbach authored
A2DP now supports adjusting the number of A2DP frames sent per timer tick to adjust for timer drift and missed media task ticks. When the signal to the headset/speakers becomes interrupted, the number of packets to be read can queue up and rate limiting will not allow for the queue to be cleared. The overflow mechanism introduced in commit 4aebca46 will cause the media task to stop sending packets completely, which can underflow the jutter buffer on the remote device and lead to audio drop-outs. This patch removes the overflow mechanism and also adds code do discard audio frames that could not be sent to the remote device (weak signal etc) to allow the device to stay in sync and not build up audio delays. Also added additional debug logging and changed the UIPC flush mechanism to address an issue where reading byte by byte causes an endless flush loop if remote UIPC producer writes data faster than the flush loop consumes it. Bug: 18244205 Change-Id: I9a424984806bb2a464877399804b3355b2c439c3 (cherry picked from commit c5916e97)
-
- 05 Nov, 2014 1 commit
-
-
Satya Calloji authored
Bug:17703806 Change-Id: I103d3637ad38d33b4370850a300b0d72bdaeb562
-
- 04 Nov, 2014 2 commits
-
-
Andre Eisenbach authored
* commit 'f37767a1': HOGP: Do not remove device from whitelist on encryption failure
-
Andre Eisenbach authored
If the encryption times out during the re-connect process for a HOGP device, the device is removed from the whitelist and thus will not reconnect until it is added back to the list. On platforms that do not have a way to reconnect to a device manually, this means the device will never reconnect again until the stack is restarted. This patch checks the reason for the encryption failure and does not remove the device from the whitelist if the encryption failed to a non authentication/key related error. Bug: 18233442 Change-Id: Ifaec4a9224ff9281956715b38d34c2d7c3fecb01
-
- 03 Nov, 2014 10 commits
-
-
Matthew Xie authored
am e50c7933: DO NOT MERGE Do not set sig_id in gerneral reject message per AVDTP SPEC 1.2 automerge: 595bcb4c -s ours automerge: 23699356 -s ours * commit 'e50c7933':
-
Matthew Xie authored
am 87303c76: Increment seq before adding to packet in avdt_scb_hdl_write_req_no_frag automerge: 98ad505f automerge: f81ffdb1 * commit '87303c76':
-
Matthew Xie authored
DO NOT MERGE Do not set sig_id in gerneral reject message per AVDTP SPEC 1.2 automerge: 595bcb4c -s ours automerge: 23699356 -s ours * commit '23699356':
-
Matthew Xie authored
automerge: f81ffdb1 * commit 'f81ffdb1':
-
Simon Wilson authored
am 5fe98634: am ba2f6d99: Revert "anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer" automerge: 8403c6d2 * commit '5fe98634':
-
Simon Wilson authored
automerge: 8403c6d2 * commit '8403c6d2':
-
Mallikarjuna GB authored
am 27c93b25: am 46bfe63d: DO NOT MERGE AVRCP: Proper handling of Fragmented AVCTP packet automerge: f9336d34 -s ours * commit '27c93b25':
-
Maggie_Lee authored
am 36ba410e: am c1ccb0d9: anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer automerge: 0e74efe5 * commit '36ba410e':
-
Mallikarjuna GB authored
automerge: f9336d34 -s ours * commit 'f9336d34':
-
Maggie_Lee authored
automerge: 0e74efe5 * commit '0e74efe5':
-
- 28 Oct, 2014 3 commits
-
-
Prerepa Viswanadham authored
* commit '472c2a7b': Don't starve a BT ACL link with 0 xmit quota
-
Matthew Xie authored
automerge: 595bcb4c -s ours * commit '595bcb4c': DO NOT MERGE Do not set sig_id in gerneral reject message per AVDTP SPEC 1.2
-
Matthew Xie authored
automerge: 98ad505f * commit '98ad505f': Increment seq before adding to packet in avdt_scb_hdl_write_req_no_frag
-
- 23 Oct, 2014 1 commit
-
-
Prerepa Viswanadham authored
With new link management of controller buffers between different ACL connections, it is possible that a ACL conn would get 0 buffers - thus no profile can run. This affects classic and LE ACL connections. This work around allows a floor of 1 buffer as the floor for all connection, irrespective of controller capability. Bug: 17976311 Change-Id: I7cd0d34af47c441c5ea7f2b836b591a4fec62ad1
-
- 22 Oct, 2014 2 commits
-
-
Andre Eisenbach authored
* commit '5e808468': LE: Do not remove bond on encryption failure
-
Andre Eisenbach authored
If the encryption fails during the re-connection process with a previously paired LE device, the pairing is removed. Thus, a single connection failure could lead to the device be unpaired. This patch prevents unpairing when encryption fails. Additionally, the IRK is restored from NV ram to fix reconnection to dual-mode devices. Bug: 18072300 Change-Id: I077a16d0715fdaa07b95b1c664c18bd839754896
-
- 21 Oct, 2014 3 commits
-
-
Chaojing Sun authored
* commit '433fe016': Cache HOGP HID report map
-
Prem Kumar authored
* commit '25249f76': Retry pairing if the device did not respond (page timeout)
-
Andre Eisenbach authored
* commit '01d102b3': A2DP: Lowering maximum PCM frame limit to avoid audio breaks
-
- 20 Oct, 2014 1 commit
-
-
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
-
- 18 Oct, 2014 2 commits
-
-
Prem Kumar authored
-
Wei Wang authored
Bug:17574681 Change-Id: Ia33d0a845d5a4ac5aa58bd32529aeae60db4fd49
-
- 17 Oct, 2014 1 commit
-
-
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
-
- 16 Oct, 2014 6 commits
-
-
Andre Eisenbach authored
Implements a "blacklist" identifying troublesome remote devices which may require multiple pairing attempts to succeed. Change-Id: I11b6b7da7230e37fbd5ec4c07cd38b30dc12b40e
-
Andre Eisenbach authored
* commit '9d8df2d1': LE: Serialize multiple connection parameter update requests
-
Andre Eisenbach authored
* commit 'd8586177': Implement GATT service cache
-
Andre Eisenbach authored
-
Andre Eisenbach authored
-
Andre Eisenbach authored
When trying to reconnect a previously paired device, notifications may be sent by the remote device before the characteristic handles have been discovered. Thus notifications will be lost. This patch adds a non-volatile attribute cache that allows attribute handles to be restored before notifications are received. Bug: 17999991 Change-Id: I97faefbc6a2fed86cbce7f64d620ed03944d89b2
-
- 15 Oct, 2014 7 commits
-
-
Matthew Xie authored
am f777d24c: am 595bcb4c: (-s ours) DO NOT MERGE Do not set sig_id in gerneral reject message per AVDTP SPEC 1.2 * commit 'f777d24c': DO NOT MERGE Do not set sig_id in gerneral reject message per AVDTP SPEC 1.2
-
Matthew Xie authored
* commit '4a35476c': Increment seq before adding to packet in avdt_scb_hdl_write_req_no_frag
-
Matthew Xie authored
* commit '595bcb4c': DO NOT MERGE Do not set sig_id in gerneral reject message per AVDTP SPEC 1.2
-
Matthew Xie authored
AVDTP SPEC 1.3 set sig_id in gerneral reject message. But current stack is on AVDTP 1.2, we need set the field to be 0. Setting sig_id would fail PTS test TP/SIG/SMG/BI-28-C Bug: 17892440 Change-Id: I2037aae299eab15864fc7b53ada7f49c0f34b9c5
-
Matthew Xie authored
* commit '98ad505f': Increment seq before adding to packet in avdt_scb_hdl_write_req_no_frag
-
Chaojing Sun authored
Bluetooth controllers do not allow multiple connection parameter updates where there is one outstanding. This requires serializing all connection parameter update requests and send the latest request when the pending one is finished. Bug: 17979666 Change-Id: Ic49bd89a4ded28014d74b40e67f2a3ea490b9ef7
-
Matthew Xie authored
Bluetooth Certification Test case TP/TRA/BTR/BV-01-C for Basic Transport Service Support fails. The failure is because the PTS is expecting the first RTP Media Frame to have a sequence number of 1. But metallica sends it as 0. bug 17893538 Change-Id: Idfe7ae382c3764616dab4733cdf83b1627b8b3c9
-