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

mainmenu "Router Configuration"

menu "Base Features"
config 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 CONFIG_LIBVERSION
	bool "Library for version"
	default y
	help
	Library for version

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

config CONFIG_NVRAM
       bool "NVRAM support"
       default y
       help
       Answer Y for user mode NVRAM support.  The NVRAM support
       library is used by several applications here and in the Options
       menu, including rc, wlconf, httpd, upnp, nas, ses, and wcn.

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

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

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

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

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

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

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

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

config CONFIG_RC
	 bool "RC (Task Management)"
	 default y
       help
       Task Management to manage processes

config CONFIG_RC_PORT_FORWARD_HAIRPIN
	bool "RC PORT_FORWARD_HAIRPIN"
	depends on CONFIG_RC
	default n
	help
	Enable this to let RC support adding iptables rules for PORT FORWARDING - HAIRPIN.
	HAIRPIN means lan side PC-B communicate router's wan ip:port which is redirect to PC-A's
	lan ip:port via adding PORT FORWARDING rules in web GUI.

config CONFIG_FIREWALL2
	bool "firewall2 (experimental)"
	default n
	depends on CONFIG_RC
	help
		Just rearranged firewall.c source code ...(experiment in DIR665)

choice
		 prompt "Wirelss module"
		 default CONFIG_WL_ATH
		 depends on CONFIG_RC
		 
		 config CONFIG_WL_ATH
		 bool "Atheros"

			config CONFIG_WL_ATH_WITH_N
                 	bool "Atheros support 802.11n"
			depends on CONFIG_WL_ATH
			default n
		
				config CONFIG_WL_ATH_NO_2040_SCAN
	            			bool "Disable scan for 2040 coexistence in 2.4GHz"
	                        depends on CONFIG_WL_ATH_WITH_N
	                        default n
	                        help
	                        y => Disable scan for 2040 coexistence in 2.4GHz => Max. Rate = 300 Mbps
	                        n => Max. Rate = 130 Mbps
		
			config CONFIG_WL_ATH_MAC_FILTER
                        bool "Atheros support MAC Filter"
                        depends on CONFIG_WL_ATH
                        default n
			
			config CONFIG_WL_ATH_WDS
			bool "Atheros WDS feature (ap, bridge, repeater)"
			depends on CONFIG_WL_ATH
			default n
			
				config CONFIG_WL_ATH_WDS_AP
	                        bool "Atheros support WDS-AP Mode"
	                        depends on CONFIG_WL_ATH_WDS
	                        default n
				
				config CONFIG_WL_ATH_WDS_BR
	                        bool "Atheros support WDS-BRIDGE Mode"
	                        depends on CONFIG_WL_ATH_WDS
	                        default n
		
				config CONFIG_WL_ATH_WDS_RPT
	                        bool "Atheros support WDS-REPEAT Mode"
	                        depends on CONFIG_WL_ATH_WDS
	                        default n
			
			config CONFIG_WL_ATH_5GHZ
                        bool "Atheros support 5GHz"
                        depends on CONFIG_WL_ATH
                        default n

            config CONFIG_WL_ATH_AG_CONCURRENT
            			bool "Atheros support concurrent 2.4GHz and 5GHz "
                        depends on CONFIG_WL_ATH
                        default n

            config CONFIG_WL_ATH_GUEST_ZONE
            			bool "Atheros support Guest Zone"
                        depends on CONFIG_WL_ATH
                        default n            

		 config CONFIG_WL_BCM
		 bool "Broadcom"

		config CONFIG_WL_MVL
		 bool "Marvell"
		 
endchoice

config CONFIG_RC_WLAN_SCH
	bool "Support WLAN Schedule in rc"
	depends on CONFIG_RC
	default n
	help
	Checking wlan schedule by the wlan settings.

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


config CONFIG_TIMER
	bool "Timer for Schedule"
	default y

config CONFIG_WIRELESS_SCHEDULE
	bool "Support Wireless Schedule in TIMER"
	depends on CONFIG_TIMER
	default n
	help
	Every one mins to check wireless schedule

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

