;
;	RTL865x system configuration file for AP mode
;
;	$Id: config-ap.txt,v 1.17 2008/04/18 01:48:42 davidhsu Exp $
;
;	Copyright (c) Realtek Semiconductor Corp., 2004. All Rights Reserved.

; Hardware setting
; ---------------------------------------------------------------------------
HW_NIC0_ADDR=00e04c8196c1	; Ethernet LAN address
HW_NIC1_ADDR=00e04c8196c9	; WAN mac address
HW_BOARD_VER=1			; 1T2R=0,2T2R=1
; WLAN0 interface. Note: "WLAN0" means PCI0 wlan controller
HW_WLAN0_WLAN_ADDR=00e04c8196c1	; wlan0 MAC address
HW_WLAN0_WLAN_ADDR1=00e04c8196c2
HW_WLAN0_WLAN_ADDR2=00e04c8196c3
HW_WLAN0_WLAN_ADDR3=00e04c8196c4
HW_WLAN0_WLAN_ADDR4=00e04c8196c5
HW_WLAN0_WLAN_ADDR5=00e04c8196c6
HW_WLAN0_WLAN_ADDR6=00e04c8196c7
HW_WLAN0_WLAN_ADDR7=00e04c8196c8
HW_WLAN0_REG_DOMAIN=1		; FCC=1, IC=2, ETSI=3, SPAIN=4, FRANCE=5, MKK=6, ISRAEL=7
HW_WLAN0_RF_TYPE=10			; 10-RTL8190(11 b/g/n)

HW_WLAN0_TX_POWER_CCK_A=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN0_TX_POWER_CCK_B=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN0_TX_POWER_HT40_1S_A=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN0_TX_POWER_HT40_1S_B=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN0_TX_POWER_DIFF_HT40_2S=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN0_TX_POWER_DIFF_HT20=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN0_TX_POWER_DIFF_OFDM=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;

						
HW_WLAN0_LED_TYPE=3	; Except 0/1 is hardware wired, others are controlled by software
			; 	WLAN-LED0		WLAN-LED1
			; =============================================================
			;  0	tx			rx
			;  1	enabled/tx/rx		N/A
			;  2	link			tx/rx (data, management packet)
			;  3	link/tx/rx		N/A (data packet)
			;  4	link			tx-data/rx-data (data packet)
			;  5	link/tx-data/rx-data	N/A (data packet)
			;  6	enable			tx/rx (data packet)
			;  7	enable/tx-data/rx-data  N/A (data packet)

HW_WLAN0_11N_XCAP=0			; RF 40MHz crystal auto-calibration parameter, the value from 0~64
HW_WLAN0_11N_TSSI1=0;
HW_WLAN0_11N_TSSI2=0;
HW_WLAN0_11N_THER=0;
HW_WLAN0_11N_TRSWITCH=0;
HW_WLAN0_11N_TRSWPAPE_C9=0;
HW_WLAN0_11N_TRSWPAPE_CC=0;
HW_WLAN0_11N_TARGET_PWR=0;
HW_WLAN0_11N_RESERVED5=0;
HW_WLAN0_11N_RESERVED6=0;
HW_WLAN0_11N_RESERVED7=0;
HW_WLAN0_11N_RESERVED8=0;
HW_WLAN0_11N_RESERVED9=0;
HW_WLAN0_11N_RESERVED10=0;
HW_WLAN0_WSC_PIN=	; WPS PIN number.
							; Set null will cause system generate it auto

; WLAN1 interface. Note: "WLAN1" means PCI1 wlan controller
HW_WLAN1_WLAN_ADDR=00e04c8196D1 ; wlan0 MAC address
HW_WLAN1_WLAN_ADDR1=00e04c8196D2
HW_WLAN1_WLAN_ADDR2=00e04c8196D3
HW_WLAN1_WLAN_ADDR3=00e04c8196D4
HW_WLAN1_WLAN_ADDR4=00e04c8196D5
HW_WLAN1_WLAN_ADDR5=00e04c8196D6
HW_WLAN1_WLAN_ADDR6=00e04c8196D7
HW_WLAN1_WLAN_ADDR7=00e04c8196D8
HW_WLAN1_REG_DOMAIN=1           ; FCC=1, IC=2, ETSI=3, SPAIN=4, FRANCE=5, MKK=6, ISRAEL=7
HW_WLAN1_RF_TYPE=10                     ; 10-RTL8190(11 b/g/n)
 
HW_WLAN1_TX_POWER_CCK_A=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN1_TX_POWER_CCK_B=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN1_TX_POWER_HT40_1S_A=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN1_TX_POWER_HT40_1S_B=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN1_TX_POWER_DIFF_HT40_2S=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN1_TX_POWER_DIFF_HT20=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
HW_WLAN1_TX_POWER_DIFF_OFDM=0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;
 
 
HW_WLAN1_LED_TYPE=3     ; Except 0/1 is hardware wired, others are controlled by software
                        ;       WLAN-LED0               WLAN-LED1
                        ;=============================================================
                        ;  0    tx                      rx
                        ;  1    enabled/tx/rx           N/A
                        ;  2    link                    tx/rx (data,management packet)
                        ;  3    link/tx/rx              N/A (data packet)
                        ;  4    link                    tx-data/rx-data (datapacket)
                        ;  5    link/tx-data/rx-data    N/A (data packet)
                        ;  6    enable                  tx/rx (data packet)
                        ;  7    enable/tx-data/rx-data  N/A (data packet)
 
HW_WLAN0_11N_XCAP=0             ; RF 40MHz crystal auto-calibration parameter, the value from 0~64
HW_WLAN1_11N_TSSI1=0;
HW_WLAN1_11N_TSSI2=0;
HW_WLAN1_11N_THER=0;
HW_WLAN1_11N_TRSWITCH=0;
HW_WLAN1_11N_TRSWPAPE_C9=0;
HW_WLAN1_11N_TRSWPAPE_CC=0;
HW_WLAN1_11N_TARGET_PWR=0;
HW_WLAN1_11N_RESERVED5=0;
HW_WLAN1_11N_RESERVED6=0;
HW_WLAN1_11N_RESERVED7=0;
HW_WLAN1_11N_RESERVED8=0;
HW_WLAN1_11N_RESERVED9=0;
HW_WLAN1_11N_RESERVED10=0;
HW_WLAN1_WSC_PIN=       ; WPS PIN number.
                                                        ; Set null will cause system generate it auto
; Firmware factory-default setting
; ---------------------------------------------------------------------------

DEF_NTP_ENABLED=0		; NTP flag, 0 - disable, 1 - enable
DEF_NTP_SERVER_ID=0		; 0 - selected from menu, 1 - input manually
DEF_NTP_TIMEZONE="-8 4"		; Taipei timezone
DEF_NTP_SERVER_IP1=0.0.0.0	; server IP addr1, selected from menu list
DEF_NTP_SERVER_IP2=0.0.0.0	; server IP addr2, manual input
DEF_DAYLIGHT_SAVE=0	;auto daylight saving, 0-disable, 1-enable

DEF_VLANCONFIG_ENABLED=0	; VLAN flag, 0 - disable, 1 - enable
DEF_VLANCONFIG_TBL_NUM=10	; existing VLAN table entry number
DEF_VLANCONFIG_TBL=eth0,0,0,7,1,3022,1 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
DEF_VLANCONFIG_TBL=eth2,0,0,0,1,3030,2 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
DEF_VLANCONFIG_TBL=eth3,0,0,3,1,500,3 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
DEF_VLANCONFIG_TBL=eth4,0,0,0,1,1,4 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
DEF_VLANCONFIG_TBL=wlan0,0,0,0,1,1,5 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
DEF_VLANCONFIG_TBL=wlan0-va0,0,0,0,1,1,6 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
DEF_VLANCONFIG_TBL=wlan0-va1,0,0,0,1,1,7 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
DEF_VLANCONFIG_TBL=wlan0-va2,0,0,0,1,1,8 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
DEF_VLANCONFIG_TBL=wlan0-va3,0,0,0,1,1,9 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
DEF_VLANCONFIG_TBL=eth1,0,0,0,1,1,10 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID

