diff options
author | Wink Saville <wink@google.com> | 2012-08-16 13:17:55 -0700 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2012-08-16 17:05:16 -0700 |
commit | 127248594c6b24235aa233237d5cd27cb584d6d8 (patch) | |
tree | 5676e8241cc2c798250e24990a9eaf2d438a7ff2 /bta | |
parent | 815ccf47a118e907372223970cf44024e9689f43 (diff) | |
download | external_bluetooth_bluedroid-127248594c6b24235aa233237d5cd27cb584d6d8.zip external_bluetooth_bluedroid-127248594c6b24235aa233237d5cd27cb584d6d8.tar.gz external_bluetooth_bluedroid-127248594c6b24235aa233237d5cd27cb584d6d8.tar.bz2 |
Add support for per device bluetooth configuration.
Rather than using a text file and generating each buildcfg.h file
per device bdroid_buildcfg.h which supplies device specific values
and then bt_target.h will supply common values.
Change-Id: I12cb5408729c3e076562a292204f07a0c4b52628
Diffstat (limited to 'bta')
-rw-r--r-- | bta/Android.mk | 4 | ||||
-rw-r--r-- | bta/dm/bta_dm_cfg.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bta/Android.mk b/bta/Android.mk index 22665a3..7d1c19e 100644 --- a/bta/Android.mk +++ b/bta/Android.mk @@ -8,7 +8,7 @@ ifeq ($(BOARD_HAVE_BLUETOOTH_BCM),true) LOCAL_CFLAGS += \ -DBOARD_HAVE_BLUETOOTH_BCM endif -LOCAL_CFLAGS += -DBUILDCFG +LOCAL_CFLAGS += -DBUILDCFG $(bdroid_CFLAGS) LOCAL_PRELINK_MODULE:=false LOCAL_SRC_FILES:= \ @@ -96,8 +96,8 @@ LOCAL_C_INCLUDES+= . \ $(LOCAL_PATH)/../hcis/patchram \ $(LOCAL_PATH)/../udrv/include \ $(LOCAL_PATH)/../brcm/include \ + $(bdroid_C_INCLUDES) \ -include $(LOCAL_PATH)/../include/buildcfg.mk include $(BUILD_STATIC_LIBRARY) diff --git a/bta/dm/bta_dm_cfg.c b/bta/dm/bta_dm_cfg.c index d3ae0ec..f0f7ac9 100644 --- a/bta/dm/bta_dm_cfg.c +++ b/bta/dm/bta_dm_cfg.c @@ -324,7 +324,7 @@ tBTA_DM_PM_TYPE_QUALIFIER tBTM_PM_PWR_MD bta_dm_pm_md[] = { /* more sniff parameter entries can be added for BTA_DM_PM_SNIFF3 - BTA_DM_PM_SNIFF7, if needed When entries are added or removed, BTA_DM_PM_PARK_IDX needs to be updated to reflect the actual index -BTA_DM_PM_PARK_IDX is defined in bta_api.h and can be override by the buildcfg.h settings. +BTA_DM_PM_PARK_IDX is defined in bta_api.h and can be override by the bdroid_buildcfg.h settings. The SNIFF table entries must be in the order from highest latency (biggest interval) to lowest latency. If there's a conflict among the connected services, the setting with lowest latency wins. */ |