#
# For a description of the syntax of this configuration file,
# see Kconfig-language.txt
#

mainmenu "Router Configuration"

menu "Base Features"
config ARM_TOOL
	bool "Use tool of ARM"
	default n
	help
	Answer y when using ARM tool.This option solve the problem
 	when using different tool (ARM or MIPS) in wide-dhcpv6 and rdnss 	

config LIBVERSION
	bool "Library for version"
	default y
	help
	Library for version

config VCT
	bool "VCT support"
	depends on LIBVERSION
	default y
	help
	If you do not write VCT driver in platform, turn it off

config LINUX_NVRAM
	bool "Linux NVRAM"
	default n
	help
		nvram application and device module that base on broadcom style.       

config RESERVATE_WIRELESS_DOMAIN
	bool "CFG_RESERVATE_WIRELESS_DOMAIN"
	depends on NVRAM
	default n
	help
		If you do not reservation wireless domain in device, turn it off

config CONF_VER_CTL
	   bool "Configuration Version Control"
       depends on NVRAM || LINUX_NVRAM
       default y
       help
       Answer Y for 
		1. Add VERSION to chklst.txt
		2. When upload config.bin from GUI, checking VERSION in config.bin
			If VERSION does not match => Add new item or not
		3. When device start up, checking VERSION in NVRAM
			If VERSION does not match => Restroe Default or not

config CONF_VER_CTL_DEFAULT
	bool "Configuration Version Control with NVRAM restore default"
	depends on CONF_VER_CTL
	default n
	help
	Answer Y for 
	1. When device start up, checking VERSION in NVRAM
	If VERSION Major Number is older => NVRAM Restroe Default

config GET_SET_ARTBLOCK
	 bool "ARTBLOCK support"
	 default n
	 help
	 To support get and set hwversion,lanmac,wanmac for ART mtdblock.

config SET_GET_WIRELESS_ARTBLOCK
     bool "ARTBLOCK wireless support"
     depends on GET_SET_ARTBLOCK
     default n
     help
     To support get and set wireless for ART mtdblock.

config GET_SET_MACBLOCK
         bool "MACBLOCK support"
         default n
         help
         To support get and set hwversion,lanmac,wanmac for MAC mtdblock.

config BUSYBOX
       bool "BusyBox"
       default y
       help
       BusyBox combines tiny versions of many common UNIX utilities into
       a single small executable.

source "../rc/Config"

config RC_NTT
	bool "rc_ntt"
	help
	DJP NTT MPPPoE project only
	default n

config HEX_MODE_WITH_WIRELESS
	bool "Wireless SSID Support HEX mode in NVRAM"
	default n

source "../timer/Config"

config SYS
		 bool "SYS (System Management)"
		 default y
		 help
		 System Management to manage HTTP firmware upgrade procedure

source "../sutil/Config"
choice
		 prompt "Flash Type"
		 default FLASH_INTEL_28F640

		 config FLASH_INTEL_28F640
		 bool "Intel 8M 28F640"

		 config FLASH_MXIC_29LV640TB
		 bool "MXIC 8M 29LV640TB"

endchoice

config CLI
	bool "cli commands"
	default n
	help
	commands set. for replace RC.

config BULK_AGENT
	bool "bulk agent"
	default n
	help
	bulk agent.

config BUSYBOX_1_6_1
	bool "busybox-1.6.1 revsion"
	default n
	help
	Modified for built-in dnsmasq, add https support, ssi/ssc style
		of thttpd compatible, 2 account such as httpd and sslvpn user
		support. chcklist support by urlmap options.

config GET_SPECIAL_DEFAULT_VALUE
	 bool "Get special default value support"
	 default n
	 help
	 To support to get special default value.
         Added to generate the name of "lan_device_name"

endmenu

menu "Library"
config LIBPCAP_GENERIC
	bool "libpcap library"
	default n
	help
	libpcap library
endmenu

menu "Application Options"

config LIGHTTPD
       bool "LIGHTTPD Web Server"
       default n
	   
config PLEASE_WAIT_PAGE
		bool "Support please_wait page"
		depends on LIGHTTPD
		default n
		help
		Answer Y for please_wait page support, implement in apps/lighttpd.

config AP_RT_MODE_GUI_SUPPORT
		bool "Support AP and RT Mode GUI"
		depends on LIGHTTPD
		default n
		help
		Answer Y for support both AP and RT mode GUI in apps/lighttpd.

config AP_MODE_GUI_SUPPORT
		bool "Support only AP Mode GUI"
		depends on LIGHTTPD
		default n
		help
		Answer Y for support only AP mode GUI in apps/lighttpd.


config PPPD
       bool "PPPD"
       default y

config MULTIPLE_PPPoE
       bool "Support MULTIPLE PPPoE"
       depends on PPPD
       default n
       help
       Answer Y for multiple pppoe support(max session = 5). Please also turn on PPPoE client, LLTD and IP.