; LAN interface
DEF_DEVICE_NAME="RTL8196c"	; device logical namem, referred by uPNP IGD name
DEF_ELAN_MAC_ADDR=000000000000	; Ethernet MAC clone address
DEF_IP_ADDR=192.168.1.254	; ip address
DEF_DHCP_CLIENT_START=192.168.1.100	; DHCP client range - start address
DEF_DHCP_CLIENT_END=192.168.1.200	; DHCP client range - end address
DEF_SUBNET_MASK=255.255.255.0		; subnet mask
DEF_DEFAULT_GATEWAY=0.0.0.0		; default route
DEF_DHCP=2			; DHCP mode, 0 - fixed ip, 1 - dhcp client, 2 - dhcp server
DEF_STP_ENABLED=0		; spanning tree protocol flag, 0 - disable, 1 - enable
DEF_DHCPRSVDIP_ENABLED=0;static DHCP, 0-disable, 1-enable
DEF_DHCPRSVDIP_TBL_NUM=0
; web management
DEF_SUPER_NAME=super		; supervisor user name, if NULL, supervisor account will be disabled
DEF_SUPER_PASSWORD=super	; supervisor user password, if NULL, supervisor account will be disabled
DEF_USER_NAME=			; user name
DEF_USER_PASSWORD=		; user password

DEF_SCRLOG_ENABLED=0		; system Log flag, 0 - disabled, 1 - enabled (not supported yet)
DEF_AUTODISCOVERY_ENABLED=1	; auto-discovery flag, 0 - disabled, 1 - enabled
DEF_OP_MODE=1			; operation mode, 0 - bridge LAN: br0 (eth0+wlan0)
						;  1 - bridge LAN: br0 (eth0+eth1+wlan0)

DEF_WIFI_SPECIFIC=2		;for 11n Wifi test				
; WLAN0 interface. Note: "WLAN0" PCI0 controller
DEF_WLAN0_WLAN_MAC_ADDR=000000000000; clone mac address
DEF_WLAN_BAND2G5G_SELECT=2
DEF_WLAN0_SSID="RTK 11n AP 5G"	; SSID
DEF_WLAN0_CHANNEL=44		; channel number
DEF_WLAN0_WLAN_MAC_ADDR=000000000000
DEF_WLAN0_WEP=0			; WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits
DEF_WLAN0_WEP64_KEY1=0000000000	; WEP-64bits key1~key4
DEF_WLAN0_WEP64_KEY2=0000000000
DEF_WLAN0_WEP64_KEY3=0000000000
DEF_WLAN0_WEP64_KEY4=0000000000
DEF_WLAN0_WEP128_KEY1=00000000000000000000000000	; WEP-128bits key1~key4
DEF_WLAN0_WEP128_KEY2=00000000000000000000000000
DEF_WLAN0_WEP128_KEY3=00000000000000000000000000
DEF_WLAN0_WEP128_KEY4=00000000000000000000000000
DEF_WLAN0_WEP_DEFAULT_KEY=0	; default tx key id (0-3)
DEF_WLAN0_WEP_KEY_TYPE=1	; key type, 0 - ASCII, 1 - hex
DEF_WLAN0_FRAG_THRESHOLD=2346	; fragment threshold, 256-2346
DEF_WLAN0_RTS_THRESHOLD=2347	; RTS threshold, 0 - 2347
DEF_WLAN0_BASIC_RATES=15	; basic rate, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
DEF_WLAN0_SUPPORTED_RATES=4095	; supported rate,  bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
DEF_WLAN0_BEACON_INTERVAL=100	; beacon interval in ms(20-1024) 
DEF_WLAN0_PREAMBLE_TYPE=0	; preamble type, 0 - long preamble, 1 - short preamble
DEF_WLAN0_AUTH_TYPE=2		; athentication type, 0 - open system, 1 - shared key, 2 - auto (both)
DEF_WLAN0_ACK_TIMEOUT=0
DEF_WLAN0_MACAC_ENABLED=0
DEF_WLAN0_MACAC_NUM=0
DEF_WLAN0_SCHEDULE_ENABLED=0
DEF_WLAN0_SCHEDULE_TBL_NUM=10
DEF_WLAN0_SCHEDULE_TBL1=0,0,0,0
SCHEDULE_TBL2=0,0,0,0
SCHEDULE_TBL3=0,0,0,0
SCHEDULE_TBL4=0,0,0,0
SCHEDULE_TBL5=0,0,0,0
SCHEDULE_TBL6=0,0,0,0
SCHEDULE_TBL7=0,0,0,0
SCHEDULE_TBL8=0,0,0,0
SCHEDULE_TBL9=0,0,0,0
SCHEDULE_TBL10=0,0,0,0
DEF_WLAN0_HIDDEN_SSID=0		; hidden ssid, 0 - disable, 1 - enable
DEF_WLAN0_WLAN_DISABLED=0	; wlan interface flag, 0 - wlan enabled, 1 - wlan disabled
DEF_WLAN0_INACTIVITY_TIME=30000	; wlan client inactivity time (in 10ms)
DEF_WLAN0_RATE_ADAPTIVE_ENABLED=1	; tx rate adaptive enable/disable, 1 - enabled, 0 - disabled
DEF_WLAN0_MACAC_NUM=0		; existing table entry number for mac access control
DEF_WLAN0_MACAC_ENABLED=0	; wlan mac access control flag, 0 - disable, 1 - enable
DEF_WLAN0_DTIM_PERIOD=1		; DTIM period
DEF_WLAN0_BLOCK_RELAY=0		; blocking packets between wireless client (relay),
				; 0 - disabled, 1 - block relay, 2 - block relay but passup
DEF_WLAN0_BAND=12		; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
DEF_WLAN0_FIX_RATE=0		; fixed data rate, 0-disable, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
DEF_WLAN0_MODE=0		; operation mode, 0-AP, 1-client, 2-WDS, 3-AP+WDS

DEF_WLAN0_ENCRYPT=0		; 0 - Encrypt disabled, 1 - WEP, 2 - WPA, 4 - WPA2, 6 - WPA2 mixed
DEF_WLAN0_ENABLE_1X=0		; 802.1x flag, 0 - disabled, 1 - enabled
DEF_WLAN0_WPA_AUTH=2		; WPA authentication type, 1 - WPA-Radius, 2 - PSK
DEF_WLAN0_WPA_CIPHER_SUITE=1	; WPA Cipher suite, 1 - TKIP, 2 - AES
DEF_WLAN0_WPA_PSK=		; WPA PSK value
DEF_WLAN0_WPA_GROUP_REKEY_TIME=86400; group key update time (in sec)
DEF_WLAN0_RS_IP=0.0.0.0		; Radius serverIP address
DEF_WLAN0_RS_PORT=1812		; Radius server port
DEF_WLAN0_RS_PASSWORD=		; Radius server password
DEF_WLAN0_RS_MAXRETRY=3		; Max retry of Radius server
DEF_WLAN0_RS_INTERVAL_TIME=5	; Interval time of retry
DEF_WLAN0_WPA2_PRE_AUTH=0	; WPA2 pre-authentication flag, 0 - disable, 1 - enable
DEF_WLAN0_WPA2_CIPHER_SUITE=2	; WPA Cipher suite, 1 - TKIP, 2 - AES
DEF_WLAN0_SHA256_ENABLE=0
DEF_WLAN0_IEEE80211W=1
DEF_WLAN0_MACCLONE_ENABLED=0	; wlan mac clone flag (client mode used), 0 - disable, 1 - enable
DEF_WLAN0_IAPP_DISABLED=0	; IAPP flag, 0 - IAPP enabled, 1 - IAPP disabled
DEF_WLAN0_PROTECTION_DISABLED=1	; 802.11g protection mode flag, 0 - protection enable, 1 - protection disabled

