- 07 Nov, 2013 3 commits
-
-
Zhihai Xu authored
-
Sunny Kapdi authored
Host starts encryption twice when the remote device is already paired. The host sends disconnect when the second encryption attempt returns failure. This fix avoids duplicate encryption attempt. bug:11450719 Change-Id: I8ec5c4a953180ec17585aece757810421bc44aae
-
Matthew Xie authored
-
- 06 Nov, 2013 4 commits
-
-
Matthew Xie authored
We are blacklisting all the devices that are not in whitelist instead of blacklisting known bad devices. bug 11124170 Change-Id: I044970df611d2a800d7698d4a63331644ab107ce
-
Zhihai Xu authored
-
Zhihai Xu authored
need to save the BLE HID UUID to NVRAM. otherwise we will miss the HID profile setting in device profile list of the BLE HID device after reboot. bug:11541617 Change-Id: I11e1c871768e999ec1f48396018c3be379cc1b7d
-
Matthew Xie authored
-
- 04 Nov, 2013 1 commit
-
-
Matthew Xie authored
-
- 03 Nov, 2013 1 commit
-
-
Zhihai Xu authored
Merge "A typo to set wrong max connection interval value when we create a BLE connection." into klp-dev
-
- 02 Nov, 2013 2 commits
-
-
Sunny Kapdi authored
Some Headsets send HFP 1.6 cmds even when it is not supported by DUT.Send error response in those cases. bug 11450717 Change-Id: If7745959c00fd49bd737b41a49adba9e726aa5c7
-
Zhihai Xu authored
Merge "Unable to connect to a Motorola s705 until Bluetooth was toggled of and back on" into klp-dev
-
- 01 Nov, 2013 2 commits
-
-
Zhihai Xu authored
when we set the max connection interval value, we should use BTM_BLE_CONN_INT_MAX_DEF instead of BTM_BLE_CONN_INT_MIN bug:11390678 Change-Id: Ia3f6d5e9cb91b2e998d014ed4849eff8455af770
-
Sunny Kapdi authored
Removes HCI LE Read Remote features command call to prevent the concurrency between this command and HCI LE start encryption command. CRs-fixed: 517330 bug:11450568 Change-Id: I6445ab8095a4261c2a3f84acea1c546e6924f50d Signed-off-by:
Sunny Kapdi <sunnyk@codeaurora.org>
-
- 29 Oct, 2013 2 commits
-
-
Matthew Xie authored
-
Andre Eisenbach authored
Some remote devices use random addresses, but are not setting the "BR/EDR not supported" flag. Thus we try to connect to the device using BR/EDR. This patch ignores the ADV flags if the device is using a random address and always makes the connection over the LE transport. bug 11418071 Change-Id: I628775b819abd8f17745aaf98db4bb3c59166955
-
- 24 Oct, 2013 3 commits
-
-
Matthew Xie authored
-
Matthew Xie authored
Use vendor prefix address, include hbs730 headset, passat carkit bug 11124170 Change-Id: I80f634366ce332c55581d7b1e36641e5ce3ad346
-
Zhihai Xu authored
-
- 23 Oct, 2013 3 commits
-
-
Zhihai Xu authored
-
Zhihai Xu authored
The root cause is bta_gattc_disable de-register the HH GATT IF which cause bta_hh_cleanup_disable called before we receive BTA_HH_INT_CLOSE_EVT. The fix is "don't deregister HH GATT IF in bta_gattc_disable and let HH module to de-register the HH GATT IF by bta_hh_le_deregister". because HH GATT IF is a special GATT IF which won't be exposed to uplayer and HH GATT IF belong to BTA HH module, it should be managed by BTA HH. bug:11284861 Change-Id: Ia14cd2be3f3548a4d1e2dcfbc89fa3a75d9651db
-
Andre Eisenbach authored
If a remote HOGP device does not supply a valid report ID, do not prepend it to the HID report. This fixes interop issues with various LE mice, where the cursor would not move on screen as expected. BLTH02618447 Bug:11342157 Change-Id: I7832bb091654a5625f37b1531bd80fad9bbe6a51
-
- 20 Oct, 2013 2 commits
-
-
Matthew Xie authored
-
Matthew Xie authored
When the local device is openning an rfc channel and is being closed before it's opened, we should close the channel instead of ignoring. bug 11299049 Change-Id: I702500d489c8b3d3764e36340106433232a127c0
-
- 17 Oct, 2013 1 commit
-
-
Zhihai Xu authored
fix a typo which cause the crash. bug:11260131 Change-Id: I1cbe9f4d20be39f3ca13577687ac92b88b06e366
-
- 12 Oct, 2013 1 commit
-
-
zzy authored
Fixed the issue that rfcomm inbound packets could be out of order when host flow control is activating. bug 11031800 Change-Id: Idc1eb6633bb070f1ab2b33a9751fd7d714764d45
-
- 10 Oct, 2013 2 commits
-
-
Zhihai Xu authored
we should use the same role as the previous connection, if phone walk out of range, and reconnect back from remote device. bug:10648781 Change-Id: I6abd77067d26769067ba2fbd45d9e8f75cf7c764
-
Matthew Xie authored
-
- 09 Oct, 2013 4 commits
-
-
Matthew Xie authored
-
Matthew Xie authored
This change only applies to targets which do not support interleaved scan in controller. bug 8508849 Change-Id: Ia99faf92c942b4b33abfde2708eff25ec9cd5468
-
zzy authored
Bug 10949832 Change-Id: I10589b9d0a0b4b8d7cbf66122c66bb2e99be04a1
-
Matthew Xie authored
When we support MMS in the future. Revert this patch. bug 10296324 Change-Id: I9d65895d6cb55b3967efcddc2c37b3f95ba3ce38
-
- 07 Oct, 2013 2 commits
-
-
Andre Eisenbach authored
Do additional length checks when handling malformed messages. These messages are never valid, and should be dropped if seen. Before starting to parse out PDU content, it is verified that the buffer contains sufficient bytes and error condition is returned if this is not the case. Bug: 11045073 Change-Id: Ifb792d1575e0514f33e75ed73247ea638807901e
-
Matthew Xie authored
bug 10904063 Change-Id: Ia14f00eb45ff8ba1d7df73db575aff552af7677a
-
- 04 Oct, 2013 1 commit
-
-
Zhihai Xu authored
-
- 29 Sep, 2013 2 commits
-
-
Zhihai Xu authored
The crash is caused to access an array use invalid index value. The solution is to check the index before access the array. bug:10992001 Change-Id: Iad83764de9545fb2348105cf9cd9d32a85f1d654
-
Zhihai Xu authored
This is what happen: after Headset is connected, we call start_audio_datapath which will send AVDTP_Start command to Headset, Headset reject it with bad state. Bluedroid stack will ack failure to start_audio_datapath. The next time we write audio data to bluetooth, we will call start_audio_datapath again to send AVDTP_Start command to Headset Headset reject it with bad state again. Bluedroid stack will ack failure to start_audio_datapath. When the third time we call start_audio_datapath, right at that time we receive AVDTP_Start command from Headset. Handle AVDTP_Start command and Handle start_audio_datapath are in two different threads. Handle AVDTP_Start command is in btu_task thread. Handle start_audio_datapath() is in btif_task thread. We have race condition in this case Because when btif_task processed BTIF_AV_START_STREAM_REQ_EVT(triggered by start_audio_datapath), it don't know we receive AVDTP_Start command which is processed in btu_task. btif_task will send a message BTA_AV_API_START_EVT to btu_task, which will be handled by bta_av_do_start. AVDTP_start command from headset is handled by bta_av_start_ok. bta_av_start_ok will send BTA_AV_START_EVT with suspending true to btif_task and send AVDTP_Suspend command to headset to suspend the AVDTP for reconfiguration purpose. in bta_av_do_start, we will check whether the AVDTP is already started, we will know the AVDTP is already start at this time because bta_av_do_start is also running in btu_task. We will send BTA_AV_START_EVT with success to btif_task. In the btif_task, BTA_AV_START_EVT will be processed by btif_av_state_opened_handler: For the first BTA_AV_START_EVT with suspending true sent by bta_av_start_ok, it will ignore it: if ((p_av->start.status == BTA_SUCCESS) && (p_av->start.suspending == TRUE)) return TRUE; For the second BTA_AV_START_EVT with success sent by bta_av_do_start , it will ack success to start_audio_datapath, and change to BTIF_AV_STATE_STARTED/BTAV_AUDIO_STATE_STARTED, after receive success ack from bluedroid stack, we will start send Audio data to bluetooth. At last we received AVDTP_Suspend response accept from Headset, we will send BTA_AV_SUSPEND_EVT to btif_task, which will be handled by btif_av_state_started_handler. It will call btif_a2dp_on_suspended and call audio_state_cb with new audio state BTAV_AUDIO_STATE_STOPPED. so The state between bluedroid stack and audio data path is out of sync. The fix is to send failure message if we know we suspend AVDTP in bta_av_do_start, also make sure we won't miss acknowledgement for pending start if we exit opened state, to avoid audio data path dead lock. bug:10953908 Change-Id: I1704839977324b7c4e234eb843cddf3719e10d2c
-
- 18 Sep, 2013 1 commit
-
-
Matthew Xie authored
bug 7441329 Change-Id: I79d64e77f206268ace06ce0f7b16119f63655bec
-
- 17 Sep, 2013 1 commit
-
-
Zhihai Xu authored
this is caused by out of bound(invalid) index, pass to AVRC_MsgReq bug:10787111 Change-Id: I5b06c646342d0d4e9202c6e22e1c1d67275efb43
-
- 14 Sep, 2013 2 commits
-
-
Mattias Agren authored
* Increased bitpool to high quality setting (53). * Added rate quality reduction to medium quality for basic rate connections * Enhanced a2dp frame calculation ratio to smooth out frame distrubution * Removed iop scaling patch. Bug 8252054 Change-Id: I20725d0decfe5f820e1c03407889b6272e830aca
-
Zhihai Xu authored
-