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

menu "Environment Setting"

	config CONFIG_MODEL_NAME
		string "Model Name"
		default "WBR-2310_C3"
		help
		Model name

	config ENV_PATH
		string "Current workspace path"
		default "/home/Matrix"

	config APPS_CROSS
		string "APPS Cross compiler prefix"
		default "mips-linux-"

	config KRL_CROSS
		string "Kernel Cross compiler prefix"
		default "mips-linux-"

	config WL_CROSS
		string "Wireless Cross compiler prefix"
		default "mips-linux-"

	config APPS_CFLAG
		string "APPS CFLAG"
		default "-s -Wall -Wstrict-prototypes -Wshadow -Os -fstrict-aliasing -fomit-frame-pointer -O2"

	config KRL_CFLAG
		string "Kernel CFLAG"
		default "-s -Wall -Wstrict-prototypes -Wshadow -Os -fstrict-aliasing -fomit-frame-pointer -O2"

	config WL_CFLAG
		string "Wireless CFLAG"
		default "-s -Wall -Wstrict-prototypes -Wshadow -Os -fstrict-aliasing -fomit-frame-pointer -O2"
endmenu

menu "Project Setting"
	config CONFIG_GPL_ENABLE
                bool "GPL mode"
                default n
                help
                Generate GPL src

	config CONFIG_GPL_LOADER_DISABLE
                bool "Disable Loader Src Release"
                depends on CONFIG_GPL_ENABLE
                default n
                help
                Do not release loader src in GPL mode

	config CONFIG_GPL_SWITCH_DISABLE
                bool "Disable Switch Src Release"
                depends on CONFIG_GPL_ENABLE
                default y
                help
                Do not release switch src in GPL mode

	config CONFIG_GPL_WIRELESS_DISABLE
                bool "Disable Wireless Src Release"
		depends on CONFIG_GPL_ENABLE
                default y
                help
                Do not release wireless src in GPL mode

	config CONFIG_GPL_IPLOOKUP_DISABLE
                bool "Disable Ip Lookup Daemon"
		depends on CONFIG_GPL_ENABLE
                default y
                help
                Do not release ip_lookup daemon src in GPL mode

	config CONFIG_GPL_SUTIL_DISABLE
                bool "Disable Sutil Daemon"
		depends on CONFIG_GPL_ENABLE
                default y
                help
                Do not release sutil daemon src in GPL mode
		
	config CONFIG_DEBUG
		bool "Project Debug Setting"
		default n
		help
		Dump Project Debug Message!!

	config CONFIG_RC
		bool "RC -- Task Management in system"
		default n
		help
		Task Management to manage processes in system.

	config CONFIG_BRIDGE_SUPPORT
	       bool "Router Bridge mode support"
	       default n
	       help
	       Router Bridge Mode support.

	choice
		prompt "Wireless Function Support or not"
		default CONFIG_WIRELESS_ENABLE
		help
			Decide wireless support or not.

	config CONFIG_WIRELESS_DISABLE
		bool "Disalbe Wireless"
		default n
		help
		Disable all wireless modual.
	
	config CONFIG_WIRELESS_ENABLE
		bool "Enable Wireless "
		default y
		help		
		Enable all wireless modual.
	endchoice

	config CONFIG_BICOLOR_LED
		bool "Enable Bicolor Led Status"
		default y
		help
		Type y to support "amber" and "green" color
		Type n to only support "green" color
		
	config CONFIG_WLAN_SCH
		bool "WLAN Schedule"
		depends on CONFIG_RC		
		depends on CONFIG_WIRELESS_ENABLE
		default n
		help
		Enable scheule rule to wlan, support wlan0 currently.	
	
	menu "FILTER"
		depends on CONFIG_RC

		config CONFIG_IP_CONNTRACK_NUMBER
			string "CFG_IP_CONNTRACK_NUMBER"
			depends on CONFIG_RC
			default ""

		config CONFIG_STATIC_ROUTE
			bool "Support static route"
			default n
			depends on CONFIG_RC
			help
			Support static route.

		config CONFIG_RC_VIRTUAL_SERVER
			bool "Virtual Server"
			default n
			depends on CONFIG_RC
			help
			The Virtual Server option gives Internet users access to services on your LAN.

		config CONFIG_VIRTUAL_SERVER_NUMBER
			string "CFG_VIRTUAL_SERVER_NUMBER"
 			depends on CONFIG_RC_VIRTUAL_SERVER
 			default 20
			help
			The number of virtual server rule.

		config CONFIG_RC_ACCESS_CONTROL
			bool "Access Control"
			default n
			depends on CONFIG_RC
			help
			The Access Control allows you to control access in and out of devices on your network.

		config CONFIG_ACCESS_CONTROL_NUMBER
			string "CFG_ACCESS_CONTROL_NUMBER"
			depends on CONFIG_RC_ACCESS_CONTROL
			default 15
			help
			The number of access control rule.

		config CONFIG_RC_PORT_FORWARD
			bool "Port Forwarding"
			default n
			depends on CONFIG_RC
			help
			The Port Forwarding is used to open multiple ports or a range of ports in your router and redirect data through those ports to a single PC on your network.

		config CONFIG_PORT_FORWARD_NUMBER
			string "CFG_PORT_FORWARD_NUMBER"
			depends on CONFIG_RC_PORT_FORWARD
			default 20
			help
			The number of port forward rule.

		config CONFIG_RC_INBOUND_FILTER
			bool "Inbound Filtering"
			default n
			depends on CONFIG_RC
			help
			The Inbound Filters can be used for limiting access to a server on your network to a system or group of systems.

		config CONFIG_INBOUND_FILTER_NUMBER
			string "CFG_INBOUND_FILTER_NUMBER"
			depends on CONFIG_RC_INBOUND_FILTER
			default 24
			help
			The number of inbound filter rule.

		config CONFIG_RC_MAC_FILTER
			bool "MAC Filtering"
			default n
			depends on CONFIG_RC
			help
			The MAC address filters can be used to filter network access by machines based on the unique MAC addresses of their network adapter(s).
			
		config CONFIG_MAC_FILTER_NUMBER
			string "CFG_MAC_FILTER_NUMBER"
			depends on CONFIG_RC_MAC_FILTER
			default 20
			help
			The number of mac filter rule.

		config CONFIG_WLAN_MAC_FILTER
			bool "WLAN MAC Filtering"
			default n
			depends on CONFIG_RC
			help
			The WLAN MAC address filters can be used to filter network access by machines based on the unique MAC addresses of their wireless network adapter(s).

		config CONFIG_WLAN_MAC_FILTER_NUMBER
			string "CFG_MAC_FILTER_NUMBER"
			depends on CONFIG_WLAN_MAC_FILTER
			default 20
			help
			The number of wlan mac filter rule.

		config CONFIG_RC_APPLICATION_RULE
			bool "APPLICATION RULE"
			default n
			depends on CONFIG_RC
			help
			An application rule is used to open single or multiple ports on your router when the router senses data sent to the Internet on a "trigger" port or port range.

		config CONFIG_APPLICATION_NUMBER
			string "CFG_APPLICATION_NUMBER"
			depends on CONFIG_RC_APPLICATION_RULE
			default 20
			help
			The number of application filter rule.

		config CONFIG_RC_SPI
			bool "SPI (stateful packet inspection)"
			default n
			depends on CONFIG_RC
			help
			SPI ("stateful packet inspection" also known as "dynamic packet filtering") helps to prevent cyberattacks by tracking more state per session.
	endmenu

	config CONFIG_LIBVERSION
		bool "Libplatform"
		default n
		help
		Answer Y for versions of common library in (kernel,wireless,application,GUI) version.
	
	config CONFIG_VCT
		bool "VCT -- Ethernet plug in/out detection"
		depends on CONFIG_LIBVERSION
		default n
		help
		If you do not write VCT driver in platform, turn it off

	config CONFIG_NVRAM
		bool "NVRAM -- Database for system"
		default n
		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_NVRAM_SIZE
		string "CFG_NVRAM_SIZE"
		depends on CONFIG_NVRAM
		default 1024
		help
		The total size of Nvram.

	config CONFIG_SUTIL
		bool "Shared Utility"
		default n
		help
		Shared library for daemons and projects

	config CONFIG_WPS_PIN
        bool "WPS PIN support"
		depends on CONFIG_SUTIL
		default n
		help
		WPS PIN generate supported in linsutil.so

	config DLINK_SPEC
		bool "DLINK Spec."
		default n
		help
		Answer Y for DLINK SPEC support.

	config CONFIG_DLINK_FW_QUERY
		bool "Firmware Query"
		depends on DLINK_SPEC
		default n
		help
		Answer Y for Query latest FW from Dlink Server.
	
	config CONFIG_DCC
		bool "DCC -- D-Link Click'n Connect"
		depends on DLINK_SPEC
		default n
		help
		Answer Y for DCC support.
	
	config CONFIG_DLINK_LED
		bool "LED -- D-Link LED"
		depends on DLINK_SPEC
		default n
		help
		Answer Y for DLINK LED support.
	
	config CONFIG_IPV6_SUPPORT
		bool "IPv6 -- support IPv6 protocol"
		default n
		help
		Answer Y for IPv6 support.

	config CONFIG_IPV6_DHCP
		bool "DHCPv6 -- support both server & client"
		depends on CONFIG_IPV6_SUPPORT
		default n
		help
		Answer Y for dhcpv6 support.

	config CONFIG_RADVD
		bool "Radvd  -- IPv6 Neighbor Doscovery protocol for RA"
		depends on CONFIG_IPV6_SUPPORT
		default n
		help
		Answer Y for RADVD support.

	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_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_IPV6_TUNNEL
                bool "IPv6: support tunnel"
                depends on CONFIG_IPV6_SUPPORT
                default y

	config CONFIG_IPV6_HTTPD
				bool "IPv6: httpd support ipv6"
				depends on CONFIG_IPV6_SUPPORT
				default y
				help
				Answer Y for httpd support of IPv6

	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 over 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_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_QOS
		bool "Linux QoS Meachanism"
		default n
		help
		Answer Y for QoS function support.

	config CONFIG_QOS_NUMBER
		string "CFG_QOS_NUMBER"
		depends on CONFIG_QOS
		default 20
		help
		The number of QoS rule.

	config CONFIG_TRACEGW
		bool "TRACEGW -- for traceroute command"
		depends on CONFIG_QOS
		default n
		help
		Answer Y for traceroute command support.

	config CONFIG_MBANDWIDTH
		bool "MBANDWIDTH -- for measuring bandwidth"
		depends on CONFIG_TC && CONFIG_TRACEGW
		default n
		help
		Answer Y for measuring bandwidth.

	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_IP_LOOKUP
		bool "ARPPING -- send arp automatically with a period of time"
		default n
		help
		Support arpping support.

	config CONFIG_WAKE_ON_LAN_PROXY
		bool "WakeOnLanProxy"
		default n
		help
		Listen/Send the wake-on-lan(WOL) packet.

	config CONFIG_SNMP_V1_V2
		bool "SNMPD -- only for V1 V2 support"
		default n
		help
		Answer Y for supporting SNMP V1 V2 feature.

	config CONFIG_SNMP_V1_V2_PRIVATE_MIB
		bool "Support CAMEO Private MIB"
		depends on CONFIG_SNMP_V1_V2
		default n
		help
		Answer Y for supporting CAMEO SNMP Private MIB feature.

	config CONFIG_VLAN_8021Q
                bool "Support 802.1Q VLAN feature"
                default n
                help
                Answer Y for supporting 802.1Q VLAN feature.
	
	config CONFIG_HTTPD
		bool "HTTPD -- web server"
		default n
		help
		Answer Y for HTTP server support.
	
	config CONFIG_XML_AGENT
                bool "Widget(Yahoo)|Gadget(Vista)|DashBoard(Mac)"
                default n
                depends on CONFIG_HTTPD
                help
                Answer Y for Widget support for HTTPD.

	config CONFIG_AJAX
		bool "Support Dynamic Info (xml)"
		default y
		depends on CONFIG_HTTPD
		help
		Answer Y for Ajax support for HTTPD.

	config	CONFIG_HTTP_TIMEOUT
		bool "Logout while timeout"
		default y
		depends on CONFIG_HTTPD
		help
		Logout while timeout

	config  CONFIG_HTTP_TIMEOUT_TIME
		int "Timeout Time (unit: 5 seconds)"
		default 36
		depends on CONFIG_HTTP_TIMEOUT
		help
		Timeout time.
	
	config CONFIG_QRS
		bool "Quick Router Setup (Pure Network)"
		default n
		depends on CONFIG_HTTPD
		help
		Answer Y for QRS support for HTTPD.
	
	config CONFIG_WPS_LOGO_RETAIN_MIXED_MODE
                bool "WPS logo with Authentication ans Encryption mixed mode"
                default n
                help
                Answer Y for support WPS logo with Authentication ans Encryption mixed mode.

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

	config CONFIG_AUTHGRAPH
		bool "HTTPD Graph Auth"
		default y
		depends on CONFIG_HTTPD
		help
		Answer Y for HTTP server support Graph Auth

	config CONFIG_IPv6_TEST_FUNCTION
		bool "support IPv6 test function for IPv6 Ready Logo"
		depends on CONFIG_HTTPD
		default n
		help
		Answer Y for supporting IPv6 test function for IPv6 Ready Logo.

	config CONFIG_WWW
		bool "HTML GUI pages"
		default y
		depends on CONFIG_HTTPD
		help
		Support html page in UI.