DEF_WLAN0_WDS_ENABLED=0		; WDS flag, 0 - disable, 1 - enable
DEF_WLAN0_WDS_NUM=0		; existing table entry number for WDS AP
DEF_WLAN0_WDS_ENCRYPT=0		; WDS WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits, 3-TKIP, 4-AES
DEF_WLAN0_WDS_WEP_KEY=0000000000	; WEP key
DEF_WLAN0_WDS_PSK_FORMAT=0	; psk format, 0 - ACSII, 1 - hex
DEF_WLAN0_WDS_PSK=		; psk value



; for WPS
DEF_WLAN0_WSC_METHOD=3			; metheod, 1: PIN, 2: PBC, 3: both
DEF_WLAN0_WSC_AUTH=1			; auth type (1: open)
DEF_WLAN0_WSC_ENC=1				; encrypt type (1: open)
DEF_WLAN0_WSC_UPNP_ENABLED=1	; upnp enabled flag (1: enabled)
DEF_WLAN0_WSC_REGISTRAR_ENABLED=1 ; internal registrar enabled flag (1: enabled)

;for 802.11N
DEF_WLAN0_CHANNEL_BONDING=1 ;0-20MHz, 1-40MHz
DEF_WLAN0_CONTROL_SIDEBAND=0 ;0-Upper, 1-Lower
DEF_WLAN0_AGGREGATION=1 ;0-disable, 1-A-MPDU
DEF_WLAN0_SHORT_GI=1 ;0-disable, 1-enable
DEF_WLAN0_ACCESS=0
DEF_WLAN0_PRIORITY=0
DEF_WLAN0_STBC_ENABLED=0
DEF_WLAN0_COEXIST_ENABLED=0
DEF_WLAN0_PHY_BAND_SELECT=2
DEF_WLAN0_MAC_PHY_MODE=2
DEF_WLAN0_TX_BEAMFORMING=0
DEF_WLAN0_COUNTRY_STRING=""
DEF_WLAN0_WMM_ENABLED=1

; Universal repeater
DEF_REPEATER_ENABLED1=0		; enable/disable universal repeater for wlan0
DEF_REPEATER_SSID1=			; ssid of wlan0 extended interface
DEF_WLAN0_VAP4_WLAN_DISABLED=1	; 1 - disabled, 0 - enabled

; virtual AP1
DEF_WLAN0_VAP0_SSID="RTK 11n AP VAP1"			; SSID
DEF_WLAN0_VAP0_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
DEF_WLAN0_VAP0_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
DEF_WLAN0_VAP0_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
DEF_WLAN0_VAP0_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
DEF_WLAN0_VAP0_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
DEF_WLAN0_VAP0_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
DEF_WLAN0_VAP0_RS_MAXRETRY=3				; Max retry of Radius server
DEF_WLAN0_VAP0_RS_INTERVAL_TIME=5			; Interval time of retry
DEF_WLAN0_VAP0_RS_PORT=1812					; Radius server port

; virtual AP2
DEF_WLAN0_VAP1_SSID="RTK 11n AP VAP2"			; SSID
DEF_WLAN0_VAP1_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
DEF_WLAN0_VAP1_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
DEF_WLAN0_VAP1_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
DEF_WLAN0_VAP1_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
DEF_WLAN0_VAP1_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
DEF_WLAN0_VAP1_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
DEF_WLAN0_VAP1_RS_MAXRETRY=3				; Max retry of Radius server
DEF_WLAN0_VAP1_RS_INTERVAL_TIME=5			; Interval time of retry
DEF_WLAN0_VAP1_RS_PORT=1812					; Radius server port

; virtual AP3
DEF_WLAN0_VAP2_SSID="RTK 11n AP VAP3"			; SSID
DEF_WLAN0_VAP2_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
DEF_WLAN0_VAP2_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
DEF_WLAN0_VAP2_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
DEF_WLAN0_VAP2_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
DEF_WLAN0_VAP2_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
DEF_WLAN0_VAP2_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
DEF_WLAN0_VAP2_RS_MAXRETRY=3				; Max retry of Radius server
DEF_WLAN0_VAP2_RS_INTERVAL_TIME=5			; Interval time of retry
DEF_WLAN0_VAP2_RS_PORT=1812					; Radius server port

; virtual AP4
DEF_WLAN0_VAP3_SSID="RTK 11n AP VAP4"			; SSID
DEF_WLAN0_VAP3_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
DEF_WLAN0_VAP3_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
DEF_WLAN0_VAP3_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
DEF_WLAN0_VAP3_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
DEF_WLAN0_VAP3_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
DEF_WLAN0_VAP3_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
DEF_WLAN0_VAP3_RS_MAXRETRY=3				; Max retry of Radius server
DEF_WLAN0_VAP3_RS_INTERVAL_TIME=5			; Interval time of retry
DEF_WLAN0_VAP3_RS_PORT=1812					; Radius server port

; repeater vxd interface
DEF_WLAN0_VXD_ENCRYPT=0		; 0 - Encrypt disabled, 1 - WEP, 2 - WPA, 4 - WPA2, 6 - WPA2 mixed
DEF_WLAN0_VXD_ENABLE_1X=0		; 802.1x flag, 0 - disabled, 1 - enabled
DEF_WLAN0_VXD_WPA_AUTH=2		; WPA authentication type, 1 - WPA-Radius, 2 - PSK
DEF_WLAN0_VXD_WPA_CIPHER_SUITE=1	; WPA Cipher suite, 1 - TKIP, 2 - AES
DEF_WLAN0_VXD_WPA_PSK=		; WPA PSK value
DEF_WLAN0_VXD_WPA_GROUP_REKEY_TIME=86400; group key update time (in sec)
DEF_WLAN0_VXD_RS_IP=0.0.0.0		; Radius serverIP address
DEF_WLAN0_VXD_RS_PORT=1812		; Radius server port
DEF_WLAN0_VXD_RS_PASSWORD=		; Radius server password
DEF_WLAN0_VXD_RS_MAXRETRY=3		; Max retry of Radius server
DEF_WLAN0_VXD_RS_INTERVAL_TIME=5	; Interval time of retry
DEF_WLAN0_VXD_WPA2_PRE_AUTH=0	; WPA2 pre-authentication flag, 0 - disable, 1 - enable
DEF_WLAN0_VXD_WPA2_CIPHER_SUITE=2	; WPA Cipher suite, 1 - TKIP, 2 - AES