config RUSSIA_PPPoE
       bool "Support Russia PPPoE/PPTP/L2TP"
       depends on PPPD
       default n
       help
       Answer Y for Russia PPPoE/PPTP/L2TP support.

config RP_PPPoE
       bool "PPPoE client"
       default y

config PPPOE_RELAY
       bool "PPPoE Relay"
       depends on RP_PPPoE
       default n
       help
       Answer Y for pppoe relay support.       

config CHECK_WAN_LAN_IP_CONFLICT
		bool "Support check wan and lan ip conflict or not"
		default n
		help
		Answer Y to support check DUT wan ip and DUT lan ip conflict or not.

menu "UPNP"
config UPNP
       bool "UPnP IGD server"
       default y

config UUID
	    bool "UUID generator"
        depends on UPNP
		default n

choice
		prompt "UPNP_SOLUTION"
		default UPNP_ATH
		depends on UPNP
                 
		config UPNP_ATH
		default UPNP_ATH_MINIUPNPD_RC
		bool "Atheros UPNP"
		
		config UPNP_ATH_MINIUPNPD_RC
		bool "CFG_MINIUPNPD_RC"
		depends on UPNP_ATH
		default n

		config UPNP_ATH_MINIUPNPC_1_6
		bool "CONFIG_UPNP_ATH_MINIUPNPC_1_6"
		depends on UPNP_ATH
		default n
		help
			This feature for UPNP Client.

		config UPNP_ATH_MINIUPNPD_1_7
		bool "CONFIG_UPNP_ATH_MINIUPNPD_1_7"
		depends on UPNP_ATH
		default n
		help
			This is miniupnpd 1.7

		config UPNP_ATH_MINIUPNPD_1_3_AP136
		bool "CONFIG_UPNP_ATH_MINIUPNPD_1_3_AP136"
		depends on UPNP_ATH
		default n
		help
			This is miniupnpd 1.3 from packages

		config UPNP_ATH_MINIUPNPD_1_3
		bool "CFG_MINIUPNPD_1_3"
		depends on UPNP_ATH
		default n

			config UPNP_CTT2_0
			bool "UPNP_CTT2_0"
			depends on UPNP_ATH_MINIUPNPD_1_3
			default n
			help
				The features for UPNP logo ctt2.0 testing
			
			config MINIUPNPD_DISABLE_UPNPV6
			bool "MINIUPNPD_DISABLE_UPNPV6"
			depends on UPNP_ATH_MINIUPNPD_1_3
			default n
			help
				The features for disable ipv6 of upnp

			config UPNP_ATH_MINIUPNPD_1_3_LEASE_FILES
			bool "UPNP_ATH_MINIUPNPD_1_3_LEASE_FILES"
			depends on UPNP_ATH_MINIUPNPD_1_3
			default n
			help
				The features that PortMapping rules would be saved to files

			config UPNP_ATH_MINIUPNPD_1_3_CHECK_VS_NVRAM
			bool "UPNP_ATH_MINIUPNPD_1_3_CHECK_VS_NVRAM"
			depends on UPNP_ATH_MINIUPNPD_1_3
			default n
			help
				The features let PortMapping will check if rules already added by web GUI
				which is saved in nvram (virtual server rules)

			config UPNP_ATH_MINIUPNPD_1_3_HAIRPIN
			bool "UPNP_ATH_MINIUPNPD_1_3_HAIRPIN"
			depends on UPNP_ATH_MINIUPNPD_1_3
			default n
			help
				The features would let PortMapping rules support hairpin
				(Lan site clinet communicate with another lan client via wan ip and port)

			config UPNP_ICON_DOUBLE_CLICK_FORCE_TO_GUI
			bool "UPNP_ICON_DOUBLE_CLICK_FORCE_TO_GUI"
			depends on UPNP_ATH_MINIUPNPD_1_3
			default n
			help
				For Vista / Win 7 , icon showed in "View Computers and Devices"
				If you want to double click that icon then OS automatically open browser to WEB GUI,
				enable this feature.
				Note: This feature will always response "Connecting" instead of real status
				      for ConnectionStatus in UPNP service:WANIPConnection.

		config UPNP_ATH_MINIUPNPD
		bool "CFG_MINIUPNPD"
		depends on UPNP_ATH
		default n
		
		config UPNP_ATH_LIBUPNP
		bool "CFG_LIBUPNP"
		depends on UPNP_ATH
		default n

		config UPNP_ATH_LIBUPNP_SAVE2FILE
		bool "CFG_UPNP_ATH_LIBUPNP_SAVE2FILE"
		depends on UPNP_ATH_LIBUPNP
		default n
		help
			Save Upnp AddPortMapping rules to files

		config UPNP_ATH_LIBUPNP_CHECK_NVRAM
		bool "CFG_UPNP_ATH_LIBUPNP_CHECK_NVRAM"
		depends on UPNP_ATH_LIBUPNP
		default n
		help
			When Upnp client invoke AddPortMapping, check
			if the rule is conflict with the virtual server
			rules added in nvram via WEB UI

		config UPNP_BCM
		bool "Broadcom UPNP"

		config UPNP_MVL
		bool "Marvell UPNP"
		 help
			Please also turn on the feature of Web server.
