Age | Commit message (Collapse) | Author |
|
Change-Id: Ic0a71365a4c01f9f46fb137bb8a7a8978850d744
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
|
|
* 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>
|
|
|
|
|
|
b1c1-dev-20170906
|
|
Change-Id: I17591e1c6ad3425746e53b9095034e396e7812e3
|
|
|
|
Change-Id: I369fb95cff792af8066505cd0aeb875fb50c8928
|
|
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
|
|
Add BT_SOC_NAPIER definition
Change-Id: I03900d6af74f19848ab4ff25288c188a90f17be1
|
|
Change-Id: I27a5e021ca416a355298a50860be0221ac51ce3a
|
|
|
|
|
|
This reverts commit a4c133cc9aa3b4decb31b139faec41e1c9b56646.
Change-Id: Iad99331662147da7324a87814e3b0da75271694e
|
|
is some un-expected system error/exception.
Change-Id: If5df647beae664d078bbafddc5b757ac9c66ee58
Signed-off-by: Huajie Wu <whj@codeaurora.org>
|
|
Reason:
'ssr_cleanup' is not defined in 'bt_vendor_interface_t'
Change-Id: I4001283b0fa7eb6dbbec0fb6578c84ce20d09535
Signed-off-by: Yanfei Zhou <zyanfei@codeaurora.org>
|
|
Mutex lock usage is configurable to enable if needed,
by default disabled
Change-Id: I897517004b0272398373f181bd30d44ff1c09a51
|
|
Disable feature that is not supported by pure AOSP.
Change-Id: Ic55f99c1fdb88139697e0f0b7402bb22723aa802
|
|
Add header include for hw_ar3k instead of relying on
include chain dependencies.
Change-Id: Ie0a43e07c670be8d8ab7174c910d062a87e9d82c
|
|
CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
1090426 I03550e5e1b4cc945e1e39e39deb27a442a21ddd0 Add kernel build as a dependency of libbt-vendor
Change-Id: I0fbbf28d1ec89f6233927b1138dabff3f7d0d6b2
CRs-Fixed: 1090426
|
|
CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
1090097 Ieb0efe98cfa5efdcd3f5c0d62795bc987c13082d BT: Modify implementation for command timeout crashdump
Change-Id: I67b8a3805f6f49cdea0f3d47210ee2038f7779d8
CRs-Fixed: 1090097
|
|
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
|
|
Wait for crashdump collection in all valid scenarios, even when
the property is not set by the user.
CRs-Fixed: 1090097
Change-Id: Ieb0efe98cfa5efdcd3f5c0d62795bc987c13082d
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
1064473 Ie5f7eae873655e35d7beaf927f3c88ab61ba818f Set wc_transport.stack_bdaddr property
Change-Id: Ia84b07a9699333beff34b86d4d5a3eeb55767a09
CRs-Fixed: 1064473
|
|
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
|
|
CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
1010477 I8f145e3b2927ea75a0b65e0aa46b68d1b673d84e Make libbt-vendor thread-safe
Change-Id: Ib204cf128694a53460bdb757ca1d6994ff136922
CRs-Fixed: 1010477
|
|
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
|
|
Removed banned function.
Change-Id: I6b37df2988c472bef23a3ea42f6917f70b9ff565
CRs-Fixed: 890309
|
|
Get the definitions of UART IOCTL values from the common header file
instead of hard coding them.
Change-Id: I7a2f3cbd69de2980c10b136cab24484e92db8056
|
|
|
|
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
|
|
When Soc is already initialized go ahead and start the wcnss_filter
and connect to client sockets
Change-Id: I89f567f080e87b24b0aecddf01a18c94fb00f81a
|
|
Move FW download procedure to Wcnss_filter for newer
chipsets
Change-Id: Ia3d2969c383ab7d3a42181d786caa2e3d5f3bf2e
|
|
Handle Wakelock from Userspace instead of relying on transport bus
Change-Id: I00896302b6d4f70e741da0c11af5f0e6863bc446
|
|
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
|
|
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
|
|
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
|
|
For Cherokee chipset, add new feature for cherokee
to support new firmware files and change baudrate
to 3.2Mbps.
Change-Id: I95e5eb2caaacbaf28db2c4636dbdb3c602bebbd0
|
|
Enabled CLANG file during compilation.
Change-Id: I4925eb14d2416385c6526cdcf12af3a9e6c425ff
|
|
CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
964802 I41f9dae5ec4c771e078d09213b0d19f23ec9de1f Fixed the problem of ADSP crash while Fuzzing BT
Change-Id: Idf9b160ad7a999de56a357c5c38e26ffcf822998
CRs-Fixed: 964802
|
|
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
|