History log of /hardware/broadcom/libbt/src/hardware.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cea4ce624550664140119b71f75c3f33ec39fe83 04-Feb-2016 Zach Johnson <zachoverflow@google.com> Fix undefined behavior configuring SCO for I2S only devices.

This is hw_sco_config. ¯\_(ツ)_/¯
hw_sco_config passed a fake command status buffer to hw_sco_i2spcm_config.
hw_sco_config requested memory and didn't zero out the command status byte.
hw_sco_config relied on undefined behavior,
hw_sco_config caused hw_sco_i2spcm_config to fail randomly.
Don't be like hw_sco_config.

Restructured so hw_sco_config doesn't need to make a fake command buffer
in the first place.

BUG: 26638976

Change-Id: Id2e87caa33998d8ffb0a5a3d1f9fe52e83ec0f9e
/hardware/broadcom/libbt/src/hardware.c
13e0e2facd831d71fb6a2d0021c11203c1a873ff 18-Sep-2015 Zhao Xuewen <zhaoxuewen@huawei.com> Bluetooth:config SCO seting for HFP call

1, enable SCO_USE_I2S_INTERFACE for sturgeon
2, configure audio configuration in hw_sco_config for I2S as SCO_CODEC_CVSD by default

BUG=24044548
Change-Id: Id39102ee812eb2b173dfab45f4fb97fd99c5e7b8
Signed-off-by: z00184990 <z00184990@notesmail.huawei.com>
/hardware/broadcom/libbt/src/hardware.c
2d512f12d096413d7408e801050ccdaf14361256 02-Sep-2015 tturney <tturney@google.com> am b7b7af83: Fix btwrite timer timeout for Angler (1/2)

* commit 'b7b7af83922fc5918d2632402daa3824364806fb':
Fix btwrite timer timeout for Angler (1/2)
b7b7af83922fc5918d2632402daa3824364806fb 19-Aug-2015 tturney <tturney@google.com> Fix btwrite timer timeout for Angler (1/2)

1. For vnd_angler.txt:
Set PROC_BTWRITE_TIMER_TIMEOUT_MS to 0
to avoid upio start and stop timer when LMP
is enabled and BT_WAKE is asserted and
de-asserted. This time is useless and would
set btwrite to 0 by mistake even when host
is sending data to UART, and this would
de-assert BT_WAKE by mistake.

2. For hardware.c:
For chipset 4358 we need to set LPM_HC_IDLE_THRESHOLD
to 24, so we need to reduce the multiplier
to make timeout_ms a reasonable value. Without
modification, the timeout_ms would be 36000ms
which is too large.

3. For upio.c:
Need to set lmp_proc_cb.btwrite_active even though
PROC_BTWRITE_TIMER_TIMEOUT_MS is set to 0.
Otherwise, btwrite would be written very frequently.

Bug: 23248798
Change-Id: Ie55c346785679e51a771d5e46270c0858e6082ee
/hardware/broadcom/libbt/src/hardware.c
3f154f783bbe7f64d7ab455c01294a361f7ac133 18-May-2015 Devin Kim <dojip.kim@lge.com> Bluetooth: Fix the FW loading in BCM4343

BCM4343 doesn't have the name starting with 'BCM'. So fix the name
to use the dynamic FW loading for BCM4343

Bug: 21268506
Change-Id: Id43a748bf6180c2464671d35e7be3caaa6532e82
/hardware/broadcom/libbt/src/hardware.c
d7f109f78a0ef5658b6ab0f6e8b97033fe88de0f 31-Mar-2015 Etan Cohen <etancohen@google.com> Merge commit 'dbbca0bd8b541398a9b9ddedebb76dbdd2244920' into merge
10ad45bd76d220ef59c7be80488deed007aac21b 26-Mar-2015 Andre Eisenbach <eisenbach@google.com> Include new hci_audio.h for SCO_* constants

Change-Id: I858df6e7d5361cc6f9bbb7b24c40639714455c5d
/hardware/broadcom/libbt/src/hardware.c
ad6bbbd04daa376c541deba75c72d04fea443de1 30-Jan-2015 Elliott Hughes <enh@google.com> Add missing includes.

Change-Id: If201ba51119412f113734caf383c35884fd2fcd6
/hardware/broadcom/libbt/src/hardware.c
a2e3e9cfb953c85abe1855bb17cd1fc88e2c9deb 29-Aug-2014 isaluja <isaluja@broadcom.com> am 1798e093: am 9e55377d: libbt-vendor : Modified hardware config sequence

* commit '1798e093fd12c3aaa2d68600098d4dbf16c8f571':
libbt-vendor : Modified hardware config sequence
9e55377de574e6181df7869b6336d77e4c2ba775 29-Aug-2014 isaluja <isaluja@broadcom.com> libbt-vendor : Modified hardware config sequence

Update uart baud rate to 3M after HCI reset. CSP:832610