config CONFIG_SUTIL
		 bool "Shared Utility"
		 default y
		 help
		 Shared Utility

choice
		 prompt "IP Match"
		 default CONFIG_IP_MATCH_3
		 depends on CONFIG_SUTIL
		 
		 config CONFIG_IP_MATCH_3
		 bool "IP match 3"

		 config CONFIG_IP_MATCH_4
		 bool "IP match 4"

endchoice


config CONFIG_NVRAM_SIZE
       string "CFG_NVRAM_SIZE"
       depends on CONFIG_SUTIL 
       default 550

config CONFIG_FIREWALL_NUMBER
       string "CFG_FIREWALL_NUMBER"
       depends on CONFIG_SUTIL
       default 20

config CONFIG_MAC_FILTER_NUMBER
       string "CFG_MAC_FILTER_NUMBER"
       depends on CONFIG_SUTIL
       default 20

config CONFIG_APPLICATION_NUMBER
       string "CFG_APPLICATION_NUMBER"
       depends on CONFIG_SUTIL
       default 20

config CONFIG_PORT_FORWARD_NUMBER
       string "CFG_PORT_FORWARD_NUMBER"
       depends on CONFIG_SUTIL
       default 20

config CONFIG_VIRTUAL_SERVER_NUMBER
       string "CFG_VIRTUAL_SERVER_NUMBER"
       depends on CONFIG_SUTIL
       default 20

config CONFIG_URL_FILTER_NUMBER
       string "CFG_URL_FILTER_NUMBER"
       depends on CONFIG_SUTIL
       default 20

config CONFIG_SCHEDULE_NUMBER
       string "CFG_SCHEDULE_NUMBER"
       depends on CONFIG_SUTIL
       default 10

config CONFIG_STATIC_ROUTE_NUMBER
       string "CFG_STATIC_ROUTE_NUMBER"
       depends on CONFIG_SUTIL
       default 20

config CONFIG_BLOCK_SERVICE_NUMBER
       string "CFG_BLOCK_SERVICE_NUMBER"
       depends on CONFIG_SUTIL
       default 10

config CONFIG_TRUST_IP_NUMBER
       string "CFG_TRUST_IP_NUMBER"
       depends on CONFIG_SUTIL
       default 20

config CONFIG_DHCPD_RESERVATION_NUMBER
       string "CFG_DHCPD_RESERVATION_NUMBER"
       depends on CONFIG_SUTIL
       default 25

config CONFIG_MULTIPLE_ROUTING_NUMBER
       string "CFG_MULTIPLE_ROUTING_NUMBER"
       depends on CONFIG_SUTIL
       default 20

config CONFIG_QOS_NUMBER
       string "CFG_QOS_NUMBER"
       depends on CONFIG_SUTIL
       default 20

config CONFIG_INBOUND_FILTER_NUMBER
       string "CFG_INBOUND_FILTER_NUMBER"
       depends on CONFIG_SUTIL
       default 24

config CONFIG_ACCESS_CONTROL_NUMBER
       string "CFG_ACCESS_CONTROL_NUMBER"
       depends on CONFIG_SUTIL
       default 15

config CONFIG_SRC_MACHINE_NUMBER
       string "CFG_SRC_MACHINE_NUMBER"
       depends on CONFIG_SUTIL
       default 8

config CONFIG_IP_CONNTRACK_NUMBER
       string "CFG_IP_CONNTRACK_NUMBER"
       depends on CONFIG_SUTIL
       default 4096      

config CONFIG_UPLOAD_TIME
       string "CFG_UPLOAD_TIME"
       depends on CONFIG_SUTIL
       default 120

config CONFIG_REBOOT_TIME
       string "CFG_REBOOT_TIME"
       depends on CONFIG_SUTIL
       default 60

config CONFIG_RESTORE_TIME
       string "CFG_RESTORE_TIME"
       depends on CONFIG_SUTIL
       default 70

config CONFIG_RESTORE_WIRELESS_TIME
       string "CFG_RESTORE_WIRELESS_TIME"
       depends on CONFIG_SUTIL
       default 30