endchoice

config UPNP_LOGO
	bool "For UPNP LOGO Test"
	depends on UPNP
	default n

# end  UPNP
endmenu 
config NTP
       bool "NTP client"
       default y

config DNSMASQ_2_5_9
       bool "DNSMasq -- DNS forwarder(2.59)"
       default n

config DNSMASQ
       bool "DNSMasq -- DNS forwarder"
       default y

config OPENDNS
		bool "OPENDNS support"
		depends on DNSMASQ
		default n
		help
		Answer Y for opendns support, implement in apps/dnsmasq-2.41.
		
config PARENTAL_CONTROL
	bool "OpenDNS Parental Control"
	depends on DNSMASQ && OPENDNS
	default n
	---help---
	OpenDNS Parental Control Support!	

config WEB_404_REDIRECT
		bool "WEB 404 REDIRECT support"
		depends on DNSMASQ
		default n
		help
		Answer Y for WEB 404 REDIRECT support, implement in apps/dnsmasq-2.41.
		

config DLINK_ROUTER_URL
		bool "DLINK ROUTER URL support"
		depends on DNSMASQ
		default n
		help
		When browse http://router.dlink.com will redirect to device login page, 
		implement in apps/dnsmasq-2.41.		

config DDNS
       bool "Dynamic DNS (DDNS)"
       default y

config DDNS_TIME_INTERVAL
       bool "DDNS updating interval"
       depends on DDNS
       default n
       help
       Answer Y for time interval support of DDNS.

config DDNS_ORAY
       bool "Support ORAY DDNS Server"
	   depends on DDNS
	   default n
	   help
       Answer Y for support www.oray.cn

config WCN
       bool "Windows Connect Now support (WCN)"
       default n
       help
       Answer Y to enable support for Windows Connect Now - a method
	   to configure wireless networks via USB Flash Devices.
	   (Requires WCN and dependents be configured into the kernel.)

config ZLIB
		bool "ZLIB Library"
		default n
		help
		A software library used for data compression
		http://zlib.net/zlib_tech.html

config UPNP_MINIDLNA
	bool "CONFIG_UPNP_MINIDLNA"
	default n
	help
	MINIDLNA

config MINIDLNA-1.0.18
	bool "CONFIG_UPNP_MINIDLNA-1.0.18"
	depends on UPNP_MINIDLNA
	default n
	help
	MINIDLNA

config MINIDLNA-1.0.25
	bool "CONFIG_UPNP_MINIDLNA-1.0.25"
	depends on UPNP_MINIDLNA
	default n
	help
	MINIDLNA

config ITUNES_SERVER
	bool "CONFIG_ITUNES_SERVER"
	default n
	help
	Support ITUNES SERVER

config USB_LIB
       bool "USB Library"
       default n
       help
       Answer Y to enable libusb
menu "3G USB"
config 3G_USB_CLIENT
       bool "3G USB Client"
       default n	
       help
       Answer Y to enable support for 3G USB Client
       you can use 3G USB Adapter to Internet  

config PPP_USED_CHAT
       bool "3G USB suport PPP CHAT"
	   default y
	   depends on 3G_USB_CLIENT
		help
			for 3G USB Client card to used			 

config 3G_USB_CLIENT_WM5
       bool "3G USB Client Windows Mobile Phone"
       default n
       depends on 3G_USB_CLIENT
       help
       Answer Y to enable support for 3G USB Client WM5.0 or WM6.1
       you can use 3G USB Phone's feature Internet sharing
       to access Internet

config 3G_USB_CLIENT_IPHONE
       bool "3G USB Client iPhone"
       default n
       depends on 3G_USB_CLIENT
       help
       Answer Y to enable support for 3G USB Client iPhone
       you can use 3G USB Phone's feature Internet sharing
       to access Internet

# end 3G USB
endmenu

config WEB_FILE_ACCESS
       bool "USB Web File Access"
       default n
       help
       Answer Y to enable support for Web File Access with USB Storage.

config USB_STORAGE_HTTP_ENABLE
       bool "USB STORAGE HTTP support"
       default n
       help
       Answer Y to enable support for USB STORAGE HTTP.

menu "NetWork USB (SharePort) Utility"
config NETWORK_USB
       bool "NetWork USB (SharePort) Utiltiy"
       default n
       help
       Answer Y to enable support for NetWork USB Utiltiy (SharePort Utility)
       you can select Kcodes or Silex

choice
		prompt "NetWork USB Utiltiy"
		default KCODES
		depends on NETWORK_USB

		config KCODES
		bool "Kcodes"
		depends on NETWORK_USB
		default y

		config SILEX
		bool "Silex"
		depends on NETWORK_USB
		default n
endchoice

endmenu

