From 6e428756de21d0286ae931548b4fdb7d8d8ab9ce Mon Sep 17 00:00:00 2001 From: Jiamin Miao Date: Fri, 24 Jun 2016 07:37:33 +0000 Subject: PD#127012: bluetooth: config pcm parameter Change-Id: Iaf55ba01548f5b3a88454f6a030c42c575ec464f --- diff --git a/include/bt_vendor_brcm.h b/include/bt_vendor_brcm.h index 545e76e..a707053 100755..100644 --- a/include/bt_vendor_brcm.h +++ b/include/bt_vendor_brcm.h @@ -56,16 +56,16 @@ /* Device port name where Bluetooth controller attached */ #ifndef BLUETOOTH_UART_DEVICE_PORT -#define BLUETOOTH_UART_DEVICE_PORT "/dev/ttyO1" /* maguro */ +#define BLUETOOTH_UART_DEVICE_PORT "/dev/ttyS1" /* maguro */ #endif /* Location of firmware patch files */ #ifndef FW_PATCHFILE_LOCATION -#define FW_PATCHFILE_LOCATION "/vendor/firmware/" /* maguro */ +#define FW_PATCHFILE_LOCATION "/etc/bluetooth/" /* maguro */ #endif #ifndef UART_TARGET_BAUD_RATE -#define UART_TARGET_BAUD_RATE 3000000 +#define UART_TARGET_BAUD_RATE 2000000 #endif /* The millisecond delay pauses on HCI transport after firmware patches @@ -79,7 +79,7 @@ * baud. */ #ifndef FW_PATCH_SETTLEMENT_DELAY_MS -#define FW_PATCH_SETTLEMENT_DELAY_MS 0 +#define FW_PATCH_SETTLEMENT_DELAY_MS 200 #endif /* The Bluetooth Device Aaddress source switch: @@ -106,7 +106,7 @@ 1: UART with Host wake/BT wake out of band signals */ #ifndef LPM_SLEEP_MODE -#define LPM_SLEEP_MODE 1 +#define LPM_SLEEP_MODE 0 #endif /* Host Stack Idle Threshold in 300ms or 25ms @@ -334,7 +334,7 @@ /* SCO_PCM_IF_FRAME_TYPE - 0=Short, 1=Long */ #ifndef SCO_PCM_IF_FRAME_TYPE -#define SCO_PCM_IF_FRAME_TYPE 0 +#define SCO_PCM_IF_FRAME_TYPE 1 #endif /* SCO_PCM_IF_SYNC_MODE @@ -377,7 +377,7 @@ if Fill_Method is set to programmable */ #ifndef PCM_DATA_FMT_FILL_BITS -#define PCM_DATA_FMT_FILL_BITS 0 +#define PCM_DATA_FMT_FILL_BITS 3 #endif /* PCM_DATA_FMT_FILL_METHOD -- cgit