MTK-OpenWrt-3.10.14-SDK Release Notes Version: Release date: 3.1 2015-01-12 ? 2008 - 2015 MediaTek Inc. This document contains information that is proprietary to MediaTek Inc. Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited. Specifications are subject to change without notice. OpenWrt MediaTek AP Router Document Revision History
Revision 3.0 3.1 Date 2014.11.10 2014.11.27 Author Hua Shao Dragon Xiong Description OpenWrt 3.0, with up-to-date kernel & drivers from MTK/Ralink Linux SDK. OpenWrt3.1, support 7628A,7688A, besides update to fix some issue base on 3.0 MediaTek Confidential ? 2014 - 2015 MediaTek Inc. Page 2 of 34
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
OpenWrt MediaTek AP Router Table of Contents
Document Revision History .................................................................................................................. 2 Table of Contents ................................................................................................................................... 3 1
Introduction................................................................................................................................... 5 1.1 1.2 2
2.1 2.2 3 4
About OpenWrt ..................................................................................................................... 5 About this SDK ..................................................................................................................... 5 V3.0, 20141110 .................................................................................................................... 6 V3.1, 20141127 .................................................................................................................... 6
Change History ............................................................................................................................. 6
SDK Files ....................................................................................................................................... 7 Build the SDK ............................................................................................................................... 8 4.1 4.2 4.3 4.4
Setup Build Environment ...................................................................................................... 8 Check Build Dependency ..................................................................................................... 8 SDK root folder ..................................................................................................................... 8 Config ................................................................................................................................... 9 4.4.1 Config OpenWrt .................................................................................................... 9 4.4.2 Config Linux Kernel. ............................................................................................. 9 Build .................................................................................................................................... 10 Install Firmware .................................................................................................................. 11 LuCI .................................................................................................................................... 13 5.1.1 Install .................................................................................................................. 13 5.1.2 Config & Build ..................................................................................................... 13 5.1.3 Access ................................................................................................................ 14 LuCI-mtk ............................................................................................................................. 14 5.2.1 Install .................................................................................................................. 14 5.2.2 Configure wifi via luci-mtk .................................................................................. 15 Basic idea ........................................................................................................................... 19 Examples ............................................................................................................................ 19 1.2.1 SSID ................................................................................................................... 19 1.2.2 Encryption .......................................................................................................... 20 1.2.3 Key ..................................................................................................................... 21 1.2.4 Add new SSID (When multi-SSID is enabled) ................................................... 21 1.2.5 Remove SSID ..................................................................................................... 21 1.2.6 Wireless Mode .................................................................................................... 21 1.2.7 Radio On/Off ...................................................................................................... 22 1.2.8 Channel .............................................................................................................. 22 1.2.9 Operating Mode .................................................................................................. 22 1.2.10 Channel Band Width .......................................................................................... 22 1.2.11 Guard Interval ..................................................................................................... 22
? 2014 - 2015 MediaTek Inc.
Page 3 of 34
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
4.5 4.6 5
5.1
Web Interface .............................................................................................................................. 13
5.2
1 Wireless configuration via UCI ................................................................................................. 19 1.1 1.2
MediaTek Confidential
OpenWrt MediaTek AP Router 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34
2
2.1
MCS.................................................................................................................... 23 Reverse Direction Grant ..................................................................................... 23 Space Time Block Coding (STBC) ..................................................................... 23 Aggregation MSDU (A-MSDU) ........................................................................... 23 AP Power Saving (APSDCapable) ..................................................................... 23 WMM .................................................................................................................. 23 Decline BA Request ........................................................................................... 24 HT LDPC ............................................................................................................ 24 BG Protection Mode ........................................................................................... 24 VHT BW Signaling .............................................................................................. 24 Beacon Interval .................................................................................................. 24 Data Beacon Rate (DTIM) .................................................................................. 24 Fragment Threshold ........................................................................................... 24 RTS Threshold ................................................................................................... 25 TX Power ............................................................................................................ 25 Short Preamble .................................................................................................. 25 Short Slot ............................................................................................................ 25 Tx Burst .............................................................................................................. 25 Pkt_Aggregate .................................................................................................... 25 IEEE 802.11H Support ....................................................................................... 25 Country Code ..................................................................................................... 25 2.4G Country Region.......................................................................................... 26 5G Country Region ............................................................................................. 26
MTK/Ralink Property Packages ................................................................................................ 27
Applications ........................................................................................................................ 27
2.1.1 ated..................................................................................................................... 27 2.1.2 btnd..................................................................................................................... 27 2.1.3 eth_mac .............................................................................................................. 27 2.1.4 ethstt ................................................................................................................... 27 2.1.5 gpio ..................................................................................................................... 28 2.1.6 nvram ................................................................................................................. 28 2.1.7 mii_mgr ............................................................................................................... 29 2.1.8 reg ...................................................................................................................... 29 2.1.9 shdump ............................................................................................................... 29 2.1.10 switch ................................................................................................................. 30 2.1.11 uci2dat ................................................................................................................ 30 2.1.12 watchdog ............................................................................................................ 31 Drivers ................................................................................................................................ 31 2.2.1 MT7603e ............................................................................................................ 32 2.2.2 MT76x2e ............................................................................................................ 32
2.2
3
Patches ........................................................................................................................................ 34
MediaTek Confidential ? 2014 - 2015 MediaTek Inc. Page 4 of 34
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
OpenWrt MediaTek AP Router 1
1.1
Introduction
About OpenWrt
OpenWrt (http://www.openwrt.org/) is a linux distribution primarily used on embedded devices
to route network traffic. The main components are the Linux kernel, uClibc, busybox, and OpenWrt framework utilities. All components have been optimized for size, to be small enough for fitting into the limited storage and memory available in the routers.
1.2 About this SDK
This SDK is a MTK customized OpenWrt project.
To provide better compatibility and better stability, some OpenWrt drivers were replaced with
MTK drivers, such as Ethernet, USB, WiFi, SD Card, etc.
Brief Summary about this SDK:
? ? ? ? ? ?
OpenWrt framework: Barrier Breaker Linux Kernel: 3.10.14
Toolchain: toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2 MTK Linux SDK base: linux-3.10.14
Supported SoC Chips: MT7621, MT7628, MT7620
Supported WiFi Chips: MT7603e, MT7602e, MT7612e, MT7628, MT7620, MT7610e
MediaTek Confidential ? 2014 - 2015 MediaTek Inc. Page 5 of 34
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.