summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-26Disable QCOM-specific build flagAlexey Polyudov
Change-Id: Ic0a71365a4c01f9f46fb137bb8a7a8978850d744 Signed-off-by: Alexey Polyudov <apolyudov@google.com>
2017-09-22Bluetooth: BT_Vendor: Fix the build error in BT vendorYanfei Zhou
* Reason (1) Originally, the macro "FM_OVER_UART" is always defined in BT vendor lib. (2) If the macro is enabled, "FM_VND_OP_POWER_CTRL" should also be handled. (3) However, "FM_VND_OP_POWER_CTRL" is specific with QC value-added feature, in which the valud should be defined in Fluroi (4) "FM_VND_OP_POWER_CTRL" isn't defined. This results into the build error. * Resolution (1) Define "FM_OVER_UART" conditionally through the new setting "ENABLE_FM_OVER_UART". (2) By default, "ENABLE_FM_OVER_UART" is un-defined. To enable the feature, set it as "true" in "BoardConfig.mk". Change-Id: Ieadfe3438bc3cbabe9f8d4ced6cc64d0603067ad Signed-off-by: Yanfei Zhou <zyanfei@codeaurora.org>
2017-09-15Merge remote-tracking branch 'goog/qcom/release/LA.UM.6.3.R1.00304.1'Alexey Polyudov
2017-09-14Initial empty repositorykuantung
2017-09-06Merge remote-tracking branch 'b1c1/qcom/release/LA.UM.6.3.R1.00304.1' into ↵Alexey Polyudov
b1c1-dev-20170906
2017-08-25Merge 84afe44e1a2948f37674c6fd0dc89dbee57fef77 on remote branchLinux Build Service Account
Change-Id: I17591e1c6ad3425746e53b9095034e396e7812e3
2017-08-24Merge remote-tracking branch 'team/qcom/LA.UM.6.3.R1.00278.1' into b1c1-devAlexey Polyudov
2017-08-14Merge 69a0af99b2403a1f64b56e849a79703fdb9c045e on remote branchLinux Build Service Account
Change-Id: I369fb95cff792af8066505cd0aeb875fb50c8928
2017-08-10Reset wcnss_filter flag in case of failure to launch itLuke Zhang
In case of failure of launching wcnss_filter, we need to reset its flag so that we can re-launch it next time. Change-Id: I346c29eee7eb011264cfdf18089681fdc8630779
2017-07-25BT: Add support for Napier chipxiaowang
Add BT_SOC_NAPIER definition Change-Id: I03900d6af74f19848ab4ff25288c188a90f17be1
2017-05-15Merge 6a71c31f1f2cf02f4a639602922fa15abf7152a1 on remote branchLinux Build Service Account
Change-Id: I27a5e021ca416a355298a50860be0221ac51ce3a
2017-05-07Merge "Revert "Disable FM over UART for pure AOSP configuration""Linux Build Service Account
2017-04-11Merge "Bluetooth: Remove 'ssr_cleanup' in 'BLUETOOTH_VENDOR_LIB_INTERFACE'"Linux Build Service Account
2017-04-08Revert "Disable FM over UART for pure AOSP configuration"Satish kumar sugasi
This reverts commit a4c133cc9aa3b4decb31b139faec41e1c9b56646. Change-Id: Iad99331662147da7324a87814e3b0da75271694e
2017-04-03Fix the issue that BT power can't be recovered properly, especially if there ↵Huajie Wu
is some un-expected system error/exception. Change-Id: If5df647beae664d078bbafddc5b757ac9c66ee58 Signed-off-by: Huajie Wu <whj@codeaurora.org>
2017-03-17Bluetooth: Remove 'ssr_cleanup' in 'BLUETOOTH_VENDOR_LIB_INTERFACE'Yanfei Zhou
Reason: 'ssr_cleanup' is not defined in 'bt_vendor_interface_t' Change-Id: I4001283b0fa7eb6dbbec0fb6578c84ce20d09535 Signed-off-by: Yanfei Zhou <zyanfei@codeaurora.org>
2017-03-09Disable Mutex lock for bt_qcom_structSatish kumar sugasi
Mutex lock usage is configurable to enable if needed, by default disabled Change-Id: I897517004b0272398373f181bd30d44ff1c09a51
2016-12-08Disable FM over UART for pure AOSP configurationDavid Ng
Disable feature that is not supported by pure AOSP. Change-Id: Ic55f99c1fdb88139697e0f0b7402bb22723aa802
2016-12-08Add missing header include for hw_ar3kDavid Ng
Add header include for hw_ar3k instead of relying on include chain dependencies. Change-Id: Ie0a43e07c670be8d8ab7174c910d062a87e9d82c
2016-11-23Promotion of bt.lnx.2.1-00038.Linux Build Service Account
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1090426 I03550e5e1b4cc945e1e39e39deb27a442a21ddd0 Add kernel build as a dependency of libbt-vendor Change-Id: I0fbbf28d1ec89f6233927b1138dabff3f7d0d6b2 CRs-Fixed: 1090426
2016-11-18Promotion of bt.lnx.2.1-00035.Linux Build Service Account
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1090097 Ieb0efe98cfa5efdcd3f5c0d62795bc987c13082d BT: Modify implementation for command timeout crashdump Change-Id: I67b8a3805f6f49cdea0f3d47210ee2038f7779d8 CRs-Fixed: 1090097
2016-11-17Add kernel build as a dependency of libbt-vendorLuke Zhang
bt_vendor_qcom.c uses 'TIOCPMGET' which is not defined in bionic ioctl.h, so if kernel doesn’t build, bt_vendor_qcom.c will have compilation error. Fixed it by adding a dependency to the make file of libbt-vendor. Change-Id: I03550e5e1b4cc945e1e39e39deb27a442a21ddd0
2016-11-15BT: Modify implementation for command timeout crashdump collectionManu Viswanadhan
Wait for crashdump collection in all valid scenarios, even when the property is not set by the user. CRs-Fixed: 1090097 Change-Id: Ieb0efe98cfa5efdcd3f5c0d62795bc987c13082d
2016-11-11Promotion of bt.lnx.2.1-00032.Linux Build Service Account
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1077744 Ibde0a038052ea5dff2fd4bdb6059d8e964d3cebd Remove tcflush during BT_ON 1083234 I662e293431ecef1096ea69bfdc82190c6020ce90 Add ioctl to do power control ops for connectivity chips Change-Id: If924df58eabbb3f15a25ec59b61b71679da3b6a2 CRs-Fixed: 1083234, 1077744
2016-11-10Add ioctl to do power control ops for connectivity chipsSatish kumar sugasi
This add new ioctl to do power on/off chipset, allows to remove dependency on writing RFKill state which needs net admin privilages. Change-Id: I662e293431ecef1096ea69bfdc82190c6020ce90
2016-11-05Promotion of bt.lnx.2.1-00029.Linux Build Service Account
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 926763 I4350a8d88d845cf9c7a1d80ea659763cc5309399 Enable LPM mode by changing BT_VND_OP_LPM_SET_MODE handl 1060839 Ifa2589825c47ef705d29129a53bec63b514e00f4 FM: move FM power control operations to FMhal service Change-Id: Ifedab3add11999a4cfde5a1cb1cc69addcbc6a6b CRs-Fixed: 1060839, 926763
2016-11-03Remove tcflush during BT_ONLuke Zhang
During BT_On procedure when we call tcflush function, on kernel side it did not update the UART Tx status, so that in the UART Tx callback function, it just updated the TTY buffer write pointer and discarded the change baud rate command. Fix it by remove the tcflush function call in BT_On procedure. CRs-fixed:1077744 Change-Id: Ibde0a038052ea5dff2fd4bdb6059d8e964d3cebd
2016-10-31FM: move FM power control operations to FMhal serviceSatish kumar sugasi
this remove FM power OFF operation from ssr cleanup and add this in FM HAL service to take care of permissions issue Change-Id: Ifa2589825c47ef705d29129a53bec63b514e00f4
2016-10-23Enable LPM mode by changing BT_VND_OP_LPM_SET_MODE handlerLuke Zhang
In BT_VND_OP_LPM_SET_MODE handler, if LPM mode is configured, we will return success enable LPM mode, so that BT stack can hold wake lock through LPM mode. We added a new persistent property to configure it Change-Id: I4350a8d88d845cf9c7a1d80ea659763cc5309399
2016-09-21Promotion of bt.lnx.2.1-00013.Linux Build Service Account
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1055057 I260562e8f4586e27cbba3e496ee39f81964ceb1c Add longer delay while waiting for wcnss_filter to stop 1066801 Ib9e91b6adf0f9476add9af0c8e636feb89e01157 Avoid recursive locking in ssr_cleanup function. Change-Id: Ifbf609b4b5e226a7f9c3231e06d003194b1cccb8 CRs-Fixed: 1055057, 1066801
2016-09-20Avoid recursive locking in ssr_cleanup function.Rupesh Tatiya
A regression had been introduced where ssr cleanup function was trying to acquire lock recursively. This was leading to ssr failure. CRs-Fixed: 1066801 Change-Id: Ib9e91b6adf0f9476add9af0c8e636feb89e01157
2016-09-13Add longer delay while waiting for wcnss_filter to stopLuke Zhang
While we wait for wcnss_filter to stop, previous we only waited for 500us, which is not enough for Cherokee. Changed it to 10ms. Change-Id: I260562e8f4586e27cbba3e496ee39f81964ceb1c
2016-09-12Promotion of bt.lnx.2.1-00010.Linux Build Service Account
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1064473 Ie5f7eae873655e35d7beaf927f3c88ab61ba818f Set wc_transport.stack_bdaddr property Change-Id: Ia84b07a9699333beff34b86d4d5a3eeb55767a09 CRs-Fixed: 1064473
2016-09-08Set wc_transport.stack_bdaddr propertyRupesh Tatiya
This property is used by wcnss filter to set BD address. If not set, BD address are all zeros, leading to connection failures. CRs-Fixed: 1064473 Change-Id: Ie5f7eae873655e35d7beaf927f3c88ab61ba818f
2016-08-26Promotion of bt.lnx.2.1-00001.Linux Build Service Account
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1010477 I8f145e3b2927ea75a0b65e0aa46b68d1b673d84e Make libbt-vendor thread-safe Change-Id: Ib204cf128694a53460bdb757ca1d6994ff136922 CRs-Fixed: 1010477
2016-08-23Make libbt-vendor thread-safeRupesh Tatiya
The APIs provided to our clients can be called simultaneously resulting in various race conditions. Make them thread-safe. In addition, remove various global various and encapsulate them in a context. CRs-Fixed: 1010477 Change-Id: I8f145e3b2927ea75a0b65e0aa46b68d1b673d84e
2016-07-05Bluedroid: Fixed Static Analysis IssuesMatadeen Mishra
Removed banned function. Change-Id: I6b37df2988c472bef23a3ea42f6917f70b9ff565 CRs-Fixed: 890309
2016-06-27Get the definitions of UART IOCTL values from common header fileLuke Zhang
Get the definitions of UART IOCTL values from the common header file instead of hard coding them. Change-Id: I7a2f3cbd69de2980c10b136cab24484e92db8056
2016-06-24Merge "bluetooth: Fix bt on/off count flag handle"Linux Build Service Account
2016-06-22bluetooth: Fix bt on/off count flag handleSungjun Park
Bluedroid stack tries to turn off BT first every time before it turns on BT, so the bt on/off count comes to minus value. Fix the multiple times BT off counter to 0 always to handle it to make actual BT off happened. Change-Id: I53203959325437d0b9f0277860d240a15d8465b8
2016-06-20Bluetooth: proper handling When Soc is already initializedBhakthavatsala Raghavendra
When Soc is already initialized go ahead and start the wcnss_filter and connect to client sockets Change-Id: I89f567f080e87b24b0aecddf01a18c94fb00f81a
2016-06-16Bluetooth: Move FW download the wcnss_filterBhakthavatsala Raghavendra
Move FW download procedure to Wcnss_filter for newer chipsets Change-Id: Ia3d2969c383ab7d3a42181d786caa2e3d5f3bf2e
2016-06-16Bluetooth: Handling wakelock from User spaceKiran Kelageri
Handle Wakelock from Userspace instead of relying on transport bus Change-Id: I00896302b6d4f70e741da0c11af5f0e6863bc446
2016-06-16Bluetooth: Select Bluetooth SOC type dynamicallyDibyendu Roy
Select bluetooth SOC type dynamically on the basis of qcom.bluetooth.soc property. This patch enables uniform codebase across rome and pronto removing compile time check Change-Id: Ia4e067cb50ece13db6d7dc3a86a1ae0ccca31a4b
2016-05-31BT: Changed implementation of ssr_cleanup for enable/disable timeoutGurpreet Ghai
Changed the ssr_cleanup method for the enable and disable timeout cases. Since this can coincide with regular cleanup thread, so added mutex to make critical section exclusive to avoid race condition Change-Id: I3e0af84d429a6e14cb95af2fdb7f7ea4279f94b4 CRs-Fixed: 997490
2016-05-19Add vendor support for FM Sub-system in the WCNSS HAL layer.Satish kumar sugasi
FM will be sharing the underlying transport layer with BT and ANT for sending/receiving cmds/events.Hence, add FM vendor operations such as FM ON, OFF and obtaining FM Client Socket handle for sending and receiving commands/events between the APPS proc and Helium chipset, into libbt-vendor.so shared library. Currently this library has support for BT and ANT vendor operations. Moving on, add FM vendor specific operations into the libbt-vendor.so library and rename it as WCNSS HAL layer. Change-Id: I0f3123456822033a17f0b9ba59559f735d4c4717
2016-04-22Bluetooth: Add Cherokee chipset supportSungjun Park
For Cherokee chipset, add new feature for cherokee to support new firmware files and change baudrate to 3.2Mbps. Change-Id: I95e5eb2caaacbaf28db2c4636dbdb3c602bebbd0
2016-03-25Bluetooth: Enable CLANG flag.Kiran Kelageri
Enabled CLANG file during compilation. Change-Id: I4925eb14d2416385c6526cdcf12af3a9e6c425ff
2016-02-11Promotion of bt.lnx.1.0-00043.Linux Build Service Account
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 964802 I41f9dae5ec4c771e078d09213b0d19f23ec9de1f Fixed the problem of ADSP crash while Fuzzing BT Change-Id: Idf9b160ad7a999de56a357c5c38e26ffcf822998 CRs-Fixed: 964802
2016-02-09Fixed the problem of ADSP crash while Fuzzing BTLuke Zhang
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