source "www/Pconfig"

	menu "HTML GUI -- MULTIPLE LANGUAGES"
		depends on CONFIG_WWW

	choice
		prompt "Select Language Type"
		default CONFIG_LP
		help
			You want to use language pack or build multiple language in rootfs.
		
	config CONFIG_M17N
		bool "Multiple Language Support"
		help
			Build selected languages into rootfs.

	config CONFIG_LP
		bool "Language Pack Support"
		help
			Build up Language Pack for selecting language.
			Meanwhile, it build default language which defined in nvram.default to rootfs.

	endchoice

	config CONFIG_M17N_EN
		bool "English"
		depends on CONFIG_WWW
		default y
		help 
		Support English languages on UI

	config CONFIG_M17N_TW
		bool "Traditional Chinese"
		depends on CONFIG_WWW
		default n
		help
		Support Traditional Chniese languages on UI

	config CONFIG_M17N_CN
		bool "Simple Chinese"
		depends on CONFIG_WWW
		default n
		help
		Support Simple Chniese languages on UI

	config CONFIG_M17N_JA
		bool "Japanese"
		depends on CONFIG_WWW
		default n
		help
		Support Japanese languages on UI

	config CONFIG_M17N_DE
		bool "Deutsch"
		depends on CONFIG_WWW
		default n
		help
		Support Deutsch languages on UI

	config CONFIG_M17N_ES
		bool "Espanol"
		depends on CONFIG_WWW
		default n
		help
		Support Espanol languages on UI

	config CONFIG_M17N_FR
		bool "Francais"
		depends on CONFIG_WWW
		default n
		help
		Support Francais languages on UI

	config CONFIG_M17N_IT
		bool "Italiano"
		depends on CONFIG_WWW
		default n
		help
		Support Italiano languages on UI

	config CONFIG_M17N_KR
		bool "Korean"
		depends on CONFIG_WWW
		default n
		help
		Support Korean languages on UI
	endmenu

	config CONFIG_RULE
		bool "CONFIG_RULE -- Project Setting Data"
		default n
		help
		Support Rules setting value. 

	config CONFIG_FIREWALL_NUMBER
		string "CFG_FIREWALL_NUMBER"
		depends on CONFIG_RULE
		default 20
		help
		The number of firewall rule.

	config CONFIG_URL_FILTER_NUMBER
		string "CFG_URL_FILTER_NUMBER"
		depends on CONFIG_RULE
		default 20
		help
		The number of URL filter rule.

	config CONFIG_SCHEDULE_NUMBER
		string "CFG_SCHEDULE_NUMBER"
		depends on CONFIG_RULE
		default 10
		help
		The number of schedule rule.

	config CONFIG_STATIC_ROUTE_NUMBER
		string "CFG_STATIC_ROUTE_NUMBER"
		depends on CONFIG_RULE
		default 20
		help
		The number of static route rule.

	config CONFIG_BLOCK_SERVICE_NUMBER
		string "CFG_BLOCK_SERVICE_NUMBER"
		depends on CONFIG_RULE
		default 10
		help
		The number of block service rule.

	config CONFIG_TRUST_IP_NUMBER
		string "CFG_TRUST_IP_NUMBER"
		depends on CONFIG_RULE
		default 20
		help
		The number of trust IP rule.

	config CONFIG_DHCPD_RESERVATION_NUMBER
		string "CFG_DHCPD_RESERVATION_NUMBER"
		depends on CONFIG_RULE
		default 25
		help
		The number of dhcp reservation rule.

	config CONFIG_MULTIPLE_ROUTING_NUMBER
		string "CFG_MULTIPLE_ROUTING_NUMBER"
		depends on CONFIG_RULE
		default 20
		help
		The number of multiple routing rule.

	config CONFIG_SRC_MACHINE_NUMBER
		string "CFG_SRC_MACHINE_NUMBER"
		depends on CONFIG_RULE
		default 8
		help
		The number of src machine rule.

	config CONFIG_UPLOAD_TIME
		string "CFG_UPLOAD_TIME"
		depends on CONFIG_RULE
		default 120
		help
		The seconds for uploading.

	config CONFIG_REBOOT_TIME
		string "CFG_REBOOT_TIME"
		depends on CONFIG_RULE
		default 60
		help
		The seconds for rebooting.

	config CONFIG_RESTORE_TIME
		string "CFG_RESTORE_TIME"
		depends on CONFIG_RULE
		default 70
		help
		The seconds for restoring default.
       
	config CONFIG_RESTORE_WIRELESS_TIME
		string "CFG_RESTORE_WIRELESS_TIME"
		depends on CONFIG_RULE
		default 30
		help
		The seconds for restoring wireless to default.

	config CONFIG_RESET_TIME
		string "CFG_RESET_TIME"
		depends on CONFIG_RULE
		default 3
		help
		The seconds for reseting.	

	config CONFIG_UPLOAD_CERTIFICATION_TIME
		string "CFG_UPLOAD_CERTIFICATION_TIME"
		depends on CONFIG_RULE
		default 3
		help
		The seconds for uploading certification.

	config CONFIG_LAN_IP_CHANGE_REBOOT_TIME
		string "CFG_LAN_IP_CHANGE_REBOOT_TIME"
		depends on CONFIG_RULE
		default 60
		help
		The seconds for rebooting when lan IP change.

	config CONFIG_SUPER_G_REBOOT_TIME
		string "CFG_SUPER_G_REBOOT_TIME"
		depends on CONFIG_RULE
		default 70
		help
		The seconds for rebooting when wireless enable/disable super G.

	config CONFIG_UPGRADE_TIME
		string "CFG_UPGRADE_TIME"
		depends on CONFIG_RULE
		default 120
		help
		The seconds for firmware upgrade.