config MULTI_USB_SHARE_PORT
       bool "Multi usb share port"
       default n
       depends on NETWORK_USB
       help
       Answer Y to enable support for Multi USB Share Port

config SAMBA_SERVER
	bool "samba"
	default n
	depends on NETWORK_USB
	help
	Samba support

config DOMAIN_SHAREPORT
       bool "DOMAIN_SHAREPORT support"
       default n
       depends on WEB_FILE_ACCESS
       help
       Answer Y to enable support for DOMAIN_SHAREPORT.

config UPNP_MINIDLNA
        bool "minidlna"
        default n
        depends on NETWORK_USB
        help
        mini dlna support(media server)

choice
  	prompt "DLNA Version"
       	default MINIDLNA-1.0.18
	depends on UPNP_MINIDLNA

 config MINIDLNA-1.0.18
      	bool "minidlna - minidlna-1.0.18"
       	default y
	depends on UPNP_MINIDLNA
	help
	Answer minidlna-1.0.18 Support upnp certification test tool 1.5.

 config MINIDLNA-1.0.25
        bool "minidlna - minidlna-1.0.25"
        default n
	depends on UPNP_MINIDLNA
	help
	Answer minidlna-1.0.25 Support upnp certification test tool 2.0.


endchoice

config SMTP
       bool "Send Logs by E-Mail"
       default n
       help
       Answer Y to enable support for sending logs by E-mail

config MAILOS
       bool "Mail On Schedule Daemon"
       depends on SMTP
       default n
       help
       Answer Y to enable support for sending logs on schedule by E-mail

config WAKE_ON_LAN
       bool "Wake On LAN Proxy"
       default n
       help
       Answer Y to enable support for device as Wake On LAN Proxy Server


config IPTABLES_1_4_8
		bool "Iptables 1.4.8"
		default n
		help
		iptables 1.4.8, compliant with kernel higher 2.6.29

config IPTABLES_1_4_5
		bool "Iptables 1.4.5"
		default n
		help
		iptables 1.4.5, compliant with kernel higher 2.6.29

config NAT_ENABLE
       bool "NAT Support"
       default y

config SPI
       bool "SPI"
       default n

config NATTYPE
       bool "NATTYPE"
       default y

config ACCESS_CONTROL
       bool "Access control"
       default n

config TRENDNET_ACCESS_CONTROL
       bool "TrendNET Access Control"
       default n
       help
       Supports:
       URL filter independent with other acl rules.
       Service block (all) for specific hosts.

config PORT_FORWARD_BOTH
       bool "Port Forward Both TCP and UDP"
       default n

config PORT_FORWARD_TO_LOG
       bool "Port Forward rule show to syslog"
       default n

config INBOUND_FILTER
       bool "Inbound Filter"
       default n

config DHCP_RELAY
	bool "DHCP Relay Agent"
	default n
	help
		This program forwards DHCP messages between subnets 
		with different sublayer broadcast domains. 
		It is similarly to the DHCP relay agent dhcrelay of
		ISC's DHCP, but has the following features which are important:
		    * Runs as non-root in a chroot-jail
			* Uses "normal" AF_INET sockets; this allows to uses packetfilters
				to filter incoming messages.
			* The DHCP agent IDs can be defined freely
			* Has a small memory footprint when using dietlibc
				(if dietlibc feature is enbaled)
			
			It tries to be RFC 2131/2132 and 3046 compliant.
			Probably it works with BOOTP (RFC 951) also, but
			since the handling of the giaddr field is described
			misleading (see RFC 1542), there may occur problems.

		Reference: http://www.nongnu.org/dhcp-fwd/

source "../udhcp/Config"

config DHNAP_SUPPORT
	bool "DHNAP_SUPPORT"
	default n

config DHNAP_VERSION
	string "DHNAP VERSION"
	depends on DHNAP_SUPPORT
	default 0200
	help
		The value for Dlink HNAP version.
		So far, it contains 4 digits, and no more rules for the format.
		ex: 0200 or leave it blank

config VSFTPD
         bool "VSFTP server"
         default n
         depends on OPENSSL
         help
         Answer Y for ftp server support.

config TFTPD
		 bool "TFTP server"
		 default y

config TFTPD_NEW
		 bool "New TFTP server to optimize MP"
		 default y

config MP_TFTP
	bool "SUPPORT MP to enable TFTPD"
	default n

config GPIO
	 	bool "GPIO"
		default y

config MFORWARD
		 bool "Multicast Forwarding"
		 default y

config ATHEROS_HEADER_EN
		 bool "IGMP SNOOPING using Atheros Header mechanism"
		 default n
		 depends on MFORWARD
		 help
		 IGMP SNOOPING using Atheros Header mechanism implemented in switch driver and application igmpproxy

config ATHEROS_HEADER_EN_MLD_SNOOPING
		 bool "MLD SNOOPING using Atheros Header mechanism"
		 depends on ATHEROS_HEADER_EN && MLDC
		 help
		 MLD SNOOPING using Atheros Header mechanism implemented in switch driver and application mldc