; WLAN1 interface. Note: "WLAN1" means PCI1 wlan controller
DEF_WLAN1_WLAN_MAC_ADDR=000000000000; clone mac address
DEF_WLAN1_SSID="RTK 11n AP 2.4G"	; SSID
DEF_WLAN1_CHANNEL=11		; channel number
DEF_WLAN1_WLAN_MAC_ADDR=000000000000
DEF_WLAN1_WEP=0			; WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits
DEF_WLAN1_WEP64_KEY1=0000000000	; WEP-64bits key1~key4
DEF_WLAN1_WEP64_KEY2=0000000000
DEF_WLAN1_WEP64_KEY3=0000000000
DEF_WLAN1_WEP64_KEY4=0000000000
DEF_WLAN1_WEP128_KEY1=00000000000000000000000000	; WEP-128bits key1~key4
DEF_WLAN1_WEP128_KEY2=00000000000000000000000000
DEF_WLAN1_WEP128_KEY3=00000000000000000000000000
DEF_WLAN1_WEP128_KEY4=00000000000000000000000000
DEF_WLAN1_WEP_DEFAULT_KEY=0	; default tx key id (0-3)
DEF_WLAN1_WEP_KEY_TYPE=1	; key type, 0 - ASCII, 1 - hex
DEF_WLAN1_FRAG_THRESHOLD=2346	; fragment threshold, 256-2346
DEF_WLAN1_RTS_THRESHOLD=2347	; RTS threshold, 0 - 2347
DEF_WLAN1_BASIC_RATES=15	; basic rate, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
DEF_WLAN1_SUPPORTED_RATES=4095	; supported rate,  bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
DEF_WLAN1_BEACON_INTERVAL=100	; beacon interval in ms(20-1024) 
DEF_WLAN1_PREAMBLE_TYPE=0	; preamble type, 0 - long preamble, 1 - short preamble
DEF_WLAN1_AUTH_TYPE=2		; athentication type, 0 - open system, 1 - shared key, 2 - auto (both)
DEF_WLAN1_ACK_TIMEOUT=0;
DEF_WLAN1_MACAC_ENABLED=0;
DEF_WLAN1_MACAC_NUM=0;
DEF_WLAN1_SCHEDULE_ENABLED=0;
DEF_WLAN1_SCHEDULE_TBL_NUM=10;
DEF_WLAN1_SCHEDULE_TBL1=0,0,0,0;
SCHEDULE_TBL2=0,0,0,0;
SCHEDULE_TBL3=0,0,0,0;
SCHEDULE_TBL4=0,0,0,0;
SCHEDULE_TBL5=0,0,0,0;
SCHEDULE_TBL6=0,0,0,0;
SCHEDULE_TBL7=0,0,0,0;
SCHEDULE_TBL8=0,0,0,0;
SCHEDULE_TBL9=0,0,0,0;
SCHEDULE_TBL10=0,0,0,0;
DEF_WLAN1_HIDDEN_SSID=0		; hidden ssid, 0 - disable, 1 - enable
DEF_WLAN1_WLAN_DISABLED=0	; wlan interface flag, 0 - wlan enabled, 1 - wlan disabled
DEF_WLAN1_INACTIVITY_TIME=30000	; wlan client inactivity time (in 10ms)
DEF_WLAN1_RATE_ADAPTIVE_ENABLED=1	; tx rate adaptive enable/disable, 1 - enabled, 0 - disabled
DEF_WLAN1_MACAC_NUM=0		; existing table entry number for mac access control
DEF_WLAN1_MACAC_ENABLED=0	; wlan mac access control flag, 0 - disable, 1 - enable
DEF_WLAN1_DTIM_PERIOD=1		; DTIM period
DEF_WLAN1_BLOCK_RELAY=0		; blocking packets between wireless client (relay),
				; 0 - disabled, 1 - block relay, 2 - block relay but passup
DEF_WLAN1_BAND=11		; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
DEF_WLAN1_FIX_RATE=0		; fixed data rate, 0-disable, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
DEF_WLAN1_MODE=0		; operation mode, 0-AP, 1-client, 2-WDS, 3-AP+WDS

DEF_WLAN1_ENCRYPT=0		; 0 - Encrypt disabled, 1 - WEP, 2 - WPA, 4 - WPA2, 6 - WPA2 mixed
DEF_WLAN1_ENABLE_1X=0		; 802.1x flag, 0 - disabled, 1 - enabled
DEF_WLAN1_WPA_AUTH=2		; WPA authentication type, 1 - WPA-Radius, 2 - PSK
DEF_WLAN1_WPA_CIPHER_SUITE=1	; WPA Cipher suite, 1 - TKIP, 2 - AES
DEF_WLAN1_WPA_PSK=		; WPA PSK value
DEF_WLAN1_WPA_GROUP_REKEY_TIME=86400; group key update time (in sec)
DEF_WLAN1_RS_IP=0.0.0.0		; Radius serverIP address
DEF_WLAN1_RS_PORT=1812		; Radius server port
DEF_WLAN1_RS_PASSWORD=		; Radius server password
DEF_WLAN1_RS_MAXRETRY=3		; Max retry of Radius server
DEF_WLAN1_RS_INTERVAL_TIME=5	; Interval time of retry
DEF_WLAN1_WPA2_PRE_AUTH=0	; WPA2 pre-authentication flag, 0 - disable, 1 - enable
DEF_WLAN1_WPA2_CIPHER_SUITE=2	; WPA Cipher suite, 1 - TKIP, 2 - AES
DEF_WLAN1_SHA256_ENABLE=0
DEF_WLAN1_IEEE80211W=1
DEF_WLAN1_MACCLONE_ENABLED=0	; wlan mac clone flag (client mode used), 0 - disable, 1 - enable
DEF_WLAN1_IAPP_DISABLED=0	; IAPP flag, 0 - IAPP enabled, 1 - IAPP disabled
DEF_WLAN1_PROTECTION_DISABLED=1	; 802.11g protection mode flag, 0 - protection enable, 1 - protection disabled

DEF_WLAN1_WDS_ENABLED=0		; WDS flag, 0 - disable, 1 - enable
DEF_WLAN1_WDS_NUM=0		; existing table entry number for WDS AP
DEF_WLAN1_WDS_ENCRYPT=0		; WDS WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits, 3-TKIP, 4-AES
DEF_WLAN1_WDS_WEP_KEY=0000000000	; WEP key
DEF_WLAN1_WDS_PSK_FORMAT=0	; psk format, 0 - ACSII, 1 - hex
DEF_WLAN1_WDS_PSK=		; psk value



; for WPS
DEF_WLAN1_WSC_METHOD=3			; metheod, 1: PIN, 2: PBC, 3: both
DEF_WLAN1_WSC_AUTH=1			; auth type (1: open)
DEF_WLAN1_WSC_ENC=1				; encrypt type (1: open)
DEF_WLAN1_WSC_UPNP_ENABLED=1	; upnp enabled flag (1: enabled)
DEF_WLAN1_WSC_REGISTRAR_ENABLED=1 ; internal registrar enabled flag (1: enabled)

;for 802.11N
DEF_WLAN1_CHANNEL_BONDING=1 ;0-20MHz, 1-40MHz
DEF_WLAN1_CONTROL_SIDEBAND=0 ;0-Upper, 1-Lower
DEF_WLAN1_AGGREGATION=1 ;0-disable, 1-A-MPDU
DEF_WLAN1_SHORT_GI=1 ;0-disable, 1-enable
DEF_WLAN1_ACCESS=0;
DEF_WLAN1_PRIORITY=0;
DEF_WLAN1_WMM_ENABLED=1;
DEF_WLAN1_COEXIST_ENABLED=0;
DEF_WLAN1_PHY_BAND_SELECT=1;
DEF_WLAN1_MAC_PHY_MODE=2;
DEF_WLAN1_TX_BEAMFORMING=0;
DEF_WLAN1_COUNTRY_STRING="";
; Universal repeater
DEF_REPEATER_ENABLED1=0		; enable/disable universal repeater for wlan0
DEF_REPEATER_SSID1=			; ssid of wlan0 extended interface
DEF_WLAN1_VAP4_WLAN_DISABLED=1	; 1 - disabled, 0 - enabled

; virtual AP1
DEF_WLAN1_VAP0_SSID="RTK 11n AP VAP1"			; SSID
DEF_WLAN1_VAP0_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
DEF_WLAN1_VAP0_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
DEF_WLAN1_VAP0_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
DEF_WLAN1_VAP0_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
DEF_WLAN1_VAP0_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
DEF_WLAN1_VAP0_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
DEF_WLAN1_VAP0_RS_MAXRETRY=3				; Max retry of Radius server
DEF_WLAN1_VAP0_RS_INTERVAL_TIME=5			; Interval time of retry
DEF_WLAN1_VAP0_RS_PORT=1812					; Radius server port

