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*******************************************************************************/ 27 28 29#ifndef _AMBITCFG_H 30#define _AMBITCFG_H 31 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 44 45#define WLAN_REGION WW_VERSION 46#define FW_REGION WW_VERSION /* true f/w region */ 47 48#define HSDPA_DRIVER_VERSION "" 49#define HSDPA_SOFTWARE_VERSION "" 50 51/*formal version control*/ 52#define AMBIT_HARDWARE_VERSION "U12H270T00" 53#define AMBIT_SOFTWARE_VERSION "V1.0.7.12" 54#define AMBIT_UI_VERSION "1.2.5" 55#define STRING_TBL_VERSION "1.0.7.12_2.1.38.1" 56 57#define AMBIT_PRODUCT_NAME "R7000" 58#define AMBIT_PRODUCT_DESCRIPTION "802.11ac Dual Band Gigabit Wireless Router R7000" 59#define UPnP_MODEL_URL "R7000.aspx" 60#define UPnP_MODEL_DESCRIPTION "802.11ac" 61#define AMBIT_SKU_VERSION "" 62 63#define DF_2G_ROOTAP_SSID "NETGEAR_DF_2G_465" 64#define DF_5G_ROOTAP_SSID "NETGEAR_DF_5G_465" 65 66#define AMBIT_NVRAM_VERSION "1" /* digital only */ 67 68#ifdef AMBIT_UPNP_SA_ENABLE /* Jasmine Add, 10/24/2006 */ 69#define SMART_WIZARD_SPEC_VERSION "0.7" /* This is specification version of smartwizard 2.0 */ 70#endif 71 72/* [Foxc] BrianYang, 2014/11/24, Implement kwilt support */ 73#define KWILT_VERSION "20141204" 74#define KWILT_TARBALL_SIZE 6580335 75 76/**************************************************************************** 77 * Board-specific defintions 78 * 79 ****************************************************************************/ 80 81/* Interface definitions */ 82#define WAN_IF_NAME_NUM "eth0" 83#define LAN_IF_NAME_NUM "vlan1" 84#define WLAN_IF_NAME_NUM "eth1" 85#define WLAN_N_IF_NAME_NUM "eth2" 86#define WDS_IF_NAME_NUM "wds0.1" /* WDS interface */ 87 88/* Foxconn add start by aspen Bai, 11/13/2008 */ 89#ifdef MULTIPLE_SSID 90#define WLAN_BSS1_NAME_NUM "wl0.1" /* Multiple BSSID #2 */ 91#define WLAN_BSS2_NAME_NUM "wl0.2" /* Multiple BSSID #3 */ 92#define WLAN_BSS3_NAME_NUM "wl0.3" /* Multiple BSSID #4 */ 93 94/* Foxconn add start, Tony W.Y. Wang, 03/22/2010 @For 5G*/ 95#define WLAN_5G_BSS1_NAME_NUM "wl1.1" /* Multiple BSSID #2 */ 96#define WLAN_5G_BSS2_NAME_NUM "wl1.2" /* Multiple BSSID #3 */ 97#define WLAN_5G_BSS3_NAME_NUM "wl1.3" /* Multiple BSSID #4 */ 98/* Foxconn add end, Tony W.Y. Wang, 03/22/2010 @For 5G*/ 99#endif /* MULTIPLE_SSID */ 100/* Foxconn add end by aspen Bai, 11/13/2008 */ 101 102/* GPIO definitions */ 103/* Foxconn modified start, Wins, 04/11/2011 */ 104 105#define GPIO_POWER_LED_GREEN 2 106#define GPIO_POWER_LED_GREEN_STR "2" 107#define GPIO_POWER_LED_AMBER 3 108#define GPIO_POWER_LED_AMBER_STR "3" 109 110#define GPIO_LOGO_LED_1 1 111#define GPIO_LOGO_LED_1_STR "1" 112#define GPIO_LOGO_LED_2 9 113#define GPIO_LOGO_LED_2_STR "9" 114 115#define GPIO_WAN_LED 8 116#define GPIO_WAN_LED_2 9 117 118 119#define GPIO_WIFI_2G_LED 13 120#define GPIO_WIFI_5G_LED 12 121#define GPIO_WIFI_SUMMARY_LED 15 122 123 124#define LANG_TBL_MTD_RD "/dev/mtdblock" 125#define LANG_TBL_MTD_WR "/dev/mtd" 126 127#define ML_MTD_RD "/dev/mtdblock" 128#define ML_MTD_WR "/dev/mtd" 129/* MTD definitions */ 130#define ML1_MTD_RD "/dev/mtdblock9" 131#define ML1_MTD_WR "/dev/mtd9" 132#define ML2_MTD_RD "/dev/mtdblock10" 133#define ML2_MTD_WR "/dev/mtd10" 134 135#if defined(X_ST_ML) 136#define ST_SUPPORT_NUM (9) /* The maxium value can be 2-10. */ 137#define LANG_TBL_MTD_START (9) 138#define LANG_TBL_MTD_END (LANG_TBL_MTD_START + ST_SUPPORT_NUM - 1) 139#define FLASH_MTD_ML_SIZE 0x10000 140#define BUILTIN_LANGUAGE "English" 141 142#define BOOT_MTD_RD "/dev/mtdblock0" 143#define BOOT_MTD_WR "/dev/mtd0" 144 145 146#define ML3_MTD_RD "/dev/mtdblock11" 147#define ML3_MTD_WR "/dev/mtd11" 148#define ML4_MTD_RD "/dev/mtdblock12" 149#define ML4_MTD_WR "/dev/mtd12" 150#define ML5_MTD_RD "/dev/mtdblock13" 151#define ML5_MTD_WR "/dev/mtd13" 152#define ML6_MTD_RD "/dev/mtdblock14" 153#define ML6_MTD_WR "/dev/mtd14" 154#define ML7_MTD_RD "/dev/mtdblock15" 155#define ML7_MTD_WR "/dev/mtd15" 156 157#define TF1_MTD_RD "/dev/mtdblock7" 158#define TF1_MTD_WR "/dev/mtd7" 159#define TF2_MTD_RD "/dev/mtdblock8" 160#define TF2_MTD_WR "/dev/mtd8" 161 162#define POT_MTD_RD "/dev/mtdblock5" 163#define POT_MTD_WR "/dev/mtd5" 164 165#define BD_MTD_RD "/dev/mtdblock4" 166#define BD_MTD_WR "/dev/mtd4" 167 168#define NVRAM_MTD_RD "/dev/mtdblock1" 169#define NVRAM_MTD_WR "/dev/mtd1" 170#endif 171 172#define KERNEL_MTD_RD "/dev/mtdblock2" 173#define KERNEL_MTD_WR "/dev/mtd2" 174 175#define ROOTFS_MTD_RD "/dev/mtdblock3" 176#define ROOTFS_MTD_WR "/dev/mtd3" 177 178#define LANG_TBL1_MTD_RD "/dev/mtdblock9" 179#define LANG_TBL1_MTD_WR "/dev/mtd9" 180#define LANG_TBL2_MTD_RD "/dev/mtdblock10" 181#define LANG_TBL2_MTD_WR "/dev/mtd10" 182 183#define POT2_MTD_RD "/dev/mtdblock6" 184#define POT2_MTD_WR "/dev/mtd6" 185 186#define QOS_MTD_RD "/dev/mtdblock16" 187#define QOS_MTD_WR "/dev/mtd16" 188 189 190/* wklin added start, 11/22/2006 */ 191/* The following definition is used in acosNvramConfig.c and acosNvramConfig.h 192 * to distingiush between Foxconn's and Broadcom's implementation. 193 */ 194#define BRCM_NVRAM /* use broadcom nvram instead of ours */ 195 196/* The following definition is to used as the key when doing des 197 * encryption/decryption of backup file. 198 * Have to be 7 octects. 199 */ 200#define BACKUP_FILE_KEY "NtgrBak" 201/* wklin added end, 11/22/2006 */ 202 203/* Foxconn Perry added start, 2011/04/13, for document URL */ 204#define DOCUMENT_URL "http://documentation.netgear.com/wndr4500/enu/202-10581-01/index.htm" 205/* Foxconn Perry added end, 2011/04/13, for document URL */ 206 207/* Foxconn Perry added start, 2011/08/17, for USB Support level */ 208#define USB_support_level "29" /* pling modified 5->13, add bit 4 for Readyshare Vault *//*kathy modified 13->29, add bit 16 for ReadyCLOUD */ 209/* Foxconn Perry added end, 2011/08/17, for USB Support level */ 210 211#endif /*_AMBITCFG_H*/ 212