diff options
-rw-r--r-- | bluetooth/bt_vendor.conf | 142 |
1 files changed, 141 insertions, 1 deletions
diff --git a/bluetooth/bt_vendor.conf b/bluetooth/bt_vendor.conf index 2508db5..02f3785 100644 --- a/bluetooth/bt_vendor.conf +++ b/bluetooth/bt_vendor.conf @@ -1,3 +1,143 @@ +####################################################################################### +# Common configurations (applies to both V4L2 & non-V4L2) +####################################################################################### + +# UART device port where Bluetooth controller is attached (default ttyS1) UartPort = /dev/ttyHS0 -FwPatchFilePath = /system/etc/firmware/ + +# Target Baudrate to change to if different from 3000000 +# This entry is mandatory if using V4L2 +UartBaudRate = 3000000 + +# Firmware patch file location (compile default /vendor/firmware) +FwPatchFilePath = /system/etc/firmware + +# uncomment if you want to load a specific version FwPatchFileName = BCM43xx.hcd + +# Firmware patch setttlement delay in millisec +# This entry is mandatory if using V4L2 +FwPatchSettlementDelay = 100 + +# host/bt wake polarity to match with kernel settings +# 0: active low (negative logic) +# 1: active high (positive logic) (default) +LpmWakePolarity = 1 + +# stack/controller idle timeout in units (300/25ms) +# make sur controller supports 25ms +#LpmIdleTimeout = 2 + +#************************************** +# SCO I2S/PCM interface +# 0: PCM +# 1: I2S +#************************************** +#ScoInterface = 0 + +#************************************** +# SCO over PCM +# +# Configuration for SCO over PCM interface, which parameters are represented by array. +# Each PCM parameters' definations are listed as below, in order. Be NOTICED that +# this setting is ONLY VALID as PCM interface is selected/used. +# +# PCM Frame Type (SCO_PCM_IF_FRAME_TYPE) +# - 0: Short +# - 1: Long +# +# PCM Sync Mode (SCO_PCM_IF_SYNC_MODE) +# - 0: Slave +# - 1: Master +# +# PCM Clock Mode (SCO_PCM_IF_CLOCK_MODE) +# - 0: Slave +# - 1: Master +# +# PCM NBS(Narrow Band Speech) Clock Rate (SCO_PCM_IF_CLOCK_RATE) +# - 0: 128K +# - 1: 256K +# - 2: 512K +# - 3: 1024K +# - 4: 2048K +# +# PCM WBS(Wide Band Speech) Clock Rate (SCO_I2SPCM_IF_CLOCK_RATE4WBS) +# - 0: 128K +# - 1: 256K +# - 2: 512K +# - 3: 1024K +# - 4: 2048K +# +# PCM WBS (Wide Band Speech) Sample Rate (SCO_I2SPCM_IF_SAMPLE_RATE) +# +# - 0: 8K +# - 1: 16K +# - 2: 4K +# +# Carriers do not support 16K voice samples at present, +# so, setting PCM WBS Sample Rate to 8K (0) for now. +# +#************************************** +#ScoPCMifParams = {0,0,0,4,4,0} + +#************************************** +# PCM Format +# +# Configuration for PCM format, which parameters are represented by array. +# Each PCM format parameters' definations/descriptions are listed as below, in order. +# +# Shift Mode (PCM_DATA_FMT_SHIFT_MODE) +# - 0: MSB first +# - 1: LSB first +# +# Fill Bits (PCM_DATA_FMT_FILL_BITS) +# - Specifies the value with which to fill unused bits +# if Fill_Method is set to programmable +# +# Fill Method (PCM_DATA_FMT_FILL_METHOD) +# - 0 : 0's +# - 1 : 1's +# - 2 : Signed +# - 3 : Programmable +# +# Fill Num (PCM_DATA_FMT_FILL_NUM) +# - Specifies the number of bits to be filled +# +# Justify Mode (PCM_DATA_FMT_JUSTIFY_MODE) +# - 0: Left justify (fill data shifted out last) +# - 1: Right justify (fill data shifted out first) +# +#************************************** +#ScoPCMFmtParams = {0,0,3,0,0} + +####################################################################################### + +####################################################################################### +# Configurations specific to V4L2 based solution +####################################################################################### + +# Setting this to true enables Low Power Mode (LPM) in the shared +# line discipline driver. Set this to fale if the LPM is not +# enabled or if it is handled in the platform +LpmEnable=true + +#For hammerhead and grouper LPM is through bluesleep +#LPM for maguro and manta is done by UART driver itself +LpmUseBluesleep=false + +#Set to true if bd address was programmed into firmware using OTP +UseControllerBdaddr=false + +#Enable debugging (add values below to enable multiple options) +# enable logging in driver for init/release driver : 1 +# enable logging in driver for open : 2 +# enable logging in driver for close : 4 +# enable logging in driver for Tx : 8 +# enable logging in driver for Rx : 16 +DBG_BT_DRV = 31 +DBG_LDISC_DRV = 31 +DBG_FM_DRV = 31 +#*************************************************************************** + +####################################################################################### + |