add falcon support to vmmc

SVN-Revision: 27408
v19.07.3_mercusys_ac12_duma
John Crispin 13 years ago
parent 058eca0b3b
commit 4dba05cc21

@ -13,9 +13,49 @@ choice
config VOICE_CPE_VMMC_WITH_DEVICE_VR9
bool "VR9 family"
config VOICE_VMMC_WITH_DEVICE_FALCON
bool "FALC-ON"
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"

@ -86,6 +86,31 @@ ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_AR9),y)
# TODO: add fw/coef
endif
COEF_SRC:=$(COEF_TARGET)
ifeq ($(CONFIG_VOICE_VMMC_WITH_DEVICE_FALCON),y)
CONFIGURE_ARGS += --with-device=FALCON
FW_SOURCE:=voip_R1.1.0.6.0-enc.bin
FW_MD5SUM:=cd4366a52a8010b76793e3810a4f14b3
FW_TARGET:=falcon_voip_fw.bin
FW_FILE=fw_voip_falcon-1.1.0.6.0.tar.gz
FW_DOWNLOAD:=1
COEF_TARGET:=falcon_bbd.bin
# FXS part
ifeq ($(CONFIG_LTQ_VOICE_CPE_VMMC_COEF_FALCON_ETSI),y)
COEF_SRC:=ETSI_3_10.BIN
endif
ifeq ($(CONFIG_LTQ_VOICE_CPE_VMMC_COEF_FALCON_US600R),y)
COEF_SRC:=R600_3_10.BIN
endif
ifeq ($(CONFIG_LTQ_VOICE_CPE_VMMC_COEF_FALCON_USE_CUSTOM_FILE),y)
COEF_SRC:=$(CONFIG_LTQ_VOICE_CPE_VMMC_COEF_FALCON_CUSTOM_FILE)
endif
COEF_FILE:=coef_voip_falcon.tar.gz
COEF_MD5SUM:=56c5a838f2bb9bd87d0e8dce271f810b
COEF_DOWNLOAD:=1
endif
ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_VR9),y)
CONFIGURE_ARGS += --with-device=VR9
# TODO: add fw/coef

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save