config CONFIG_RESET_TIME
       string "CFG_RESET_TIME"
       depends on CONFIG_SUTIL
       default 3

config CONFIG_UPLOAD_CERTIFICATION_TIME
       string "CFG_UPLOAD_CERTIFICATION_TIME"
       depends on CONFIG_SUTIL
       default 3

config CONFIG_LAN_IP_CHANGE_REBOOT_TIME
       string "CFG_LAN_IP_CHANGE_REBOOT_TIME"
       depends on CONFIG_SUTIL
       default 60

config CONFIG_SUPER_G_REBOOT_TIME
       string "CFG_SUPER_G_REBOOT_TIME"
       depends on CONFIG_SUTIL
       default 70

config CONFIG_UPGRADE_TIME
       string "CFG_UPGRADE_TIME"
       depends on CONFIG_SUTIL
       default 120
choice
		 prompt "Flash Type"
		 default CONFIG_FLASH_INTEL_28F640

		 config CONFIG_FLASH_INTEL_28F640
		 bool "Intel 8M 28F640"

		 config CONFIG_FLASH_MXIC_29LV640TB
		 bool "MXIC 8M 29LV640TB"

endchoice

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

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

config CONFIG_SWITCH_LANGUAGE
	 bool "GUI support language switch"
	 default n
	 help
	 To support to change language from GUI.
		or support to download language package.
endmenu

menu "Application Options"

config CONFIG_HTTPD
       bool "Web server"
       default y
       help
       Answer Y for basic web configuration support.

config CONFIG_HTTPD_PURE
       bool "HNAP -- Pure Network"
       depends on CONFIG_HTTPD 
       default n
       help
       Answer Y for pure network support.

config CONFIG_AUTHGRAPH
       bool "AuthGraph feature support"
       depends on CONFIG_HTTPD
       default y
       help
       key in something in GUI PIC when login       

config HTTPD_DENY_USERID
       bool "Only allow administrator to login"
       depends on CONFIG_HTTPD
       default n
       help
       Answer Y for allowing login as admin or N for allowing login as admin/user.

config HTTPD_USED_SP_ADMINID
       bool "allow login as the spcial admin and used the MAC as the password"
       depends on CONFIG_HTTPD
       default n
       help
       Answer Y for allowing login as the spcial admin and used the MAC as the password.

config HTTPD_USED_MUTIL_AUTH
       bool "support mutil user login by MAC address"
       depends on CONFIG_HTTPD
       default n
       help
       Answer Y for support mutil user login by MAC address.

config HTTPD_REMOTE_USER_LIMIT
       bool "support to set the number of remote login user"
       depends on CONFIG_HTTPD
       default n
       help
       Answer Y for support to set the number of remote login user.

config HTTPD_REMOTE_USER_LIMIT_VALUE
       string "the number of remote login user"
       depends on HTTPD_REMOTE_USER_LIMIT && CONFIG_HTTPD
       default 999
       help
       Only allow "HTTPD_REMOTE_USER_LIMIT_VALUE" remote user to login.

config HTTPD_LOGOUT_ADMIN_CHANGED
       bool "logout while admin name/password be changed"
       depends on CONFIG_HTTPD
       default n
       help
       Answer Y for logout constraintly while admin name/password be changed or N for current user in this session.

config HTTPD_ROUTER_SETUP_WIZARD
       bool "support router web-based setup wizard spec"
       depends on CONFIG_HTTPD
       default n
       help
       Answer Y for support router web-based setup wizard spec.

config HTTPD_AP_SETUP_WIZARD
       bool "support ap setup wizard spec"
       depends on CONFIG_HTTPD
       default n
       help
       Answer Y for support ap setup wizard spec.

config USB_STORAGE_HTTP_ENABLE
       bool "upload/download file to usb storage by http interface"
       depends on CONFIG_HTTPD
       default n
       help
       Answer Y for upload/download file to usb storage by http interface.

config HTTPD_ALTERNATIVE_GUIPATH
	   bool "install special GUI files to ..."
       depends on CONFIG_HTTPD
       default n
       help
       Answer Y for install special GUI files to ...