; virtual AP2
DEF_WLAN1_VAP1_SSID="RTK 11n AP VAP2"			; SSID
DEF_WLAN1_VAP1_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
DEF_WLAN1_VAP1_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
DEF_WLAN1_VAP1_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
DEF_WLAN1_VAP1_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
DEF_WLAN1_VAP1_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
DEF_WLAN1_VAP1_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
DEF_WLAN1_VAP1_RS_MAXRETRY=3				; Max retry of Radius server
DEF_WLAN1_VAP1_RS_INTERVAL_TIME=5			; Interval time of retry
DEF_WLAN1_VAP1_RS_PORT=1812					; Radius server port

; virtual AP3
DEF_WLAN1_VAP2_SSID="RTK 11n AP VAP3"			; SSID
DEF_WLAN1_VAP2_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
DEF_WLAN1_VAP2_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
DEF_WLAN1_VAP2_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
DEF_WLAN1_VAP2_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
DEF_WLAN1_VAP2_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
DEF_WLAN1_VAP2_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
DEF_WLAN1_VAP2_RS_MAXRETRY=3				; Max retry of Radius server
DEF_WLAN1_VAP2_RS_INTERVAL_TIME=5			; Interval time of retry
DEF_WLAN1_VAP2_RS_PORT=1812					; Radius server port

; virtual AP4
DEF_WLAN1_VAP3_SSID="RTK 11n AP VAP4"			; SSID
DEF_WLAN1_VAP3_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
DEF_WLAN1_VAP3_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
DEF_WLAN1_VAP3_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
DEF_WLAN1_VAP3_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
DEF_WLAN1_VAP3_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
DEF_WLAN1_VAP3_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
DEF_WLAN1_VAP3_RS_MAXRETRY=3				; Max retry of Radius server
DEF_WLAN1_VAP3_RS_INTERVAL_TIME=5			; Interval time of retry
DEF_WLAN1_VAP3_RS_PORT=1812					; Radius server port

; repeater vxd interface
DEF_WLAN1_VXD_ENCRYPT=0		; 0 - Encrypt disabled, 1 - WEP, 2 - WPA, 4 - WPA2, 6 - WPA2 mixed
DEF_WLAN1_VXD_ENABLE_1X=0		; 802.1x flag, 0 - disabled, 1 - enabled
DEF_WLAN1_VXD_WPA_AUTH=2		; WPA authentication type, 1 - WPA-Radius, 2 - PSK
DEF_WLAN1_VXD_WPA_CIPHER_SUITE=1	; WPA Cipher suite, 1 - TKIP, 2 - AES
DEF_WLAN1_VXD_WPA_PSK=		; WPA PSK value
DEF_WLAN1_VXD_WPA_GROUP_REKEY_TIME=86400; group key update time (in sec)
DEF_WLAN1_VXD_RS_IP=0.0.0.0		; Radius serverIP address
DEF_WLAN1_VXD_RS_PORT=1812		; Radius server port
DEF_WLAN1_VXD_RS_PASSWORD=		; Radius server password
DEF_WLAN1_VXD_RS_MAXRETRY=3		; Max retry of Radius server
DEF_WLAN1_VXD_RS_INTERVAL_TIME=5	; Interval time of retry
DEF_WLAN1_VXD_WPA2_PRE_AUTH=0	; WPA2 pre-authentication flag, 0 - disable, 1 - enable
DEF_WLAN1_VXD_WPA2_CIPHER_SUITE=2	; WPA Cipher suite, 1 - TKIP, 2 - AES

; for QoS
DEF_QOS_AUTO_UPLINK_SPEED=1			; auto uplink speed, 1: auto, 0: disable
DEF_QOS_MANUAL_UPLINK_SPEED=512		; manual uplink speed, unit: kbps
DEF_QOS_AUTO_DOWNLINK_SPEED=1		; auto downlink speed, 1:auto,0: disable
DEF_QOS_MANUAL_DOWNLINK_SPEED=512	; manual downlink speed, unit: kbps


; Firmware current-used setting
; ---------------------------------------------------------------------------
VLANCONFIG_ENABLED=0	; VLAN flag, 0 - disable, 1 - enable
VLANCONFIG_TBL_NUM=10	; existing VLAN table entry number
VLANCONFIG_TBL=eth0,0,0,7,1,3022,1 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
VLANCONFIG_TBL=eth2,0,0,0,1,3030,2 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
VLANCONFIG_TBL=eth3,0,0,3,1,500,3 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
VLANCONFIG_TBL=eth4,0,0,0,1,1,4 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
VLANCONFIG_TBL=wlan0,0,0,0,1,1,5 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
VLANCONFIG_TBL=wlan0-va0,0,0,0,1,1,6 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
VLANCONFIG_TBL=wlan0-va1,0,0,0,1,1,7 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
VLANCONFIG_TBL=wlan0-va2,0,0,0,1,1,8 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
VLANCONFIG_TBL=wlan0-va3,0,0,0,1,1,9 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
VLANCONFIG_TBL=eth1,0,0,0,1,1,10 ; VLAN setting: netIface,enabled,tagged,priority,cfi,vlanId,tblID
UPNP_ENABLED=0			; uPNP flag, 0 - disable, 1 - enable
IGMP_PROXY_DISABLED=0 ;0-enable igmpproxy, 1-disable igmpproxy
; LAN interface
DEVICE_NAME="RTL8198"		; device logical namem, referred by uPNP IGD name
ELAN_MAC_ADDR=000000000000	; Ethernet MAC clone address
IP_ADDR=192.168.1.254		; ip address
DHCP_CLIENT_START=192.168.1.100	; DHCP client range - start address
DHCP_CLIENT_END=192.168.1.200	; DHCP client range - end address
SUBNET_MASK=255.255.255.0	; subnet mask
DEFAULT_GATEWAY=0.0.0.0		; default route
DHCP=2				; DHCP mode, 0 - fixed ip, 1 - dhcp client, 2 - dhcp server
STP_ENABLED=0			; spanning tree protocol flag, 0 - disable, 1 - enable
DHCPRSVDIP_ENABLED=0;static DHCP, 0-disable, 1-enable
DHCPRSVDIP_TBL_NUM=0

; web management
SUPER_NAME=super		; supervisor user name, if NULL, supervisor account will be disabled
SUPER_PASSWORD=super		; supervisor user password, if NULL, supervisor account will be disabled
USER_NAME=			; user name
USER_PASSWORD=			; user password

; system management
SCRLOG_ENABLED=0		; system Log flag, 0 - disabled, 1 - enabled (not supported yet)
AUTODISCOVERY_ENABLED=1		; auto-discovery flag, 0 - disabled, 1 - enabled
OP_MODE=0			; operation mode, 0 - bridge LAN: br0 (eth0+wlan0)
				; 		  1 - bridge LAN: br0 (eth0+eth1+wlan0)

