| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
- Offload config save functionality to btif thread from
timer thread as timer callback thread is critical in
a2dp playback case.
- If the timer callback thread is busy in config save due
to IO operations, it may lead to a2dp audio choppy.
CRs-Fixed: 937048
Change-Id: I5f185f3d610a581a734a2a7ae7f20b8a8a806e72
|
|\
| |
| |
| | |
Change-Id: I432268d8643cc8fa60b27f2c2abba0299f8d4d37
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Offload config save functionality to btif thread from
timer thread as timer callback thread is critical in
a2dp playback case.
- If the timer callback thread is busy in config save due
to IO operations, it may lead to a2dp audio choppy.
CRs-Fixed: 937048
Change-Id: I5f185f3d610a581a734a2a7ae7f20b8a8a806e72
|
| |\
| | |
| | |
| | | |
LA.BF.1.1.3_rb1.5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Free the hash map entry to avoid memory leak from
allocation tracker.
- Allocation tracker has support for double free check
where it stores all allocations in hash map but it
never get removed to track double free issue.
- And this implementation is available in user debug
builds only.
CRs-Fixed: 935097
Change-Id: If57bd0b89c1d9b99c4f066c537a9e0fa49bc093f
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Boost timer callback thread priority to high for
getting alarm callback with priority during a2dp
music playback.
- Media task/btu/hci/event threads are all high priority
but actual callback thread is remaining normal which
mean it's possible not to schedule alarm callback
in-time if system is busy.
CRs-Fixed: 935097
Change-Id: I10dff46af800d55f0e816353a0f39cfe3150d22f
|
| |\
| | |
| | |
| | | |
Change-Id: I2d5cb97ca5d56b0d606d8c5ade69ac852251d97d
|
| | |\
| | | |
| | | |
| | | | |
LA.BF.1.1.3_rb1.4
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change is specifically for certain HOGP device which start
sending notifications immidiately on repairing, even before the
HH profile connection is made. The check here, prevents the
processing of notification/indication sent to the DUT before
channel control block is allocated for the specific remote device
so that the remote HID device is not stuck in connecting state
due to HOGP state machine unable to proceed from the profile
connection initiation state.
CRs-Fixed: 936100
Change-Id: I77a1a39ea7f1d1344cfcf0fefe1fc0e28c213b60
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Offload config save functionality to btif thread from
timer thread as timer callback thread is critical in
a2dp playback case.
- If the timer callback thread is busy in config save due
to IO operations, it may lead to a2dp audio choppy.
CRs-Fixed: 937048
Change-Id: I5f185f3d610a581a734a2a7ae7f20b8a8a806e72
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: If4ba26060718544833b9838e290570ad9f36d734
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Add support to read BD address from bt_nv.bin if no
other BD address is available from other mechanism.
- If the ro.boot.btmacaddr property is set, it will
prioritize this property over bt_nv.bin.
CRs-Fixed: 921979
Change-Id: I8a0d38be7adb93db95eb3618a8f6af4030adf373
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
By default, we open up to three TCP ports that are used
for debugging purpose:
* TCP port 8872 - used for forwarding btsnoop logs at real time
Note: the port is open only if "Bluetooth HCI snoop log" is enabled
in the Developer options
* TCP port 8873 - used for HCI debugging
* TCP port 8879 - used for debugging the Bluetooth counters
Those ports are disabled by default.
To enable, the following #define should be added at the top of the
corresponding file(s): btcore/src/counter.c hci/src/btsnoop_net.c
hci/src/hci_inject.c
#define BT_NET_DEBUG TRUE
Bug: 24371736
Change-Id: I5cb43af1a5d29c331eb5ef61a24dccbe95df6f40
(cherry picked from commit 74dad51510f7d7b05c6617ef88168bf0bbdf3fcd)
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change is specifically for certain HOGP device which start
sending notifications immidiately on repairing, even before the
HH profile connection is made. The check here, prevents the
processing of notification/indication sent to the DUT before
channel control block is allocated for the specific remote device
so that the remote HID device is not stuck in connecting state
due to HOGP state machine unable to proceed from the profile
connection initiation state.
CRs-Fixed: 936100
Change-Id: I77a1a39ea7f1d1344cfcf0fefe1fc0e28c213b60
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Correct the max sdu length used from BT-IF layer to be in
sync with max sdu calculation from L2cap layer.
- max sdu of l2cap layer will be communicated to the upper
layers, and same length of sdu being sent from upper layer
to BT-IF layer, but because of change in the max sdu of
BT-IF, it will receive less bytes than expected will lead
to form incomplete PUT request.
CRs-Fixed: 932092
Change-Id: Ie037c85e798bebf6a71c56488aae37455725028c
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change adds support for enable notification of scan refresh
value if remote device supports scan parameter services .this also
writes scan parameters to remote device whenever scan service client
receives notification of scan refresh.
CRs-Fixed: 736989
Change-Id: I3e41976cdb1f7fa952e53e33f90d52320d5808f4
|
|\ \ \
| | | |
| | | |
| | | | |
requests"
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Min connection interval is updated to BTM_BLE_CONN_INT_LIMIT(11.25 ms)
if the requested min is < 11.25 ms. The L2CAP connection update request
is rejected if max connection interval requested is < 11.25 ms since
max connection interval becomes less than the min connection interval
(11.25 ms) in the host logic in l2cble_process_sig_cmd fucntion. Hence,
max connection interval parameter requests with 7.5 ms are rejected
currently.
CRs-fixed: 934966
Change-Id: I59afb07c9f8c1eb4cb1fc4c938710ec24761debb
|
|\ \ \
| | | |
| | | |
| | | | |
pending command.""
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
command."
This reverts commit aafbaf8e5fac2f1dad163049e14f91302b525a9f
Change-Id: I5b8d784ea82887d2092d1672e6d7712de68671ff
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As last uuid in the config file ignored as its not
having trailing white space,this fix ensure to update
all uuid while parsing from config to property.
Change-Id: I35d6143d62aa4adcb4f32879726f810c4a0514e2
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
- Free memory after meta message event and browse message
event are processed.
Change-Id: I9ef1fd0ba46fd57f6e525c96a71e95fd524a2d95
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Don't initiate role switch for blacklisted remotes from DUT
as some remotes always rejects role switch and role swicth retrails from
DUT may lead to a2dp glitches
Change-Id: I41bd78f1d25f1fc2985f1cf226a54d6819be968b
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
BR/EDR connection and disconnection is currently adjusting the amount of
packets each link(including LE) may send to the HCI without an ack coming
back usign the function l2c_link_adjust_allocation.
This change prevents the adjustment of LE link's link transmit quota when
a BR/EDR connection or disconnection is done.
Change-Id: I8ac78603de61c423447cd200e31ffc339bffe132
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Reset bluetooth status to download the NVM tags once
the SSR is detected.
- NVM tags downloaded only once for the first BT on and
downloaded again in case of SSR or command timeout.
- Without this change, there would be diffrence in
BD addr which would lead to pair/connection issues.
CRs-Fixed: 932195
Change-Id: I75a44e7ae7d301ff1c9be8349c1b51d4c80cbf36
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When multiple profile connected on same link and if any one profile
deregister with powermanager,pm should stop timer for that profile
and restart other profile timers.But with out this fix,pm iniatites
sniff when it removes timer for one profile,even timeout did not
trigger for other profiles.
Change-Id: I8e215a9d868291976c70ff32b61145b4360a7f8f
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For Audio dump debug feature, dump file's validity is not checked
before closing the same. This leads to crash when file could not
be created properly.
Change-Id: I2a53caa3f86e5fd43431e5421cb79e2f76d79884
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
1. A2dp acl link priority is set to high once streaming starts
2. Allocation min 2 ACL bufferswq to high priority link
CRs-fixed: 647447
Change-Id: I8f7742ae193998643ff2a12bf87f9874844ee0f7
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When the HCI_RAW_CMD support is included, adding
NULL check for bt_hal_cbacks and hci_event_recv_cb
in btif_hci_event_cback to avoid ASSERT message
continuosly which is consuming more power.
CRs-Fixed: 922611
Change-Id: I995e6411012fe515ca725267045a97076b692b7d
|
|\ \ \ \ |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The GattIf = 1 and the corresponding callbacks struct
gatt_profile_cback is specifically used for GATT protocol
connections by the stack and additionally for handling the
service change indication registration when pairing to a
remote device. The operation callbacks received on this Id
disconnects the remote device if any indication/notification
is received while this process is ongoing.
This patch ignores such events.
Change-Id: I04273f6a1ab5e2d74f49687c9a70670e40db9d39
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
this fixes crash during read client conf char descriptor value
of remote which has multiple instances of hid.
Change-Id: I88b6dbbb48037706e3b284450ffac88d7437fad1
CRs-Fixed: 726881
|
|\ \ \ \ \ |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Add support to read BD address from bt_nv.bin if no
other BD address is available from other mechanism.
- If the ro.boot.btmacaddr property is set, it will
prioritize this property over bt_nv.bin.
CRs-Fixed: 921979
Change-Id: I8a0d38be7adb93db95eb3618a8f6af4030adf373
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
command."
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
command.
Start the hci timer before sending out the HCI command, and protect
the pending command queue with mutex. Also we set the length of the
list as volatile. In this way, we can prevent the intervention
between hci TX and RX threads.
Change-Id: I8d2bcdb636b503344f173d3f8255f5a29b30aadb
CRs-fixed: 926763
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix to avoid the "bt_config.conf" file corruption from
the file system. This will avoid losing the paired
information in some corner case, such as abrupt power
off and on. This patch will ensure bt_config is saved to
NVRAM.
CRs-Fixed: 927450
Change-Id: I7a13feece1253681be97ca2c305463197b7f68d7
|
|\ \ \ \ |
|