1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 11:04:10 +03:00

add falcon support to vmmc

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27408 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2011-07-03 17:38:41 +00:00
parent b75766abf4
commit 66edc14010
3 changed files with 12312 additions and 0 deletions

View File

@ -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"

View File

@ -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