config ALTERNATIVE_GUIPATH
       string "install path is"
       depends on HTTPD_ALTERNATIVE_GUIPATH
       default /www/
       help
       you can define ALTERNATIVE_GUIPATH for httpd/httpd.h
       ex. If Device support AP/RT switch mode, we can install AP GUI files to ALTERNATIVE_GUIPATH
       and RT GUI files to original path (/www/).

config HTTPD_STATISTICS_USE_PROC
       bool "HTTPD STATISTICS via proc file system"
       depends on CONFIG_HTTPD
       default n
       help
       Answer Y for support reading statistics using proc/net/dev.

config CONFIG_LIGHTTPD
       bool "LIGHTTPD Web Server"
       default n

config CONFIG_PPPD
       bool "PPPD"
       default y

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

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

config CONFIG_RP_PPPoE
       bool "PPPoE client"
       default y

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

config CONFIG_UPNP
       bool "UPnP IGD server"
       default y

config CONFIG_UUID
	    bool "UUID generator"
        depends on CONFIG_UPNP
		default n
	
choice
		prompt "UPNP_SOLUTION"
		default CONFIG_UPNP_ATH
		depends on CONFIG_UPNP
                 
		config CONFIG_UPNP_ATH
		default CONFIG_UPNP_ATH_MINIUPNPD_RC
		bool "Atheros UPNP"
		
		config CONFIG_UPNP_ATH_MINIUPNPD_RC
		bool "CFG_MINIUPNPD_RC"
		depends on CONFIG_UPNP_ATH
		default n

		config CONFIG_UPNP_ATH_MINIUPNPD_1_3
		bool "CFG_MINIUPNPD_1_3"
		depends on CONFIG_UPNP_ATH
		default n

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

			config CONFIG_UPNP_ATH_MINIUPNPD_1_3_CHECK_VS_NVRAM
			bool "CONFIG_UPNP_ATH_MINIUPNPD_1_3_CHECK_VS_NVRAM"
			depends on CONFIG_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 CONFIG_UPNP_ATH_MINIUPNPD_1_3_HAIRPIN
			bool "CONFIG_UPNP_ATH_MINIUPNPD_1_3_HAIRPIN"
			depends on CONFIG_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 CONFIG_UPNP_ICON_DOUBLE_CLICK_FORCE_TO_GUI
			bool "CONFIG_UPNP_ICON_DOUBLE_CLICK_FORCE_TO_GUI"
			depends on CONFIG_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 CONFIG_UPNP_ATH_MINIUPNPD
		bool "CFG_MINIUPNPD"
		depends on CONFIG_UPNP_ATH
		default n
		
		config CONFIG_UPNP_ATH_LIBUPNP
		bool "CFG_LIBUPNP"
		depends on CONFIG_UPNP_ATH
		default n

		config CONFIG_UPNP_ATH_LIBUPNP_SAVE2FILE
		bool "CFG_UPNP_ATH_LIBUPNP_SAVE2FILE"
		depends on CONFIG_UPNP_ATH_LIBUPNP
		default n
		help
			Save Upnp AddPortMapping rules to files

		config CONFIG_UPNP_ATH_LIBUPNP_CHECK_NVRAM
		bool "CFG_UPNP_ATH_LIBUPNP_CHECK_NVRAM"
		depends on CONFIG_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 CONFIG_UPNP_BCM
		bool "Broadcom UPNP"

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

config CONFIG_NTP
       bool "NTP client"
       default y

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

config CONFIG_OPENDNS
		bool "OPENDNS support"
		depends on CONFIG_DNSMASQ
		default n
		help
		Answer Y for opendns support, implement in apps/dnsmasq-2.41.

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

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

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

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

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

config 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 CONFIG_WCN and dependents be configured into the kernel.)

config CONFIG_USB_LIB
       bool "USB Library"
       default n
       help
       Answer Y to enable libusb

config 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 CONFIG_PPP_USED_CHAT
       bool "3G USB suport PPP CHAT"
	   default y
	   depends on CONFIG_3G_USB_CLIENT
		help
			for 3G USB Client card to used			 

