OSDN Git Service

Raise BTU and HCI thread priorities
authorAndre Eisenbach <eisenbach@google.com>
Wed, 7 Oct 2015 18:16:37 +0000 (11:16 -0700)
committerScott James Remnant <keybuk@google.com>
Mon, 19 Oct 2015 17:36:34 +0000 (10:36 -0700)
commit5b9b1b89e900fd6f830d25965b1e6a20da559c7f
tree9947050a63129f8d0e4543e22a444688347f5c1d
parente29c3430bfee2d92ba09c3cb4780a577ffc90712
Raise BTU and HCI thread priorities

The audio sub-system and audio related tasks run at elevated thread
priorities in order to ensure timely handling of audio packets. This
patch raises the thread priority of lower layer Bluetooth tasks involved
in delivering audio packets to avoid thread pre-emption and subsequent
audio skipping.

Bug: 24570959
Change-Id: I5e19ee4590207df753f7b8bfc22174959722ec2d
hci/src/hci_hal_h4.c
osi/include/eager_reader.h
osi/include/thread.h
osi/src/eager_reader.c
osi/src/thread.c
stack/btu/btu_init.c