JFFS for WNR3500Lv2
[tomato.git] / release / src-rt / wnrtool / ambitCfg-r6300.h
blobeed466938202e33fd0a33c70f6391c47318b7093
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 "U12H218T00"
50 #define AMBIT_SOFTWARE_VERSION "V1.0.2.68"
51 #define AMBIT_UI_VERSION "1.0.49"
52 #define STRING_TBL_VERSION "1.0.2.38_2.1.17.1"
54 #define AMBIT_PRODUCT_NAME "R6300"
55 #define AMBIT_PRODUCT_DESCRIPTION "N1800 Wireless Dual Band Gigabit Router R6300"
56 #define UPnP_MODEL_URL "R6300.aspx"
57 #define UPnP_MODEL_DESCRIPTION "N1800"
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 /* 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 /* 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 /* add end, Tony W.Y. Wang, 03/22/2010 @For 5G*/
87 #endif /* MULTIPLE_SSID */
88 /* add end by aspen Bai, 11/13/2008 */
90 /* GPIO definitions */
91 /* modified start, Wins, 04/11/2011 */
93 #define GPIO_POWER_LED_GREEN 2
94 #define GPIO_POWER_LED_GREEN_STR "2"
95 #define GPIO_POWER_LED_AMBER 3
96 #define GPIO_POWER_LED_AMBER_STR "3"
98 #define GPIO_LOGO_LED_1 1
99 #define GPIO_LOGO_LED_1_STR "1"
100 #define GPIO_LOGO_LED_2 9
101 #define GPIO_LOGO_LED_2_STR "9"
103 #define GPIO_WAN_LED 15
105 #if (defined WNDR4500AC)
106 #define GPIO_WIFI_5G_LED 11
107 #else
108 #define GPIO_WIFI_2G_LED 9
109 #define GPIO_WIFI_5G_LED 11
110 #endif
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/mtdblock3"
119 #define ML1_MTD_WR "/dev/mtd3"
120 #define ML2_MTD_RD "/dev/mtdblock4"
121 #define ML2_MTD_WR "/dev/mtd4"
123 #if defined(X_ST_ML)
124 #define ST_SUPPORT_NUM (7) /* The maxium value can be 2-10. */
125 #define LANG_TBL_MTD_START (3)
126 #define LANG_TBL_MTD_END (LANG_TBL_MTD_START + ST_SUPPORT_NUM - 1)
127 #define FLASH_MTD_ML_SIZE 0x10000
128 #define BUILTIN_LANGUAGE "English"
130 #define ML3_MTD_RD "/dev/mtdblock5"
131 #define ML3_MTD_WR "/dev/mtd5"
132 #define ML4_MTD_RD "/dev/mtdblock6"
133 #define ML4_MTD_WR "/dev/mtd6"
134 #define ML5_MTD_RD "/dev/mtdblock7"
135 #define ML5_MTD_WR "/dev/mtd7"
136 #define ML6_MTD_RD "/dev/mtdblock8"
137 #define ML6_MTD_WR "/dev/mtd8"
138 #define ML7_MTD_RD "/dev/mtdblock9"
139 #define ML7_MTD_WR "/dev/mtd9"
141 #define TF1_MTD_RD "/dev/mtdblock10"
142 #define TF1_MTD_WR "/dev/mtd10"
143 #define TF2_MTD_RD "/dev/mtdblock11"
144 #define TF2_MTD_WR "/dev/mtd11"
146 #define POT_MTD_RD "/dev/mtdblock12"
147 #define POT_MTD_WR "/dev/mtd12"
149 #define BD_MTD_RD "/dev/mtdblock13"
150 #define BD_MTD_WR "/dev/mtd13"
152 #define NVRAM_MTD_RD "/dev/mtdblock14"
153 #define NVRAM_MTD_WR "/dev/mtd14"
154 #else
155 #define TF1_MTD_RD "/dev/mtdblock5"
156 #define TF1_MTD_WR "/dev/mtd5"
157 #define TF2_MTD_RD "/dev/mtdblock6"
158 #define TF2_MTD_WR "/dev/mtd6"
160 #define POT_MTD_RD "/dev/mtdblock7"
161 #define POT_MTD_WR "/dev/mtd7"
163 #define BD_MTD_RD "/dev/mtdblock8"
164 #define BD_MTD_WR "/dev/mtd8"
166 #define NVRAM_MTD_RD "/dev/mtdblock9"
167 #define NVRAM_MTD_WR "/dev/mtd9"
168 #endif
172 /* wklin added start, 11/22/2006 */
173 /* The following definition is used in acosNvramConfig.c and acosNvramConfig.h
174 * to distingiush between 's and Broadcom's implementation.
176 #define BRCM_NVRAM /* use broadcom nvram instead of ours */
178 /* The following definition is to used as the key when doing des
179 * encryption/decryption of backup file.
180 * Have to be 7 octects.
182 #define BACKUP_FILE_KEY "NtgrBak"
183 /* wklin added end, 11/22/2006 */
185 /* Perry added start, 2011/04/13, for document URL */
186 #define DOCUMENT_URL "http://documentation.netgear.com/wndr4500/enu/202-10581-01/index.htm"
187 /* Perry added end, 2011/04/13, for document URL */
189 /* Perry added start, 2011/08/17, for USB Support level */
190 #define USB_support_level "5"
191 /* Perry added end, 2011/08/17, for USB Support level */
193 #endif /*_AMBITCFG_H*/