WIFI_SPECIFIC=2		;for 11n Wifi test				
; WLAN0 interface. Note: "WLAN0" means PCI0 wlan controller
WLAN0_WLAN_MAC_ADDR=000000000000; clone mac address
WLAN_BAND2G5G_SELECT=2
WLAN0_SSID="RTK 11n AP 5G"	; SSID
WLAN0_CHANNEL=44		; channel number
WLAN0_WLAN_MAC_ADDR=000000000000
WLAN0_WEP=0			; WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits
WLAN0_WEP64_KEY1=0000000000	; WEP-64bits key1~key4
WLAN0_WEP64_KEY2=0000000000
WLAN0_WEP64_KEY3=0000000000
WLAN0_WEP64_KEY4=0000000000
WLAN0_WEP128_KEY1=00000000000000000000000000	; WEP-128bits key1~key4
WLAN0_WEP128_KEY2=00000000000000000000000000
WLAN0_WEP128_KEY3=00000000000000000000000000
WLAN0_WEP128_KEY4=00000000000000000000000000
WLAN0_WEP_DEFAULT_KEY=0		; default tx key id (0-3)
WLAN0_WEP_KEY_TYPE=1		; key type, 0 - ASCII, 1 - hex
WLAN0_FRAG_THRESHOLD=2346	; fragment threshold, 256-2346
WLAN0_RTS_THRESHOLD=2347	; RTS threshold, 0 - 2347
WLAN0_BASIC_RATES=15		; basic rate, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
WLAN0_SUPPORTED_RATES=4095	; supported rate,  bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
WLAN0_BEACON_INTERVAL=100	; beacon interval in ms(20-1024) 
WLAN0_PREAMBLE_TYPE=0		; preamble type, 0 - long preamble, 1 - short preamble
WLAN0_AUTH_TYPE=2		; athentication type, 0 - open system, 1 - shared key, 2 - auto (both)
WLAN0_HIDDEN_SSID=0		; hidden ssid, 0 - disable, 1 - enable
WLAN0_WLAN_DISABLED=0		; wlan interface flag, 0 - wlan enabled, 1 - wlan disabled
WLAN0_MACAC_NUM=0
WLAN0_SCHEDULE_ENABLED=0
WLAN0_SCHEDULE_TBL_NUM=10
WLAN0_SCHEDULE_TBL1=0,0,0,0
SCHEDULE_TBL2=0,0,0,0
SCHEDULE_TBL3=0,0,0,0
SCHEDULE_TBL4=0,0,0,0
SCHEDULE_TBL5=0,0,0,0
SCHEDULE_TBL6=0,0,0,0
SCHEDULE_TBL7=0,0,0,0
SCHEDULE_TBL8=0,0,0,0
SCHEDULE_TBL9=0,0,0,0
SCHEDULE_TBL10=0,0,0,0

WLAN0_INACTIVITY_TIME=30000	; wlan client inactivity time (in 10ms)
WLAN0_RATE_ADAPTIVE_ENABLED=1 	; tx rate adaptive enable/disable, 1 - enabled, 0 - disabled
WLAN0_MACAC_NUM=0		; existing table entry number for mac access control
WLAN0_MACAC_ENABLED=0		; wlan mac access control flag, 0 - disable, 1 - enable
WLAN0_DTIM_PERIOD=1		; DTIM period
WLAN0_BLOCK_RELAY=0		; blocking packets between wireless client (relay),
				; 0 - disabled, 1 - block relay, 2 - block relay but passup
WLAN0_BAND=11			; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
WLAN0_FIX_RATE=0		; fixed data rate, 0-disable, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
WLAN0_MODE=0			; operation mode, 0-AP, 1-client, 2-WDS, 3-AP+WDS

WLAN0_ENCRYPT=0			; 0 - Encrypt disabled, 1 - WEP, 2 - WPA, 4 - WPA2, 6 - WPA2 mixed
WLAN0_ENABLE_1X=0		; 802.1x flag, 0 - disabled, 1 - enabled
WLAN0_WPA_AUTH=2		; WPA authentication type, 1 - WPA-Radius, 2 - PSK
WLAN0_WPA_CIPHER_SUITE=1	; WPA Cipher suite, 1 - TKIP, 2 - AES
WLAN0_WPA_PSK=			; WPA PSK value
WLAN0_WPA_GROUP_REKEY_TIME=86400; group key update time (in sec)
WLAN0_RS_IP=0.0.0.0		; Radius serverIP address
WLAN0_RS_PORT=1812		; Radius server port
WLAN0_RS_PASSWORD=		; Radius server password
WLAN0_RS_MAXRETRY=3		; Max retry of Radius server
WLAN0_RS_INTERVAL_TIME=5	; Interval time of retry
WLAN0_WPA2_PRE_AUTH=0		; WPA2 pre-authentication flag, 0 - disable, 1 - enable
WLAN0_WPA2_CIPHER_SUITE=2	; WPA Cipher suite, 1 - TKIP, 2 - AES
WLAN0_SHA256_ENABLE=0
WLAN0_IEEE80211W=1
WLAN0_MACCLONE_ENABLED=0	; wlan mac clone flag (client mode used), 0 - disable, 1 - enable
WLAN0_IAPP_DISABLED=0		; IAPP flag, 0 - IAPP enabled, 1 - IAPP disabled
WLAN0_PROTECTION_DISABLED=1	; 802.11g protection mode flag, 0 - protection enable, 1 - protection disabled

WLAN0_WDS_ENABLED=0		; WDS flag, 0 - disable, 1 - enable
WLAN0_WDS_NUM=0			; existing table entry number for WDS AP
WLAN0_WDS_ENCRYPT=0			; WDS WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits, 3-TKIP, 4-AES
WLAN0_WDS_WEP_KEY=0000000000	; WEP key
WLAN0_WDS_PSK_FORMAT=0		; psk format, 0 - ACSII, 1 - hex
WLAN0_WDS_PSK=			; psk value



; for WPS
WLAN0_WSC_METHOD=3			; metheod, 1: PIN, 2: PBC, 3: both
WLAN0_WSC_AUTH=1			; auth type (1: open)
WLAN0_WSC_ENC=1				; encrypt type (1: open)
WLAN0_WSC_UPNP_ENABLED=1	; upnp enabled flag (1: enabled)
WLAN0_WSC_REGISTRAR_ENABLED=1 ; internal registrar enabled flag (1: enabled)

;for 802.11N
WLAN0_CHANNEL_BONDING=1 ;0-20MHz, 1-40MHz
WLAN0_CONTROL_SIDEBAND=0 ;0-Upper, 1-Lower
WLAN0_AGGREGATION=1 ;0-disable, 1-A-MPDU
WLAN0_SHORT_GI=1 ;0-disable, 1-enable
WLAN0_WMM_ENABLED=1

; Universal repeater
REPEATER_ENABLED1=0		; enable/disable universal repeater for wlan0
REPEATER_SSID1=			; ssid of wlan0 extended interface
WLAN0_VAP4_WLAN_DISABLED=1	; 1 - disabled, 0 - enabled
WLAN0_WSC_DISABLE=0
WLAN0_WSC_METHOD=3
WLAN0_WSC_CONFIGURED=0
WLAN0_WSC_AUTH=1
WLAN0_WSC_ENC=1
WLAN0_WSC_MANUAL_ENABLED=0
WLAN0_WSC_UPNP_ENABLED=1
WLAN0_WSC_REGISTRAR_ENABLED=1
WLAN0_WSC_SSID=""
WLAN0_WSC_PSK=""
WLAN0_WSC_CONFIGBYEXTREG=0
WLAN0_CHANNEL_BONDING=1
WLAN0_CONTROL_SIDEBAND=1
WLAN0_AGGREGATION=1
WLAN0_SHORT_GI=1
WLAN0_ACCESS=0
WLAN0_PRIORITY=0
WLAN0_STBC_ENABLED=0
WLAN0_COEXIST_ENABLED=0
WLAN0_PHY_BAND_SELECT=2
WLAN0_MAC_PHY_MODE=2
WLAN0_TX_BEAMFORMING=0
WLAN0_COUNTRY_STRING=""
; virtual AP1
WLAN0_VAP0_SSID="RTK 11n AP VAP1"			; SSID
WLAN0_VAP0_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
WLAN0_VAP0_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
WLAN0_VAP0_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
WLAN0_VAP0_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
WLAN0_VAP0_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
WLAN0_VAP0_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
WLAN0_VAP0_RS_MAXRETRY=3				; Max retry of Radius server
WLAN0_VAP0_RS_INTERVAL_TIME=5			; Interval time of retry
WLAN0_VAP0_RS_PORT=1812					; Radius server port