config CONFIG_3G_USB_CLIENT_WM5
       bool "3G USB Client Windows Mobile Phone"
       default n
       depends on CONFIG_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 CONFIG_3G_USB_CLIENT_IPHONE
       bool "3G USB Client iPhone"
       default n
       depends on CONFIG_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

config CONFIG_USB_HOTPLUG
       bool "USB Hotplug"
       default n
       help
       Answer Y to enable support for USB Hotplug.

config CONFIG_NTFS_DRIVER
       bool "NTFS support"
       default n
       help
       Answer Y to enable support for NTFS file system.

config CONFIG_DLNA_USHARE
       bool "USHARE DLNA support"
       default n
       help
       Answer Y to enable support for DLNA.

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

config 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 CONFIG_KCODES
		depends on CONFIG_NETWORK_USB
		
		config CONFIG_KCODES
		bool "Kcodes"
		depends on CONFIG_NETWORK_USB
		default y
		
		config CONFIG_SILEX
		bool "Silex"
		depends on CONFIG_NETWORK_USB
		default n
endchoice

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

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

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

config 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 CONFIG_IPTABLES_OLD
		bool "Iptables 1.3.3 (kernel 2.4.x)"
		default n
		help
		iptables 1.3.3, compliant with kernel 2.4.x

config CONFIG_IPTABLES
		bool "Iptables 1.3.3 (kernel 2.6.15)"
		default y
		help
		iptables 1.3.3, compliant with kernel 2.6.15

config CONFIG_IPTABLES_1_3_8
		bool "Iptables 1.3.8"
		default n
		help
		iptables 1.3.8, compliant with kernel 2.6.x

config 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 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 CONFIG_NAT_ENABLE
       bool "NAT Support"
       default y

config CONFIG_HW_NAT
       bool "HW NAT Support"
       default n

config CONFIG_SPI
       bool "SPI"
       default n

config CONFIG_ACCESS_CONTROL
       bool "Access control"
       default n

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

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

config CONFIG_INBOUND_FILTER
       bool "Inbound Filter"
       default n

config 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/

config CONFIG_UDHCP
		 bool "DHCP server & client"
		 default y

config CONFIG_UDHCP_ENHANCE_OPTION_SIZE
       bool "CFG_UDHCP_ENHANCE_OPTION_SIZE"
       depends on CONFIG_UDHCP
       default n
       help 
       In Russia , dhcpd offer both option 121 and 249 (each contains 15 rules).
	And the total dhcp OFFER packet size is 601 Bytes, which will cause our udhcpc can not handle the packet
	thus we increase to 408 Bytes to let udhcpc can hanlde these kinds of packet
       If Answer Y
        set dhcp option length to 408 (Russia Env)
       If Answer N
        set dhcp option length to 308
config CONFIG_UDHCP_ENHANCE_OPTION_SIZE_VALUE
	string "CFG_UDHCP_ENHANCE_OPTION_SIZE_VALUE"
	depends on CONFIG_UDHCP_ENHANCE_OPTION_SIZE
	default 408
	help 
	In Russia , dhcpd offer both option 121 and 249 (each contains 15 rules).
		And the total dhcp OFFER packet size is 601 Bytes, which will cause our udhcpc can not handle the packet
		thus we increase to 408 Bytes to let udhcpc can hanlde these kinds of packet
	If Answer default
		set dhcp option length to 408 (Russia Env)
	If Answer other
		set dhcp option length to customer define
choice
		 prompt "Enhance DHCP Server or Clinet"
		 default CONFIG_UDHCP_ENHANCE_OPTION_SIZE_DHCPC
		 depends on CONFIG_UDHCP_ENHANCE_OPTION_SIZE

		config CONFIG_UDHCP_ENHANCE_OPTION_SIZE_DHCPC
		bool "DHCPC OPTION SIZE is 408 Bytes"
		help
			Device is DHCP Client and accept 601 Bytes DHCP OFFER packet from WAN

		config CONFIG_UDHCP_ENHANCE_OPTION_SIZE_DHCPD
		bool "DHCPD OPTION SIZE is 408 Bytes"
		help
			Device is DHCP Server and send 601 Bytes DHCP OFFER packet to LAN

		config CONFIG_UDHCP_ENHANCE_OPTION_SIZE_BOTH
		bool "DHCPD and DHCPC OPTION SIZE are 408 Bytes"
		help
			Device is DHCP Client and accept 601 Bytes DHCP OFFER packet from WAN 
			and Device is DHCP Server and send 601 Bytes DHCP OFFER packet to LAN