Change-Id: I568cd6a1ea2601bcd0ac6cba6bf4208900698f86
Signed-off-by: Malayasen Rout <mrout@broadcom.com>
/hardware/broadcom/libbt/src/hardware.c
04b8686dd7b5e26893924dfb5daee66735beebf4 27-Aug-2014 Sean Wan <swan@google.com> am 5a63d16f: am 95c9eded: Merge "BT: Increasing firmware settlement delay to 200ms" into klp-modular-dev

* commit '5a63d16f5220c1706f866225a10ea9aa7bd898bc':
BT: Increasing firmware settlement delay to 200ms
771ed2b71ff7c6e20bf0425aa338edc7246b88fb 24-Aug-2014 Alok Moondra <alokm@broadcom.com> BT: Increasing firmware settlement delay to 200ms

Change-Id: I61f176ad82184e0e46b99844e2f26ccba49614ec
Signed-off-by: Alok Moondra <alokm@broadcom.com>
/hardware/broadcom/libbt/src/hardware.c
21570bcdeffebb6f9df6e20e2e15bc3a6febb592 28-Apr-2014 Mudumba Ananth <ananthm@broadcom.com> Add WBS support on Bluedroid (3/6)

Bug 13764086

Change-Id: I38d344942096b09aa29eeff7398f1e6890d48d6b
/hardware/broadcom/libbt/src/hardware.c
f219785e8a4e011abe5488d22f3d72b6698ce45a 08-May-2013 YK Jeffrey Chao <jechao@broadcom.com> New call-in/-back functions for Controller to do vendor-specific shutdown (2/2)

A pair of asynchronous call-in and call-back API are added into the Host
Controller Vendor Lib interface (bt_vendor_lib.h). The caller calls this new
call-in function to inform the vendor module to perform vendor-specific
shutdown process (e.g. send HCI_RESET to BT Controller) before the caller calls
for interface cleanup() function. The vendor module is responsible for calling
call-back function to notify the caller completion of vendor-specific shutdown
process.

Sample codes of sending a HCI_RESET command in the vendor-specific shutdown
process.
bug 7390787

Change-Id: I817c0a7dd57e750d38884746edeb3436cfc9cfd8
/hardware/broadcom/libbt/src/hardware.c
78e7dccc08db81cc95810dc928d956ecf7199853 18-Oct-2012 YK Jeffrey Chao <jechao@broadcom.com> Add new user-to-kernel interface for Bluetooth low power mode control (1/2)

The bluesleep kernel module was used in Tegra3 platform to perform Bluetooth
low power wakelock and interrup control. Add new user-to-kernel interface
through proc fs nodes for Bluedroid to feed bluesleep with the HCI_DEV events
which bluesleep was monitoring on.

bug 7347413

Change-Id: I791be1042d5573e5207aa81e3d59fa418134f9fe

Conflicts:
libbt/include/vnd_manta.txt
/hardware/broadcom/libbt/src/hardware.c
41a117f83f745525c5bc3d2b46d0ea7e6a791ee3 15-Oct-2012 YK Jeffrey Chao <jechao@broadcom.com> Add support of getting factory BDADDR from Controller's non-volatile memory(2/2)

When factory Bluetooth device address is stored in the BT Controller's
non-volatile memory (e.g. BCM4330 OTP memory) instead of devices's file system,
the BDADDR will be retrieved from the Controller while enabling Bluedroid core
stack.

Introduce USE_CONTROLLER_BDADDR preprocessor directive in the vendor lib.

After patchram download, check whether the BT Controller has a non-zero's BDADDR
stored in its non-volatile memory. If not, write BTIF's init BDADDR to the
Controller.

bug 7340441

Change-Id: I2414b9479d4ef93ffd20c7ccc4875aab009e7cc8
/hardware/broadcom/libbt/src/hardware.c
ee836ae92bf015f6c0b00a974ace3b9188bd6c66 25-Sep-2012 Wink Saville <wink@google.com> Move libbt-vendor from vendor/broadcom/libbt-vendor

Bug: 6837125
Change-Id: Ic3cc73f210e40d95b131a68244dc9e60bae80f37
/hardware/broadcom/libbt/src/hardware.c
5f1b7a8c99d6556884bc91e8a0633b62c27ef077 25-Sep-2012 Wink Saville <wink@google.com> Revert "Move libbt-vendor from vendor/broadcom/libbt-vendor"

This reverts commit d18044d184ebdbbdefe700ad439e1a4cead748f7

Change-Id: Ieb3f11f56c4368556b60c79c359a012fb8555a13
/hardware/broadcom/libbt/src/hardware.c
a745e079f6427423cbae88437e63ce20177cfd8a 24-Sep-2012 Wink Saville <wink@google.com> Move libbt-vendor from vendor/broadcom/libbt-vendor

Bug: 6837125
Change-Id: I9e9d5a95463d5cd61a6e7f3b2f0a57c0b2f47e16
/hardware/broadcom/libbt/src/hardware.c