config SUPPORT_PRIVACY_ADDRESS 
       bool "CFG_SUPPORT_PRIVACY_ADDRESS"
       depends on MFORWARD
       default n
       help
       Answer Y for privacy multi-cast address(239.xxx.xxx.xxx) support.

config SUPPORT_BIND
	bool "CFG_SUPPORT_BIND"
	depends on MFORWARD
	default n
	help
		Answer Y for socket bind support.Because It does not work on Python solution with connect().

config BIGPOND
	 	bool "Bigpond"
		default n

config PPTP
	bool "WAN Protocoal support PPTP"
	default y
	help
		Answer Y to enable WAN protocal support PPTP

choice
		prompt "PPTP Version"
		default PPTP_CLIENT
		depends on PPTP

		config PPTP_CLIENT
    	bool "pptp - accel-pptp 0.7.12"
    	depends on PPTP
    	default y

		config PPTP_CLIENT_V082
    	bool "pptp - accel-pptp 0.8.2"
    	depends on PPTP
    	default n

	config PPTP_CLIENT_V085
    	bool "pptp - accel-pptp 0.8.5"
    	depends on PPTP
    	default n
endchoice

config L2TP_CLIENT
	 	bool "L2TP"
		default y

config LLD2D
	 	bool "LLTD"
		default y

config SNMP
		bool "SNMP"
		default n
		
config SNMP_TRAP
		bool "SNMP Trap"
		depends on SNMP
		default n
		help
		support snmp trap

config NET_SNMP
                bool "NET SNMP"
		default n

config NMBD
		bool "NMBD for NETBIOS"
		default y

config PCIUTILS
		bool "pciutils"
		default n

config ZEBRA
		bool "Zebra -- Routing tool"
		default n

config QUAGGA
		bool "Quagga -- New Routing tool"
		default n		

config ROUTE_FORWARD_MODE
		bool "route forward mode"
		default n
		
config ROUTE_NONAT_MODE
		bool "route no nat mode"
		default n		

config OPENSSL
		bool "Openssl"
		default n

config CURL
		bool "Curl"
		default n
		depends on OPENSSL
		help
			A command line tool for transferring data with URL syntax, 
			supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP,
			IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP

config DROPBEAR
		bool "Dropbear"
		default n
		depends on ZLIB
		help
			A relatively small SSH 2 server and client.
			It runs on a variety of POSIX-based platforms

config HTTPS
	bool "Support HTTPS"
	depends on OPENSSL
	default n
	help
	Answer Y for http secure support.

config OPENAGENT
       bool "TR-069 CPE protocol"
       depends on OPENSSL
       default n
       help
       Answer Y for TR-069 support.

config ZLIB
		bool "Zlib"
		default n

config DROPBEAR
	bool "Dropber SSH Server"
       depends on ZLIB
	default n
	help
	Answer Y for lightweight SSH server support.

config WPASUPPLICANT
		bool "Wpa Supplicant"
		default n

config SUPPORT_AUTO_IE_AND_CIPHER
		bool "Auto detect beacon ie for wpa-psk"
		depends on WPASUPPLICANT
		default n
		help
		support behavior like intel proset, we will auto detect AP beacon ie and auto change current ie and cipher.

config WPS
		bool "WPS"
		default y

config WPS_PIN_GENERATE
        bool "WPS PIN generate function supported"
		depends on WPS
        default n
		help
		WPS PIN generate function supported in sutil.so.

config WPS_SUPPORT_GUEST
        bool "WPS supporte GUEST"
		depends on WPS
        default n
		help
		WPS supported GUEST.

config WPS_LOCK
	bool "Support WPS LOCK MECHINSM"
	depends on WPS
	default n

config DISABLE_WPS_LOCK
	bool "Support Disable WPS PIN"
	depends on WPS
	default n

config HOSTAPD
		bool "HOSTAPD"
		depends on WPS
		default y

config SUPPLICANT_ATH
		bool "Wpa supplicant for Atheros"
		depends on WPS
		default n
		help
		This daemon only supports Atheros solution.

config WAN_8021X
		bool "Wpa supplicant for wired (WAN) 802.1x Support"
		depends on SUPPLICANT_ATH
		default n
		help
		This Config current only supports Atheros solution because dependence on SUPPLICANT_ATH.

config WPS_WPATALK
                bool "WPS for Atheros AP94"
                depends on WPS
                default n
		help
		Supports Atheros AP94 WPS solution. 
		AP94 support 2.4GHz and 5GHz concurrent mode

config IP
		bool "IPROUTE2 -- iproute2 package"
		default y

config IPROUTE2_IP
		bool "IP -- iproute2 package"
		depends on IP
		default y

config TC
		bool "TC (Traffic Control) -- iproute2 package"
		depends on IP
		default y

config TRACEGW
		bool "TRACEGW -- for traceroute"
		depends on TC
		default y		

