OSDN Git Service

add support for custom sniff configuration
authorAdam Hampson <ahampson@google.com>
Mon, 19 May 2014 23:23:45 +0000 (16:23 -0700)
committerAdam Hampson <ahampson@google.com>
Thu, 22 May 2014 23:34:08 +0000 (16:34 -0700)
commit63399d943938cb7234a7fba508ea603070720d77
treed65848f45ecd4c5ed905573d48c33afc9db26ee2
parenta8cc49e09e09590f0f5a2a42e8229aa7338439a0
add support for custom sniff configuration

This change allows the bta_dm_pm_md table defined in bta_dm_cfg.c
to be overridden in bdroid_buildcfg.h

This also changes how the bta_dm_pm_spec table references sniff
parameters in the bta_dm_pm_md.  Indexing into the bta_dm_pm_md
table is now through an overrideable define instead of directly
referencing the index into the table.

Lastly this change allows for overriding the open, active, and
idle states of the HID host power table indepednent of the HID
device power table.

Bug: 13329024

Change-Id: If1eea95ebdd3efd48c69bf4cc6f2ffe06219c80b
Signed-off-by: Adam Hampson <ahampson@google.com>
bta/dm/bta_dm_cfg.c
bta/include/bta_api.h