Netgear R6400 support
[tomato.git] / release / src-rt-6.x.4708 / wnrtool / ambitCfg-r6400.h
blob4c8672a77a3013353548bf393135312532ecdd06
1 /***************************************************************************
2 #***
3 #*** Copyright 2005 Hon Hai Precision Ind. Co. Ltd.
4 #*** All Rights Reserved.
5 #*** No portions of this material shall be reproduced in any form without the
6 #*** written permission of Hon Hai Precision Ind. Co. Ltd.
7 #***
8 #*** All information contained in this document is Hon Hai Precision Ind.
9 #*** Co. Ltd. company private, proprietary, and trade secret property and
10 #*** are protected by international intellectual property laws and treaties.
11 #***
12 #****************************************************************************
13 ***
14 *** Filename: ambitCfg.h
15 ***
16 *** Description:
17 *** This file is specific to each project. Every project should have a
18 *** different copy of this file.
19 *** Included from ambit.h which is shared by every project.
20 ***
21 *** History:
22 ***
23 *** Modify Reason Author Date Search Flag(Option)
24 *** --------------------------------------------------------------------------------------
25 *** File Creation Jasmine Yang 11/02/2005
26 *******************************************************************************/
29 #ifndef _AMBITCFG_H
30 #define _AMBITCFG_H
32 #define WW_VERSION 1 /* WW SKUs */
33 #define NA_VERSION 2 /* NA SKUs */
34 #define JP_VERSION 3
35 #define GR_VERSION 4
36 #define PR_VERSION 5
37 #define KO_VERSION 6
38 #define RU_VERSION 7
39 #define SS_VERSION 8
40 #define PT_VERSION 9
41 #define TWC_VERSION 10
42 #define BRIC_VERSION 11
43 #define SK_VERSION 12
45 #define WLAN_REGION WW_VERSION
46 #define FW_REGION WW_VERSION /* true f/w region */
48 /*formal version control*/
49 #define AMBIT_HARDWARE_VERSION "U12H332T00"
50 #define AMBIT_SOFTWARE_VERSION "V1.0.1.99"
51 #define AMBIT_UI_VERSION "1.0.14"
52 #define STRING_TBL_VERSION "1.0.0.26_2.1.38.1"
54 #define AMBIT_PRODUCT_NAME "R6400"
55 #define AMBIT_PRODUCT_DESCRIPTION "802.11ac Dual Band Gigabit Wireless Router R6400"
56 #define UPnP_MODEL_URL "R6400.aspx"
57 #define UPnP_MODEL_DESCRIPTION "802.11ac"
59 #define AMBIT_NVRAM_VERSION "1" /* digital only */
61 #ifdef AMBIT_UPNP_SA_ENABLE /* Jasmine Add, 10/24/2006 */
62 #define SMART_WIZARD_SPEC_VERSION "0.7" /* This is specification version of smartwizard 2.0 */
63 #endif
64 /****************************************************************************
65 * Board-specific defintions
67 ****************************************************************************/
69 /* Interface definitions */
70 #define WAN_IF_NAME_NUM "eth0"
71 #define LAN_IF_NAME_NUM "vlan1"
72 #define WLAN_IF_NAME_NUM "eth1"
73 #define WLAN_N_IF_NAME_NUM "eth2"
74 #define WDS_IF_NAME_NUM "wds0.1" /* WDS interface */
76 /* Foxconn add start by aspen Bai, 11/13/2008 */
77 #ifdef MULTIPLE_SSID
78 #define WLAN_BSS1_NAME_NUM "wl0.1" /* Multiple BSSID #2 */
79 #define WLAN_BSS2_NAME_NUM "wl0.2" /* Multiple BSSID #3 */
80 #define WLAN_BSS3_NAME_NUM "wl0.3" /* Multiple BSSID #4 */
82 /* Foxconn add start, Tony W.Y. Wang, 03/22/2010 @For 5G*/
83 #define WLAN_5G_BSS1_NAME_NUM "wl1.1" /* Multiple BSSID #2 */
84 #define WLAN_5G_BSS2_NAME_NUM "wl1.2" /* Multiple BSSID #3 */
85 #define WLAN_5G_BSS3_NAME_NUM "wl1.3" /* Multiple BSSID #4 */
86 /* Foxconn add end, Tony W.Y. Wang, 03/22/2010 @For 5G*/
87 #endif /* MULTIPLE_SSID */
88 /* Foxconn add end by aspen Bai, 11/13/2008 */
90 /* GPIO definitions */
91 /* Foxconn modified start, Wins, 04/11/2011 */
93 #define GPIO_POWER_LED_GREEN 1
94 #define GPIO_POWER_LED_GREEN_STR "1"
95 #define GPIO_POWER_LED_AMBER 2
96 #define GPIO_POWER_LED_AMBER_STR "2"
98 #define GPIO_LOGO_LED_1 1
99 #define GPIO_LOGO_LED_1_STR "1"
100 #define GPIO_LOGO_LED_2 7
101 #define GPIO_LOGO_LED_2_STR "7"
103 #define GPIO_WAN_LED 6
104 #define GPIO_WAN_LED_2 7
107 #define GPIO_WIFI_2G_LED 9
108 #define GPIO_WIFI_5G_LED 8
109 #define GPIO_WIFI_SUMMARY_LED 11
112 #define LANG_TBL_MTD_RD "/dev/mtdblock"
113 #define LANG_TBL_MTD_WR "/dev/mtd"
115 #define ML_MTD_RD "/dev/mtdblock"
116 #define ML_MTD_WR "/dev/mtd"
117 /* MTD definitions */
118 #define ML1_MTD_RD "/dev/mtdblock9"
119 #define ML1_MTD_WR "/dev/mtd9"
120 #define ML2_MTD_RD "/dev/mtdblock10"
121 #define ML2_MTD_WR "/dev/mtd10"
123 #if defined(X_ST_ML)
124 #define ST_SUPPORT_NUM (9) /* The maxium value can be 2-10. */
125 #define LANG_TBL_MTD_START (9)
126 #define LANG_TBL_MTD_END (LANG_TBL_MTD_START + ST_SUPPORT_NUM - 1)
127 #define FLASH_MTD_ML_SIZE 0x20000 /* 128k */
128 #define BUILTIN_LANGUAGE "English"
130 #define BOOT_MTD_RD "/dev/mtdblock0"
131 #define BOOT_MTD_WR "/dev/mtd0"
134 #define ML3_MTD_RD "/dev/mtdblock11"
135 #define ML3_MTD_WR "/dev/mtd11"
136 #define ML4_MTD_RD "/dev/mtdblock12"
137 #define ML4_MTD_WR "/dev/mtd12"
138 #define ML5_MTD_RD "/dev/mtdblock13"
139 #define ML5_MTD_WR "/dev/mtd13"
140 #define ML6_MTD_RD "/dev/mtdblock14"
141 #define ML6_MTD_WR "/dev/mtd14"
142 #define ML7_MTD_RD "/dev/mtdblock15"
143 #define ML7_MTD_WR "/dev/mtd15"
145 #define TF1_MTD_RD "/dev/mtdblock7"
146 #define TF1_MTD_WR "/dev/mtd7"
147 #define TF2_MTD_RD "/dev/mtdblock8"
148 #define TF2_MTD_WR "/dev/mtd8"
150 #define POT_MTD_RD "/dev/mtdblock5"
151 #define POT_MTD_WR "/dev/mtd5"
153 #define BD_MTD_RD "/dev/mtdblock4"
154 #define BD_MTD_WR "/dev/mtd4"
156 #define NVRAM_MTD_RD "/dev/mtdblock1"
157 #define NVRAM_MTD_WR "/dev/mtd1"
158 #endif
160 #define KERNEL_MTD_RD "/dev/mtdblock2"
161 #define KERNEL_MTD_WR "/dev/mtd2"
163 #define ROOTFS_MTD_RD "/dev/mtdblock3"
164 #define ROOTFS_MTD_WR "/dev/mtd3"
166 #define LANG_TBL1_MTD_RD "/dev/mtdblock9"
167 #define LANG_TBL1_MTD_WR "/dev/mtd9"
168 #define LANG_TBL2_MTD_RD "/dev/mtdblock10"
169 #define LANG_TBL2_MTD_WR "/dev/mtd10"
171 #define POT2_MTD_RD "/dev/mtdblock6"
172 #define POT2_MTD_WR "/dev/mtd6"
174 #define QOS_MTD_RD "/dev/mtdblock16"
175 #define QOS_MTD_WR "/dev/mtd16"
178 /* wklin added start, 11/22/2006 */
179 /* The following definition is used in acosNvramConfig.c and acosNvramConfig.h
180 * to distingiush between Foxconn's and Broadcom's implementation.
182 #define BRCM_NVRAM /* use broadcom nvram instead of ours */
184 /* The following definition is to used as the key when doing des
185 * encryption/decryption of backup file.
186 * Have to be 7 octects.
188 #define BACKUP_FILE_KEY "NtgrBak"
189 /* wklin added end, 11/22/2006 */
191 /* Foxconn Perry added start, 2011/04/13, for document URL */
192 #define DOCUMENT_URL "http://documentation.netgear.com/wndr4500/enu/202-10581-01/index.htm"
193 /* Foxconn Perry added end, 2011/04/13, for document URL */
195 /* Foxconn Perry added start, 2011/08/17, for USB Support level */
196 #define USB_support_level "29" /* pling modified 5->13, add bit 4 for Readyshare Vault *//*kathy modified 13->29, add bit 16 for ReadyCLOUD */
197 /* Foxconn Perry added end, 2011/08/17, for USB Support level */
199 #endif /*_AMBITCFG_H*/