config MBANDWIDTH
		bool "MBANDWIDTH -- for measuring bandwidth"
		depends on TC && TRACEGW
		default y
		
		config MBANDWIDTH_MINIMAL
		bool "MBANDWIDTH_MINIMAL"
		depends on MBANDWIDTH
		default n
		help
			This feature is used for set up minimal bandwidth for QoS, when bandwidth is not measured
			or lower then this value, bandwidth will be set to a default minimal value (kbps).
			Note, when wan is disconnected or communication (ping, tracegw) between www.google.com
			can not be established, this feature will not be activated.

		config MBANDWIDTH_MINIMAL_VALUE
		string "MBANDWIDTH_MINIMAL_VALUE"
		depends on MBANDWIDTH && MBANDWIDTH_MINIMAL
		default 1024
		help
			The value for default minimal bandwidth (kbps).

		config WAIT_MBW
		bool "WAIT_MBW -- GUI Page wait Bandwidth measurment complete"
		depends on MBANDWIDTH && HTTPD
		default n
		help
			The web page could not be accessable til bandwidth measurment completed.

		config MBANDWIDTH_DISABLE_UPLOAD_THRESHOLD
		bool "MBANDWIDTH_DISABLE_UPLOAD_THRESHOLD"
		depends on MBANDWIDTH
		default n
		help
			Disable the feature that if measeure mbandwidth value
			is equal or larger than the threshold value, we set it to 0
			(not estimate).

		config MBANDWIDTH_UPLOAD_THRESHOLD_VALUE
		int "MBANDWIDTH_UPLOAD_THRESHOLD_VALUE"
		depends on MBANDWIDTH
		default 2048
		help
			The value for default minimal bandwidth (kbps).
			
		config MBANDWIDTH_ORIGINAL_METHOD
		bool "MBANDWIDTH_ORIGINAL_METHOD"
		depends on MBANDWIDTH
		default n
		help
			This feature is used for original method measuring bandwidth.

config MYDLINK
		bool "MYDLINK -- MYDLINK"
		default n
		help
		Answer Y to support MYDLINK.

config MYDLINK_MDB
		bool "MYDLINK -- MDB"
		depends on MYDLINK
		default n	
	
config QOS_SPEEDTEST
		bool "QoS -- UPLOAD SPEEDTEST"
		default y
		help
		Answer Y to support the way(speedtest) to calculate upload bandwidth.

config QOS_CLINK
		bool "QoS -- CLINK"
		default n
		help
		Answer Y to support the way(clink) to calculate upload bandwidth.

config QOS_CLINK_ENHANCE
		bool "QoS CLINK ENHANCEMENT"
		depends on QOS_CLINK
		default n
		help
		Answer Y to enhance the way(clink) to calculate upload bandwidth.

config QOS_MTR
                bool "QoS -- MTR"
                default n
                help
                Answer Y to support the way(mtr - ICMP) to calculate upload bandwidth.

config STREAMBOOST
		bool "QoS -- Qualcomm Streamboost engine"
		default n
		help
		Qualcomm QoS engine, support QoS classify for several application service.
		
config GPL_CGI
		bool "GPL CGI"
		default n
		help
		Ansewr Y to support third party add cgi function by themself.
		You also have to enable CONFIG_GPL_CGI=y in /www/$MODELNAME/config/$MODELNAME.apps_eagle.config 
		
config TRACERT
		bool "Trace route"
		default n
		help
		Answer Y to support Trendnet Trace route.		
		
config MTDAAPD
		bool "Support mt-daapd (iTune Server)"
		default n
		help
		Add mt-daapd key		

menu "IPv6 Support and options"
config IPV6_SUPPORT
		bool "IPv6 support"
		depends on CLI
		default n
		help
		Answer Y to support IPv6.

config IPV6_PASSTHROUGH
		bool "IPv6: IPv6 passthrough"
		depends on IPV6_SUPPORT
		default n
		help
		Answer Y to support IPv6 passthrough with an independent VLAN interface.(ex. eth0.6)

config IPV6_KERNEL_MODULES
		bool "IPv6: Insert IPv6 kernel modules"
		depends on IPV6_SUPPORT
		default n
		help
		Answer Y for
		If you build ipv6 kernel features as modules,
			please enable this feature.

config IPV6_LLMNR
	bool "LLMNR -- Link Local Multicast Name Resolution"
	depends on IPV6_SUPPORT
	default n
	help
	Link Local Multicast Name Resolution				

config IPV6_STATIC
		bool "IPv6: support static IPv6"
		depends on IPV6_SUPPORT
		default y
		help
		Answer Y to support static IPv6.

config IPV6_DHCP
		bool "IPv6: support DHCPv6 server & client"
		depends on IPV6_SUPPORT
		default y
		help

config RADVD_1_8_3
		bool "Radvd 1.8.3 -- IPv6 tool"
		depends on IPV6_SUPPORT
		default n

config MIREDO
		bool "Miredo -- Teredo: Tunneling IPv6 over UDP through NATs"
		depends on IPV6_SUPPORT
		default n

