OSDN Git Service
Pavlin Radoslavov [Tue, 18 Apr 2017 01:44:32 +0000 (01:44 +0000)]
Add missing NULL pointer assignment after fixed_queue_free and alarm_free am:
8137183ebd
am:
13a356490f
Change-Id: Ie46ebbad5da50191974c6cadb06df0d4570ca9de
Jacky Cheung [Tue, 18 Apr 2017 01:44:19 +0000 (01:44 +0000)]
Do not GATT_ERROR on MTU change am:
f271c9109e am:
57e7660ce4 am:
016b74c9a7
am:
b49489cd72
Change-Id: Ifd18fe15ea0709b02777ebddc3bc362b8dccd9c2
Pavlin Radoslavov [Tue, 18 Apr 2017 01:26:00 +0000 (01:26 +0000)]
Add missing NULL pointer assignment after fixed_queue_free and alarm_free
am:
8137183ebd
Change-Id: I475c8bcf77e127df9e4561150e2e7b048a3f2316
Jacky Cheung [Tue, 18 Apr 2017 01:13:07 +0000 (01:13 +0000)]
Do not GATT_ERROR on MTU change am:
f271c9109e am:
57e7660ce4
am:
016b74c9a7
Change-Id: Ib880f762e23729196c9da6dcc26022d3e0c9ddb7
Pavlin Radoslavov [Fri, 14 Apr 2017 10:45:18 +0000 (03:45 -0700)]
Add missing NULL pointer assignment after fixed_queue_free and alarm_free
Bug:
37285767
Test: Code compilation
Change-Id: I53f759ea477079b0b6aed4bcbeefb645886263d6
(cherry picked from commit
86ae6c0200347fb5734491555be4a4d59eaabfea)
Jacky Cheung [Tue, 18 Apr 2017 01:08:02 +0000 (01:08 +0000)]
Do not GATT_ERROR on MTU change am:
f271c9109e
am:
57e7660ce4
Change-Id: Id8f4c458340b05106a499ab2851209113b0ad084
Sanket Agarwal [Tue, 18 Apr 2017 01:06:24 +0000 (01:06 +0000)]
BTA HF_CLIENT: Always reply to +BCS am:
c8f8075024
am:
8f516048d2
Change-Id: Ia80be0f6cf562827ac3de864b55f4e1c77ccb058
Jacky Cheung [Tue, 18 Apr 2017 01:03:02 +0000 (01:03 +0000)]
Do not GATT_ERROR on MTU change
am:
f271c9109e
Change-Id: Iab8d8d1c770b8d93fb62ff2210b55b23cd08d990
Sanket Agarwal [Tue, 18 Apr 2017 00:40:52 +0000 (00:40 +0000)]
BTA HF_CLIENT: Always reply to +BCS
am:
c8f8075024
Change-Id: Id46d9eebed56ce1fa30ef2d3725c8016187c8781
Jacky Cheung [Mon, 17 Apr 2017 20:38:39 +0000 (13:38 -0700)]
Do not GATT_ERROR on MTU change
Bug:
37305498
Test: manual on MSM8909
Change-Id: I07389620efc914d0ece52262edc2c35b498d5564
Pavlin Radoslavov [Mon, 17 Apr 2017 23:05:45 +0000 (23:05 +0000)]
Fix a race condition during HCI module shutdown am:
51b86e9fa5
am:
b39965dd71
Change-Id: I2aeebdefa666a3e7a33db6b99b5cc9f628bb6609
Pavlin Radoslavov [Mon, 17 Apr 2017 23:05:33 +0000 (23:05 +0000)]
Add missing NULL pointer assignment after fixed_queue_free and alarm_free am:
86ae6c0200 am:
804f314dcc am:
fc5f89b8fb
am:
7d81ef2ce9
Change-Id: I401136b82c8e694145ddde4d511eab463b2d0478
Pavlin Radoslavov [Mon, 17 Apr 2017 22:55:22 +0000 (22:55 +0000)]
Fix a race condition during HCI module shutdown
am:
51b86e9fa5
Change-Id: I76ab6e9b7e91fd5a98f9e2517676075996669265
Sanket Agarwal [Wed, 22 Feb 2017 19:55:34 +0000 (11:55 -0800)]
BTA HF_CLIENT: Always reply to +BCS
Phones don't like when we don't reply to +BCS codec-negotiation. We were
having this behavior because not always do we want to accept a
connection request over SCO. Instead of not replying to +BCS (which is
essentially a codec negotiation) we rather refuse the SCO request when
it comes in. This creates other issues such as some phones trying to
connect SCO in an infinite loop but it still keeps interoperability with
other devices such as iPhones and Microsoft phones intact
Bug: b/
35469963
Bug: b/
35431871
Bug: b/
35419773
Test: SCO (Phone Audio) test with iPhone, Microsoft and Nexus phones
Change-Id: I5319edcb4da9d66c6d6b3a49742248c90dee98e6
(cherry picked from commit
ad372cfa3376f882046284a5655ed9c6fdf24daf)
Pavlin Radoslavov [Mon, 17 Apr 2017 22:45:26 +0000 (22:45 +0000)]
Add missing NULL pointer assignment after fixed_queue_free and alarm_free am:
86ae6c0200 am:
804f314dcc
am:
fc5f89b8fb
Change-Id: I88427349979009fc14110649adb1436539df9eaf
Pavlin Radoslavov [Mon, 17 Apr 2017 22:32:21 +0000 (22:32 +0000)]
Add missing NULL pointer assignment after fixed_queue_free and alarm_free am:
86ae6c0200
am:
804f314dcc
Change-Id: I2dad2cf7bdfc2d067fb1665b370917397830051a
Pavlin Radoslavov [Mon, 17 Apr 2017 22:27:50 +0000 (22:27 +0000)]
Add missing NULL pointer assignment after fixed_queue_free and alarm_free
am:
86ae6c0200
Change-Id: I611bb32f00f1665707d810f7355b20ec696cb2b9
Andre Eisenbach [Fri, 14 Apr 2017 18:49:34 +0000 (18:49 +0000)]
Do not remove device security record on LMP timeout am:
4f484079fd
am:
329d2ff2f3
Change-Id: I8e04dffb5bfee05e45c5897cdf5f74921ccd0ea3
Pavlin Radoslavov [Fri, 14 Apr 2017 18:49:24 +0000 (18:49 +0000)]
Fix a race condition during HCI module shutdown am:
a3292051d9 am:
95ea3f7a15 am:
c343d03ed4
am:
db48dc01fd
Change-Id: Ia5849a29e8bc84afb379ac78abd16263650d2819
Po-Chien Hsueh [Fri, 14 Apr 2017 18:49:13 +0000 (18:49 +0000)]
Merge "Move audio.a2dp.default to vendor" into oc-dev am:
81eba70e0d
am:
5b0dc8df58
Change-Id: I54aed97856bc57c5cf9b3971ed27f382a5c6f247
Andre Eisenbach [Fri, 14 Apr 2017 18:49:02 +0000 (18:49 +0000)]
Do not remove device security record on LMP timeout am:
1f5ec7304f am:
688e5d66e8 am:
423e58a4ec
am:
8308292225
Change-Id: I2f62a80496c9e3b51e1c8524f0dea47ef80c42fb
Yoshiharu Kurita [Fri, 14 Apr 2017 18:48:51 +0000 (18:48 +0000)]
Merge "HFP: Disable BTRH feature" into oc-dev am:
d084b7c9ac
am:
976b810ab8
Change-Id: I85cd334999f83c33815800c7567da81b0fd57516
Jack He [Fri, 14 Apr 2017 15:56:33 +0000 (15:56 +0000)]
Add support for inband ringing feature am:
9cb269c25b
am:
660de2a683
Change-Id: I38d448c851856254af9150ab7d68faca91e4b46f
Pavlin Radoslavov [Fri, 14 Apr 2017 10:45:18 +0000 (03:45 -0700)]
Add missing NULL pointer assignment after fixed_queue_free and alarm_free
Bug:
37285767
Test: Code compilation
Change-Id: I53f759ea477079b0b6aed4bcbeefb645886263d6
Pavlin Radoslavov [Thu, 13 Apr 2017 21:33:30 +0000 (14:33 -0700)]
Fix a race condition during HCI module shutdown
If an HCI event (e.g., incoming event) happens during
HCI module shutdown, and the processing of that event
calls update_command_response_timer() right after
"alarm_free(command_response_timer)" in the beginning
of hci_module_shut_down(), then update_command_response_timer()
will try to schedule an alarm on command_response_timer that is NULL.
Test: Enable/disable Bluetooth, added unit tests
Bug:
37241256
Change-Id: I7fd58446caedc135e906953644201f88b5df32bb
(cherry picked from commit
a3292051d9c088769b0f4e46ffaf7c66b1127194)
Andre Eisenbach [Fri, 14 Apr 2017 07:59:32 +0000 (07:59 +0000)]
Do not remove device security record on LMP timeout
am:
4f484079fd
Change-Id: If1eb044333ea61e87847ad3cae8edb493ded887e
Pavlin Radoslavov [Fri, 14 Apr 2017 07:27:57 +0000 (07:27 +0000)]
Fix a race condition during HCI module shutdown am:
a3292051d9 am:
95ea3f7a15
am:
c343d03ed4
Change-Id: I9ace0008c743f8ad3de7da02e37ca0d9319a2065
Pavlin Radoslavov [Fri, 14 Apr 2017 07:21:00 +0000 (07:21 +0000)]
Fix a race condition during HCI module shutdown am:
a3292051d9
am:
95ea3f7a15
Change-Id: I29ca75b6c67266a5a2564dcce9ad3c3103d7ed71
Pavlin Radoslavov [Fri, 14 Apr 2017 07:13:59 +0000 (07:13 +0000)]
Fix a race condition during HCI module shutdown
am:
a3292051d9
Change-Id: I2116b3d5e0c992a4fbd35745ee5c9b3f14fdb1a9
Pavlin Radoslavov [Thu, 13 Apr 2017 21:33:30 +0000 (14:33 -0700)]
Fix a race condition during HCI module shutdown
If an HCI event (e.g., incoming event) happens during
HCI module shutdown, and the processing of that event
calls update_command_response_timer() right after
"alarm_free(command_response_timer)" in the beginning
of hci_module_shut_down(), then update_command_response_timer()
will try to schedule an alarm on command_response_timer that is NULL.
Test: Enable/disable Bluetooth, added unit tests
Bug:
37241256
Change-Id: I7fd58446caedc135e906953644201f88b5df32bb
Andre Eisenbach [Thu, 13 Apr 2017 21:49:36 +0000 (14:49 -0700)]
Do not remove device security record on LMP timeout
If an LMP timeout is encountered in the middle of authentication, the
link key is removed from the controller (but not from NVRAM). This can
result in a follow up connction triggering a LINK_KEY_MISSING reply,
which in turn can cause a remote device to initiate pairing which will
then finally remove the link key stored in NVRAM as well.
This change prevents the link key from being removed from the Bluetooth
controller in case of a timeout during link authentication.
Bug:
36798442
Test: manual
Change-Id: Ic89a16b45756e3d40b2e374c645c8f245f6ce3fc
(cherry picked from commit
1f5ec7304fc4e297f9f9868b5bd9382c2a26c8cc)
Po-Chien Hsueh [Fri, 14 Apr 2017 03:04:56 +0000 (03:04 +0000)]
Merge "Move audio.a2dp.default to vendor" into oc-dev
am:
81eba70e0d
Change-Id: I83bf5d47624f8ac4bf248ad8dce4a9b72b7e2e4f
TreeHugger Robot [Fri, 14 Apr 2017 02:45:48 +0000 (02:45 +0000)]
Merge "Move audio.a2dp.default to vendor" into oc-dev
Andre Eisenbach [Fri, 14 Apr 2017 00:55:34 +0000 (00:55 +0000)]
Do not remove device security record on LMP timeout am:
1f5ec7304f am:
688e5d66e8
am:
423e58a4ec
Change-Id: Ica760836df055e5c09c82d3af73592983418fa43
Andre Eisenbach [Fri, 14 Apr 2017 00:50:12 +0000 (00:50 +0000)]
Do not remove device security record on LMP timeout am:
1f5ec7304f
am:
688e5d66e8
Change-Id: Icb4aace3361dd0238ce9f68120f7442d6ea596e4
Andre Eisenbach [Fri, 14 Apr 2017 00:44:32 +0000 (00:44 +0000)]
Do not remove device security record on LMP timeout
am:
1f5ec7304f
Change-Id: I429d8cfb4d048174764400096de655777411410c
Andre Eisenbach [Thu, 13 Apr 2017 21:49:36 +0000 (14:49 -0700)]
Do not remove device security record on LMP timeout
If an LMP timeout is encountered in the middle of authentication, the
link key is removed from the controller (but not from NVRAM). This can
result in a follow up connction triggering a LINK_KEY_MISSING reply,
which in turn can cause a remote device to initiate pairing which will
then finally remove the link key stored in NVRAM as well.
This change prevents the link key from being removed from the Bluetooth
controller in case of a timeout during link authentication.
Bug:
36798442
Test: manual
Change-Id: Ic89a16b45756e3d40b2e374c645c8f245f6ce3fc
Yoshiharu Kurita [Thu, 13 Apr 2017 20:25:43 +0000 (20:25 +0000)]
Merge "HFP: Disable BTRH feature" into oc-dev
am:
d084b7c9ac
Change-Id: Ib1bc691a92b1a47624321011cfd7b8a94fd6f02b
Jack He [Thu, 13 Apr 2017 20:08:16 +0000 (20:08 +0000)]
Add support for inband ringing feature
am:
9cb269c25b
Change-Id: Icbc6277f714e2c0c045f73b983f169d579214956
TreeHugger Robot [Thu, 13 Apr 2017 20:05:37 +0000 (20:05 +0000)]
Merge "HFP: Disable BTRH feature" into oc-dev
Po-Chien Hsueh [Tue, 7 Mar 2017 02:27:21 +0000 (10:27 +0800)]
Move audio.a2dp.default to vendor
Default HAL should go to /vendor/.
Bug:
35907904
Bug:
35979581
Test: Compiled and checked install path. Verified on Sailfish with
$ lsof | grep default. MP3 playback over my BT headset.
Change-Id: I93a341cc96b8d991dea52070f633566bf71f0dc0
Yoshiharu Kurita [Wed, 25 Nov 2015 09:00:30 +0000 (18:00 +0900)]
HFP: Disable BTRH feature
Fluoride does not notify application layer upon AT+BTRH, and always
sends error response (BTRH is not supported) to remote device.
That is, Fluoride does not support BTRH feature.
But BTRH is enabled by default, so OK is sent to remote device by mistake
before the error response is sent. This makes some carkits unstable.
Bug:
29587048
Test: make, PTS test
Change-Id: If1aa32291491982851ecd480c4ba8390f39a27a2
Merged-In: If1aa32291491982851ecd480c4ba8390f39a27a2
(cherry picked from commit
a25ef0b60b4ca10385dac02334dc3e4e2ad23edb)
Jack He [Fri, 3 Feb 2017 01:42:40 +0000 (17:42 -0800)]
Add support for inband ringing feature
* Change HFP init API so that the HFP feature bit field depends on
whether in-band ringing is supported on the device
* Feature disabled by default unless system property enables it
Bug:
19171297
Test: mm -j 40, HFP regression test, testplans/82144
Change-Id: Ib8ba28ac6e70eb23b2a2ad11c5805793911a4e43
(cherry picked from commit
7a9892c63bad8f8d93681fb74d5532a79387b60e)
Pavlin Radoslavov [Wed, 12 Apr 2017 19:40:13 +0000 (19:40 +0000)]
Reduce the audio A2DP HAL output audio stream buffer size am:
9db04a2c01
am:
c8c09500b6
Change-Id: Ie36718fe900a43c662ff780bd9789f4357383f67
Pavlin Radoslavov [Wed, 12 Apr 2017 19:34:28 +0000 (19:34 +0000)]
Reduce the audio A2DP HAL output audio stream buffer size
am:
9db04a2c01
Change-Id: I9548b399ad6ca3fc156bb69453a5e668006fa725
Pavlin Radoslavov [Wed, 12 Apr 2017 02:51:26 +0000 (02:51 +0000)]
Reduce the audio A2DP HAL output audio stream buffer size am:
5e9f56940e am:
c7fe75f5a0 am:
320cf5cc13
am:
771803a94a
Change-Id: I9fccf1e4db3f0a6400ab01ec13f6da14c0d25279
Pavlin Radoslavov [Wed, 12 Apr 2017 02:45:24 +0000 (02:45 +0000)]
Reduce the audio A2DP HAL output audio stream buffer size am:
5e9f56940e am:
c7fe75f5a0
am:
320cf5cc13
Change-Id: Iad27ceb84ef3bb6384b3531c455b6bfb2e32cd62
Pavlin Radoslavov [Wed, 12 Apr 2017 02:39:26 +0000 (02:39 +0000)]
Reduce the audio A2DP HAL output audio stream buffer size am:
5e9f56940e
am:
c7fe75f5a0
Change-Id: I2608003161b8d9492c044207744d127ae95549c9
Pavlin Radoslavov [Wed, 12 Apr 2017 02:34:25 +0000 (02:34 +0000)]
Reduce the audio A2DP HAL output audio stream buffer size
am:
5e9f56940e
Change-Id: Ib4af0fad802cd629f4008f52b0ec99a9ef1829e3
Pavlin Radoslavov [Wed, 5 Apr 2017 23:38:42 +0000 (16:38 -0700)]
Reduce the audio A2DP HAL output audio stream buffer size
Reduce the audio A2DP HAL output audio stream buffer size
(per constant AUDIO_STREAM_OUTPUT_BUFFER_PERIODS) from 4 to 2.
After the change, the output buffer size is double the buffer period.
Bug:
35849921
Test: A2DP streaming with various codec settings. Testplans/83305.
Change-Id: I2a15d468e748a03b481bf2117903ab06cddd02a3
(cherry picked from commit
5e9f56940e1865d16892639e4c9144a65547626e)
Jack He [Tue, 11 Apr 2017 23:02:32 +0000 (23:02 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf am:
585e0c08f5 am:
005eb1d305 am:
7752061901 am:
0ddb124e6e am:
2feb43b5b1 am:
72270d976b am:
e0702cd5b8 -s ours am:
c918b22853
am:
a104f3f382
Change-Id: Ia479e4c19db42e37eb750fe45999e328245277a7
Jack He [Tue, 11 Apr 2017 23:02:19 +0000 (23:02 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf am:
585e0c08f5 am:
005eb1d305 am:
7752061901 am:
0ddb124e6e am:
2feb43b5b1 am:
72270d976b am:
e0702cd5b8 -s ours am:
dd6f2cc7aa
am:
814e783f2e
Change-Id: I547ba5f513d7ee9504683dfc62147cad1071e00d
Jack He [Tue, 11 Apr 2017 22:54:06 +0000 (22:54 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf am:
585e0c08f5 am:
005eb1d305 am:
7752061901 am:
0ddb124e6e am:
2feb43b5b1 am:
72270d976b am:
e0702cd5b8 -s ours
am:
c918b22853
Change-Id: I4a76bea5e4936535b30146b305ccea7dc48efbcb
Jack He [Tue, 11 Apr 2017 22:53:40 +0000 (22:53 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf am:
585e0c08f5 am:
005eb1d305 am:
7752061901 am:
0ddb124e6e am:
2feb43b5b1 am:
72270d976b am:
e0702cd5b8 -s ours
am:
dd6f2cc7aa
Change-Id: I7c679f003d404c4808c457c6644a26d4500d72ea
Jack He [Tue, 11 Apr 2017 22:49:06 +0000 (22:49 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf am:
585e0c08f5 am:
005eb1d305 am:
7752061901 am:
0ddb124e6e am:
2feb43b5b1 am:
72270d976b
am:
e0702cd5b8 -s ours
Change-Id: I3157998e2357ece35235b6636d9ab45bcc60ef60
Jack He [Tue, 11 Apr 2017 22:48:40 +0000 (22:48 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf am:
585e0c08f5 am:
005eb1d305 am:
7752061901 am:
0ddb124e6e am:
2feb43b5b1 am:
72270d976b
am:
e0702cd5b8 -s ours
Change-Id: I9e26974ca9cf13f5c497ed94e11dcda4e108212f
Jack He [Tue, 11 Apr 2017 22:38:39 +0000 (22:38 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf am:
585e0c08f5 am:
005eb1d305 am:
7752061901 am:
0ddb124e6e am:
2feb43b5b1
am:
72270d976b
Change-Id: I6dbf93e14a6c31092d2ecce2738b7680b738220c
Jack He [Tue, 11 Apr 2017 22:33:09 +0000 (22:33 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf am:
585e0c08f5 am:
005eb1d305 am:
7752061901 am:
0ddb124e6e
am:
2feb43b5b1
Change-Id: I3d16a2939976a326ca20056b29818e2df550ee67
Jack He [Tue, 11 Apr 2017 22:28:08 +0000 (22:28 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf am:
585e0c08f5 am:
005eb1d305 am:
7752061901
am:
0ddb124e6e
Change-Id: I61b9f5741d5fd6035fb7d472b83dc9df54eb3483
Jack He [Tue, 11 Apr 2017 22:23:08 +0000 (22:23 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf am:
585e0c08f5 am:
005eb1d305
am:
7752061901
Change-Id: I1f821df2a72958ed17ce5bf8baed431a52dfb087
Jack He [Tue, 11 Apr 2017 22:18:07 +0000 (22:18 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf am:
585e0c08f5
am:
005eb1d305
Change-Id: Ic4f826e4f963f969c360fe39c6e720c3fb013d23
Jack He [Tue, 11 Apr 2017 22:13:06 +0000 (22:13 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6 am:
e6620d18cf
am:
585e0c08f5
Change-Id: If70a5f9b56845e758c2a2a3150936a72cac9f438
Jack He [Tue, 11 Apr 2017 22:08:06 +0000 (22:08 +0000)]
Check LE advertising data length before caching advertising records am:
1bef3546a6
am:
e6620d18cf
Change-Id: I412c0dd7854d7f6157e1974e285078909543bb41
Jack He [Tue, 11 Apr 2017 22:03:05 +0000 (22:03 +0000)]
Check LE advertising data length before caching advertising records
am:
1bef3546a6
Change-Id: Ibbf6183833d7f00937742fa337a04569c4ef3c2f
Pavlin Radoslavov [Wed, 5 Apr 2017 23:38:42 +0000 (16:38 -0700)]
Reduce the audio A2DP HAL output audio stream buffer size
Reduce the audio A2DP HAL output audio stream buffer size
(per constant AUDIO_STREAM_OUTPUT_BUFFER_PERIODS) from 4 to 2.
After the change, the output buffer size is double the buffer period.
Bug:
35849921
Test: A2DP streaming with various codec settings. Testplans/83305.
Change-Id: I2a15d468e748a03b481bf2117903ab06cddd02a3
Yoshiharu Kurita [Tue, 11 Apr 2017 20:32:13 +0000 (20:32 +0000)]
Merge "HFP: Disable BTRH feature" am:
59921ffef4 am:
73c0f4ec7a am:
2c2b4e6454
am:
641d9a7b1d
Change-Id: Id888b0a2b8e696ca258252ef5d92c48f2413705b
Yoshiharu Kurita [Tue, 11 Apr 2017 20:26:11 +0000 (20:26 +0000)]
Merge "HFP: Disable BTRH feature" am:
59921ffef4 am:
73c0f4ec7a
am:
2c2b4e6454
Change-Id: Iaae57aa29d3cfb8c706a0527b26d8af2e0ef5473
Yoshiharu Kurita [Tue, 11 Apr 2017 20:20:10 +0000 (20:20 +0000)]
Merge "HFP: Disable BTRH feature" am:
59921ffef4
am:
73c0f4ec7a
Change-Id: I302fcffd62ad7163a852096632a7027445bff376
Yoshiharu Kurita [Tue, 11 Apr 2017 20:15:12 +0000 (20:15 +0000)]
Merge "HFP: Disable BTRH feature"
am:
59921ffef4
Change-Id: I730e60eed923b20e58667ecafd9f1c268b9559c7
Jakub Pawlowski [Tue, 11 Apr 2017 20:14:07 +0000 (20:14 +0000)]
Build fix for BLE_PRIVACY_SPT == FALSE am:
58931e5d3c
am:
0aeaf5a150
Change-Id: I51ddc4eda6639134aaed3e4035d9544e0fc12c74
Jakub Pawlowski [Tue, 11 Apr 2017 20:14:00 +0000 (20:14 +0000)]
Advertising manager improvements am:
777ccd1145 -s ours
am:
f72a60fd64
Change-Id: I67ea523341c7f1c0952c4dd1f6efc919e18e0b26
Jakub Pawlowski [Tue, 11 Apr 2017 20:13:53 +0000 (20:13 +0000)]
Linux build fix am:
7e478a0db6
am:
e19c118255
Change-Id: I4fc197cb6d69941eb9e691976411164b98696612
Jakub Pawlowski [Tue, 11 Apr 2017 20:13:44 +0000 (20:13 +0000)]
Use device privacy mode as default am:
56aed815e0
am:
ebb15fa883
Change-Id: Id09415c86c798cf1ffa15a17578faab82de6ccfc
Jakub Pawlowski [Tue, 11 Apr 2017 20:13:37 +0000 (20:13 +0000)]
ESR11-E7716: Disable scans while setting local RPA am:
917db0236b
am:
18e50f14b4
Change-Id: Ib85bed272ca4dc5daef25c2b8e2fb90e9fc5ab66
Jakub Pawlowski [Tue, 11 Apr 2017 20:13:29 +0000 (20:13 +0000)]
Support for H7 function for key derivation am:
c84faa65fb
am:
fc10f32344
Change-Id: I7a71e2d13d81a73e0bd8f1c13e8c51a3611057fb
Treehugger Robot [Tue, 11 Apr 2017 20:09:18 +0000 (20:09 +0000)]
Merge "HFP: Disable BTRH feature"
Jakub Pawlowski [Tue, 11 Apr 2017 20:02:23 +0000 (20:02 +0000)]
Build fix for BLE_PRIVACY_SPT == FALSE
am:
58931e5d3c
Change-Id: I65f5efd9ede94d6abe35bfd4d3eb1a4885175625
Jakub Pawlowski [Tue, 11 Apr 2017 20:02:15 +0000 (20:02 +0000)]
Advertising manager improvements
am:
777ccd1145 -s ours
Change-Id: I69266974e61b4b666b906e7827a34e975557c0c9
Jakub Pawlowski [Tue, 11 Apr 2017 20:02:05 +0000 (20:02 +0000)]
Linux build fix
am:
7e478a0db6
Change-Id: Iffa0e85abaf94f4b6eccbcbff0a883d6669982d7
Jakub Pawlowski [Tue, 11 Apr 2017 20:02:01 +0000 (20:02 +0000)]
Use device privacy mode as default
am:
56aed815e0
Change-Id: Iacf22bb3220aa08f4ffac150e66a39ad9010ae24
Jakub Pawlowski [Tue, 11 Apr 2017 20:01:57 +0000 (20:01 +0000)]
ESR11-E7716: Disable scans while setting local RPA
am:
917db0236b
Change-Id: I4963eff8e2b18161a8a55508e4749bf86b5a0a74
Jakub Pawlowski [Tue, 11 Apr 2017 20:01:52 +0000 (20:01 +0000)]
Support for H7 function for key derivation
am:
c84faa65fb
Change-Id: I3e87361f67ebc970d80f2b8c30b10e07a2430a45
liuchao [Tue, 11 Apr 2017 19:49:14 +0000 (19:49 +0000)]
Fix log record after return am:
3d38129e2a am:
5c7cc0bb4d am:
82b9eda9c7
am:
c719e2e391
Change-Id: Ia1d813fbd32571a6e536795240ed886c18031ee0
liuchao [Tue, 11 Apr 2017 19:16:44 +0000 (19:16 +0000)]
Fix log record after return am:
3d38129e2a am:
5c7cc0bb4d
am:
82b9eda9c7
Change-Id: I16de912f00a0223e8b93815bc946a2cc14b6f182
liuchao [Tue, 11 Apr 2017 19:10:56 +0000 (19:10 +0000)]
Fix log record after return am:
3d38129e2a
am:
5c7cc0bb4d
Change-Id: Ie8d7933d8cb8a7a7bbcd4cc55db6c66c8592d7a8
liuchao [Tue, 11 Apr 2017 19:05:55 +0000 (19:05 +0000)]
Fix log record after return
am:
3d38129e2a
Change-Id: I94f3d33e9a9e40e8395e2632db386ce0cda401c4
Jack He [Thu, 6 Apr 2017 00:59:58 +0000 (17:59 -0700)]
Check LE advertising data length before caching advertising records
Bug:
33899337
Test: make, receive LE advertising
Change-Id: I06b249ac5cabdef64528deda07b8bae749e1d2fd
(cherry picked from commit
d57adbc350fdee4f27b82c9e39a14bd745d92320)
Jakub Pawlowski [Mon, 10 Apr 2017 20:00:27 +0000 (13:00 -0700)]
Build fix for BLE_PRIVACY_SPT == FALSE
Bug:
30622771
Test: manual
Change-Id: I9a418b8c0477ac50ec2a81e318895c2788e5ceec
(cherry picked from commit
b0aca861fee4f0fbab809b5a1ef75c31d10055bd)
Jakub Pawlowski [Tue, 4 Apr 2017 11:08:19 +0000 (04:08 -0700)]
Advertising manager improvements
* Keep track wether advertiser is enabled.
* Make sure that random address for connectable advertisers is updated
when advertising is disabled, as per ESR11-E7716.
* Make sure that the local variable holding the address is properly
updated after the address is pushed to the controller.
* Use "LE Remove Advertising Set" command to free advertiser after use.
Bug:
35935853
Bug:
30622771
Test: manual
Change-Id: I1415f7272dd99e5e81ce1e2b7ef2bf98f7229cf9
(cherry picked from commit
1f62c122e908573497a8c69ccd7bd829ce02a0b9)
Jakub Pawlowski [Mon, 10 Apr 2017 09:19:29 +0000 (02:19 -0700)]
Linux build fix
Test: manual
Change-Id: I5c86e96b9bb1cee5b535ea1fa6ba0b6d078a9b09
(cherry picked from commit
17f449dab52a6092422a0405e6fe589488661594)
Jakub Pawlowski [Fri, 7 Apr 2017 13:19:50 +0000 (06:19 -0700)]
Use device privacy mode as default
This change configures device privacy mode for each
remote device added to the resolving list.
Before exercising the privacy command it confirms
whether the set privacy HCI command is supported.
This patch is based on CAF patch by niarora@codeaurora.org
36fa3c528d2ae58e0b3f969665e3d25986dcdbaa
Test: manual
Bug:
35935853
Change-Id: I839045ccc3ddb73dc9c0cbe05d87c25dae9b9236
(cherry picked from commit
f6db7cb9a30b34493df8658d59b2fe2232bc828a)
Jakub Pawlowski [Fri, 7 Apr 2017 12:50:16 +0000 (05:50 -0700)]
ESR11-E7716: Disable scans while setting local RPA
This change is required to disable any ongoing classic
advertisement or any scan before setting the RPA for the
DUT, and reenable them after the Set RPA command.
If a direct connection is ongoing, the RPA is not set.
A background connection is suspended and resumed for
sending the "Set RPA" HCI command.
This patch is based on CAF patch by niarora@codeaurora.org
690c2db21f650f74c202fd380cca4ca74cbdf83c
Test: manual
Bug:
35935853
Change-Id: Ifbc90d0c52c8f1fa627ac80c20a69149e89cb794
(cherry picked from commit
6bd467a004f4416aafc7fbd4da19b1e54578fd18)
Jakub Pawlowski [Mon, 20 Mar 2017 22:38:56 +0000 (15:38 -0700)]
Support for H7 function for key derivation
This change sets bit 5 of the auth req to 1 to display
the support for H7 function, for key derivation.
Also, it adds the implementation of the h7 function as
defined in the spec (ERRATA E7301]
H7 is used if both host and remote devices exhibit
their support for H7 function in the auth request,
else the key derivation falls back to the H6
implementation.
The method is similar for derivation from either
transports with the only difference being in the first
byte of the SAL used in h7.
This patch is based on CAF patch by niarora@codeaurora.org
70668ad34ff15d0a53aea612d3c488fa575176ca
Test: manual
Bug:
35935853
Change-Id: I2fa29b2f3d2b3ac007b2f5f024871f81220237d8
(cherry picked from commit
e7f14a682d57811d9df0d64372f222bcc143ec86)
liuchao [Tue, 11 Apr 2017 12:41:29 +0000 (20:41 +0800)]
Fix log record after return
Put log before the returned BUSY
Test: mm -j8
Change-Id: Ic3fb15a35adac363519cabecfcf8a2d3da60107c
Pavlin Radoslavov [Tue, 11 Apr 2017 00:51:03 +0000 (00:51 +0000)]
Add A2DP codec-specific information to dumpsys output am:
67ae84fb7f
am:
6a3b6ff2ff
Change-Id: Ie1ff7a0ea395f13d7d6e59dfb522c2a6fdd776ad
Pavlin Radoslavov [Tue, 11 Apr 2017 00:41:18 +0000 (00:41 +0000)]
Add A2DP codec-specific information to dumpsys output
am:
67ae84fb7f
Change-Id: I3faf2f07e97c6da2cf8c25874de4e3e0c54b189e
Jack He [Mon, 10 Apr 2017 23:32:15 +0000 (23:32 +0000)]
Merge "Add support for inband ringing feature" am:
3523f28d89 am:
bcc86035c1 am:
b34d6f2cc9
am:
f0be7944ef
Change-Id: Ifde8f4ad15b9d6355ef9270e3ff33eed4359c0c0
Jack He [Mon, 10 Apr 2017 23:20:42 +0000 (23:20 +0000)]
Merge "Add support for inband ringing feature" am:
3523f28d89 am:
bcc86035c1
am:
b34d6f2cc9
Change-Id: I8dffafb8a5f3e73ec0352392802ad1c29b82c090
Jack He [Mon, 10 Apr 2017 23:11:53 +0000 (23:11 +0000)]
Merge "Add support for inband ringing feature" am:
3523f28d89
am:
bcc86035c1
Change-Id: I90a485413a1656f556d2268a31255bbf420ace9e
Jack He [Mon, 10 Apr 2017 23:00:19 +0000 (23:00 +0000)]
Merge "Add support for inband ringing feature"
am:
3523f28d89
Change-Id: I21b543a6eea34b6da45037a8ee87208337551114