summaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeFilesLines
* Bluetooth: Implement dynamic blacklist method for role switchSrinu Jella2015-10-152-0/+38
| | | | | | | | | | | | | | | | | | | | | | - Blacklist the device if it's rejected the role switch for max number of times.Same is added to the iot_devlist.conf file. - Maximum number of failed (BTM_MAX_SW_ROLE_FAILED_ATTEMPTS) attempts set to 3 and it is configurable. - Same blacklisted device is referred by the BTM module when any other module like profile is requesting for role switch and BTM module returns BTM_REPEATED_ATTEMPTS as the switch role status. - There is option to retry for role switch even though the device is blacklisted and it can be controlled by feature flag BTM_SAFE_REATTEMPT_ROLE_SWITCH. And by default it is enabled. CRs-Fixed: 831542 Change-Id: I570e1539578e60901794941ca46f0722e368a954
* btsnoop: btsnoop write from external processMallikarjuna GB2015-10-061-0/+6
| | | | | | | | | | | | - write btsnoop from external process - adjust the gmt offset to match with logcat logs - avoid btsnoop file write if btsnoop client is connected - limit the block of snoop write to 10 ms and drop the packet - memcpy and issue single write to eliminate multiple I/O - enable snoop by default on userdebug build - option to override snoop config for userdebug build Change-Id: I13749dc348baf88af57e3ebec1ec7acd5e999c04
* HID: Improve Logging for Hid Host and ClientHemant Gupta2015-10-061-0/+2
| | | | | | | | | | This patch adds support to enable logging for hid host's and client's stack components dynamically. Also some logs for host and cleint are added under verbose logging level which would help in latency measurements. Change-Id: I06de0ea89b8f5e40466519fe60aead6497b6cf11 CRs-Fixed: 608230
* Bluetooth: Changing vendor ID as QTI for Device ID ProfileNitin Shivpure2015-10-061-1/+2
| | | | | | | | | As per Specification, Device providers should configure the vendor ID as the Company Identifier provided by the Bluetooth SIG. Hence Changing vendor ID as QTI for Device ID Profile. Change-Id: I852113d2849ea4fd0725396fc92f320101aab0d0 CRs-Fixed: 547495
* PAN: Fix to avoid buffer corruption while rebuilding the Bnep headerNitin Shivpure2015-06-231-0/+2
| | | | | | | | | | | | | | | | | | | A case, where 3 remote device (PANU role) is connected with DUT (NAP role). the one remote (PANU role) send BNEP_COMPRESSED_ETHERNET_DEST_ONLY packet to DUT (NAP role), which is for another remote device (PANU role). So DUT (NAP role) forwards this packet to another remote device (PANU role). As same pbuf is used across the L2CAP/BNEP/PAN layer since reception from L2CAP to writing on L2CAP CID of another PANU. Sometimes buffer (p_buf) gets corrupted, when required buffer size is greater than actual buffer size, while rebuilding the Bnep header. Using bnep_write instead of bnep_writeBuf to solve the buffer corruption issue, which allocates the new buffer & append data into it. This patch also add TRC_BNEP & TRC_PAN into conf file. Bug: 22028876 Change-Id: I125cab6d3da0f8126605bc7e9f764a27ee72fb1f
* L2CAP and SDP Search API for BT profiles (2/2)Kim Schulz2015-04-101-0/+1
| | | | | | | | | | | | | | Added support for exposing L2CAP to Java such that OBEX over L2CAP is made possible. Added support to create SDP records as a seperate step.(as opposed to creating a SDP record when a BluetoothSocket is created). This allows both a RFCOMM channel and a L2CAP PSM to be included in a SDP record. (Additionally the content of the SDP record is set by the profile in Java, in stead of beeing hardcoded in the socket layer.) This completes the L2CAP channel exposure to Java. Change-Id: Iaf68a07d910145cdd33e940d73cd680f79164100
* Add ability to preserve existing snoop logAndre Eisenbach2014-09-171-0/+3
| | | | | | | | | | | | | Currently a stack restart or device reboot will overwrite existing snoop logs when the stack restarts. This patch adds a new configuration file parameter "BtSnoopSaveLog" that, if enabled, will cause an existing snoop log to be renamed to "<snoop_file_name>.last" before a new snoop log is created. This will allow for easier debugging of crashes that involve a reboot or stack restart. Change-Id: I4f56204d31a6bf2e96058938e8616eb6dee7360b
* Clean up DID configuration parsing.Sharvil Nanavati2014-06-231-12/+3
| | | | Change-Id: Iba77c9924c1f4fe926a7e59653b80e9d836c4fc5
* Add toyota venza to the auto pair blacklistMatthew Xie2013-10-071-2/+2
| | | | | | bug 10904063 Change-Id: Ia14f00eb45ff8ba1d7df73db575aff552af7677a
* Initial version of BLE support for BluedroidGanesh Ganapathi Batta2013-02-271-0/+1
| | | | Change-Id: I9825a5cef9be2559c34c2a529b211b7d471147cf
* Snapshot 9fd57cbacd95e89602f430244c35bbc67f08b6d2The Android Open Source Project2012-12-121-0/+1
| | | | Change-Id: Ibc3a4bf4161d286c7cfab89a19c676eb5cc9224f
* Snapshot cdeccf6fdd8c2d494ea2867cb37a025bf8879bafThe Android Open Source Project2012-12-124-0/+182
Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d