endchoice		 

config CONFIG_UDHCPD_NETBIOS
       bool "CFG_DHCPD_NETBIOS"
       depends on CONFIG_UDHCP
       default n
       help
       Answer Y for netbios support of udhcpd.

config CONFIG_UDHCPD_ALWAYS_BROADCAST
       bool "CFG_DHCPD_ALWAYS_BROADCAST"
       depends on CONFIG_UDHCP
       default n
       help
       Answer Y for always broadcast support of udhcpd.

config CONFIG_UDHCPD_REVOKE
       bool "CFG_DHCPD_REVOKE"
       depends on CONFIG_UDHCP
       default n
       help
       Answer Y for revoke support of udhcpd. Clean up client IP cache in dhcpd.

config CONFIG_UDHCPD_CHECK_RESERV_BY_GUI
       bool "CFG_DHCPD_CHECK_RESERV_BY_GUI"
       depends on CONFIG_UDHCP
       default n
       help
       If Answer Y 
       	Check dhcpd reservation table IP setting by GUI.
       If Answer N,
       	When device's IP change, then force to clean dhcpd reservation table automatically.

config CONFIG_UDHCPC_UNICAST
       bool "CFG_DHCPC_UNICAST"
       depends on CONFIG_UDHCP
       default n
       help
       Answer Y for unicast support of udhcpc.

config CONFIG_UDHCPC_STATIC_ROUTE
	bool "CFG_UDHCPC_STATIC_ROUTE"
	depends on CONFIG_UDHCP
	default n
	help
		This enables support for dhcp static route (option 33)
		in dhcp client (RFC 2132), to let udhcpc request server with
		option 33, and handdle following response, answer Y for
		static route of udhcpc.

config CONFIG_RFC_UDHCPC_CLASSLESS_STATIC_ROUTE
	bool "DHCP Option 121"
	depends on CONFIG_UDHCP
	default n
	help
		This enables support for dhcp classes static route (option 121)
		in dhcp client (RFC 3442), to let udhcpc request server with
		option 121, and handdle following response, answer Y for
		classes static route of udhcpc.

config CONFIG_MS_UDHCPC_CLASSLESS_STATIC_ROUTE
	bool "DHCP Option 249"
	depends on CONFIG_UDHCP
	default n
	help
		This enables support for dhcp classes static route (option 249)
		in dhcp client (same as option 121, Microsoft proprietary),
		to let udhcpc request server with option 249, 
		and handdle following response, answer Y for
		classes static route of udhcpc.

config CLASSLESS_STATIC_ROUTE_SHOW_UI
    bool "CFG_CLASSLESS_STATIC_ROUTE_SHOW_UI"
	depends on CONFIG_RFC_UDHCPC_CLASSLESS_STATIC_ROUTE || CONFIG_MS_UDHCPC_CLASSLESS_STATIC_ROUTE
	default y
	help 
		support DHCP Routing Info on GUI

config CONFIG_AUTO_MODE_SELECT
	bool "CONFIG_AUTO_MODE_SELECT"
	depends on CONFIG_UDHCP
	default n
	help
		This enables support for router auto mode select function in dhcp client.
		Device can switch to Router or AP

config IGNORE_IP_CONTRAST
    bool "IGNORE_IP_CONTRAST"
    default n
    depends on CONFIG_UDHCP
    help
    This is one of the udhcpc recall rc condition when it get IP.
    Note: If you enabled this option, no matter dhcpc's new IP equal old IP, do rc restart (filter). 
    Otherwise, the static_routing rules would not add to routing table.

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

