summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-05Merge "Bluetooth: Turn off unused-XXX warnings"android-wear-5.0.0_r1lollipop-wear-releaseAndreas Gampe
2014-12-04Bluetooth: Turn off unused-XXX warningsAndreas Gampe
For build-system CFLAGS clean-up, disable warnings locally. Should be reverted when the code is fixed. Bug: 18632512 Change-Id: I2356dbbe89d1ccec5b0bd0b60ab06bf57ce021d1
2014-12-04Merge "Revert "Correct the OBEX OPP Profile version""Matthew Xie
2014-11-18Merge "Disable some clang warnings"Chih-hung Hsieh
2014-11-12Disable some clang warningsBernhard Rosenkränzer
Disable some clang warnings that can't be fixed in the code easily. The gnu-variable-sized-type-not-at-end extension is used heavily to allow adding members to a struct after a variably sized header. constant-logical-operand is triggered by code in l2c_utils.c that looks like the construct is correct in this use case. Change-Id: I3ff8bf5b6deb7a5807dc200a50f33b2583abb9c0 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-10-25Revert "Correct the OBEX OPP Profile version"yusuke kawabe
This reverts commit e26f7c2a59ca3cd4e7d084846a3d0b9d97bae27d. SDP record of OPP v1.1 should be used 0x0100. Change-Id: Ida36f00688e7e6f032b25e796a55433ea1e12706
2014-10-18Merge "Retry pairing if the device did not respond (page timeout)" into lmp-devPrem Kumar
automerge: 25249f7 * commit '25249f7663d75244b5a2abcac08e301d584fcd8d': Retry pairing if the device did not respond (page timeout)
2014-10-18A2DP: Lowering maximum PCM frame limit to avoid audio breaksAndre Eisenbach
automerge: 01d102b * commit '01d102b3b187ab0d24050c1e12f96e6ee1ce50be': A2DP: Lowering maximum PCM frame limit to avoid audio breaks
2014-10-18Merge "Retry pairing if the device did not respond (page timeout)" into lmp-devlollipop-devPrem Kumar
2014-10-17A2DP: Lowering maximum PCM frame limit to avoid audio breaksAndre Eisenbach
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
2014-10-16Retry pairing if the device did not respond (page timeout)Andre Eisenbach
Implements a "blacklist" identifying troublesome remote devices which may require multiple pairing attempts to succeed. Change-Id: I11b6b7da7230e37fbd5ec4c07cd38b30dc12b40e
2014-10-16am 9d8df2d1: Merge "LE: Serialize multiple connection parameter update ↵Andre Eisenbach
requests" into lmp-dev * commit '9d8df2d1c4ad40fa49e7e1c1031421d8a194d927': LE: Serialize multiple connection parameter update requests
2014-10-16am d8586177: Merge "Implement GATT service cache" into lmp-devAndre Eisenbach
* commit 'd85861779fb900b1c8ac2c6597a3cc111f161dcb': Implement GATT service cache
2014-10-16Merge "LE: Serialize multiple connection parameter update requests" into lmp-devAndre Eisenbach
2014-10-16Merge "Implement GATT service cache" into lmp-devAndre Eisenbach
2014-10-15Implement GATT service cacheAndre Eisenbach
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
2014-10-15am f777d24c: am 595bcb4c: (-s ours) DO NOT MERGE Do not set sig_id in ↵Matthew Xie
gerneral reject message per AVDTP SPEC 1.2 * commit 'f777d24c24b3c1ff309151cf2bc21e98559cbf56': DO NOT MERGE Do not set sig_id in gerneral reject message per AVDTP SPEC 1.2
2014-10-15am 595bcb4c: (-s ours) DO NOT MERGE Do not set sig_id in gerneral reject ↵Matthew Xie
message per AVDTP SPEC 1.2 * commit '595bcb4c72aaa2a9a54a23b127dd5fa9842876ca': DO NOT MERGE Do not set sig_id in gerneral reject message per AVDTP SPEC 1.2
2014-10-15DO NOT MERGE Do not set sig_id in gerneral reject message per AVDTP SPEC 1.2Matthew Xie
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
2014-10-15am 4a35476c: am 98ad505f: Increment seq before adding to packet in ↵Matthew Xie
avdt_scb_hdl_write_req_no_frag * commit '4a35476c4ade75b985fa46f1ab82dad92a6b0810': Increment seq before adding to packet in avdt_scb_hdl_write_req_no_frag
2014-10-15am 98ad505f: Increment seq before adding to packet in ↵Matthew Xie
avdt_scb_hdl_write_req_no_frag * commit '98ad505f577599870cf0ae281a5d035e2e2453f9': Increment seq before adding to packet in avdt_scb_hdl_write_req_no_frag
2014-10-15LE: Serialize multiple connection parameter update requestsChaojing Sun
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
2014-10-15Increment seq before adding to packet in avdt_scb_hdl_write_req_no_fragMatthew Xie
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
2014-10-10am 12ca0ec5: Merge "Added missing A2DP priority on java alarm service" into ↵Andre Eisenbach
lmp-dev * commit '12ca0ec54796e31405a880de6675015c88857158': Added missing A2DP priority on java alarm service
2014-10-10am 1fbddc8f: Revert "Unable to connect to a Motorola s705 until Bluetooth ↵Andre Eisenbach
was toggled of and back on" * commit '1fbddc8faacde61190df31a8e6ea9142feb4bc88': Revert "Unable to connect to a Motorola s705 until Bluetooth was toggled of and back on"
2014-10-10Merge "Added missing A2DP priority on java alarm service" into lmp-devAndre Eisenbach
2014-10-10Added missing A2DP priority on java alarm serviceMattias Agren
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
2014-10-10Revert "Unable to connect to a Motorola s705 until Bluetooth was toggled of ↵Andre Eisenbach
and back on" This reverts commit a934f018b6c6a7eda4662a60f2f04828afc3ab77. 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
2014-10-08am ebc38ac1: am ba2f6d99: (-s ours) Revert "anthias:17614185:Bluetooth: ↵Simon Wilson
Getbuf returning invalid buffer pointer" * commit 'ebc38ac1acf8629d5a641c4687dd97ff1cf768e0': Revert "anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer"
2014-10-08am ba2f6d99: (-s ours) Revert "anthias:17614185:Bluetooth: Getbuf returning ↵Simon Wilson
invalid buffer pointer" * commit 'ba2f6d995d058bc9e77d860d0d755e4ae6086deb': Revert "anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer"
2014-10-08Revert "anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer"Simon Wilson
This reverts commit c1ccb0d9854cea4b2cd09bbd57fc1e1081eb96b9. This change looks like a likely candidate for the culprit behind a wide range of BT issues we're seeing across many devices. Reverting this in order to test.
2014-10-07am 5f0196cc: am 46bfe63d: (-s ours) DO NOT MERGE AVRCP: Proper handling of ↵Mallikarjuna GB
Fragmented AVCTP packet * commit '5f0196cc32e07f3db5969101d5b0da1e0434d84b': DO NOT MERGE AVRCP: Proper handling of Fragmented AVCTP packet
2014-10-07am 9c9c4bf7: am c1ccb0d9: (-s ours) anthias:17614185:Bluetooth: Getbuf ↵Maggie_Lee
returning invalid buffer pointer * commit '9c9c4bf7b879c5f5580cba02ffe6649ff433b806': anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer
2014-10-07am 46bfe63d: (-s ours) DO NOT MERGE AVRCP: Proper handling of Fragmented ↵Mallikarjuna GB
AVCTP packet * commit '46bfe63d383fd077e521d69321e011aff824bd39': DO NOT MERGE AVRCP: Proper handling of Fragmented AVCTP packet
2014-10-07am c1ccb0d9: (-s ours) anthias:17614185:Bluetooth: Getbuf returning invalid ↵Maggie_Lee
buffer pointer * commit 'c1ccb0d9854cea4b2cd09bbd57fc1e1081eb96b9': anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer
2014-10-06am de898558: Merge "Fix an "array index out of bound" bug for RPA." into lmp-devWei Wang
* commit 'de898558badd0d575829c4011fdffd33c548c1d6': Fix an "array index out of bound" bug for RPA.
2014-10-06Merge "Fix an "array index out of bound" bug for RPA." into lmp-devWei Wang
2014-10-06am 19a8f456: Merge "Raise A2DP threat priority to avoid music breaks" into ↵Andre Eisenbach
lmp-dev * commit '19a8f456d4a38694eaec270eabc5ff9aa639c86d': Raise A2DP threat priority to avoid music breaks
2014-10-06am d5aa2475: LE: Peer device\'s latest RPA is not being appliedSatya Calloji
* commit 'd5aa24750c2202ce944560c2c27ead0214e8350d': LE: Peer device's latest RPA is not being applied
2014-10-06Merge "Raise A2DP threat priority to avoid music breaks" into lmp-devAndre Eisenbach
2014-10-05LE: Peer device's latest RPA is not being appliedSatya Calloji
The latest discovered address is not used when reconnecting to devices using resolvable private addresses, if RPA resolution offloadin is not supported in the controller. This patch also address the exception case where BT off is memseting all control value while the IRK list is still being cleaned up. Bug: 17187661 Change-Id: Ifeb5b8297e7eadb0e34ec1afbd41f46bdd836cf3 Author: Chaojing Sun <cjsun@broadcom.com>
2014-10-05Raise A2DP threat priority to avoid music breaksMattias Agren
* Ensure all a2dp audiopath threads are configured to high priority when actively streaming. * For now set bt hc worker thread always to URGENT_AUDIO until new thread api can adjust thread priority dynamically. Bug: 17520043 Change-Id: I10e314085329278bcfcc4e8bc5ce899b03d22e2b
2014-10-03DO NOT MERGE AVRCP: Proper handling of Fragmented AVCTP packetMallikarjuna GB
- AVCTP : Allocate bigger buffer for reassembly - AVRCP : Handle getelimentattr to eliminate duplicates and invalid attributes, this also fixes BOF. Bug: 17669579 CRs-Fixed: 576831 Change-Id: I778c3df1386339ff8a00a755ffc9f24881b5167d
2014-10-03Fix an "array index out of bound" bug for RPA.Wei Wang
Also returns no more than BTM_BLE_MULTI_ADV_MAX for max advertise instances. Bug:17810619 Change-Id: If655e207b641fd4cd1590ae47b28185dc9f7cbbb
2014-09-25am 4baec1a8: Merge "Remove HOGP device from background connection list" into ↵Matthew Xie
lmp-dev * commit '4baec1a8b7987f6d46351ea17d359e23d0e17eb2': Remove HOGP device from background connection list
2014-09-25am 1cd92393: Null check for irk entryPriti Aghera
* commit '1cd92393c162afe68b01aafcf7a1d41ab1d21e7b': Null check for irk entry
2014-09-25Merge "Remove HOGP device from background connection list" into lmp-devMatthew Xie
2014-09-24Null check for irk entryPriti Aghera
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
2014-09-24anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointerMaggie_Lee
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
2014-09-23am 03cb1ad1: Merge "Enable flow control when tx buffer is full and peer ↵Matthew Xie
stuck in receiving" into lmp-dev * commit '03cb1ad1e063f7353c5098527bbf13ae7d563a7e': Enable flow control when tx buffer is full and peer stuck in receiving