config MRD
		bool "MRD -- IPv6 Multicast routing Daemon: support MLD v1 & v2"
		depends on IPV6_SUPPORT
		default n

config MLDC
		bool "MLDC -- support MLD v1 & v2"
		depends on IPV6_SUPPORT
		default n

config MLD_PROXY
		bool "MLD PROXY -- support MLDv1/v2 & kernel IPV6_MROUTE"
		default n

source ../mcastd/Config

config IPV6_TUNNEL
		bool "IPv6: support tunnel"
		depends on IPV6_SUPPORT
		default y

config 6TO4_TUNNEL
		bool "IPv6: support 6to4 tunnel"
		depends on IPV6_TUNNEL
		default y
		help
		Answer Y for 6to4 tunnel support of IPv6.

config 6IN4_TUNNEL
		bool "IPv6: support 6in4 tunnel"
		depends on IPV6_TUNNEL
		default y
		help 
		This "IPv6 in IPv4 tunnel" is so-called Tunnel broker 

config 6IN4_TUNNEL
		bool "IPv6: support 6in4 tunnel"
		depends on IPV6_TUNNEL
		default y
		help 
		This "IPv6 in IPv4 tunnel" is so-called Tunnel broker 

config IPV6_PPPoE
		bool "IPv6: support IPv6 PPPoE"
		depends on IPV6_TUNNEL && PPPD
		default y

config IPV6_6RD
		bool "IPv6: support IPv6 Rapid Deployment"
		depends on IPV6_TUNNEL
		default n

config IPV6_DSLITE
		bool "IPv6: support Dual-Stack Lite"
		depends on IPV6_TUNNEL
		default n

config STATELESS_WAN
		bool "IPv6: support stateless autoconfiguration WAN"
		depends on IPV6_SUPPORT
		default n
		help
		The function would make router's wan interface accept ra

config IPV6_CLIENT_LIST
                bool "IPv6: support monitor ipv6 clients in LAN side"
                depends on IPV6_SUPPORT
                default n
                help
                The function is used ipv6 nd mechanism to implement.

config IPV6_HTTPD
                bool "IPv6: httpd support ipv6"
                depends on IPV6_SUPPORT
                default n

#end IPv6 Support
endmenu

config WISH
		bool "WISH for Wireless QoS"		
		default y

config DLINK_SPEC
		bool "DLINK Spec."
		default y

config DLINK_HNAP_IPv4_FOR_GUI
                bool "HNAP Extension-2012"
		depends on DLINK_SPEC
                default n

config DLINK_HNAP_IPv6_FOR_GUI
                bool "DLINK_HNAP_IPv6_FOR_GUI"
		depends on DLINK_SPEC
                default n				

config DLINK_DEFAULT_SSID_PSK
		bool "AP and Router Default WiFi Name and Password Specification"
		depends on DLINK_SPEC
		default y

config DCC
		bool "DCC -- D-Link Click'n Connect"
		depends on DLINK_SPEC
		default y

config OWERA
		bool "OWERA Support "
		depends on DLINK_SPEC
		default n

config DLINK_ROUTER_LED_DEFINE
		bool "DLINK LED DEFINE"
		depends on DLINK_SPEC
		default y

config DLINK_FW_QUERY
		bool "DLINK Firmware Query"
		depends on DLINK_SPEC
		default y
		help
		Answer Y for Query latest FW from Dlink Server.

config HTTP_TIMEOUT
       bool "HTTP-Re-Login support when login timeout"
       depends on DLINK_SPEC
       default y
       help
       Answer Y for httpd timeout to login page support.

config XML_AGENT
		bool "XML_AGENT for Widget(Gadget)"
		depends on DLINK_SPEC
		default y
		help
		Answer Y for Support DLink Widget or Gadget.

config LOGIN_ALERT
		bool "GUI Login Alert Message"
		depends on DLINK_SPEC
		default n
		help
		Answer Y for
		If user login fail at login.asp, 
			GUI redirect to login.asp again and show alert messages.
			( GUI originally redirect to login_fail.asp or login_auth_fail.asp )
		If you want to use this feature, 
			you also need to modify GUI to show alert messages.

config SHOW_CHECKSUM
	bool "CONFIG_SHOW_CHECKSUM"
	depends on DLINK_SPEC
	default n
	help
	Answer Y for Support SHOW_CHECKSUM.

config SHOW_HW_VERSION
	bool "CONFIG_SHOW_HW_VERSION"
	depends on DLINK_SPEC
	default n
	help
	Answer Y for Support SHOW_HW_VERSION.

config CHKLST_MP_V116
	bool "Chklst.txt for MP v1.16"
	depends on DLINK_SPEC
	default n
	help
	Answer Y for support Chklst.txt for MP v1.16 Specification.

config AJAX
       bool "ajax feature support"
       default y	

config AJAX_NEED_LOGIN
		bool "ajax need login feature support"
		depends on AJAX
		default n
		help
		Answer Y for ajax need login then feature support.    