; virtual AP2
WLAN0_VAP1_SSID="RTK 11n AP VAP2"			; SSID
WLAN0_VAP1_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
WLAN0_VAP1_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
WLAN0_VAP1_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
WLAN0_VAP1_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
WLAN0_VAP1_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
WLAN0_VAP1_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
WLAN0_VAP1_RS_MAXRETRY=3				; Max retry of Radius server
WLAN0_VAP1_RS_INTERVAL_TIME=5			; Interval time of retry
WLAN0_VAP1_RS_PORT=1812					; Radius server port

; virtual AP3
WLAN0_VAP2_SSID="RTK 11n AP VAP3"			; SSID
WLAN0_VAP2_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
WLAN0_VAP2_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
WLAN0_VAP2_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
WLAN0_VAP2_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
WLAN0_VAP2_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
WLAN0_VAP2_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0 - vap enabled
WLAN0_VAP2_RS_MAXRETRY=3				; Max retry of Radius server
WLAN0_VAP2_RS_INTERVAL_TIME=5			; Interval time of retry
WLAN0_VAP2_RS_PORT=1812					; Radius server port

; virtual AP4
WLAN0_VAP3_SSID="RTK 11n AP VAP4"			; SSID
WLAN0_VAP3_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
WLAN0_VAP3_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
WLAN0_VAP3_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
WLAN0_VAP3_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
WLAN0_VAP3_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
WLAN0_VAP3_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0 - vap enabled
WLAN0_VAP3_RS_MAXRETRY=3				; Max retry of Radius server
WLAN0_VAP3_RS_INTERVAL_TIME=5			; Interval time of retry
WLAN0_VAP3_RS_PORT=1812					; Radius server port

; repeater vxd interface
WLAN0_VXD_ENCRYPT=0		; 0 - Encrypt disabled, 1 - WEP, 2 - WPA, 4 - WPA2, 6 - WPA2 mixed
WLAN0_VXD_ENABLE_1X=0		; 802.1x flag, 0 - disabled, 1 - enabled
WLAN0_VXD_WPA_AUTH=2		; WPA authentication type, 1 - WPA-Radius, 2 - PSK
WLAN0_VXD_WPA_CIPHER_SUITE=1	; WPA Cipher suite, 1 - TKIP, 2 - AES
WLAN0_VXD_WPA_PSK=		; WPA PSK value
WLAN0_VXD_WPA_GROUP_REKEY_TIME=86400; group key update time (in sec)
WLAN0_VXD_RS_IP=0.0.0.0		; Radius serverIP address
WLAN0_VXD_RS_PORT=1812		; Radius server port
WLAN0_VXD_RS_PASSWORD=		; Radius server password
WLAN0_VXD_RS_MAXRETRY=3		; Max retry of Radius server
WLAN0_VXD_RS_INTERVAL_TIME=5	; Interval time of retry
WLAN0_VXD_WPA2_PRE_AUTH=0	; WPA2 pre-authentication flag, 0 - disable, 1 - enable
WLAN0_VXD_WPA2_CIPHER_SUITE=2	; WPA Cipher suite, 1 - TKIP, 2 - AES

; WLAN1 interface. Note: "WLAN1" means PCI1 wlan controller
WLAN1_WLAN_MAC_ADDR=000000000000; clone mac address
WLAN1_SSID="RTK 11n AP 2.4G"		; SSID
WLAN1_CHANNEL=11		; channel number
WLAN1_WEP=0			; WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits
WLAN1_WEP64_KEY1=0000000000	; WEP-64bits key1~key4
WLAN1_WEP64_KEY2=0000000000
WLAN1_WEP64_KEY3=0000000000
WLAN1_WEP64_KEY4=0000000000
WLAN1_WEP128_KEY1=00000000000000000000000000	; WEP-128bits key1~key4
WLAN1_WEP128_KEY2=00000000000000000000000000
WLAN1_WEP128_KEY3=00000000000000000000000000
WLAN1_WEP128_KEY4=00000000000000000000000000
WLAN1_WEP_DEFAULT_KEY=0		; default tx key id (0-3)
WLAN1_WEP_KEY_TYPE=1		; key type, 0 - ASCII, 1 - hex
WLAN1_FRAG_THRESHOLD=2346	; fragment threshold, 256-2346
WLAN1_RTS_THRESHOLD=2347	; RTS threshold, 0 - 2347
WLAN1_BASIC_RATES=15		; basic rate, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
WLAN1_SUPPORTED_RATES=4095	; supported rate,  bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
WLAN1_BEACON_INTERVAL=100	; beacon interval in ms(20-1024) 
WLAN1_PREAMBLE_TYPE=0		; preamble type, 0 - long preamble, 1 - short preamble
WLAN1_AUTH_TYPE=2		; athentication type, 0 - open system, 1 - shared key, 2 - auto (both)
WLAN1_HIDDEN_SSID=0		; hidden ssid, 0 - disable, 1 - enable
WLAN1_WLAN_DISABLED=0		; wlan interface flag, 0 - wlan enabled, 1 - wlan disabled
WLAN1_SCHEDULE_ENABLED=0
WLAN1_SCHEDULE_TBL_NUM=10
WLAN1_SCHEDULE_TBL1=0,0,0,0
SCHEDULE_TBL2=0,0,0,0
SCHEDULE_TBL3=0,0,0,0
SCHEDULE_TBL4=0,0,0,0
SCHEDULE_TBL5=0,0,0,0
SCHEDULE_TBL6=0,0,0,0
SCHEDULE_TBL7=0,0,0,0
SCHEDULE_TBL8=0,0,0,0
SCHEDULE_TBL9=0,0,0,0
SCHEDULE_TBL10=0,0,0,0
WLAN1_INACTIVITY_TIME=30000	; wlan client inactivity time (in 10ms)
WLAN1_RATE_ADAPTIVE_ENABLED=1 	; tx rate adaptive enable/disable, 1 - enabled, 0 - disabled
WLAN1_MACAC_NUM=0		; existing table entry number for mac access control
WLAN1_MACAC_ENABLED=0		; wlan mac access control flag, 0 - disable, 1 - enable
WLAN1_DTIM_PERIOD=1		; DTIM period
WLAN1_BLOCK_RELAY=0		; blocking packets between wireless client (relay),
				; 0 - disabled, 1 - block relay, 2 - block relay but passup
WLAN1_BAND=11			; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
WLAN1_FIX_RATE=0		; fixed data rate, 0-disable, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
WLAN1_MODE=0			; operation mode, 0-AP, 1-client, 2-WDS, 3-AP+WDS

WLAN1_ENCRYPT=0			; 0 - Encrypt disabled, 1 - WEP, 2 - WPA, 4 - WPA2, 6 - WPA2 mixed
WLAN1_ENABLE_1X=0		; 802.1x flag, 0 - disabled, 1 - enabled
WLAN1_WPA_AUTH=2		; WPA authentication type, 1 - WPA-Radius, 2 - PSK
WLAN1_WPA_CIPHER_SUITE=1	; WPA Cipher suite, 1 - TKIP, 2 - AES
WLAN1_WPA_PSK=			; WPA PSK value
WLAN1_WPA_GROUP_REKEY_TIME=86400; group key update time (in sec)
WLAN1_RS_IP=0.0.0.0		; Radius serverIP address
WLAN1_RS_PORT=1812		; Radius server port
WLAN1_RS_PASSWORD=		; Radius server password
WLAN1_RS_MAXRETRY=3		; Max retry of Radius server
WLAN1_RS_INTERVAL_TIME=5	; Interval time of retry
WLAN1_WPA2_PRE_AUTH=0		; WPA2 pre-authentication flag, 0 - disable, 1 - enable
WLAN1_WPA2_CIPHER_SUITE=2	; WPA Cipher suite, 1 - TKIP, 2 - AES
WLAN1_SHA256_ENABLE=0
WLAN1_IEEE80211W=1
WLAN1_MACCLONE_ENABLED=0	; wlan mac clone flag (client mode used), 0 - disable, 1 - enable
WLAN1_IAPP_DISABLED=0		; IAPP flag, 0 - IAPP enabled, 1 - IAPP disabled
WLAN1_PROTECTION_DISABLED=1	; 802.11g protection mode flag, 0 - protection enable, 1 - protection disabled