config CONFIG_TFTPD
		 bool "TFTP server"
		 default y

config CONFIG_GPIO
	 	bool "GPIO"
		default y

config CONFIG_MFORWARD
		 bool "Multicast Forwarding"
		 default y

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

config CONFIG_ATHEROS_HEADER_EN_MLD_SNOOPING
		 bool "MLD SNOOPING using Atheros Header mechanism"
		 depends on CONFIG_ATHEROS_HEADER_EN && CONFIG_MLDC
		 help
		 MLD SNOOPING using Atheros Header mechanism implemented in switch driver and application mldc

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

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

config CONFIG_BIGPOND
	 	bool "Bigpond"
		default n

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

choice
		prompt "PPTP Version"
		default CONFIG_PPTP_CLIENT
		depends on CONFIG_PPTP

		config CONFIG_PPTP_CLIENT
    	bool "pptp - accel-pptp 0.7.12"
    	depends on CONFIG_PPTP
    	default y

		config CONFIG_PPTP_CLIENT_V082
    	bool "pptp - accel-pptp 0.8.2"
    	depends on CONFIG_PPTP
    	default n
endchoice

config CONFIG_L2TP_CLIENT
	 	bool "L2TP"
		default y

config CONFIG_LLD2D
	 	bool "LLTD"
		default y

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

config CONFIG_NMBD
		bool "NMBD for NETBIOS"
		default y

config CONFIG_PCIUTILS
		bool "pciutils"
		default n

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

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

config CONFIG_ROUTE_FORWARD_MODE
		bool "route forward mode"
		default n
		
config CONFIG_ROUTE_NONAT_MODE
		bool "route no nat mode"
		default n		

config CONFIG_OPENSSL
		bool "Openssl"
		default n

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

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

config CONFIG_ZLIB
		bool "Zlib"
		default n

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

config CONFIG_WPASUPPLICANT
		bool "Wpa Supplicant"
		default n

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

config CONFIG_WPS
		bool "WPS"
		default y

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

config CONFIG_HOSTAPD
		bool "HOSTAPD"
		depends on CONFIG_WPS
		default y

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

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

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

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

config IPROUTE2_IP
		bool "IP -- iproute2 package"
		depends on CONFIG_IP
		default y
		
config CONFIG_TC
		bool "TC (Traffic Control) -- iproute2 package"
		depends on CONFIG_IP
		default y
		
config CONFIG_TRACEGW
		bool "TRACEGW -- for traceroute"
		depends on CONFIG_TC
		default y		

config CONFIG_MBANDWIDTH
		bool "MBANDWIDTH -- for measuring bandwidth"
		depends on CONFIG_TC && CONFIG_TRACEGW
		default y
		
		config CONFIG_MBANDWIDTH_MINIMAL
		bool "CONFIG_MBANDWIDTH_MINIMAL"
		depends on CONFIG_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 CONFIG_MBANDWIDTH_MINIMAL_VALUE
		string "CONFIG_MBANDWIDTH_MINIMAL_VALUE"
		depends on CONFIG_MBANDWIDTH && CONFIG_MBANDWIDTH_MINIMAL
		default 1024
		help
			The value for default minimal bandwidth (kbps).

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

		config CONFIG_MBANDWIDTH_DISABLE_UPLOAD_THRESHOLD
		bool "CONFIG_MBANDWIDTH_DISABLE_UPLOAD_THRESHOLD"
		depends on CONFIG_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 CONFIG_MBANDWIDTH_UPLOAD_THRESHOLD_VALUE
		string "CONFIG_MBANDWIDTH_UPLOAD_THRESHOLD_VALUE"
		depends on CONFIG_MBANDWIDTH
		default 2048
		help
			The value for default minimal bandwidth (kbps).
			
		config CONFIG_MBANDWIDTH_ORIGINAL_METHOD
		bool "CONFIG_MBANDWIDTH_ORIGINAL_METHOD"
		depends on CONFIG_MBANDWIDTH
		default n
		help
			This feature is used for original method measuring bandwidth.