endmenu

menu "Platform and Wireless Setting"
menu "Main Trunk Environment"
        choice
                prompt "Main Trunk Platform"
                default CONFIG_MAIN_TRUNK_AR7161
                help
		Select main trunk platform

        config CONFIG_MAIN_TRUNK_AR7161
                bool "AR7161"
                default y
                help               
		Use Ath platform AR7161		

        config CONFIG_MAIN_TRUNK_AR7240
                bool "AR7240"
                default n
                help
		Use Ath platform AR7240

        endchoice

	choice	
		depends on CONFIG_MAIN_TRUNK_AR7161
		prompt "Main Trunk Wireless"
		default CONFIG_MAIN_TRUNK_AP93
		help 
		Select the Ath Platform(AR7161) tag supported.

	config CONFIG_MAIN_TRUNK_AP91
                bool "AP91"
                default n
                help
                Support for AR7161 platform tag. Need to modify project Makefile.

	config CONFIG_MAIN_TRUNK_AP93
		bool "AP93"
		default y
		help
		Support for AR7161 platform tag. Need to modify project Makefile.

	config CONFIG_MAIN_TRUNK_AP99
		bool "AP99"
		default n
		help
		Support for AR7161 platform tag. Need to modify project Makefile.

	endchoice

	config CONFIG_MAIN_TRUNK_WAN_ETH_ZERO
		bool "WAN_ETH_ZERO"
		depends on CONFIG_MAIN_TRUNK_AR7161
		default y
		help
		Support for AR7161 platform tag. Need to modify project Makefile.
	
	config CONFIG_HTTPD_SAFE_FW_UPGRADE
		bool "CONFIG_HTTPD_SAFE_FW_UPGRADE"
		depends on CONFIG_MAIN_TRUNK_AR7161
		default y
		help
		AP91/AP93/AP99

        config IPv6_TEST_TIMER_RESET
                bool "IPv6_TEST_TIMER_RESET"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_WAIT_WPS_TIMEOUT
                bool "CONFIG_WAIT_WPS_TIMEOUT"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_WLAN_HEX_MODE
                bool "CONFIG_HTTPD_WLAN_HEX_MODE"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_DYN_FW_VERSION
                bool "CONFIG_HTTPD_DYN_FW_VERSION"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_DYN_HW_VERSION
                bool "CONFIG_HTTPD_DYN_HW_VERSION"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_WLAN_CHANNEL_NO_SPACE
                bool "CONFIG_HTTPD_WLAN_CHANNEL_NO_SPACE"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_SAFE_LOGIN_INFO_UPDATE
                bool "CONFIG_HTTPD_SAFE_LOGIN_INFO_UPDATE"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_PRE_UPLOAD_FILE_CHECK
                bool "CONFIG_HTTPD_PRE_UPLOAD_FILE_CHECK"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_WIDGET_NETSTAT_USE_PARSE
                bool "CONFIG_HTTPD_WIDGET_NETSTAT_USE_PARSE"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_NOT_SUPPORT_IW_DATA_FULL_INFO
                bool "CONFIG_HTTPD_NOT_SUPPORT_IW_DATA_FULL_INFO"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_WPS_CONFIG_DYN_CHECK
                bool "CONFIG_HTTPD_WPS_CONFIG_DYN_CHECK"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_RADVD_PING6_FULL_STAT
                bool "CONFIG_RADVD_PING6_FULL_STAT"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_WIDGET_NETSTAT_USE_PARSE
                bool "CONFIG_HTTPD_WIDGET_NETSTAT_USE_PARSE"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_WLAN_CHANNEL_USING_CAL
                bool "CONFIG_HTTPD_WLAN_CHANNEL_USING_CAL"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_SUPPORT_FLEXIBLE_ARG
                bool "CONFIG_HTTPD_SUPPORT_FLEXIBLE_ARG"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99

        config CONFIG_HTTPD_NO_CUSTOMER
                bool "CONFIG_HTTPD_NO_CUSTOMER"
                depends on CONFIG_MAIN_TRUNK_AR7161
                default y
                help
                AP91/AP93/AP99
