summaryrefslogtreecommitdiffstats
path: root/stack
Commit message (Collapse)AuthorAgeFilesLines
* Trigger restart on BT Controller H/W errorKausik Sinnaswamy2012-09-261-1/+0
| | | | | | | | | | On a Bluetooth chip h/w error, trigger an event from the core stack to restart the Bluetooth process. This would ensure that any state is cleaned up and the process starts from scratch Bug: 7001800 Change-Id: I57b0b44276585e2ae3c22ddbcc9d80bd467135b2 Signed-off-by: Iliyan Malchev <malchev@google.com>
* Move default COD macro BTA_DM_COD to bt_target.hKausik Sinnaswamy2012-09-211-0/+5
| | | | | | | | | This can be over-ridden on the various platforms via the respective bdroid_buildcfg.h. Default value chosen is for MAJOR_PHONE and MINOR_SMARTPHONE. bug 7176584 Change-Id: Ie553e082273b63e871aad5cda9816b16345fd9e2
* Initual Bluetooth open source releaseAndre Eisenbach2012-09-18146-4749/+6491
| | | | | | | | First release under Apache source license with updated header files and whitespace cleanups. Also fixed file permission to remove executable bit from source files. Change-Id: I7155903edfc2f491c1cbbd0db108f207852caaa0
* Revert "Header file and whitespace cleanups"Matthew Xie2012-09-18128-3191/+3191
| | | | | | | | This reverts commit cc914cffd521b2e6e1be804c82aea2388b843ebf More changes in the original CL after my cherry-pick. Change-Id: Ic144dba96aeb8a60611baac7565c9f628ab8f9eb
* Header file and whitespace cleanupsAndre Eisenbach2012-09-18128-3191/+3191
| | | | | | | Also fixed file permission to remove executable bit from source files. Change-Id: I6954c2d16190bc35b1b0d38386543253696b1112
* bluetooth: BT SIG - AVRCP - Response for invalid PDU fixedhyungjung0521.kim2012-09-131-1/+1
| | | | | | | | | | When PTS sends the invalid PDU to the IUT, due to AVRCP spec, it's supposed to response back to PTS with General Reject MSG and Error code. PTS test case : AVRCP TC_TG_INV_BI_01_C Change-Id: Ieba59503f0e3c156c639b37167d3a3a743016706
* Fixed acl credit issue when host data flow control is n/azzy2012-09-061-0/+1
| | | | Bug 7009277
* Enhanced log traces to print h/w error codeKausik Sinnaswamy2012-08-301-1/+1
| | | | | | Prints the error code of hardware failure for the BR/EDR Controller Change-Id: I8c5172d9485ef0d71668969789fdacd720a2067f
* Remove hardcoded trace level settings in stack modules.YK Jeffrey Chao2012-08-242-3/+1
| | | | | | | | | | | | | BTM, BTU, and BTA modules were preset with hardcoded trace level (BT_TRACE_LEVEL_DEBUG) during early development days. Since the trace levels have been made configurable in /etc/bluetooth/bt_stack.conf at run-time, removing those hardcoded settings. So, the compile-time default trace level BT_TRACE_LEVEL_WARNING (set in bt_trace.h) will be used if the bt_stack.conf is missing, or if the TraceConf=false is given in the bt_stack.conf. Change-Id: I76d905adbfda3c40f714398da86ebec90a1a8a40
* Add support for per device bluetooth configuration.Wink Saville2012-08-163-10/+11
| | | | | | | | Rather than using a text file and generating each buildcfg.h file per device bdroid_buildcfg.h which supplies device specific values and then bt_target.h will supply common values. Change-Id: I12cb5408729c3e076562a292204f07a0c4b52628
* replace logx with alogxMatthew Xie2012-07-143-13/+13
| | | | | | | | | | | | | | | | | Conflicts: btif/src/btif_core.c btif/src/btif_dm.c btif/src/btif_hh.c btif/src/btif_sock.c gki/ulinux/gki_ulinux.c hci/include/bt_hci_bdroid.h hci/src/bt_hci_bdroid.c hci/src/btsnoop.c hci/src/hci_h4.c hci/src/userial.c vendor/libvendor/src/hardware.c vendor/libvendor/src/upio.c
* resubmit code-cleanup changes lost in gerrit mergeSrikanth Uppala2012-07-1469-29690/+1
| | | | Change-Id: Iebc520d9b10ef220a83a16ff55efa46b4c5a0d27
* Fix for app not getting timeout notification while SSP pairingSwaminatha Balaji2012-07-141-0/+19
| | | | Change-Id: I9137c1313e9e132d71f61ff571af683f8ca6728b
* Resolve JustWorks related pairing issuesRavi Nagarajan2012-07-142-0/+4
| | | | | | | 1. Per the spec, if both sides are using "No Bonding" for auth requirements, then the key could be considered a session key. Updated the pairing logic to handle this 2. If incoming JustWorks pairing is initiated, prompt the user for consent if the peer's io capabilities reflects DisplayOnly or NoInputNoOutput Change-Id: If592c96203e7a4b25af3d87056d534131b606e58
* Added reconnect and NV support; bug fixes: service mask setting for HDP ↵Sen-Der Huang2012-07-141-148/+180
| | | | | | | | | | | | | | | | during discovery and TX/RX ADPU size for echo test Change-Id: Ic44fe0a852036c3e973b79f4ef6362a59c76a1c0 bta/dm/bta_dm_api.c btif/co/bta_hl_co.c btif/include/btif_hl.h btif/include/btif_storage.h btif/src/btif_hl.c btif/src/btif_storage.c stack/sdp/sdp_api.c udrv/include/unv.h udrv/ulinux/unv_linux.c
* Assign proper fail reasons to status parameter while sending Auth Complete ↵Ganesh Ganapathi Batta2012-07-141-1/+1
| | | | | | event when Authentication fails Change-Id: I0102762b8bfa06b8d99227c431be881269c14961
* Reject an incoming a2dp start request if btif is about to disable.Mattias Agren2012-07-141-0/+0
| | | | | | | Added intermediate states for DISABLING/ENABLING in btif main adapter to allow checking for this condition. Change-Id: Ifa863c12bebfaca19f50fce4847f75f479993a23
* Support added to report custom 128-bit UUIDs as part of the ↵Kausik Sinnaswamy2012-07-144-1/+174
| | | | | | BT_PROPERTY_UUIDS of the remote device Change-Id: I1facd9238cf847915df4c01b33c77b2fdaa168cb
* Increased the SDP DB size to 8K as there were devices whose number ofKausik Sinnaswamy2012-07-141-12/+0
| | | | | | UUID attributes exceeded the current limit of 4K Change-Id: I10dd833eb7ffcd42fb6ccb60318921296873be95
* Enabled acl link priority control to ensure robust a2dp streamingMattias Agren2012-07-142-9/+13
| | | | | | during inquiry scanning etc Change-Id: Iadcd9242dac707a6db857bc9f2ab89e59499764b
* Always check if reconfig is needed prior to starting anMattias Agren2012-07-143-0/+0
| | | | | | | | avdtp stream. Added autoadjusting bitpool if sink requests a particular range within our exported capability. Cleanup & fixing file permissions. Change-Id: Ib5638706d4baef072c79a70ce1497140c3357a0d
* added bt pan profilezzy2012-07-141-1/+1
|
* Handle cancel bond for both legacy and ssp pairingRavi Nagarajan2012-07-141-1/+4
| | | | Change-Id: I788b170b47fb4ec1febe60444960e10df4a3f419
* Move build configuration files to output directoryAndre Eisenbach2012-07-141-2/+3
| | | | | | | | | | | Build configuration files (buildcfg.h and vnd_buildcfg.h) are now automatically generated on demand in the intermediate output directories for each platform. In addition, buth buildcfg.h and vnd_buildcfg.h files are now generated using a common script. Change-Id: I3580701f32f1993750588d15bd529c6ee337031b
* HID-PTS:Support for Hid Pts testsPriti Aghera2012-07-141-1/+8
| | | | Change-Id: I18cedbcee1d592faa76ab1859facaabf24d52b37
* Added support to ensure that BT_DISCOVERY_STARTED andKausik Sinnaswamy2012-07-145-7/+45
| | | | | | | BT_DISCOVERY_STOPPED signals are sent only after receiving the status/complete event from HCI for the start_inquiry/cancel_inquiry APIs Change-Id: I14da272b3e0596c2062ce617e9dccb788cc80425
* Check in for - new rfc multi accept codeHarish Paryani2012-07-149-204/+513
| | | | Change-Id: I66794a8821481c58e045bb8acd8b7b758900d3e9
* Consolidated patchset forKausik Sinnaswamy2012-07-141-1/+3
| | | | | | | 1) Run-time configuration: configure stack and vendor at run-time using bt_stack.conf and bt_vendor.conf in /etc/bluetooth/ 2) Build-time configuration: Auto-generate buildcfg.h header file from the target config bdroid_$(TARGET_DEVICE).txt file Change-Id: Ieebb71081b7de404eab37f9ff4596d3dc94547a7
* HID-Host:Fixed white space issue and power management issuePriti Aghera2012-07-143-4/+6
| | | | | | | Included more code to support mouse connectiona and reconnection Signed-off-by: Priti Aghera <paghera@broadcom.com> Change-Id: I1e20997e85eda5919f20a069131e580bcbb0ca63
* Added new control and data path interface between audioflinger a2dp HALMattias Agren2012-07-141-19/+19
| | | | | | | and stack. Added support for suspend and a dedicated HAL callback notifying framework on audiopath events. Cleanup. Change-Id: I3b738611bc8e1d84794f7207413fd9e7dd1fc668
* AV control and data path addedKausik Sinnaswamy2012-07-148-13/+9
| | | | Change-Id: I88ec6084c140fa257154a98e23e075900e84cc8c
* Initial Bluedroid stack commitAndre Eisenbach2012-07-14210-0/+153570