config CONFIG_IPV6_SUPPORT
		bool "IPv6 support"
		depends on CONFIG_CLI
		default n
		help
		Answer Y to support IPv6.

config CONFIG_IPV6_LLMNR
	bool "LLMNR -- Link Local Multicast Name Resolution"
	depends on CONFIG_IPV6_SUPPORT
	default n
	help
	Link Local Multicast Name Resolution				

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

config CONFIG_IPV6_DHCP
		bool "IPv6: support DHCPv6 server & client"
		depends on CONFIG_IPV6_SUPPORT
		default y
		help

config CONFIG_RADVD
		bool "Radvd 1.0 -- IPv6 tool"
		depends on CONFIG_IPV6_SUPPORT
		default y

config CONFIG_RADVD_1_7
		bool "Radvd 1.7 -- IPv6 tool"
		depends on CONFIG_IPV6_SUPPORT
		default n

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

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

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

config CONFIG_IPV6_TUNNEL
		bool "IPv6: support tunnel"
		depends on CONFIG_IPV6_SUPPORT
		default y

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

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

config CONFIG_IPV6_PPPoE
		bool "IPv6: support IPv6 PPPoE"
		depends on CONFIG_IPV6_TUNNEL && CONFIG_PPPD
		default y

config CONFIG_IPV6_6RD
		bool "IPv6: support IPv6 Rapid Deployment"
		depends on CONFIG_IPV6_TUNNEL
		default n

config CONFIG_IPV6_DSLITE
		bool "IPv6: support Dual-Stack Lite"
		depends on CONFIG_IPV6_TUNNEL
		default n

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

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

config CONFIG_IPV6_HTTPD
                bool "IPv6: httpd support ipv6"
                depends on CONFIG_IPV6_SUPPORT
                default n

config CONFIG_WISH
		bool "WISH for Wireless QoS"		
		default y

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

config CONFIG_OWERA
		bool "OWERA Support "
		depends on DLINK_SPEC
		default n
			
config CONFIG_DLINK_ROUTER_LED_DEFINE
		bool "DLINK LED DEFINE"
		depends on DLINK_SPEC
		default y
		
config 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 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 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 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 CONFIG_SHOW_CHECKSUM
       bool "Show Kernel Image Checksum in chklst.txt"
       default y

config CONFIG_SHOW_HW_VERSION
       bool "Show HW Version in chklst.txt"
       default y       

config CONFIG_AJAX
       bool "ajax feature support"
       default y	

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

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

config 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 CONFIG_IP_LOOKUP_INTERVAL
	string "CONFIG_IP_LOOKUP_INTERVAL"
	depends on CONFIG_IP_LOOKUP
	default 180
	help
		This value defines the interval we send arp to detect local network clients.

config CONFIG_IP_LOOKUP_BRIDGE
	bool "CONFIG_IP_LOOKUP_BRIDGE"
	depends on CONFIG_IP_LOOKUP
	default n
	help
		Looks up devices in BRIDGE interface

config 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 CONFIG_HEARTBEAT
       bool "heartbeat feature support"
       default n	         

config CONFIG_LCM_FEATURE_INFOD
		bool "lcm feature support infod"
		default n

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

config 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 CONFIG_ONEAGENT
		bool "TR069 support"
		default n
		help
		Answer Y if you want to have TR069 feature

config CONFIG_SPECIAL_DEFAULT_PASSWORD_USERNAME_ONEAGENT
        bool "TR069 spcial default password & username support"
        depends on CONFIG_ONEAGENT
        default n
        help
        Answer Y if you want to have TR069 spcial default password & username feature

config CONFIG_SPECIAL_DEFAULT_CPEURL_ONEAGENT
        bool "TR069 spcial default cpe url support"
        depends on CONFIG_ONEAGENT
        default n
        help
        Answer Y if you want to have TR069 spcial default cpe url feature        

source config/Config.vpn
endmenu


menu "Tools"

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

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

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

endmenu

menu "Web Pages"

config CONFIG_WWW
       bool "HTML pages"
		 default y

config CONFIG_TEST_PAGE
		 bool "Test pages"
		 default n

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