endmenu

	config PLATFORM
		string "Platform architecture"
		default "AR7240"
		help
		Specify the target architecture. Support 

	config SWITCH
		string "Switch Path"
		default "ag7240"
		help
		Specify the switch type such as ag7240

	config AP_TYPE
		string "Atheros wireless chipset type"
		default "ap91"
		help
		Specify the target architecture. Support 

	config HARDWARE_ID
		string "Hardware ID"
		default "AP91-AR7240-RT-090223-00"
		help
		hardware id

	config CONFIG_MTD_BLOCK
		bool "Flash partition Setting"
		default n
		help
		Answer Y for Flash partition support.

	config CONFIG_LP_SUPPORT
		bool "Partition LP support"
		depends on CONFIG_MTD_BLOCK
		default n
		help
		Answer Y for LP partition support.

	config CONFIG_MTD_BLOCK_LP_LENGTH
		string "Partition language pack Size(KB)"
		depends on CONFIG_LP_SUPPORT
		default "192"
		help
		Define the size for Partition LP.

	config CONFIG_MTD_BLOCK_UBOOT_LENGTH
		string "Partition u-boot Size(KB)"
		depends on CONFIG_MTD_BLOCK
		default "128"
		help
		Define the size for Partition U-BOOT.

	config CONFIG_MTD_BLOCK_NVRAM_LENGTH
		string "Partition nvram Size(KB)"
		depends on CONFIG_MTD_BLOCK
		default "128"
		help
		Define the size for Partition NVRAM.

	config CONFIG_MTD_BLOCK_KERNEL_LENGTH
		string "Partition kernel Size(KB)"
		depends on CONFIG_MTD_BLOCK
		default "1024"
		help
		Define the size for Partition Kernel.

	config CONFIG_MTD_BLOCK_ROOTFS_LENGTH
		string "Partition rootfs Size(KB)"
		depends on CONFIG_MTD_BLOCK
		default "2560"
		help
		Define the size for Partition ROOTFS.

	config CONFIG_MTD_BLOCK_MAC_LENGTH
		string "Partition mac Size(KB)"
		depends on CONFIG_MTD_BLOCK
		default "64"
		help
		Define the size for Partition MAC.

	config CONFIG_MTD_BLOCK_ART_LENGTH
		string "Partition art Size(KB)"
		depends on CONFIG_MTD_BLOCK
		default "64"
		help
		Define the size for Partition ART.

	config LOADER
		string "Loader Path"
		default "u-boot"
		help
		Specify the loader path such as u-boot

	config CONFIG_GPIO
		bool "GPIO Control"
		default n
		help
		Answer Y for GPIO support.

	config CONFIG_WPS
		bool "WPS -- Wi-Fi Protected Setup"
		default n
		help
		Answer Y for WPS support.
