- Mar 02, 2017
-
-
Treehugger Robot authored
-
- Mar 01, 2017
-
-
Bailey Forrest authored
Change-Id: I9c7dbd8dfdb440a31e4c98e93ee533fe96ee7b0e
-
Pulkit Bhuwalka authored
Using BTM_IO_CAP_NONE currently causes compilation to fail since bta_dm_sp_cback ends up unused out a previous #ifdef that only kicks in if BTM_IO_CAP_NONE is not set. Plugging the entire function into a #ifdef so consistency is maintained and the framework can compile. Bug: 35257446 Test: Built locally and run on device. Pairing without display using JustWorks works. Change-Id: Ibd7af6454253ccd731ff79602f327a52b8fe585b
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Pavlin Radoslavov authored
Some devices claim they can handle large MTU and large SBC bitpool. However, they are struggling and eventually over time they start delaying the "Rcvd Number of Completed Packets" reports. Now we always limit the payload MTU to MAX_2MBPS_AVDTP_MTU(663) - with the overhead of (4 bytes L2CAP Header + 12 bytes AVDTP Header) such packet can fit within 2-DH5 payload size of 679 bytes. Bug: 34127145 Test: A2DP SBC streaming to headsets and carkit Change-Id: I2f32becba703d77d36be46158f68b8a9ef3f299a
-
Pavlin Radoslavov authored
Some Sink devices might advertise AAC zero bitrate or a very small value (e.g., 24576). Ignore values that are below a threshold (currently set to 64000), because those seem invalid. For such devices, the actual streaming bitrate will be computed based on the MTU. Test: Code compilation Change-Id: Ibe3de6e53681a618f388b41a01f366ad462b7a1d
-
- Feb 28, 2017
-
-
Treehugger Robot authored
-
Myles Watson authored
Bug: 35690239 Test: Switch users with Bluetooth enabled (Disables/Enables Bluetooth under high load) Change-Id: I6e09547cc8ffa3f01bc523ce4c18fdabfe08df99
-
Marie Janssen authored
Some assigns snuck into our conditionals, making the code harder to read / follow. Also remove some unnecessary null checks after osi_malloc that are nearby. Test: compiles, sanity check with device Change-Id: Ia544da44060d9fc4363af9fbcb4112f3190f75ab
-
Myles Watson authored
Test: Switch users with Bluetooth enabled (Disables/Enables Bluetooth under high load) Change-Id: I2414fd26a0380644700d66a8fdec1fc54a1cd2f6
-
Myles Watson authored
Test: Switch users with Bluetooth enabled (Disables/Enables Bluetooth under high load) Change-Id: I9039f97c090f693e798b8082fbb027e2028c8b40
-
Myles Watson authored
Test: Switch users with Bluetooth enabled (Disables/Enables Bluetooth under high load) Change-Id: I34c5579b75620970f756fff28ccc07cf76599a94
-
Venkata Jagadeesh Garaga authored
Use Case: DUT unable to pair with Xbox HID device Steps: 1. Turn on BT 2. Start Inquiry 3. Pair with device with three extended feature pages Failure: Unable to pair with HID device Root Cause: DUT not responding for btm_read_remote_ext_features_complete as we are not supporting three extended pages. So Security procedure also not getting started. Fix: Increase max remote ext feature pages to three from 2 as some latest remotes supporting three extended pages. As per spec we can support 255 extended pages. Test: Pair with device with three extended feature pages Bug: 32999575 Change-Id: I061c78a7aaa1ab58a2fc554d026305a0124eee77
-
Jakub Pawlowski authored
In build/BUILD.gn we set EXPORT_SYMBOL value, and it's used across the whole stack. However, third party libraries require this value to be cleared - otherwise the symbols are not exported properly. Test: manual
-
- Feb 27, 2017
-
-
Jakub Pawlowski authored
Set the address during SetParameters, for VSC implementation, and right after setting parameters for BT5 implementation. Test: sl4a ConcurrentBleAdvertisingTest Bug: 33922058 Bug: 34962013 Change-Id: Idcc60a36884607de191066d8be1ee3bc459e86fc
-
Jakub Pawlowski authored
Make btsnd_hcic_ble_rand accept base::Callback instead of function pointer. This will result in great code simplifications in further patches. Test: sl4a ConcurrentBleAdvertisingTest Change-Id: I9933caa78b20d0011ce3e17fd72d5740bcc4ae6d
-
- Feb 25, 2017
-
-
Myles Watson authored
Test: Bluetooth settings still works Change-Id: I4de24cceb9beb262ce7f96e7291288b70618f694
-
- Feb 24, 2017
-
-
Ajay Panicker authored
Reverting due to the fact that this causes many HID issues with fugu. The general problem seems to be that this patch requires kernel 3.18 while fugu is currently on 3.10. Will investigate further later but reverting for now to fix fugu. This reverts commit 6fbe4548. Fixes: 35667962 Fixes: 35712367 Change-Id: I536da368fc9796b26dc52892eda6501772683330
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Jakub Pawlowski authored
Test: manual Change-Id: I238dfadf401b90d52caa4c381ea068b48091c092
-
Treehugger Robot authored
-
- Feb 23, 2017
-
-
Pavlin Radoslavov authored
This change is needed, because there are Sink devices that expect a fixed latmBufferFullness value. Bug: 35715579 Test: A2DP streaming to various devices Change-Id: Ia27490920cda273cee15bfd7e643b85a5c5e428d
-
Pavlin Radoslavov authored
Use AACENC_PEAK_BITRATE to limit the maximum bitrate as limited by the MTU, and use AACENC_BITRATE to set the encoder bitrate. Previously, both were set to the same value. That was disabling the AAC bitreservoir, and eventually affecting the audio quality. Bug: 35715570 Test: A2DP streaming to various devices Change-Id: I6adac4889f9b2d7509182df8961ddfada02ee8ac
-
Bluetooth Build Test authored
The stack does no longer use vendor libs. We use hci_layer_linux.cc now. Test: manual Change-Id: I6c64337280c073647faf0bd775d75c5d700e7911
-
Jakub Pawlowski authored
Test: manual test Change-Id: Icc47679aaba92afd7f3eab48416065d3a741a745
-
Jakub Pawlowski authored
This is useful for debugging advertising issues. Test: manual Change-Id: Ia51eccb1ff7922a5864572a89e77404299965862
-
Treehugger Robot authored
-
Jakub Pawlowski authored
Right now, hci_close() is getting stuck on stopping the reader thread. In order to fix that, we must have a way to exit the blocking read when shutting down the stack. Test: manual Change-Id: I3a7eeef6d8ed223fc96ba9eeacca37006a5c9739
-
Pavlin Radoslavov authored
If the Audio-to-Bluetooth HAL reopens a connection on the Data or Control channel without closing first the old one, the UIPC select(2) loop gets confused and could spin with 100% CPU usage. Now we check for channels that are reopened, and explicitly close them before reopening. Also, fix a check whether a file descriptor is valid: 0 is a valid file descriptor. Test: A2DP testing with a headset: connect/play/stop Bug: 35394629 Change-Id: I7ae988ac77f25da56e59e347363e7c473e7f69a9
-
Treehugger Robot authored
-
- Feb 22, 2017
-
-
Jakub Pawlowski authored
Test: manual Change-Id: I7183c4773ae409f63296bd3c53a02ec2a460f021
-
Jakub Pawlowski authored
Test: manual Change-Id: I0a99e528acaa1adec39425b7bf6f8d8b5c024632
-
Jakub Pawlowski authored
delayed_auth_timer_ent was freed and re-created during it's execution. Instead of re-creating, just cancel the timers in smp_cb_cleanup. Test: manual, bond with HID device on linux Bug: 34083285 Change-Id: Ie569666846db5dcb2466cff00665b2c1490d7d10
-
- Feb 21, 2017
-
-
Chih-Hung Hsieh authored
Bug: 33166666 Test: default build targets Change-Id: Id2b579215291cb1f6ae03ebc167f07bd59713dc4
-
Jakub Pawlowski authored
Test: build on linux Change-Id: I21d613fb3e914949d3e8e8fcdae60e620e685394
-
Jakub Pawlowski authored
Test: build on linux Change-Id: I72c7621fde1f229e3dd2a8cfa0cf0339e601914c
-
Jakub Pawlowski authored
* changes: Use base::Callbacks in BleScannerInterface (2/3) Remove unnecessary extern declarations
-