WLAN1_WDS_ENABLED=0		; WDS flag, 0 - disable, 1 - enable
WLAN1_WDS_NUM=0			; existing table entry number for WDS AP
WLAN1_WDS_ENCRYPT=0			; WDS WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits, 3-TKIP, 4-AES
WLAN1_WDS_WEP_KEY=0000000000	; WEP key
WLAN1_WDS_PSK_FORMAT=0		; psk format, 0 - ACSII, 1 - hex
WLAN1_WDS_PSK=			; psk value


; for WPS
WLAN1_WSC_METHOD=3			; metheod, 1: PIN, 2: PBC, 3: both
WLAN1_WSC_AUTH=1			; auth type (1: open)
WLAN1_WSC_ENC=1				; encrypt type (1: open)
WLAN1_WSC_UPNP_ENABLED=1	; upnp enabled flag (1: enabled)
WLAN1_WSC_REGISTRAR_ENABLED=1 ; internal registrar enabled flag (1: enabled)

;for 802.11N
WLAN1_CHANNEL_BONDING=1	;0-20MHz, 1-40MHz
WLAN1_CONTROL_SIDEBAND=0 ;0-Upper, 1-Lower
WLAN1_AGGREGATION=1 ;0-disable, 1-A-MPDU
WLAN1_SHORT_GI=1 ;0-disable, 1-enable
WLAN1_WMM_ENABLED=1
WLAN1_PRIORITY=0
WLAN1_STBC_ENABLED=0
WLAN1_COEXIST_ENABLED=0
WLAN1_PHY_BAND_SELECT=1
WLAN1_MAC_PHY_MODE=2
WLAN1_TX_BEAMFORMING=0
WLAN1_COUNTRY_STRING=""
; Universal repeater
REPEATER_ENABLED1=0		; enable/disable universal repeater for wlan0
REPEATER_SSID1=			; ssid of wlan0 extended interface
WLAN1_VAP4_WLAN_DISABLED=1	; 1 - disabled, 0 - enabled

; virtual AP1
WLAN1_VAP0_SSID="RTK 11n AP 1 VAP1"			; SSID
WLAN1_VAP0_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
WLAN1_VAP0_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
WLAN1_VAP0_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
WLAN1_VAP0_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
WLAN1_VAP0_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
WLAN1_VAP0_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
WLAN1_VAP0_RS_MAXRETRY=3				; Max retry of Radius server
WLAN1_VAP0_RS_INTERVAL_TIME=5			; Interval time of retry
WLAN1_VAP0_RS_PORT=1812					; Radius server port

; virtual AP2
WLAN1_VAP1_SSID="RTK 11n AP 1 VAP2"			; SSID
WLAN1_VAP1_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
WLAN1_VAP1_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
WLAN1_VAP1_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
WLAN1_VAP1_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
WLAN1_VAP1_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
WLAN1_VAP1_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
WLAN1_VAP1_RS_MAXRETRY=3				; Max retry of Radius server
WLAN1_VAP1_RS_INTERVAL_TIME=5			; Interval time of retry
WLAN1_VAP1_RS_PORT=1812					; Radius server port

; virtual AP3
WLAN1_VAP2_SSID="RTK 11n AP 1 VAP3"			; SSID
WLAN1_VAP2_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
WLAN1_VAP2_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
WLAN1_VAP2_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
WLAN1_VAP2_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
WLAN1_VAP2_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
WLAN1_VAP2_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
WLAN1_VAP2_RS_MAXRETRY=3				; Max retry of Radius server
WLAN1_VAP2_RS_INTERVAL_TIME=5			; Interval time of retry
WLAN1_VAP2_RS_PORT=1812					; Radius server port

; virtual AP4
WLAN1_VAP3_SSID="RTK 11n AP 1 VAP4"			; SSID
WLAN1_VAP3_BAND=11						; bit mask of band selection, 1-11b, 2-11g, 4-11a, 8-11n
WLAN1_VAP3_WMM_ENABLED=1				; wmm, 0 - disable, 1 - enable
WLAN1_VAP3_HIDDEN_SSID=0				; hidden ssid, 0 - disable, 1 - enable
WLAN1_VAP3_RATE_ADAPTIVE_ENABLED=1		; tx rate adaptive, 1 - enabled, 0 - disabled
WLAN1_VAP3_ACCESS=0						; access mode, 0 - LAN+WAN, 1 - WAN
WLAN1_VAP3_WLAN_DISABLED=1				; vap on/off, 1 - vap disabled, 0- vap enabled
WLAN1_VAP3_RS_MAXRETRY=3				; Max retry of Radius server
WLAN1_VAP3_RS_INTERVAL_TIME=5			; Interval time of retry
WLAN1_VAP3_RS_PORT=1812					; Radius server port

; repeater vxd interface
WLAN1_VXD_ENCRYPT=0		; 0 - Encrypt disabled, 1 - WEP, 2 - WPA, 4 - WPA2, 6 - WPA2 mixed
WLAN1_VXD_ENABLE_1X=0		; 802.1x flag, 0 - disabled, 1 - enabled
WLAN1_VXD_WPA_AUTH=2		; WPA authentication type, 1 - WPA-Radius, 2 - PSK
WLAN1_VXD_WPA_CIPHER_SUITE=1	; WPA Cipher suite, 1 - TKIP, 2 - AES
WLAN1_VXD_WPA_PSK=		; WPA PSK value
WLAN1_VXD_WPA_GROUP_REKEY_TIME=86400; group key update time (in sec)
WLAN1_VXD_RS_IP=0.0.0.0		; Radius serverIP address
WLAN1_VXD_RS_PORT=1812		; Radius server port
WLAN1_VXD_RS_PASSWORD=		; Radius server password
WLAN1_VXD_RS_MAXRETRY=3		; Max retry of Radius server
WLAN1_VXD_RS_INTERVAL_TIME=5	; Interval time of retry
WLAN1_VXD_WPA2_PRE_AUTH=0	; WPA2 pre-authentication flag, 0 - disable, 1 - enable
WLAN1_VXD_WPA2_CIPHER_SUITE=2	; WPA Cipher suite, 1 - TKIP, 2 - AES

; for QoS
QOS_AUTO_UPLINK_SPEED=1				; auto uplink speed, 1: auto, 0: disable
QOS_MANUAL_UPLINK_SPEED=512			; manual uplink speed, unit: kbps
QOS_AUTO_DOWNLINK_SPEED=1			; auto downlink speed,1: auto, 0: disable
QOS_MANUAL_DOWNLINK_SPEED=512			; manual downlink speed, unit:kbps

; for IPv6 default config
IPV6_RADVD_PARAM=0, br0, 600, 198, 3, 0, 0, 1500, 0, 0, 64, 1800, medium, 1, 0, 2001:0000:0000:0000:0000:0000:0000:0000, 64, 1, 1, 2592000, 604800, 0, eth1, 1, 2002:0000:0000:0000:0000:0000:0000:0000, 64, 1, 1, 2592000, 604800,0, eth1, 1 ; radvd parameter 0 - disable 1-enable
IPV6_DNSV6_PARAM=0, router.my ; dnsv6 parameter 0 -disable 1 -enable 
IPV6_DHCPV6S_PARAM=0, 2001:db8::35, 2001:db8:1:2::1000, 2001:db8:1:2::2000, br0 ;dhcpv6 param
IPV6_ADDR_PARAM=0, 0, 0, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000 ;IPv6 Addr
;IPV6_TUNNEL_PARAM=0 ;6to4 Tunnel 

; for SAMBA
SAMBA_ENABLED=1