endmenu

menu "Daemons Setting"

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

	config CONFIG_PPPD
		bool "PPPD -- PPP protocol"
		default n
		help
		Answer Y for PPPD support.If you want to support WAN protocols, 
		such as pppoe, l2tp or pptp.Please turn it on. 

	config CONFIG_RP_PPPoE
		bool "PPPoE -- PPPoE Client protocol"
		depends on CONFIG_PPPD
		default n
		help
		Answer Y for PPPoE protocol support.

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

	config CONFIG_PPTP_CLIENT
		bool "PPTP -- PPTP Clinet protocol"
		depends on CONFIG_PPPD
		default n
		help
		Answer Y for PPTP support.

	config CONFIG_L2TP_CLIENT
		bool "L2TP -- L2TP Clinet protocol"
		depends on CONFIG_PPPD
		default n
		help
		Answer Y for L2TP support.

	config CONFIG_DNSMASQ
		bool "DNSMASQ -- DNS relay/proxy"
		default n
		help
		Answer Y for dnsmasq support.

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

	config CONFIG_DLINK_ROUTER_URL
		bool "DLINK ROUTER URL support"
		depends on CONFIG_DNSMASQ
		default n
		help
		Answer Y for DLINK ROUTER URL support, implement in apps/dnsmasq-2.41. 

	config CONFIG_DDNS
		bool "DDNS -- support dynamic DNS"
		default n
		help
		Answer Y for DDNS support.

	config CONFIG_UDHCP
		bool "DHCP server & client"
		default y 
		help
		Answer Y for DHCP server & client support.
	
	config CONFIG_UDHCPD_NETBIOS
		bool "DHCPD -- Support NETBIOS protocol."
		depends on CONFIG_UDHCP
		default n
	       	help
       		Answer Y for netbios support of udhcpd.
	
	config CONFIG_UDHCPD_ALWAYS_BROADCAST
	       	bool "DHCPD -- Support always BROADCAST."
       		depends on CONFIG_UDHCP
       		default n
       		help
       		Answer Y for always broadcast support of udhcpd.

	config CONFIG_UDHCPD_REVOKE
       		bool "DHCPD -- Support REVOKE that clean up client IP cache."
       		depends on CONFIG_UDHCP
       		default n
       		help
       		Answer Y for revoke support of udhcpd. Clean up client IP cache in dhcpd.

	config CONFIG_UDHCPC_UNICAST
       		bool "DHCPC -- Support UNICAST."
       		depends on CONFIG_UDHCP
       		default n
       		help
       		Answer Y for unicast support of udhcpc.

	config CONFIG_UDHCPC_NOT_SUPPORT_DEFAULT_GW
		bool "DHCPC -- Disable default gateway"
		depends on CONFIG_UDHCP
		default y
		help
		Answer Y to avoid default gateway is automatically added while DHCPC getting ip.

	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_TFTPD
		bool "TFTPD -- tftp server"
		default n
		help
		Answer Y for TFTP server support.

	config CONFIG_OPENSSL
		bool "Openssl -- library for Auth & Cypher"
		default n
		help
		Answer Y for openssl support.

	config CONFIG_HOSTAPD
		bool "HOSTAPD -- wireless security daemon"
		depends on CONFIG_WIRELESS_ENABLE
		default n
		help
		Answer Y for hostapd support.

	config CONFIG_MSNOOPING
		bool "IGMP -- Multicast snooping and forward"
		default n
		help
		Answer Y for IGMP snooping and forward.

	config CONFIG_SUPPORT_BIND
		bool "Support bind in udp socket"
		depends on CONFIG_MFORWARD
		default n
		help
		Answer Y for socket bind support.

	config CONFIG_LLD2D
		bool "LLTD -- Vista topology protocol"
		default n
		help
		Answer Y for LLTD support.

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

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

	config CONFIG_NTP
		bool "NTP -- client for synchronization with time"
		default n
		help
		Answer Y for NTP support.

	config CONFIG_IPTABLES
		bool "IPTABLES -- Linux Firewall daemon"
		default n
		help
		Answer Y for Linux Firewall support.

    config IPROUTE2_IP
		bool "IPROUTE2 -- iproute2 package"
		depends on CONFIG_QOS
		default n
		help
		Answer Y for iproute2 package support.

	config CONFIG_TC
		bool "TC -- QoS tools"
		default n
		depends on IPROUTE2_IP && CONFIG_QOS
		help
		Answer Y for tc command support.

	config CONFIG_UPNPD
		bool "UPNPD -- IGD server"
		default n
		help
		Anser Y for UPNPD support.
	
	config CONFIG_UUID
		bool "UUID -- generate a uuid for a device"
		default n
		help
		Anser Y for UUID support.

	config CONFIG_NMBD
		bool "NMBD -- NETBIOS protocol"
		default n
		help
		Anser Y for NMBD support.

	config CONFIG_TIMER
		bool "Timer -- execute daemons when time's up during a period of time"
		default n
		help
		Anser Y for timer 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_IPV6_LLMNR
		bool "IPv6 LLMNR"
		default y
		help
		Link Local Multicast Name Resolution

	config CONFIG_CROWDCONTROL
		bool "Crowd Control HTTP Proxy support"
		default n
		help
		Answer Y for Redirecting url block page

endmenu
