第一范文网 - 专业文章范例文档资料分享平台

MTK-OpenWrt-3.10.14-SDK

来源:用户分享 时间:2025/6/1 9:47:40 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

OpenWrt MediaTek AP Router 1.2.25

RTS Threshold

uci set wireless.chipname.rtsthres=n n could be: 1~2347

1.2.26 TX Power

uci set wireless.chipname.txpower=n n could be: 1~100

1.2.27 Short Preamble

uci set wireless.chipname.txpreamble=n n could be: 0: Disable 1: Enable

1.2.28 Short Slot

uci set wireless.chipname.shortslot=n n could be: 0: Disable 1: Enable

1.2.29 Tx Burst

uci set wireless.chipname.txburst=n n could be: 0: Disable 1: Enable

1.2.30 Pkt_Aggregate

uci set wireless.chipname.pktaggre=n n could be: 0: Disable 1: Enable

1.2.31 IEEE 802.11H Support

uci set wireless.chipname.pktaggre=n n could be: 0: Disable 1: Enable

1.2.32 Country Code

uci set wireless.chipname.country=str

str could be: ”US”, ”JP” ,”FR” ,”TW”, ”IE” ,”HK” ,”NONE”

MediaTek Confidential

? 2014 - 2015 MediaTek Inc.

Page 25 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.2.33

Region 0 1 2 3 4 5 6 7 31 32 33

Channels 1-11 1-13 10-11 10-13 14 1-14 3-9 5-13 1-14 1-11 active scan, 12 and 13 passive scan 1-14 all active scan, 14 b mode only 2.4G Country Region

uci set wireless.chipname.region=n

1.2.34

5G Country Region

uci set wireless.chipname.aregion=n Region 0 1 2 3 4 5 6 7 8 9 10 11

Channels 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140 36, 40, 44, 48, 52, 56, 60, 64 52, 56, 60, 64, 149, 153, 157, 161 149, 153, 157, 161, 165 149, 153, 157, 161 36, 40, 44, 48 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165 52, 56, 60, 64 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 132, 136, 140, 149, 153, 157, 161, 165 36, 40, 44, 48, 149, 153, 157, 161, 165 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 149, 153, 157, 161 MediaTek Confidential ? 2014 - 2015 MediaTek Inc. Page 26 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 2

MTK/Ralink Property Packages

Here are packages located under {SDKRoot}/package/ralink. Here is a brief introduction to them.

2.1

2.1.1

Applications

ated

ATE daemon. For factory test.

You should enable the “ATE/QA” option in the driver configuration. (Check “make menuocnfig” -> “ralink properties” -> “drivers” -> “mtxxxx”). Usage:

ated -i ifname # run as a daemon

2.1.2 btnd

A daemon program to handle GPIO button event.

Once it detects a button event (click, hold), it call corresponding shell scripts defined under /etc/btnd/ . Usage:

btnd & # run as a daemon

Assume that your product has 2 gpio buttons, one for “WiFi WPS”, uses gpio 2, the other for “restore factory settings”, uses gpio 1. Then you can: btnd wps 2 & // “wps” is a given name chosen by you. btnd reset 1 & // just make sure the given name matches the script name under /etc/btnd/. When the user clicked wps button (gpio 2), btnd would call “sh /etc/btnd/wps_click.sh”. When the user held reset button (gpio 1), btnd would call “sh /etc/btnd/reset_hold.sh”. You can put your own task in _hold.sh or _click.sh.

2.1.3 eth_mac

Change the Ethernet MAC address in EEPROM.

2.1.4 ethstt

A user tool to query switch port status. Usage:

ethstt # print switch port status ethstat –d # run as a daemon

MediaTek Confidential ? 2014 - 2015 MediaTek Inc. Page 27 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

2.1.5 gpio

A user tool to query switch port status. Usage:

gpio w - writing test (output) gpio r - reading test (input)

gpio i () - interrupt test for gpio number gpio l

2.1.6 nvram

A user tool to manage nvram data.

Usage:

Please check the command help message.

MediaTek Confidential ? 2014 - 2015 MediaTek Inc. Page 28 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.

搜索更多关于: MTK-OpenWrt-3.10.14-SDK 的文档
MTK-OpenWrt-3.10.14-SDK.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c9cp6b6on3637lyc0yeje_7.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top