menu "Bk_ble"
	depends on BLUETOOTH

	config BT
		bool "Enable Bt"
		default n

	config BLE
		bool "Enable Ble"
		default y

	choice BLE_STACK
		prompt "Select Ble Version"
		depends on (BLE || BT)
		default BLE_5_X

		config BLE_5_X
			bool "BLE 5.X"
		config BLE_4_2
			bool "BLE 4.2"
		config BTDM_5_2
			bool "BTDM 5.2"
		config BTDM_5_2_MINDTREE
			bool "BTDM 5.2 Mindtree Host"
	endchoice

	config BLUETOOTH_MULTI_CONTROLLER
		bool "multi bluetooth controller"
		depends on (BLE || BT)
		default n

	choice BLUETOOTH_MULTI_CONTROLLER_MODE
		prompt "multi bluetooth controller mode"
		depends on BLUETOOTH_MULTI_CONTROLLER
		default BLUETOOTH_MULTI_CONTROLLER_MODE_PRI_ALL_SEC_NONE

		config BLUETOOTH_MULTI_CONTROLLER_MODE_PRI_ALL_SEC_NONE
			bool "primary all, secondary none"
		config BLUETOOTH_MULTI_CONTROLLER_MODE_PRI_NONE_SEC_ALL
			bool "primary none, secondary all"
		config BLUETOOTH_MULTI_CONTROLLER_MODE_PRI_BLE_SEC_BT
			bool "primary ble, secondary bt"
		config BLUETOOTH_MULTI_CONTROLLER_MODE_PRI_BT_SEC_BLE
			bool "primary bt, secondary ble"
	endchoice

	config BTDM_CONTROLLER_ONLY
		bool "BTDM controller only"
		default y

	config BLUETOOTH_RELEASE_CODESIZE
		bool "reduce ble stack size"
		depends on BLE
		default n
		help
			This option is used to reduce ble stack size for IoT scenarios that
			only use ble provisioning network.It supports two ble advertise,
			one ble link, and ble scan at the same time.it does not support SMP and central role.
			when config this option,BLUETOOTH_BLE_SLAVE_ONLY will be invalid.

	config BLUETOOTH_BLE_SLAVE_ONLY
		bool "only supports ble slave"
		depends on !BLUETOOTH_RELEASE_CODESIZE
		default n

	config BLUETOOTH_BLE_SLAVE_OBSERVER
		bool "only supports ble slave and observer"
		depends on BTDM_CONTROLLER_ONLY
		default n

    config BLUETOOTH_BLE_DISCOVER_AUTO
        bool "auto ble discover. Only used when single ble host"
        default y
    config BLUETOOTH_SUPPORT_LPO_ROSC
        bool "support lpo rosc"
        default n
    config BLUETOOTH_SUPPORT_IPC
        bool "bt support ipc"
        default y
    config BLUETOOTH_SUPPORT_IRAM_CODE
        bool "support iram code"
        default n
    config BLUETOOTH_SUPPORT_COEX_RF_MODE_SWITCH
        bool "support coex rf mode switch"
        default n
    config BLUETOOTH_SLEEP_PHY_SWITCH
        bool "support sleep phy switch"
        default n
    choice BLUETOOTH_RF_MODE
        prompt "Select Bluetooth RF Mode"
        default BLUETOOTH_RF_MODE_IQ_HIGH_PLL

        config BLUETOOTH_RF_MODE_POLAR
            bool "Polar Mode"
        config BLUETOOTH_RF_MODE_IQ_HIGH_PLL
            bool "IQ Mode Wifi PLL"
        config BLUETOOTH_RF_MODE_IQ_LOW_PLL
            bool "IQ Mode BT PLL"
    endchoice
endmenu