config CROWDCONTROL
       bool "Crowd Control HTTP Proxy support"
       default n                				

config IP_LOOKUP
		bool "Support IP Look Up"
		default n
		help
			Use ARP and NetBIOS to get Host Name and IP from LAN Client (not bridge)

config IP_LOOKUP_INTERVAL
	int "IP_LOOKUP_INTERVAL"
	depends on IP_LOOKUP
	default 180
	help
		This value defines the interval we send arp to detect local network clients.

config IP_LOOKUP_BRIDGE
	bool "IP_LOOKUP_BRIDGE"
	depends on IP_LOOKUP
	default n
	help
		Looks up devices in BRIDGE interface

config IP_LOOKUP_WHOLE_RANGE
		bool "Support IP Look Up within whole netwrok"
		default n
		help
			Use ARP and NetBIOS to get Host Name and IP from LAN Client within whole network range regardless dhcpd range.
			Only support netmask 255.255.255.0

config HEARTBEAT
		bool "heartbeat feature support"
		default n

config HNAT_DAEMON
		bool "Hardware NAT daemon"
		default n
		help
			This daemon can help you to add hardware NAT rule for testing UDP throughput.
			If you are not sure, please do not enable this daemon.

config NETLINK_DAEMON
		bool "Netlink daemon for link up down event notify"
		default n
		help
			This daemon will listen on the link up or down event via netlink.
			And is depends on your ethernet driver and kernel implementation.
			If you are not sure, please do not enable this daemon.

config LCM_FEATURE_INFOD
		bool "lcm feature support infod"
		default n

config LCM_FEATURE_TEST
		bool "lcm feature testing"
		depends on LCM_FEATURE_INFOD
		default n
		help
		Only used for factory, to verify the lcm panel is workable
		or not.

config PLC_INTELLON
		bool "Intellon Power Line Communication utility support"
		default n
		help
		Answer Y if you want to have Intellon Power Line Communication utility support

config LIBDAEMON_0_14
		bool "LIBDAEMON: a lightweight C library that eases the writing of UNIX daemons"
		default n
		help
		Answer Y if you want to support mDNS

config EXPAT_2_0_1
		bool "EXPAT: an XML parser library written in C"
		default n
		help
		Answer Y if you want to support mDNS

config AVAHI_0_6_30
		bool "AVAHI: a free zeroconf implementation, including a system for multicast DNS/DNS-SD service discovery"
		depends on LIBDAEMON_0_14 && EXPAT_2_0_1
		default n
		help
		Answer Y if you want to support mDNS

config MDNS
		bool "Support mDNS(multicast DNS/DNS-SD service discovery)"
		depends on AVAHI_0_6_30
		default n
		help
		Answer Y if you want to support mDNS

config CUSTOMIZE_TR069
		bool "Support TR-069 for customize xml format."
		depends on EXPAT_2_0_1
		default n
		help
		Answer Y if you want to support customize TR-069

config MBSSID
		bool "Support Multi SSID."
		default n
		help
		Answer Y if you want to support Multi SSID.

config REALTIME_TRAFFIC
		bool "Support collect realtime traffic for each interface"
		default n
		help
		Answer Y if you want to show realtime traffic on GUI

config REALTIME_COLLECT_FOREVER
		bool "Support collect realtime information forever"
		default n
		help
		Answer Y if you want to collect realtime info when GUI in closed

source ../config/Config.vpn
endmenu


menu "Tools"

config BRCTL
		 bool "Bridge Utilities"
		 default n 
		 help
		 bridge utilities

config VLAN
		 bool "VLAN tool"
		 default n
		 help
		 VLAN tool

config HEADER
		bool "Header tool"
		default n
		help
		header tool

config MONIT_BT
		bool "Monit BT tool"
		default n
		help
		MONIT BT

config TCPDUMP
	bool "Tcpdump"
	depends on LIBPCAP_GENERIC
	default n
	help
	dump traffic

config STRACE
	bool "Debugging utility to monitor the system calls (strace)"
	default n
	help
	strace is a debugging utility for Linux and some other Unix-like systems
	to monitor the system calls used by a program and all the signals it receives,
	similar to "truss" utility in other Unix systems. This is made possible by a kernel feature known as ptrace.

config SYSSTAT
	bool "System performance tools for Linux (sysstat)"
	default n
	help
	The sysstat package contains the sar, mpstat and iostat commands for Linux.
	http://sebastien.godard.pagesperso-orange.fr/

endmenu

menu "Web Pages"

config WWW
       bool "HTML pages"
		 default y

config STANDALONE_WWW
	bool "Standalone HTML pages"
	default n

config TEST_PAGE
		 bool "Test pages"
		 default n

config IPV6_TEST_FUNCTION
                bool "support IPv6 test function for CHT"
                depends on TEST_PAGE
                default n
                help
                Answer Y for supporting IPv6 test function for CHT.
endmenu



