summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bt: Fix ANT support for MSM8992/4cm-14.0Ketut Putu Kumajaya2016-09-192-0/+7
| | | | | Change-Id: I0b3663e527700257e1c612e788eb83e36a3a9410 (cherry picked from commit 74b0e9f702d1a2af5e4e95e901270f6a15b878c4)
* Revert "msm8974: remove from top level makefile"Chirayu Desai2016-08-251-1/+1
| | | | | | This reverts commit c7dc913784965e4ce705c2045f0a8b43fcd1db1c. Change-Id: I1162dbf651c02c0ea53a1c1c52412ab810573a21
* bt: Add guard makefileSteve Kondik2016-08-251-0/+6
| | | | Change-Id: I33d6db9d8368aa8d9458aba0bca06cad08a15eb3
* Enable LPM idle timeout for all chipsetsSunny Kapdi2016-06-221-1/+1
| | | | | | | | Set LPM idle timeout to 1 sec for all chipsets. Bug: 29471412 Change-Id: I8fd154dfe256d9b85f19375bbef7518841d2522d (cherry picked from commit 1b44862e7d7319ad31f9020e242ef8132c5ee079)
* Reset vendor power state while BT power on.Sunny Kapdi2016-06-161-0/+5
| | | | | | | | | | | | | | | | | | | Use case: SSR or other similar cases when Bluetooth process is killed abruptly without cleanup. Steps: SSR or command timeout cases where Bluetooth process gets killed abruptly. Failure: Since, vendor cleanup is not done properly, next BT enable fails. Root cause: Vendor power state was not reset. Fix: Added check for previous known vendor state and send vendor power off while enabling BT if it is not in off state. Bug:29243594 Change-Id: I5394f1e0ca8a581fc43efc7440a08aa9b520929d
* bt: Create new msm8996 BT HAL. [DO NOT MERGE ANYWHERE]Ecco Park2016-06-1523-5/+6676
| | | | | | | Bug: 29243594 Change-Id: I4a7a6483b1a9a108b7207caa03e2d2ffef0263e1 Signed-off-by: Ecco Park <eccopark@google.com>
* Do not send enable_controller_log if it is already doneBen YoungTae Kim2016-05-251-1/+7
| | | | | | | | | | | | Enabling controller log by sending vendor specific command is required once. Don't need to send WS command if state is not initial stage. It is possible to lead crash if stage is in middle of turning off or so. Bug: 28614494 Change-Id: I92a13a3357f488b9bca20d7a66a1eaf639854aee Signed-off-by: Ben YoungTae Kim <ytkim@qca.qualcomm.com> (cherry picked from commit 166c2b1c14e88e6b94285f04b5a666a035189843)
* msm8974: remove from top level makefilePatrick Tjin2016-05-061-1/+1
| | | | | Bug: 27656253 Change-Id: I58c64bb26384912db015869454597ec462705f75
* Reduce verbose log in libbt-vendorBen YoungTae Kim2016-04-261-21/+20
| | | | | | | | | | In libbt-vendor, we printed out a lot of details of each segment of TLV & rampatch file so that we can reduce it by set the log level to 6. Fixes: 28201025 Change-Id: I71c09e3ac69281aad368488e244c6ae84d55cf17 Signed-off-by: Ben YoungTae Kim <ytkim@qca.qualcomm.com>
* Bluetooth: Add to get BT FW SU informationBen YoungTae Kim2016-04-063-23/+72
| | | | | | | | | From FW patch file, it extract FW SU information and save into filesystem to record current FW SU. Change-Id: I4f98f6a8e42fd7e3a7107ca3aeee371668bbb4a4 Signed-off-by: Ben YoungTae Kim <ytkim@qca.qualcomm.com>
* Bluetooth: Handle partial write during FW downloadBen YoungTae Kim2016-04-061-9/+38
| | | | | | | | | | | | Handle partial write of packet during fw download to make sure full packet is written. Flush FD after baudrate change to remove leftover data Change-Id: If12727daae5f06b1607cf34c4ef29b46bbff5d9f CRs-Fixed: 845058 Signed-off-by: Ben YoungTae Kim <ytkim@qca.qualcomm.com>
* Fixed the problem of ADSP crash while Fuzzing BTLuke Zhang2016-03-161-2/+25
|\ | | | | | | | | | | | | am: 2bef2d6 * commit '2bef2d6c7e96f4edf0eb1510b6788ef064fb2193': Fixed the problem of ADSP crash while Fuzzing BT
| * Fixed the problem of ADSP crash while Fuzzing BTLuke Zhang2016-03-141-2/+25
| | | | | | | | | | | | | | | | | | | | During Fuzzing BT test, BT cannot recover after SSR was triggered due to command timed out. The reason is that during this test, the property of wc_transport.force_special_byte was not set, so SOC stayed in suspend mode. Change-Id: I41f9dae5ec4c771e078d09213b0d19f23ec9de1f CRs-fixed: 964802
* | Pick msm8992 HAL for msm8996Sunny Kapdi2016-02-244-6/+3
| | | | | | | | Change-Id: I96b9eb810bff42d9dcfbe4d371a401e0b6af3a9f
* | resolve merge conflicts of 14231e3c57 to master.Prashant Malani2016-02-0322-0/+6813
|\ \ | | | | | | | | | Change-Id: I5333f649b7d3f3142846c33be55d6e4735a090d1
| * | bt: msm8909w caf release LW.BR.1.0-00410-8x09w.0Prashant Malani2016-02-0322-0/+6815
| |\| | | | | | | | | | | | | | | | | | | am: 982edd19a0 * commit '982edd19a092114c479134cb16e0af54730edf1f': bt: msm8909w caf release LW.BR.1.0-00410-8x09w.0
| | * bt: msm8909w caf release LW.BR.1.0-00410-8x09w.0Prashant Malani2016-02-0322-0/+6815
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSM8909w BT HAL code copied from CAF release LW.BR.1.0-00410-8x09w.0 2a304f2 Fixed the issue that BT cannot be turned on after overnight testing e4eb949 Bluetooth: change patch download procedure as blocking procedure. 3296ccf Opt out of clang till issues are fixed dbad760 Bluetooth-wipower:Enable BT turn on sequence to be generic. 04e5f76 Bluetooth: Add parameter to indicate reason for ssr_cleanup Fixed makefiles to be compatible with PDK without kernel source Change-Id: Id0dc2c13d441964ccd45b61ce4f674ca69faaec5
* | | Merge "Disable clang compiler to unblock bullhead system build." am: ↵Chih-hung Hsieh2016-01-210-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | 094831f949 am: 26034bfebb am: a9592d6a94 * commit 'a9592d6a94e4d311b10e22ba730290763b93ac00': Disable clang compiler to unblock bullhead system build.
| * | Merge "Disable clang compiler to unblock bullhead system build." am: 094831f949Chih-hung Hsieh2016-01-210-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | am: 26034bfebb * commit '26034bfebb0c2828db848eefb28c17ba4551e321': Disable clang compiler to unblock bullhead system build.
| | * \ Merge "Disable clang compiler to unblock bullhead system build."Chih-hung Hsieh2016-01-210-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 094831f949 * commit '094831f949adfb438b1e475af469bf36332f5d16': Disable clang compiler to unblock bullhead system build.
| | | * \ Merge "Disable clang compiler to unblock bullhead system build."Chih-hung Hsieh2016-01-211-0/+3
| | | |\ \
| | | | * | Disable clang compiler to unblock bullhead system build.Chih-Hung Hsieh2016-01-201-0/+3
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See bug description for the many compilation errors. BUG: 24172208 Change-Id: I82c0bf47b4f5dfb1bbdf13d38fce032619b6b2f2
* | | | | Delay UART CLK_OFF during BT init sequenceSunny Kapdi2016-01-201-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UART clk vote was not held for a short duration post firmware-download sequence and prior to returning from vendor open callback. Since libbt-vendor relies on UART to hold the wakelock, and the stack/framework doesn't hold a wakelock during BT init, there is a chance that the system can go to sleep during BT_VND_OP_USERIAL_OPEN without this fix. Bug: 24669317 Change-Id: Idd568dd70c8ae82a548dae8a3d59199e24e031e9
* | | | | resolve merge conflicts of 7f7bf8bb8d to master.Bart Sears2016-01-1421-6790/+0
|\| | | | | | | | | | | | | | | | | | | Change-Id: I1e64d68626183ca53859618ee896d9ab5a04963c
| * | | | Revert "bt: msm8909w caf release LW.BR.1.0-00410-8x09w.0"Bart Sears2016-01-1521-6792/+0
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | am: 5497661977 * commit '54976619773fc6d314373babe4495937efea8199': Revert "bt: msm8909w caf release LW.BR.1.0-00410-8x09w.0"
| | * | | Revert "bt: msm8909w caf release LW.BR.1.0-00410-8x09w.0"Bart Sears2016-01-1521-6792/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5f13e7bfe2779a609ff7990cced19d3911825aea. Change-Id: I2ef86829a48d2f0a7cc1148ab29314d912b9009a
* | | | | resolve merge conflicts of dccc83fc45 to master.Prashant Malani2016-01-1421-0/+6790
|\| | | | | | | | | | | | | | | | | | | Change-Id: Iecb0e1e9176a9bd23937dca97ebc270b396d12ab
| * | | | bt: msm8909w caf release LW.BR.1.0-00410-8x09w.0Uday Kishore Pasupuleti2016-01-1421-0/+6792
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 5f13e7bfe2 * commit '5f13e7bfe2779a609ff7990cced19d3911825aea': bt: msm8909w caf release LW.BR.1.0-00410-8x09w.0
| | * | | bt: msm8909w caf release LW.BR.1.0-00410-8x09w.0Uday Kishore Pasupuleti2016-01-1121-0/+6792
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSM8909w BT HAL code copied from CAF release LW.BR.1.0-00410-8x09w.0 2a304f2 Fixed the issue that BT cannot be turned on after overnight testing e4eb949 Bluetooth: change patch download procedure as blocking procedure. 3296ccf Opt out of clang till issues are fixed dbad760 Bluetooth-wipower:Enable BT turn on sequence to be generic. 04e5f76 Bluetooth: Add parameter to indicate reason for ssr_cleanup Fixed makefiles to be compatible with PDK without kernel source
* | | | Disable clang compiler to unblock bullhead system build. am: 3621506456Chih-Hung Hsieh2015-12-180-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 270ec2b9a0 * commit '270ec2b9a0548baf509a49e9c2ec67e2acd3f1c3': Disable clang compiler to unblock bullhead system build.
| * | | Disable clang compiler to unblock bullhead system build.Chih-Hung Hsieh2015-12-180-0/+0
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | am: 3621506456 * commit '3621506456b810b3f624edb15a3ade16633ba866': Disable clang compiler to unblock bullhead system build.
| | * | Disable clang compiler to unblock bullhead system build.Chih-Hung Hsieh2015-12-181-0/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | See bug description for the many compilation errors. BUG: 24172208 Change-Id: I4d7a7a0091bbf3500556f3cf5cfedd919227c862 (cherry picked from commit 312490750b71c6d6b640615b54bec4fafe99116d)
* | | Disable clang compiler to unblock bullhead system build.Chih-Hung Hsieh2015-12-180-0/+0
|\| | | | | | | | | | | | | | | | | | | | am: a15c522dd3 * commit 'a15c522dd3d9885a4dd70997579baea3dc7e8fdf': Disable clang compiler to unblock bullhead system build.
| * | Disable clang compiler to unblock bullhead system build.Chih-Hung Hsieh2015-12-171-0/+3
| |/ | | | | | | | | | | | | | | See bug description for the many compilation errors. BUG: 24172208 Change-Id: I4d7a7a0091bbf3500556f3cf5cfedd919227c862 (cherry picked from commit 312490750b71c6d6b640615b54bec4fafe99116d)
* | Workaround for adp8064Steve Paik2015-11-121-6/+9
| | | | | | | | | | | | | | This is a squash of Ic529e3f1c30b012bbb50001a8fbee2ff9455accc and I17ef0ca49128954a8f84cb7eacb27cf9c9e4dcb1 Change-Id: I051c5f6683fc6161b5362cba456631a464cc8453
* | Disable clang compiler to unblock bullhead system build.Chih-Hung Hsieh2015-09-221-0/+3
|/ | | | | | | See bug description for the many compilation errors. BUG: 24172208 Change-Id: I4d7a7a0091bbf3500556f3cf5cfedd919227c862
* Remove dependency from libbtnvSunny Kapdi2015-08-263-7/+20
| | | | | | | BD_ADDR is passed by the stack and is not required to be fetched from libbtnv Change-Id: If77f1f96c11d6c78544428fec487da6dbb076b52
* Merge commit 'b3d2494' into master_mergePrerepa Viswanadham2015-05-012-1/+26
|\
| * Move gen-buildcfg.sh into Qualcomm libbt-vendorZach Johnson2015-04-222-1/+26
| | | | | | | | | | | | | | | | | | The script has moved out of /external/bluetooth/bluedroid to avoid a cross-project dependency. b/20499862 Change-Id: I644bbb25850acdafb581130f8dba47ab25da9cc6
* | qcom/bt: update bt firmware pathVineeta Srivastava2015-05-011-4/+4
| | | | | | | | | | | | set bluetooth firmware path to /vendor/firmware Change-Id: I0ccb2217e1cad788335c3bc5280c8adbb7578bcc
* | qcom/bt: move bullhead configurationVineeta Srivastava2015-04-301-0/+0
| | | | | | | | | | | | move bullhead configuration under msm8992 Change-Id: I01f8d9a5db8455575cb6d7ceac60ff3b49c626b0
* | qcom/bt: Enable 8992/4 BluetoothMekala Natarajan2015-04-3022-2/+6570
| | | | | | | | | | | | Bluetooth HAL version LA.BF64.1.2.9 Change-Id: Ie0a9bc987cc27952672b50e814042bb58fc47597
* | bt: moved hal implementation under msm8960Vineeta Srivastava2015-04-2914-1/+4
| | | | | | | | | | | | | | This implementation is msm8960 chipset specific. Move it under msm8960 directory. Change-Id: I93741a5277491c001b2ff85c70c27a9afdd936bb
* | Merge commit '68fdd9d1'Qiwen Zhao2015-04-250-0/+0
|\ \
| * \ Merge changes from topic 'system-bt'Ed Heyl2015-04-255-4/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | * changes: Change path to bluetooth stack Fix vendor library build errors
| | * | Change path to bluetooth stackScott James Remnant2015-04-241-1/+1
| | | | | | | | | | | | | | | | Change-Id: If3dd41318c8ffd97b6a45b88135897804ff6e6e2
| | * | Fix vendor library build errorsAndre Eisenbach2015-04-245-3/+6
| |/ / | | | | | | | | | Change-Id: Id2519819710dbf6bf2c1cb592a5c38e3f12c04e8
* | | Change path to Bluetooth stackScott James Remnant2015-04-241-1/+1
| | | | | | | | | | | | Change-Id: Idfe310deda14d21daeacca5a2c82a66157e80c16
* | | Add configuration for bullheadHyejin Kim2015-04-131-0/+7
| | | | | | | | | | | | Change-Id: Icf29adda5ef30e221316a90655bc91ad904226a9
* | | msm8992/4: Add to bluetooth makefilePatrick Tjin2015-04-131-1/+1
| | | | | | | | | | | | | | | Change-Id: Icfa3981d7a1aacbad9568e28718d71e0733e276c Signed-off-by: Patrick Tjin <pattjin@google.com>