- 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 1 commit
-
-
Prem Kumar authored
-
- 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 4 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
-
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 5 commits
-
-
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
-
- 10 Oct, 2014 3 commits
-
-
Andre Eisenbach authored
-
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
-
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
-
- 08 Oct, 2014 2 commits
-
-
Simon Wilson authored
* commit 'ba2f6d99': Revert "anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer"
-
Simon Wilson authored
This reverts commit c1ccb0d9. 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.
-
- 07 Oct, 2014 2 commits
-
-
Mallikarjuna GB authored
* commit '46bfe63d': DO NOT MERGE AVRCP: Proper handling of Fragmented AVCTP packet
-
Maggie_Lee authored
* commit 'c1ccb0d9': anthias:17614185:Bluetooth: Getbuf returning invalid buffer pointer
-
- 06 Oct, 2014 4 commits
-
-
Wei Wang authored
-
Andre Eisenbach authored
-
Satya Calloji authored
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>
-
Mattias Agren authored
* 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
-
- 03 Oct, 2014 2 commits
-
-
Mallikarjuna GB authored
- 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
-
Wei Wang authored
Also returns no more than BTM_BLE_MULTI_ADV_MAX for max advertise instances. Bug:17810619 Change-Id: If655e207b641fd4cd1590ae47b28185dc9f7cbbb
-
- 25 Sep, 2014 1 commit
-
-
Matthew Xie authored
-
- 24 Sep, 2014 2 commits
-
-
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
-
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
-
- 23 Sep, 2014 2 commits
-
-
Matthew Xie authored
-
Nitin Arora authored
This adds logic to remove the device from whitelist when user unpairs or disconnects device. Bug: 17318494 Change-Id: I43c06dd16c665f9ce2e71a0e031c4f0f11a4012e
-
- 19 Sep, 2014 1 commit
-
-
Satya Calloji authored
Read the controller features before local name read Bug 17505545 Change-Id: I7995a8c714ebec6e1751af5371edfd29c74b12ea
-
- 18 Sep, 2014 2 commits
-
-
Zhenye Zhu authored
peer stuck in receiving bug 17525124 Change-Id:Ic67e9c0aab7e64afc9679733e6c3de10a28078d7
-
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
-
- 17 Sep, 2014 5 commits
-
-
Andre Eisenbach authored
-
Andre Eisenbach authored
Currently a stack restart or device reboot will overwrite existing snoop logs when the stack restarts. This patch adds a new configuration file parameter "BtSnoopSaveLog" that, if enabled, will cause an existing snoop log to be renamed to "<snoop_file_name>.last" before a new snoop log is created. This will allow for easier debugging of crashes that involve a reboot or stack restart. Change-Id: I4f56204d31a6bf2e96058938e8616eb6dee7360b
-
Matthew Xie authored
-
Matthew Xie authored
When the LE pairing is initiated over NFC, skipping device scan, there is no device type or address type info. We set the default as le and public. bug 17497942 Change-Id: I3dcbb9029ead6ea0f7c48e62f46c8a055f1bc293
-
Andre Eisenbach authored
This removes a hack to set LE IO capabilities and reuses the existing constant defined in bt_target.h. Change-Id: I3c97629bd092ac78bd673afc29458775b2bce836
-
- 14 Sep, 2014 1 commit
-
-
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
-
- 12 Sep, 2014 1 commit
-
-
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
-