Age | Commit message (Collapse) | Author |
|
Adding a colon after the 'a' in getopt will tell the function to
expect an argument, which prevents 'atoi' from crashing.
Change-Id: Ic2d489af50a814c76e27e6d3c030d5e77e1ca6db
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
|
|
This patch modifies 'hciattah' to introduce a new 'cg2900' target
and a cmd line configurable value for the line discipline. This is
required to start the BT driver and the clock required by the wifi
driver.
These modifications can be found here:
git://igloocommunity.org/git/bsp/bluez.git
under tag "packaging-4.91-0ubuntu1snowball1"
Change-Id: Iac60696fb31a01e080aedc6ff15f9920efac1766
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Change-Id: I96392ae18e076542c75a65a459ff16fcfdc93b14
Signed-off-by: Botao Sun <botao.sun@linaro.org>
|
|
|
|
Commit 355afe9a broke the calculation of the latency returned by A2DP,
leading to incorrect A/V sync.
The latency must take into account the intermediate buffering added in audio HAL.
Change-Id: I1f3d7494fe58517151c5dba0a4883f583d7a6ef2
|
|
|
|
Extend the timeout delay in out_write() when waiting for
available space in output buffer to accomodate A2DP sink with a long
startup time.
Issue 5781477.
Change-Id: I4e31b5116ddbea8774a15b2016d088ea7039ec93
|
|
|
|
|
|
Channel Connected signal was being emitted too early
leading to failure in acquisition of the fd. Delay channel
connection signal it is ready to be used by users.
Patch in consulation with Jose Antonio Santos Cadenas <santoscadenas@gmail.com>
Bug: 5732670
Change-Id: I7855bd9d372ec9d548240c9086a66e9a340ce1ce
|
|
|
|
The a2dp stack is throttling the audio throughtput
to accommodate headsets that can accept audio too fast.
This makes that very limited audio buffering exists in the
A2DP output path. We are therefore vulnerable to irregular scheduling of
audioflinger mixer thread when CPU clock speed or system activity changes.
The fix consists in adding an intermediate audio buffer between audioflinger
mixer thread and the A2DP socket.
Issue 5682206.
Change-Id: I6f2387fb694a75e62c0805b7f134f7cb88eaedd6
|
|
|
|
|
|
|
|
memset the addr variable.
Change-Id: I3a3567145985ba425ebf8e4b21d426dcb490dbf5
|
|
|
|
The AVDTP spec allows for a race condition between remote and local
device when issuing an AVDTP_START cmd on a stream in the OPEN state.
However, the internal state must continue to be consistent. For example,
suppose that avdtp_start() has been called while in the OPEN state and
a AVDTP_START cmd is sent. Now before we have received a response (and
thus entered the STREAMING state), we *receive* a START cmd. Prior to
this fix, since the sep is still in the OPEN state, we would accept
the new START cmd. This will leads us to send both a Start_Ind and
Start_Cfm - not good.
Now, we track this transitional state (starting == TRUE).
NB - 'starting' is only in a valid state while the sep is in the
OPEN state. 'starting' is reset when we return to the OPEN state.
|
|
When we disconnect an A2DP device by immediate power off and quickly
also initiate a disconnection from our side, a crash is occurring. This
is happening because of the disconnect_timeout coming after freeing the
session.
|
|
Before we power down HCI dev, we should disable Bluetooth chip scan mode so that
the chip set would not repond to device outside inquiry and page.
bug 5080232
Change-Id: I357a300ad61332c6f95376c0690602cf396e5973
|
|
Before we power down HCI dev, we should disable Bluetooth chip scan mode so that
the chip set would not repond to device outside inquiry and page.
bug 5080232
Change-Id: I357a300ad61332c6f95376c0690602cf396e5973
|
|
This reverts commit 6b08f121c817cda19431fa472c9640733df05d6f
|
|
|
|
This reverts commit 6b08f121c817cda19431fa472c9640733df05d6f
|
|
|
|
Before we power down HCI dev, we should disable Bluetooth chip scan mode so that
it saves power.
bug 5080232
Change-Id: I28a761ebcb14c0a4215c53ed82e4ff9430a32250
|
|
If cancel is pressed on the pin request dialog (for non SSP case),
auth request continues in a loop. Add additional checks for
the auth agent.
This is a gross temporary hack till we move to the mgmt interface.
Change-Id: I565a75698cb4fa1c2ed8c93ed6198b05a1a7b8af
|
|
|
|
Fix Paired device property if 'No Bonding' authentication is used. It is
set to be false when device is disconnected and no link key is stored.
Otherwise, there can be cases when device is still valid and being
claimed as paired without available bonding information.
For instanse, use of CreateDevice method call and obex client file
transfer is such use case.
|
|
SDP_ATTR_EXTERNAL_NETWORK is not part of the HS specification.
Original Author: Jh Kim
Change-Id: Ic649e7532acabfbbb9adeaa1db3e7c8e51d3fd19
|
|
When Bonding was failing due to authentication
failure, this error report was not being sent to the caller,
because cancel_bonding was being called from btd_event_conn_failed,
which was sending the wrong error code back.
Change-Id: I2816d714fc85c499d0d4850733e33807f3073217
|
|
utility for CSR bluetooth modules"
* commit 'cfd4fe3f0bf605978fc72efada90060efbeb16c3':
Add make file to build bccmd utility for CSR bluetooth modules
|
|
modules"
* commit 'f3d1a2c3f2005451f40cfa48782ee5aebebe784e':
Add make file to build bccmd utility for CSR bluetooth modules
|
|
|
|
|
|
|
|
Bug: 5010576
Change-Id: I95b5e51b909c5ed7bc7c61c441f9b315f2b4db27
|
|
Change-Id: Ic15f9dc50ad4643e8272c62ed9134ab09f7d0966
|
|
This makes it easier to decipher in the PRODUCT_PACKAGE
section of build files.
Change-Id: Iee1860fd350a17a77f57d30647f54f3ff3833284
|
|
Change-Id: I88ab8e0191e67fb09f9a271190993592fcab0484
|
|
Change-Id: Idb06aa33dc60eb4b1769335fc6c07ff007ccf090
Signed-off-by: Dima Zavin <dima@android.com>
|
|
This patch adds make file to support building bccmd utility,
which is needed by CSR bluetooth modules.
To build bccmd utility, set BOARD_HAVE_BLUETOOTH_CSR to be true.
Change-Id: I8012688cdbc3846c500eafce5831e4c74d3b3095
|
|
Change-Id: Ia76c76ab428aadb859d646059db9d65794fab3d1
|
|
|
|
Change-Id: I03f277e6ed28538bb1618b6161994459efaa4d1b
|
|
Change-Id: Idc8204629b859ef3873afc4d303a61308af14a07
|
|
When the a2dp_thread has finished executing one command, it signals
the client thread. Some error cases do not signal and due to this
calls to liba2dp will hang until the client thread times out.
Add signaling in error cases to avoid calls to liba2dp to hang.
Change-Id: Ic6eae5af3ed4f40c0eb022aba35ed4e0d3f81904
|
|
Change-Id: Ic3d8c530441a26074f6baabb7ea05182d5c03b1e
Signed-off-by: Dima Zavin <dima@android.com>
|
|
Added missing initialization of output stream pointer in
device struct and test on valid output stream in set_parameters()
Change-Id: I162c410968dcbd6ed89f939c42bd48dbfe390a71
|