choice
	prompt "device selection"
	depends on PACKAGE_kmod-ltq-vmmc
	default VOICE_CPE_VMMC_WITH_DEVICE_DANUBE
	help
		Select the target device.

	config VOICE_CPE_VMMC_WITH_DEVICE_DANUBE
		bool "Danube, Twinpass, Vinax"
		depends on TARGET_lantiq_danube

	config VOICE_CPE_VMMC_WITH_DEVICE_AR9
		bool "AR9 family"
		depends on TARGET_lantiq_ar9

	config VOICE_CPE_VMMC_WITH_DEVICE_VR9
		bool "VR9 family"
		depends on TARGET_lantiq_vr9
	
	config VOICE_VMMC_WITH_DEVICE_FALCON
		bool "FALC-ON"
		depends on (TARGET_lantiq_falcon||TARGET_lantiq_falcon_stable)

endchoice

choice
	depends on PACKAGE_kmod-ltq-vmmc
	prompt "FXS coefficients"
	default LTQ_VOICE_CPE_VMMC_COEF_FALCON_ETSI
	help
		Select country specific FXS coefficient file.

	config LTQ_VOICE_CPE_VMMC_COEF_FALCON_ETSI
		bool "ETSI_T3R10: Vl:40V, Ic:25mA, Vid:25V, Vri:45Vrms, f:25Hz"	
		help
		  These coefficents contains a parameter set with line impedance Zr according to ETSI.

		  T:   gain in transmit direction (attenuation 3dBr) [dBr]
		  R:   gain in receive direction (attenuation 10dBr) [dBr]
		  Vl:  on-hook voltage limit [V]
		  Ic:  off-hook loop current [mA]
		  Vid: low-power-standby voltage [V]
		  Vri: ring voltage [v]
		  f:   ring frequency [V]

	config LTQ_VOICE_CPE_VMMC_COEF_FALCON_US600R
		bool "USA_600R_T3R10: Vl:40V, Ic:25mA, Vid:25V, Vri:45V, f:20Hz"
		help
		  These coefficents contains a parameter set with line impedance e.g. for USA.
 
		  T:   gain in transmit direction (attenuation 3dBr) [dBr]
		  R:   gain in receive direction (attenuation 10dBr) [dBr]
		  Vl:  on-hook voltage limit [V]
		  Ic:  off-hook loop current [mA]
		  Vid: low-power-standby voltage [V]
		  Vri: ring voltage [v]
		  f:   ring frequency [V]

	config LTQ_VOICE_CPE_VMMC_COEF_FALCON_USE_CUSTOM_FILE
		bool "Select own FXS coefficient file"
endchoice

config VOICE_CPE_VMMC_PMC
	depends on (VOICE_CPE_VMMC_WITH_DEVICE_AR9 || VOICE_CPE_VMMC_WITH_DEVICE_VR9)
	bool "Power Management Control support"
	default n
	help
		Option to enable Power Management Control on AR9, VR9. Not supported for Danube.

config VOICE_CPE_VMMC_DISABLE_DECT_NIBBLE_SWAP
	bool "Disable DECT nibble swap"
	depends on PACKAGE_kmod-ltq-vmmc
	default n
	help
		Option to disable DECT nibble swap for COSIC modem (for backward compatibility only).

config VOICE_CPE_VMMC_EVENT_LOGGER
	depends on BROKEN
	bool "Event logger support"
	depends on PACKAGE_kmod-ltq-vmmc
	default n
	help
		Option to enable details traces between drv_vmmc and the voice FW
		- for debugging only
		- requires package ifx-evtlog

config VOICE_CPE_VMMC_MPS_HISTORY_SIZE
	int "MPS history buffer in words (0<=size<=512)"
	depends on PACKAGE_kmod-ltq-vmmc
	default "128"
	help
		MPS history buffer (default=128 words, maximum=512 words, 0=disable)
		To opimize the memory footprint in RAM, you might want to set the
		buffer size to 0.

