summaryrefslogtreecommitdiff
path: root/package/ramips/drivers/mt7615e
diff options
context:
space:
mode:
Diffstat (limited to 'package/ramips/drivers/mt7615e')
-rwxr-xr-xpackage/ramips/drivers/mt7615e/Makefile63
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e-sku-bf.dat65
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e-sku.dat65
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e.1.2G.dat432
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e.1.5G.dat432
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e.2.2G.dat432
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e.2.5G.dat432
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e.3.2G.dat432
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e.3.5G.dat432
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e.eeprom.binbin0 -> 1024 bytes
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e.inc45
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e2.sh116
-rwxr-xr-xpackage/ramips/drivers/mt7615e/files/mt7615e5.sh117
13 files changed, 3063 insertions, 0 deletions
diff --git a/package/ramips/drivers/mt7615e/Makefile b/package/ramips/drivers/mt7615e/Makefile
new file mode 100755
index 0000000..97d436a
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/Makefile
@@ -0,0 +1,63 @@
+# All rights reserved.
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
+
+# need modify wifi.mk driver version
+PKG_NAME:=mt7615e
+PKG_VERSION:=MT7615_LinuxAP_V4.4.1.2_20170514
+PKG_SOURCE:=MT7615_LinuxAP_V4.4.1.2_20170514.tar.bz2
+PKG_SOURCE_URL:=http://localhost/
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/mt7615e
+ CATEGORY:=MTK Properties
+ TITLE:=MTK MT7615e wifi AP profile only
+ SUBMENU:=Drivers
+# MENU:=1
+endef
+
+define Package/mt7615e/description
+ @echo "TBD"
+endef
+
+define Build/Prepare
+ @echo "this package is built with kernel"
+endef
+
+define Build/Compile
+ @echo "this package is built with kernel"
+endef
+
+define Package/mt7615e/install
+ $(INSTALL_DIR) $(1)/lib/wifi/
+ $(INSTALL_DIR) $(1)/etc/wireless/mt7615e/
+ $(INSTALL_BIN) ./files/mt7615e-sku.dat $(1)/etc/wireless/mt7615e/
+ $(INSTALL_BIN) ./files/mt7615e-sku-bf.dat $(1)/etc/wireless/mt7615e/
+ echo $(PKG_VERSION) > $(1)/etc/wireless/mt7615e/version
+ $(INSTALL_BIN) ./files/mt7615e.inc $(1)/lib/wifi/
+ $(INSTALL_BIN) ./files/mt7615e*.sh $(1)/lib/wifi/
+
+ if [ "$$(CONFIG_PACKAGE_mt7615e)" = "y" ]; then \
+ $(INSTALL_BIN) ./files/mt7615e.1.*.dat $(1)/etc/wireless/mt7615e/; \
+ $(INSTALL_BIN) ./files/mt7615e*.bin $(1)/etc/wireless/mt7615e/; \
+ fi
+
+ if [ "$$(CONFIG_KCONFIG_SECOND_IF_MT7615E)" = "y" ]; then \
+ $(INSTALL_BIN) ./files/mt7615e.2.*.dat $(1)/etc/wireless/mt7615e/; \
+ $(INSTALL_BIN) ./files/mt7615e*.bin $(1)/etc/wireless/mt7615e/; \
+ fi
+
+ if [ "$$(CONFIG_KCONFIG_THIRD_IF_MT7615E)" = "y" ]; then \
+ $(INSTALL_BIN) ./files/mt7615e.3.*.dat $(1)/etc/wireless/mt7615e/; \
+ $(INSTALL_BIN) ./files/mt7615e.3.dat $(1)/etc/wireless/mt7615e/; \
+ $(INSTALL_BIN) ./files/mt7615e*.bin $(1)/etc/wireless/mt7615e/; \
+ fi
+endef
+
+$(eval $(call BuildPackage,mt7615e))
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e-sku-bf.dat b/package/ramips/drivers/mt7615e/files/mt7615e-sku-bf.dat
new file mode 100755
index 0000000..20b39c3
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e-sku-bf.dat
@@ -0,0 +1,65 @@
+# Single SKU Max Power Table | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+# 2.4G Channel |CCK | | | |OFDM | | | | | | | |VHT20 | | | | | | | | | |VHT40 | | | | | | | | | |Txstream_Delta | | | | | | | | | | | | | | | | | | | | |
+Band: 2.4G |CCK_1M |CCK_2M |CCK_5.5M |CCK_11M |OFDM_6M |OFDM_9M |OFDM_12M |OFDM_18M |OFDM_24M |OFDM_36M |OFDM_48M |OFDM_54M |VHT20_MCS0 |VHT20_MCS1 |VHT20_MCS2 |VHT20_MCS3 |VHT20_MCS4 |VHT20_MCS5 |VHT20_MCS6 |VHT20_MCS7 |VHT20_MCS8 |VHT20_MCS9 |VHT40_MCS0 |VHT40_MCS1 |VHT40_MCS2 |VHT40_MCS3 |VHT40_MCS4 |VHT40_MCS5 |VHT40_MCS6 |VHT40_MCS7 |VHT40_MCS8 |VHT40_MCS9 |Txstream_3T |Txstream_2T |Txstream_1T | | | | | | | | | | | | | | | | | | |
+Ch1 |8 | |8 | |8 | |8 | |8 | |8 |8 |10 |8 | |8 | |8 | |20 |12 |18 |16 |8 | |8 | |8 | |9 |11 |12 |2 |1 |3 | | | | | | | | | | | | | | | | | | |
+Ch2 |8 | |8 | |8 | |8 | |8 | |8 |8 |15 |8 | |8 | |8 | |19 |19 |10 |12 |8 | |8 | |8 | |9 |16 |12 |5 |4 |0 | | | | | | | | | | | | | | | | | | |
+Ch3 |8 | |8 | |8 | |8 | |8 | |8 |8 |18 |8 | |8 | |8 | |17 |18 |16 |20 |8 | |8 | |8 | |12 |8 |20 |0 |2 |0 | | | | | | | | | | | | | | | | | | |
+Ch4 |8 | |8 | |8 | |8 | |8 | |8 |8 |9 |8 | |8 | |8 | |14 |10 |14 |18 |8 | |8 | |8 | |14 |12 |10 |3 |4 |5 | | | | | | | | | | | | | | | | | | |
+Ch5 |8 | |8 | |8 | |8 | |8 | |8 |8 |10 |8 | |8 | |8 | |10 |13 |11 |8 |8 | |8 | |8 | |12 |8 |9 |4 |5 |3 | | | | | | | | | | | | | | | | | | |
+Ch6 |8 | |8 | |8 | |8 | |8 | |8 |8 |13 |8 | |8 | |8 | |11 |9 |12 |16 |8 | |8 | |8 | |9 |17 |11 |5 |2 |1 | | | | | | | | | | | | | | | | | | |
+Ch7 |8 | |8 | |8 | |8 | |8 | |8 |8 |10 |8 | |8 | |8 | |14 |11 |13 |18 |8 | |8 | |8 | |16 |13 |10 |2 |5 |4 | | | | | | | | | | | | | | | | | | |
+Ch8 |8 | |8 | |8 | |8 | |8 | |8 |8 |15 |8 | |8 | |8 | |14 |9 |11 |10 |8 | |8 | |8 | |11 |14 |8 |5 |5 |3 | | | | | | | | | | | | | | | | | | |
+Ch9 |8 | |8 | |8 | |8 | |8 | |8 |8 |11 |8 | |8 | |8 | |12 |9 |15 |19 |8 | |8 | |8 | |14 |20 |12 |2 |5 |3 | | | | | | | | | | | | | | | | | | |
+Ch10 |8 | |8 | |8 | |8 | |8 | |8 |8 |14 |8 | |8 | |8 | |17 |14 |17 |15 |8 | |8 | |8 | |9 |17 |8 |2 |4 |2 | | | | | | | | | | | | | | | | | | |
+Ch11 |8 | |8 | |8 | |8 | |8 | |8 |8 |14 |8 | |8 | |8 | |20 |10 |20 |18 |8 | |8 | |8 | |12 |8 |20 |3 |1 |4 | | | | | | | | | | | | | | | | | | |
+Ch12 |8 | |8 | |8 | |8 | |8 | |8 |8 |18 |8 | |8 | |8 | |20 |16 |17 |9 |8 | |8 | |8 | |11 |20 |9 |0 |0 |1 | | | | | | | | | | | | | | | | | | |
+Ch13 |8 | |8 | |8 | |8 | |8 | |8 |8 |8 |8 | |8 | |8 | |11 |16 |19 |16 |8 | |8 | |8 | |15 |12 |12 |2 |0 |2 | | | | | | | | | | | | | | | | | | |
+Ch14 |8 | |8 | |8 | |8 | |8 | |8 |8 |10 |8 | |8 | |8 | |15 |17 |16 |14 |8 | |8 | |8 | |12 |14 |20 |4 |1 |5 | | | | | | | | | | | | | | | | | | |
+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+# 5G Channel |OFDM | | | | | | | |VHT20 | | | | | | | | | |VHT40 | | | | | | | | | |VHT80 | | | | | | | | | |VHT160 | | | | | | | | | |Txstream_Delta | | | | |
+Band: 5G |OFDM_6M |OFDM_9M |OFDM_12M |OFDM_18M |OFDM_24M |OFDM_36M |OFDM_48M |OFDM_54M |VHT20_MCS0 |VHT20_MCS1 |VHT20_MCS2 |VHT20_MCS3 |VHT20_MCS4 |VHT20_MCS5 |VHT20_MCS6 |VHT20_MCS7 |VHT20_MCS8 |VHT20_MCS9 |VHT40_MCS0 |VHT40_MCS1 |VHT40_MCS2 |VHT40_MCS3 |VHT40_MCS4 |VHT40_MCS5 |VHT40_MCS6 |VHT40_MCS7 |VHT40_MCS8 |VHT40_MCS9 |VHT80_MCS0 |VHT80_MCS1 |VHT80_MCS2 |VHT80_MCS3 |VHT80_MCS4 |VHT80_MCS5 |VHT80_MCS6 |VHT80_MCS7 |VHT80_MCS8 |VHT80_MCS9 |VHT160_MCS0 |VHT160_MCS1 |VHT160_MCS2 |VHT160_MCS3 |VHT160_MCS4 |VHT160_MCS5 |VHT160_MCS6 |VHT160_MCS7 |VHT160_MCS8 |VHT160_MCS9 |Txstream_3T |Txstream_2T |Txstream_1T | | |
+Ch184 |18 | |18 | |18 | |18 |18 |15 |18 | |12 | |13 | |11 |14 |16 |16 |12 | |12 | |13 | |20 |17 |16 |17 |18 | |9 | |16 | |17 |20 |18 |16 |19 | |15 | |9 | |17 |8 |17 |0 |4 |4 | | |
+Ch188 |18 | |18 | |18 | |18 |18 |16 |20 | |9 | |9 | |11 |8 |12 |18 |15 | |11 | |11 | |14 |8 |17 |16 |16 | |16 | |12 | |8 |13 |19 |18 |11 | |9 | |12 | |14 |8 |13 |5 |2 |0 | | |
+Ch192 |18 | |18 | |18 | |18 |18 |15 |9 | |11 | |9 | |15 |14 |11 |19 |15 | |8 | |18 | |20 |20 |8 |9 |9 | |9 | |11 | |18 |13 |14 |20 |18 | |10 | |14 | |12 |13 |16 |0 |2 |0 | | |
+Ch196 |18 | |18 | |18 | |18 |18 |10 |11 | |19 | |13 | |12 |11 |10 |13 |11 | |19 | |10 | |16 |20 |15 |15 |8 | |14 | |8 | |18 |20 |15 |17 |17 | |14 | |12 | |12 |8 |16 |4 |3 |2 | | |
+Ch8 |18 | |18 | |18 | |18 |18 |18 |13 | |19 | |20 | |18 |10 |9 |8 |8 | |17 | |15 | |17 |9 |18 |19 |11 | |12 | |15 | |20 |12 |12 |13 |9 | |9 | |15 | |10 |11 |17 |4 |3 |3 | | |
+Ch12 |18 | |18 | |18 | |18 |18 |17 |20 | |14 | |10 | |10 |16 |15 |13 |11 | |15 | |16 | |17 |11 |15 |9 |18 | |8 | |20 | |19 |11 |9 |20 |8 | |18 | |8 | |8 |18 |18 |1 |3 |4 | | |
+Ch16 |18 | |18 | |18 | |18 |18 |10 |18 | |18 | |8 | |19 |8 |12 |19 |16 | |19 | |18 | |16 |19 |12 |18 |18 | |9 | |10 | |18 |20 |20 |20 |9 | |11 | |20 | |17 |14 |16 |2 |2 |2 | | |
+Ch36 |18 | |18 | |18 | |18 |18 |18 |19 | |8 | |11 | |16 |10 |9 |19 |11 | |19 | |9 | |8 |19 |8 |11 |17 | |20 | |14 | |9 |19 |19 |20 |13 | |12 | |19 | |13 |17 |9 |5 |1 |2 | | |
+Ch40 |18 | |18 | |18 | |18 |18 |13 |20 | |13 | |19 | |16 |11 |14 |17 |17 | |14 | |8 | |13 |8 |10 |20 |10 | |9 | |14 | |11 |14 |17 |9 |20 | |15 | |19 | |9 |8 |11 |3 |1 |1 | | |
+Ch44 |18 | |18 | |18 | |18 |18 |10 |14 | |19 | |20 | |17 |16 |12 |18 |8 | |17 | |18 | |15 |19 |14 |11 |13 | |14 | |12 | |16 |16 |19 |13 |14 | |19 | |14 | |20 |20 |11 |5 |1 |0 | | |
+Ch48 |18 | |18 | |18 | |18 |18 |8 |12 | |12 | |19 | |11 |8 |11 |20 |12 | |12 | |11 | |15 |16 |10 |12 |16 | |11 | |15 | |18 |19 |17 |16 |17 | |11 | |8 | |10 |16 |16 |5 |5 |0 | | |
+Ch52 |18 | |18 | |18 | |18 |18 |15 |12 | |15 | |20 | |9 |10 |10 |14 |8 | |20 | |10 | |16 |17 |18 |11 |16 | |17 | |10 | |17 |12 |13 |17 |17 | |13 | |18 | |18 |20 |13 |4 |3 |4 | | |
+Ch56 |18 | |18 | |18 | |18 |18 |13 |16 | |15 | |13 | |15 |20 |13 |14 |11 | |10 | |20 | |10 |8 |16 |12 |10 | |16 | |11 | |9 |11 |14 |17 |12 | |17 | |13 | |18 |10 |19 |0 |3 |3 | | |
+Ch60 |18 | |18 | |18 | |18 |18 |14 |11 | |8 | |20 | |13 |16 |13 |11 |20 | |9 | |17 | |16 |11 |8 |12 |17 | |15 | |8 | |16 |10 |20 |19 |15 | |13 | |9 | |17 |18 |11 |4 |1 |2 | | |
+Ch64 |18 | |18 | |18 | |18 |18 |13 |14 | |8 | |12 | |17 |8 |12 |18 |17 | |17 | |14 | |18 |8 |8 |20 |17 | |16 | |20 | |9 |15 |11 |10 |11 | |18 | |10 | |10 |15 |19 |2 |1 |4 | | |
+Ch68 |18 | |18 | |18 | |18 |18 |14 |19 | |17 | |9 | |18 |19 |20 |12 |14 | |8 | |14 | |20 |20 |18 |9 |18 | |11 | |19 | |19 |10 |11 |8 |18 | |9 | |8 | |16 |11 |8 |3 |3 |1 | | |
+Ch72 |18 | |18 | |18 | |18 |18 |19 |13 | |20 | |11 | |16 |9 |19 |20 |19 | |14 | |8 | |9 |17 |13 |19 |15 | |8 | |9 | |19 |14 |19 |15 |18 | |16 | |12 | |13 |15 |10 |4 |3 |1 | | |
+Ch76 |18 | |18 | |18 | |18 |18 |17 |13 | |16 | |20 | |16 |8 |9 |20 |11 | |17 | |11 | |8 |18 |9 |20 |9 | |17 | |16 | |11 |11 |11 |18 |10 | |13 | |W | |20 |17 |8 |1 |3 |3 | | |
+Ch80 |18 | |18 | |18 | |18 |18 |14 |20 | |13 | |13 | |17 |8 |10 |16 |8 | |9 | |19 | |16 |17 |17 |19 |15 | |9 | |13 | |16 |13 |14 |12 |9 | |20 | |20 | |14 |18 |18 |0 |4 |2 | | |
+Ch84 |18 | |18 | |18 | |18 |18 |11 |18 | |20 | |9 | |13 |14 |11 |16 |15 | |12 | |11 | |9 |19 |13 |11 |11 | |9 | |15 | |16 |18 |13 |12 |8 | |8 | |8 | |10 |12 |15 |3 |2 |5 | | |
+Ch88 |18 | |18 | |18 | |18 |18 |18 |19 | |9 | |17 | |15 |8 |19 |11 |11 | |14 | |9 | |14 |20 |20 |11 |11 | |15 | |12 | |14 |11 |8 |18 |15 | |19 | |18 | |12 |20 |16 |5 |5 |1 | | |
+Ch92 |18 | |18 | |18 | |18 |18 |11 |8 | |15 | |13 | |13 |13 |13 |16 |14 | |14 | |9 | |9 |15 |20 |11 |17 | |10 | |14 | |13 |17 |11 |8 |18 | |20 | |8 | |10 |19 |18 |1 |4 |4 | | |
+Ch96 |18 | |18 | |18 | |18 |18 |8 |12 | |16 | |9 | |13 |12 |9 |8 |11 | |8 | |8 | |19 |11 |15 |16 |8 | |11 | |16 | |18 |16 |9 |19 |9 | |10 | |15 | |19 |19 |15 |4 |2 |4 | | |
+Ch100 |18 | |18 | |18 | |18 |18 |18 |13 | |20 | |20 | |12 |9 |19 |10 |9 | |14 | |8 | |19 |10 |17 |9 |10 | |10 | |8 | |13 |12 |11 |20 |11 | |16 | |18 | |14 |16 |19 |1 |1 |2 | | |
+Ch104 |18 | |18 | |18 | |18 |18 |19 |12 | |20 | |14 | |16 |15 |9 |19 |11 | |15 | |11 | |12 |18 |15 |11 |15 | |19 | |10 | |14 |15 |19 |9 |13 | |19 | |13 | |11 |11 |17 |2 |2 |0 | | |
+Ch108 |18 | |18 | |18 | |18 |18 |18 |15 | |13 | |16 | |11 |19 |19 |18 |19 | |12 | |17 | |8 |9 |10 |8 |8 | |18 | |8 | |10 |11 |17 |15 |10 | |19 | |13 | |16 |10 |15 |0 |2 |3 | | |
+Ch112 |18 | |18 | |18 | |18 |18 |8 |13 | |9 | |17 | |9 |15 |17 |10 |19 | |9 | |19 | |11 |16 |14 |16 |8 | |18 | |13 | |16 |13 |17 |19 |11 | |8 | |8 | |18 |14 |17 |5 |2 |5 | | |
+Ch116 |18 | |18 | |18 | |18 |18 |8 |20 | |11 | |15 | |8 |11 |8 |18 |15 | |13 | |17 | |14 |13 |9 |8 |14 | |14 | |11 | |9 |19 |17 |11 |11 | |8 | |20 | |8 |10 |20 |5 |2 |1 | | |
+Ch120 |18 | |18 | |18 | |18 |18 |14 |20 | |8 | |20 | |14 |10 |10 |17 |12 | |16 | |20 | |10 |20 |17 |18 |9 | |15 | |14 | |17 |13 |14 |16 |8 | |18 | |10 | |15 |12 |12 |1 |5 |3 | | |
+Ch124 |18 | |18 | |18 | |18 |18 |20 |9 | |17 | |12 | |12 |8 |14 |8 |8 | |20 | |17 | |16 |20 |13 |14 |16 | |10 | |14 | |20 |15 |17 |8 |10 | |13 | |13 | |11 |13 |9 |5 |0 |5 | | |
+Ch128 |18 | |18 | |18 | |18 |18 |9 |19 | |9 | |14 | |8 |14 |11 |9 |14 | |16 | |15 | |14 |10 |15 |14 |14 | |20 | |10 | |16 |15 |11 |12 |13 | |13 | |13 | |12 |15 |20 |1 |4 |3 | | |
+Ch132 |18 | |18 | |18 | |18 |18 |20 |16 | |13 | |8 | |18 |11 |20 |12 |11 | |11 | |14 | |12 |13 |8 |12 |13 | |10 | |20 | |19 |12 |13 |14 |12 | |11 | |19 | |19 |20 |8 |3 |1 |4 | | |
+Ch136 |18 | |18 | |18 | |18 |18 |12 |12 | |19 | |10 | |20 |10 |8 |17 |8 | |12 | |10 | |10 |13 |13 |12 |8 | |11 | |18 | |14 |12 |17 |8 |14 | |14 | |9 | |11 |18 |14 |1 |2 |2 | | |
+Ch140 |18 | |18 | |18 | |18 |18 |12 |10 | |13 | |9 | |16 |8 |20 |10 |17 | |8 | |15 | |13 |20 |15 |10 |18 | |13 | |12 | |12 |16 |18 |12 |17 | |10 | |16 | |11 |15 |14 |3 |2 |5 | | |
+Ch144 |18 | |18 | |18 | |18 |18 |19 |9 | |15 | |8 | |13 |18 |17 |9 |19 | |16 | |11 | |20 |12 |15 |19 |10 | |17 | |15 | |17 |14 |9 |9 |13 | |17 | |16 | |10 |9 |10 |1 |5 |2 | | |
+Ch149 |18 | |18 | |18 | |18 |18 |15 |20 | |12 | |19 | |19 |19 |10 |10 |13 | |15 | |19 | |12 |19 |10 |14 |15 | |10 | |15 | |9 |8 |11 |15 |13 | |10 | |16 | |15 |18 |12 |5 |5 |2 | | |
+Ch153 |18 | |18 | |18 | |18 |18 |20 |17 | |8 | |19 | |16 |20 |13 |16 |18 | |14 | |11 | |10 |16 |16 |19 |15 | |13 | |17 | |19 |18 |19 |20 |8 | |18 | |9 | |17 |11 |11 |1 |2 |1 | | |
+Ch157 |18 | |18 | |18 | |18 |18 |13 |17 | |12 | |19 | |16 |8 |17 |11 |12 | |15 | |14 | |18 |11 |12 |9 |18 | |20 | |13 | |16 |13 |20 |17 |19 | |10 | |12 | |20 |18 |16 |5 |2 |3 | | |
+Ch161 |18 | |18 | |18 | |18 |18 |12 |12 | |16 | |12 | |15 |11 |18 |11 |13 | |17 | |19 | |11 |13 |13 |9 |15 | |10 | |10 | |19 |13 |20 |13 |9 | |8 | |8 | |20 |14 |12 |0 |4 |1 | | |
+Ch165 |18 | |18 | |18 | |18 |18 |13 |16 | |15 | |13 | |15 |8 |19 |15 |10 | |17 | |13 | |13 |19 |20 |8 |18 | |15 | |20 | |16 |9 |14 |11 |20 | |11 | |19 | |15 |16 |8 |1 |2 |0 | | |
+Ch169 |18 | |18 | |18 | |18 |18 |8 |17 | |17 | |13 | |16 |8 |14 |18 |11 | |8 | |18 | |20 |14 |8 |17 |8 | |13 | |18 | |19 |20 |19 |20 |17 | |13 | |20 | |9 |15 |18 |0 |3 |4 | | |
+Ch173 |18 | |18 | |18 | |18 |18 |14 |9 | |13 | |12 | |15 |14 |15 |10 |10 | |18 | |16 | |16 |8 |13 |16 |11 | |11 | |13 | |13 |15 |12 |20 |15 | |14 | |13 | |16 |11 |14 |3 |3 |4 | | |
+Ch177 |18 | |18 | |18 | |18 |18 |19 |18 | |16 | |10 | |20 |13 |11 |16 |12 | |16 | |18 | |18 |11 |18 |8 |13 | |14 | |11 | |18 |14 |16 |16 |19 | |16 | |13 | |15 |8 |13 |5 |0 |0 | | |
+Ch181 |18 | |18 | |18 | |18 |18 |20 |11 | |10 | |9 | |8 |9 |15 |15 |8 | |8 | |12 | |11 |9 |18 |20 |11 | |17 | |11 | |8 |15 |8 |18 |12 | |18 | |16 | |19 |9 |14 |4 |1 |4 | | |
+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e-sku.dat b/package/ramips/drivers/mt7615e/files/mt7615e-sku.dat
new file mode 100755
index 0000000..20b39c3
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e-sku.dat
@@ -0,0 +1,65 @@
+# Single SKU Max Power Table | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+# 2.4G Channel |CCK | | | |OFDM | | | | | | | |VHT20 | | | | | | | | | |VHT40 | | | | | | | | | |Txstream_Delta | | | | | | | | | | | | | | | | | | | | |
+Band: 2.4G |CCK_1M |CCK_2M |CCK_5.5M |CCK_11M |OFDM_6M |OFDM_9M |OFDM_12M |OFDM_18M |OFDM_24M |OFDM_36M |OFDM_48M |OFDM_54M |VHT20_MCS0 |VHT20_MCS1 |VHT20_MCS2 |VHT20_MCS3 |VHT20_MCS4 |VHT20_MCS5 |VHT20_MCS6 |VHT20_MCS7 |VHT20_MCS8 |VHT20_MCS9 |VHT40_MCS0 |VHT40_MCS1 |VHT40_MCS2 |VHT40_MCS3 |VHT40_MCS4 |VHT40_MCS5 |VHT40_MCS6 |VHT40_MCS7 |VHT40_MCS8 |VHT40_MCS9 |Txstream_3T |Txstream_2T |Txstream_1T | | | | | | | | | | | | | | | | | | |
+Ch1 |8 | |8 | |8 | |8 | |8 | |8 |8 |10 |8 | |8 | |8 | |20 |12 |18 |16 |8 | |8 | |8 | |9 |11 |12 |2 |1 |3 | | | | | | | | | | | | | | | | | | |
+Ch2 |8 | |8 | |8 | |8 | |8 | |8 |8 |15 |8 | |8 | |8 | |19 |19 |10 |12 |8 | |8 | |8 | |9 |16 |12 |5 |4 |0 | | | | | | | | | | | | | | | | | | |
+Ch3 |8 | |8 | |8 | |8 | |8 | |8 |8 |18 |8 | |8 | |8 | |17 |18 |16 |20 |8 | |8 | |8 | |12 |8 |20 |0 |2 |0 | | | | | | | | | | | | | | | | | | |
+Ch4 |8 | |8 | |8 | |8 | |8 | |8 |8 |9 |8 | |8 | |8 | |14 |10 |14 |18 |8 | |8 | |8 | |14 |12 |10 |3 |4 |5 | | | | | | | | | | | | | | | | | | |
+Ch5 |8 | |8 | |8 | |8 | |8 | |8 |8 |10 |8 | |8 | |8 | |10 |13 |11 |8 |8 | |8 | |8 | |12 |8 |9 |4 |5 |3 | | | | | | | | | | | | | | | | | | |
+Ch6 |8 | |8 | |8 | |8 | |8 | |8 |8 |13 |8 | |8 | |8 | |11 |9 |12 |16 |8 | |8 | |8 | |9 |17 |11 |5 |2 |1 | | | | | | | | | | | | | | | | | | |
+Ch7 |8 | |8 | |8 | |8 | |8 | |8 |8 |10 |8 | |8 | |8 | |14 |11 |13 |18 |8 | |8 | |8 | |16 |13 |10 |2 |5 |4 | | | | | | | | | | | | | | | | | | |
+Ch8 |8 | |8 | |8 | |8 | |8 | |8 |8 |15 |8 | |8 | |8 | |14 |9 |11 |10 |8 | |8 | |8 | |11 |14 |8 |5 |5 |3 | | | | | | | | | | | | | | | | | | |
+Ch9 |8 | |8 | |8 | |8 | |8 | |8 |8 |11 |8 | |8 | |8 | |12 |9 |15 |19 |8 | |8 | |8 | |14 |20 |12 |2 |5 |3 | | | | | | | | | | | | | | | | | | |
+Ch10 |8 | |8 | |8 | |8 | |8 | |8 |8 |14 |8 | |8 | |8 | |17 |14 |17 |15 |8 | |8 | |8 | |9 |17 |8 |2 |4 |2 | | | | | | | | | | | | | | | | | | |
+Ch11 |8 | |8 | |8 | |8 | |8 | |8 |8 |14 |8 | |8 | |8 | |20 |10 |20 |18 |8 | |8 | |8 | |12 |8 |20 |3 |1 |4 | | | | | | | | | | | | | | | | | | |
+Ch12 |8 | |8 | |8 | |8 | |8 | |8 |8 |18 |8 | |8 | |8 | |20 |16 |17 |9 |8 | |8 | |8 | |11 |20 |9 |0 |0 |1 | | | | | | | | | | | | | | | | | | |
+Ch13 |8 | |8 | |8 | |8 | |8 | |8 |8 |8 |8 | |8 | |8 | |11 |16 |19 |16 |8 | |8 | |8 | |15 |12 |12 |2 |0 |2 | | | | | | | | | | | | | | | | | | |
+Ch14 |8 | |8 | |8 | |8 | |8 | |8 |8 |10 |8 | |8 | |8 | |15 |17 |16 |14 |8 | |8 | |8 | |12 |14 |20 |4 |1 |5 | | | | | | | | | | | | | | | | | | |
+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+# 5G Channel |OFDM | | | | | | | |VHT20 | | | | | | | | | |VHT40 | | | | | | | | | |VHT80 | | | | | | | | | |VHT160 | | | | | | | | | |Txstream_Delta | | | | |
+Band: 5G |OFDM_6M |OFDM_9M |OFDM_12M |OFDM_18M |OFDM_24M |OFDM_36M |OFDM_48M |OFDM_54M |VHT20_MCS0 |VHT20_MCS1 |VHT20_MCS2 |VHT20_MCS3 |VHT20_MCS4 |VHT20_MCS5 |VHT20_MCS6 |VHT20_MCS7 |VHT20_MCS8 |VHT20_MCS9 |VHT40_MCS0 |VHT40_MCS1 |VHT40_MCS2 |VHT40_MCS3 |VHT40_MCS4 |VHT40_MCS5 |VHT40_MCS6 |VHT40_MCS7 |VHT40_MCS8 |VHT40_MCS9 |VHT80_MCS0 |VHT80_MCS1 |VHT80_MCS2 |VHT80_MCS3 |VHT80_MCS4 |VHT80_MCS5 |VHT80_MCS6 |VHT80_MCS7 |VHT80_MCS8 |VHT80_MCS9 |VHT160_MCS0 |VHT160_MCS1 |VHT160_MCS2 |VHT160_MCS3 |VHT160_MCS4 |VHT160_MCS5 |VHT160_MCS6 |VHT160_MCS7 |VHT160_MCS8 |VHT160_MCS9 |Txstream_3T |Txstream_2T |Txstream_1T | | |
+Ch184 |18 | |18 | |18 | |18 |18 |15 |18 | |12 | |13 | |11 |14 |16 |16 |12 | |12 | |13 | |20 |17 |16 |17 |18 | |9 | |16 | |17 |20 |18 |16 |19 | |15 | |9 | |17 |8 |17 |0 |4 |4 | | |
+Ch188 |18 | |18 | |18 | |18 |18 |16 |20 | |9 | |9 | |11 |8 |12 |18 |15 | |11 | |11 | |14 |8 |17 |16 |16 | |16 | |12 | |8 |13 |19 |18 |11 | |9 | |12 | |14 |8 |13 |5 |2 |0 | | |
+Ch192 |18 | |18 | |18 | |18 |18 |15 |9 | |11 | |9 | |15 |14 |11 |19 |15 | |8 | |18 | |20 |20 |8 |9 |9 | |9 | |11 | |18 |13 |14 |20 |18 | |10 | |14 | |12 |13 |16 |0 |2 |0 | | |
+Ch196 |18 | |18 | |18 | |18 |18 |10 |11 | |19 | |13 | |12 |11 |10 |13 |11 | |19 | |10 | |16 |20 |15 |15 |8 | |14 | |8 | |18 |20 |15 |17 |17 | |14 | |12 | |12 |8 |16 |4 |3 |2 | | |
+Ch8 |18 | |18 | |18 | |18 |18 |18 |13 | |19 | |20 | |18 |10 |9 |8 |8 | |17 | |15 | |17 |9 |18 |19 |11 | |12 | |15 | |20 |12 |12 |13 |9 | |9 | |15 | |10 |11 |17 |4 |3 |3 | | |
+Ch12 |18 | |18 | |18 | |18 |18 |17 |20 | |14 | |10 | |10 |16 |15 |13 |11 | |15 | |16 | |17 |11 |15 |9 |18 | |8 | |20 | |19 |11 |9 |20 |8 | |18 | |8 | |8 |18 |18 |1 |3 |4 | | |
+Ch16 |18 | |18 | |18 | |18 |18 |10 |18 | |18 | |8 | |19 |8 |12 |19 |16 | |19 | |18 | |16 |19 |12 |18 |18 | |9 | |10 | |18 |20 |20 |20 |9 | |11 | |20 | |17 |14 |16 |2 |2 |2 | | |
+Ch36 |18 | |18 | |18 | |18 |18 |18 |19 | |8 | |11 | |16 |10 |9 |19 |11 | |19 | |9 | |8 |19 |8 |11 |17 | |20 | |14 | |9 |19 |19 |20 |13 | |12 | |19 | |13 |17 |9 |5 |1 |2 | | |
+Ch40 |18 | |18 | |18 | |18 |18 |13 |20 | |13 | |19 | |16 |11 |14 |17 |17 | |14 | |8 | |13 |8 |10 |20 |10 | |9 | |14 | |11 |14 |17 |9 |20 | |15 | |19 | |9 |8 |11 |3 |1 |1 | | |
+Ch44 |18 | |18 | |18 | |18 |18 |10 |14 | |19 | |20 | |17 |16 |12 |18 |8 | |17 | |18 | |15 |19 |14 |11 |13 | |14 | |12 | |16 |16 |19 |13 |14 | |19 | |14 | |20 |20 |11 |5 |1 |0 | | |
+Ch48 |18 | |18 | |18 | |18 |18 |8 |12 | |12 | |19 | |11 |8 |11 |20 |12 | |12 | |11 | |15 |16 |10 |12 |16 | |11 | |15 | |18 |19 |17 |16 |17 | |11 | |8 | |10 |16 |16 |5 |5 |0 | | |
+Ch52 |18 | |18 | |18 | |18 |18 |15 |12 | |15 | |20 | |9 |10 |10 |14 |8 | |20 | |10 | |16 |17 |18 |11 |16 | |17 | |10 | |17 |12 |13 |17 |17 | |13 | |18 | |18 |20 |13 |4 |3 |4 | | |
+Ch56 |18 | |18 | |18 | |18 |18 |13 |16 | |15 | |13 | |15 |20 |13 |14 |11 | |10 | |20 | |10 |8 |16 |12 |10 | |16 | |11 | |9 |11 |14 |17 |12 | |17 | |13 | |18 |10 |19 |0 |3 |3 | | |
+Ch60 |18 | |18 | |18 | |18 |18 |14 |11 | |8 | |20 | |13 |16 |13 |11 |20 | |9 | |17 | |16 |11 |8 |12 |17 | |15 | |8 | |16 |10 |20 |19 |15 | |13 | |9 | |17 |18 |11 |4 |1 |2 | | |
+Ch64 |18 | |18 | |18 | |18 |18 |13 |14 | |8 | |12 | |17 |8 |12 |18 |17 | |17 | |14 | |18 |8 |8 |20 |17 | |16 | |20 | |9 |15 |11 |10 |11 | |18 | |10 | |10 |15 |19 |2 |1 |4 | | |
+Ch68 |18 | |18 | |18 | |18 |18 |14 |19 | |17 | |9 | |18 |19 |20 |12 |14 | |8 | |14 | |20 |20 |18 |9 |18 | |11 | |19 | |19 |10 |11 |8 |18 | |9 | |8 | |16 |11 |8 |3 |3 |1 | | |
+Ch72 |18 | |18 | |18 | |18 |18 |19 |13 | |20 | |11 | |16 |9 |19 |20 |19 | |14 | |8 | |9 |17 |13 |19 |15 | |8 | |9 | |19 |14 |19 |15 |18 | |16 | |12 | |13 |15 |10 |4 |3 |1 | | |
+Ch76 |18 | |18 | |18 | |18 |18 |17 |13 | |16 | |20 | |16 |8 |9 |20 |11 | |17 | |11 | |8 |18 |9 |20 |9 | |17 | |16 | |11 |11 |11 |18 |10 | |13 | |W | |20 |17 |8 |1 |3 |3 | | |
+Ch80 |18 | |18 | |18 | |18 |18 |14 |20 | |13 | |13 | |17 |8 |10 |16 |8 | |9 | |19 | |16 |17 |17 |19 |15 | |9 | |13 | |16 |13 |14 |12 |9 | |20 | |20 | |14 |18 |18 |0 |4 |2 | | |
+Ch84 |18 | |18 | |18 | |18 |18 |11 |18 | |20 | |9 | |13 |14 |11 |16 |15 | |12 | |11 | |9 |19 |13 |11 |11 | |9 | |15 | |16 |18 |13 |12 |8 | |8 | |8 | |10 |12 |15 |3 |2 |5 | | |
+Ch88 |18 | |18 | |18 | |18 |18 |18 |19 | |9 | |17 | |15 |8 |19 |11 |11 | |14 | |9 | |14 |20 |20 |11 |11 | |15 | |12 | |14 |11 |8 |18 |15 | |19 | |18 | |12 |20 |16 |5 |5 |1 | | |
+Ch92 |18 | |18 | |18 | |18 |18 |11 |8 | |15 | |13 | |13 |13 |13 |16 |14 | |14 | |9 | |9 |15 |20 |11 |17 | |10 | |14 | |13 |17 |11 |8 |18 | |20 | |8 | |10 |19 |18 |1 |4 |4 | | |
+Ch96 |18 | |18 | |18 | |18 |18 |8 |12 | |16 | |9 | |13 |12 |9 |8 |11 | |8 | |8 | |19 |11 |15 |16 |8 | |11 | |16 | |18 |16 |9 |19 |9 | |10 | |15 | |19 |19 |15 |4 |2 |4 | | |
+Ch100 |18 | |18 | |18 | |18 |18 |18 |13 | |20 | |20 | |12 |9 |19 |10 |9 | |14 | |8 | |19 |10 |17 |9 |10 | |10 | |8 | |13 |12 |11 |20 |11 | |16 | |18 | |14 |16 |19 |1 |1 |2 | | |
+Ch104 |18 | |18 | |18 | |18 |18 |19 |12 | |20 | |14 | |16 |15 |9 |19 |11 | |15 | |11 | |12 |18 |15 |11 |15 | |19 | |10 | |14 |15 |19 |9 |13 | |19 | |13 | |11 |11 |17 |2 |2 |0 | | |
+Ch108 |18 | |18 | |18 | |18 |18 |18 |15 | |13 | |16 | |11 |19 |19 |18 |19 | |12 | |17 | |8 |9 |10 |8 |8 | |18 | |8 | |10 |11 |17 |15 |10 | |19 | |13 | |16 |10 |15 |0 |2 |3 | | |
+Ch112 |18 | |18 | |18 | |18 |18 |8 |13 | |9 | |17 | |9 |15 |17 |10 |19 | |9 | |19 | |11 |16 |14 |16 |8 | |18 | |13 | |16 |13 |17 |19 |11 | |8 | |8 | |18 |14 |17 |5 |2 |5 | | |
+Ch116 |18 | |18 | |18 | |18 |18 |8 |20 | |11 | |15 | |8 |11 |8 |18 |15 | |13 | |17 | |14 |13 |9 |8 |14 | |14 | |11 | |9 |19 |17 |11 |11 | |8 | |20 | |8 |10 |20 |5 |2 |1 | | |
+Ch120 |18 | |18 | |18 | |18 |18 |14 |20 | |8 | |20 | |14 |10 |10 |17 |12 | |16 | |20 | |10 |20 |17 |18 |9 | |15 | |14 | |17 |13 |14 |16 |8 | |18 | |10 | |15 |12 |12 |1 |5 |3 | | |
+Ch124 |18 | |18 | |18 | |18 |18 |20 |9 | |17 | |12 | |12 |8 |14 |8 |8 | |20 | |17 | |16 |20 |13 |14 |16 | |10 | |14 | |20 |15 |17 |8 |10 | |13 | |13 | |11 |13 |9 |5 |0 |5 | | |
+Ch128 |18 | |18 | |18 | |18 |18 |9 |19 | |9 | |14 | |8 |14 |11 |9 |14 | |16 | |15 | |14 |10 |15 |14 |14 | |20 | |10 | |16 |15 |11 |12 |13 | |13 | |13 | |12 |15 |20 |1 |4 |3 | | |
+Ch132 |18 | |18 | |18 | |18 |18 |20 |16 | |13 | |8 | |18 |11 |20 |12 |11 | |11 | |14 | |12 |13 |8 |12 |13 | |10 | |20 | |19 |12 |13 |14 |12 | |11 | |19 | |19 |20 |8 |3 |1 |4 | | |
+Ch136 |18 | |18 | |18 | |18 |18 |12 |12 | |19 | |10 | |20 |10 |8 |17 |8 | |12 | |10 | |10 |13 |13 |12 |8 | |11 | |18 | |14 |12 |17 |8 |14 | |14 | |9 | |11 |18 |14 |1 |2 |2 | | |
+Ch140 |18 | |18 | |18 | |18 |18 |12 |10 | |13 | |9 | |16 |8 |20 |10 |17 | |8 | |15 | |13 |20 |15 |10 |18 | |13 | |12 | |12 |16 |18 |12 |17 | |10 | |16 | |11 |15 |14 |3 |2 |5 | | |
+Ch144 |18 | |18 | |18 | |18 |18 |19 |9 | |15 | |8 | |13 |18 |17 |9 |19 | |16 | |11 | |20 |12 |15 |19 |10 | |17 | |15 | |17 |14 |9 |9 |13 | |17 | |16 | |10 |9 |10 |1 |5 |2 | | |
+Ch149 |18 | |18 | |18 | |18 |18 |15 |20 | |12 | |19 | |19 |19 |10 |10 |13 | |15 | |19 | |12 |19 |10 |14 |15 | |10 | |15 | |9 |8 |11 |15 |13 | |10 | |16 | |15 |18 |12 |5 |5 |2 | | |
+Ch153 |18 | |18 | |18 | |18 |18 |20 |17 | |8 | |19 | |16 |20 |13 |16 |18 | |14 | |11 | |10 |16 |16 |19 |15 | |13 | |17 | |19 |18 |19 |20 |8 | |18 | |9 | |17 |11 |11 |1 |2 |1 | | |
+Ch157 |18 | |18 | |18 | |18 |18 |13 |17 | |12 | |19 | |16 |8 |17 |11 |12 | |15 | |14 | |18 |11 |12 |9 |18 | |20 | |13 | |16 |13 |20 |17 |19 | |10 | |12 | |20 |18 |16 |5 |2 |3 | | |
+Ch161 |18 | |18 | |18 | |18 |18 |12 |12 | |16 | |12 | |15 |11 |18 |11 |13 | |17 | |19 | |11 |13 |13 |9 |15 | |10 | |10 | |19 |13 |20 |13 |9 | |8 | |8 | |20 |14 |12 |0 |4 |1 | | |
+Ch165 |18 | |18 | |18 | |18 |18 |13 |16 | |15 | |13 | |15 |8 |19 |15 |10 | |17 | |13 | |13 |19 |20 |8 |18 | |15 | |20 | |16 |9 |14 |11 |20 | |11 | |19 | |15 |16 |8 |1 |2 |0 | | |
+Ch169 |18 | |18 | |18 | |18 |18 |8 |17 | |17 | |13 | |16 |8 |14 |18 |11 | |8 | |18 | |20 |14 |8 |17 |8 | |13 | |18 | |19 |20 |19 |20 |17 | |13 | |20 | |9 |15 |18 |0 |3 |4 | | |
+Ch173 |18 | |18 | |18 | |18 |18 |14 |9 | |13 | |12 | |15 |14 |15 |10 |10 | |18 | |16 | |16 |8 |13 |16 |11 | |11 | |13 | |13 |15 |12 |20 |15 | |14 | |13 | |16 |11 |14 |3 |3 |4 | | |
+Ch177 |18 | |18 | |18 | |18 |18 |19 |18 | |16 | |10 | |20 |13 |11 |16 |12 | |16 | |18 | |18 |11 |18 |8 |13 | |14 | |11 | |18 |14 |16 |16 |19 | |16 | |13 | |15 |8 |13 |5 |0 |0 | | |
+Ch181 |18 | |18 | |18 | |18 |18 |20 |11 | |10 | |9 | |8 |9 |15 |15 |8 | |8 | |12 | |11 |9 |18 |20 |11 | |17 | |11 | |8 |15 |8 |18 |12 | |18 | |16 | |19 |9 |14 |4 |1 |4 | | |
+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e.1.2G.dat b/package/ramips/drivers/mt7615e/files/mt7615e.1.2G.dat
new file mode 100755
index 0000000..c707520
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e.1.2G.dat
@@ -0,0 +1,432 @@
+#The word of "Default" must not be removed
+Default
+CountryRegion=5
+CountryRegionABand=7
+CountryCode=US
+AutoChannelSkipList=
+DBDC_MODE=1
+IcapMode=0
+BssidNum=1
+SSID=
+SSID1=MT7615E.1.2G
+SSID2=
+SSID3=
+SSID4=
+SSID5=
+SSID6=
+SSID7=
+SSID8=
+SSID9=
+SSID10=
+SSID11=
+SSID12=
+SSID13=
+SSID14=
+SSID15=
+SSID16=
+RRMEnable=0
+FtSupport=0
+ChannelGrp=
+WirelessMode=9
+FixedTxMode=HT
+EthConvertMode=dongle
+TxRate=0
+Channel=6
+BasicRate=15
+BeaconPeriod=100
+DtimPeriod=1
+TxPower=100
+LinkTestSupport=0
+ThermalRecal=0
+SKUenable=0
+PERCENTAGEenable=1
+BFBACKOFFenable=0
+CalCacheApply=0
+DisableOLBC=0
+BGProtection=0
+TxAntenna=
+RxAntenna=
+TxPreamble=1
+RTSThreshold=2347
+FragThreshold=2346
+TxBurst=1
+PktAggregate=1
+AutoProvisionEn=0
+FreqDelta=0
+TurboRate=0
+WmmCapable=1
+APAifsn=3;7;1;1
+APCwmin=4;4;3;2
+APCwmax=6;10;4;3
+APTxop=0;0;94;47
+APACM=0;0;0;0
+BSSAifsn=3;7;2;2
+BSSCwmin=4;4;3;2
+BSSCwmax=10;10;4;3
+BSSTxop=0;0;94;47
+BSSACM=0;0;0;0
+AckPolicy=0;0;0;0
+APSDCapable=0
+DLSCapable=0
+NoForwarding=0
+NoForwardingBTNBSSID=0
+HideSSID=0
+ShortSlot=1
+AutoChannelSelect=0
+IEEE8021X=0
+IEEE80211H=1
+CarrierDetect=0
+ITxBfEn=0
+PreAntSwitch=
+PhyRateLimit=0
+DebugFlags=0
+ETxBfEnCond=0
+MUTxRxEnable=0
+ITxBfTimeout=0
+ETxBfTimeout=0
+ETxBfNoncompress=0
+ETxBfIncapable=0
+FineAGC=0
+StreamMode=0
+StreamModeMac0=
+StreamModeMac1=
+StreamModeMac2=
+StreamModeMac3=
+CSPeriod=6
+RDRegion=
+StationKeepAlive=0
+DfsCalibration=0
+DfsEnable=0
+DfsApplyStopWifi=0
+DfsZeroWait=0
+DfsZeroWaitCacTime=255
+DfsLowerLimit=0
+DfsUpperLimit=0
+DfsOutdoor=0
+SymRoundFromCfg=0
+BusyIdleFromCfg=0
+DfsRssiHighFromCfg=0
+DfsRssiLowFromCfg=0
+DFSParamFromConfig=0
+FCCParamCh0=
+FCCParamCh1=
+FCCParamCh2=
+FCCParamCh3=
+CEParamCh0=
+CEParamCh1=
+CEParamCh2=
+CEParamCh3=
+JAPParamCh0=
+JAPParamCh1=
+JAPParamCh2=
+JAPParamCh3=
+JAPW53ParamCh0=
+JAPW53ParamCh1=
+JAPW53ParamCh2=
+JAPW53ParamCh3=
+FixDfsLimit=0
+LongPulseRadarTh=0
+AvgRssiReq=0
+DFS_R66=0
+BlockCh=
+GreenAP=0
+PreAuth=0
+AuthMode=OPEN
+EncrypType=NONE
+WapiPsk1=
+WapiPsk2=
+WapiPsk3=
+WapiPsk4=
+WapiPsk5=
+WapiPsk6=
+WapiPsk7=
+WapiPsk8=
+WapiPsk9=
+WapiPsk10=
+WapiPsk11=
+WapiPsk12=
+WapiPsk13=
+WapiPsk14=
+WapiPsk15=
+WapiPsk16=
+WapiPskType=
+Wapiifname=
+WapiAsCertPath=
+WapiUserCertPath=
+WapiAsIpAddr=
+WapiAsPort=
+RekeyMethod=DISABLE
+RekeyInterval=3600
+PMKCachePeriod=10
+MeshAutoLink=0
+MeshAuthMode=
+MeshEncrypType=
+MeshDefaultkey=0
+MeshWEPKEY=
+MeshWPAKEY=
+MeshId=
+WPAPSK=
+WPAPSK1=12345678
+WPAPSK2=
+WPAPSK3=
+WPAPSK4=
+WPAPSK5=
+WPAPSK6=
+WPAPSK7=
+WPAPSK8=
+WPAPSK9=
+WPAPSK10=
+WPAPSK11=
+WPAPSK12=
+WPAPSK13=
+WPAPSK14=
+WPAPSK15=
+WPAPSK16=
+DefaultKeyID=1
+Key1Type=0
+Key1Str=
+Key1Str1=
+Key1Str2=
+Key1Str3=
+Key1Str4=
+Key1Str5=
+Key1Str6=
+Key1Str7=
+Key1Str8=
+Key1Str9=
+Key1Str10=
+Key1Str11=
+Key1Str12=
+Key1Str13=
+Key1Str14=
+Key1Str15=
+Key1Str16=
+Key2Type=0
+Key2Str=
+Key2Str1=
+Key2Str2=
+Key2Str3=
+Key2Str4=
+Key2Str5=
+Key2Str6=
+Key2Str7=
+Key2Str8=
+Key2Str9=
+Key2Str10=
+Key2Str11=
+Key2Str12=
+Key2Str13=
+Key2Str14=
+Key2Str15=
+Key2Str16=
+Key3Type=0
+Key3Str=
+Key3Str1=
+Key3Str2=
+Key3Str3=
+Key3Str4=
+Key3Str5=
+Key3Str6=
+Key3Str7=
+Key3Str8=
+Key3Str9=
+Key3Str10=
+Key3Str11=
+Key3Str12=
+Key3Str13=
+Key3Str14=
+Key3Str15=
+Key3Str16=
+Key4Type=0
+Key4Str=
+Key4Str1=
+Key4Str2=
+Key4Str3=
+Key4Str4=
+Key4Str5=
+Key4Str6=
+Key4Str7=
+Key4Str8=
+Key4Str9=
+Key4Str10=
+Key4Str11=
+Key4Str12=
+Key4Str13=
+Key4Str14=
+Key4Str15=
+Key4Str16=
+HSCounter=0
+HT_HTC=1
+HT_RDG=1
+HT_LinkAdapt=0
+HT_OpMode=0
+HT_MpduDensity=5
+HT_EXTCHA=1
+HT_BW=1
+HT_AutoBA=1
+HT_BADecline=0
+HT_AMSDU=1
+HT_BAWinSize=64
+HT_GI=1
+HT_STBC=1
+HT_MCS=33
+HT_TxStream=2
+HT_RxStream=2
+HT_PROTECT=1
+HT_DisallowTKIP=1
+HT_BSSCoexistence=0
+HT_LDPC=1
+VHT_BW=0
+VHT_Sec80_Channel=0
+VHT_STBC=0
+VHT_SGI=0
+VHT_BW_SIGNAL=0
+VHT_LDPC=0
+G_BAND_256QAM=1
+WscConfMode=0
+WscConfStatus=2
+WCNTest=0
+AccessPolicy0=0
+AccessControlList0=
+AccessPolicy1=0
+AccessControlList1=
+AccessPolicy2=0
+AccessControlList2=
+AccessPolicy3=0
+AccessControlList3=
+AccessPolicy4=0
+AccessControlList4=
+AccessPolicy5=0
+AccessControlList5=
+AccessPolicy6=0
+AccessControlList6=
+AccessPolicy7=0
+AccessControlList7=
+AccessPolicy8=0
+AccessControlList8=
+AccessPolicy9=0
+AccessControlList9=
+AccessPolicy10=0
+AccessControlList10=
+AccessPolicy11=0
+AccessControlList11=
+AccessPolicy12=0
+AccessControlList12=
+AccessPolicy13=0
+AccessControlList13=
+AccessPolicy14=0
+AccessControlList14=
+AccessPolicy15=0
+AccessControlList15=
+WdsEnable=0
+WdsPhyMode=
+WdsEncrypType=NONE
+WdsList=
+Wds0Key=
+Wds1Key=
+Wds2Key=
+Wds3Key=
+RADIUS_Server=0
+RADIUS_Port=1812
+RADIUS_Key1=
+RADIUS_Key2=
+RADIUS_Key3=
+RADIUS_Key4=
+RADIUS_Key5=
+RADIUS_Key6=
+RADIUS_Key7=
+RADIUS_Key8=
+RADIUS_Key9=
+RADIUS_Key10=
+RADIUS_Key11=
+RADIUS_Key12=
+RADIUS_Key13=
+RADIUS_Key14=
+RADIUS_Key15=
+RADIUS_Key16=
+RADIUS_Acct_Server=
+RADIUS_Acct_Port=1813
+RADIUS_Acct_Key=
+own_ip_addr=10.10.10.254
+Ethifname=
+EAPifname=br0
+PreAuthifname=br0
+session_timeout_interval=0
+idle_timeout_interval=0
+WiFiTest=0
+TGnWifiTest=0
+ApCliEnable=
+ApCliSsid=
+ApCliBssid=
+ApCliAuthMode=
+ApCliEncrypType=
+ApCliWPAPSK=
+ApCliDefaultKeyID=
+ApCliKey1Type=
+ApCliKey1Str=
+ApCliKey2Type=
+ApCliKey2Str=
+ApCliKey3Type=
+ApCliKey3Str=
+ApCliKey4Type=
+ApCliKey4Str=
+MACRepeaterEn=
+MACRepeaterOuiMode=2
+ApCliWirelessMode=9
+ApCliWPAPSK1=
+ApCliKey1Str1=
+ApCliKey2Str1=
+ApCliKey3Str1=
+ApCliKey4Str1=
+EfuseBufferMode=0
+E2pAccessMode=2
+PMFMFPC=0
+PMFMFPR=0
+PMFSHA256=0
+RadioOn=1
+BW_Enable=0
+BW_Root=0
+BW_Priority=
+BW_Guarantee_Rate=
+BW_Maximum_Rate=
+VOW_BW_Ctrl=
+VOW_Airtime_Fairness_En=1
+VOW_RX_En=
+VOW_Refill_Period=
+VOW_Sta_VO_DWRR_Quantum=
+VOW_Sta_VI_DWRR_Quantum=
+VOW_Sta_BE_DWRR_Quantum=
+VOW_Sta_BK_DWRR_Quantum=
+VOW_WMM_Search_Rule_Band0=
+VOW_WMM_Search_Rule_Band1=
+VOW_Sta_DWRR_Max_Wait_Time=
+VOW_Group_DWRR_Max_Wait_Time=
+VOW_Group_Min_Rate=
+VOW_Group_Max_Rate=
+VOW_Group_Min_Ratio=
+VOW_Group_Max_Ratio=
+VOW_Airtime_Ctrl_En=
+VOW_Rate_Ctrl_En=
+VOW_Group_Min_Rate_Bucket_Size=
+VOW_Group_Max_Rate_Bucket_Size=
+VOW_Group_Min_Airtime_Bucket_Size=
+VOW_Group_Max_Airtime_Bucket_Size=
+VOW_Group_Backlog=
+VOW_Group_Max_Wait_Time=
+VOW_Group_DWRR_Quantum=
+VOW_WATF_Enable=
+VOW_WATF_Q_LV0=
+VOW_WATF_Q_LV1=
+VOW_WATF_Q_LV2=
+VOW_WATF_Q_LV3=
+VOW_WATF_MAC_LV0=
+VOW_WATF_MAC_LV1=
+VOW_WATF_MAC_LV2=
+VOW_WATF_MAC_LV3=
+RED_Enable=1
+CP_SUPPORT=2
+BgndScanSkipCh=
+EDCCAEnable=1
+BandSteering=0
+BndStrgBssIdx=
+RadioLinkSelection=0
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e.1.5G.dat b/package/ramips/drivers/mt7615e/files/mt7615e.1.5G.dat
new file mode 100755
index 0000000..a72307e
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e.1.5G.dat
@@ -0,0 +1,432 @@
+#The word of "Default" must not be removed
+Default
+CountryRegion=5
+CountryRegionABand=7
+CountryCode=US
+AutoChannelSkipList=
+DBDC_MODE=1
+IcapMode=0
+BssidNum=1
+SSID=TVWS
+SSID1=MT7615E.1.5G
+SSID2=
+SSID3=
+SSID4=
+SSID5=
+SSID6=
+SSID7=
+SSID8=
+SSID9=
+SSID10=
+SSID11=
+SSID12=
+SSID13=
+SSID14=
+SSID15=
+SSID16=
+RRMEnable=0
+FtSupport=0
+ChannelGrp=
+WirelessMode=15
+FixedTxMode=HT
+EthConvertMode=
+TxRate=0
+Channel=157
+BasicRate=15
+BeaconPeriod=100
+DtimPeriod=1
+TxPower=100
+LinkTestSupport=0
+ThermalRecal=0
+SKUenable=0
+PERCENTAGEenable=1
+BFBACKOFFenable=0
+CalCacheApply=0
+DisableOLBC=0
+BGProtection=0
+TxAntenna=
+RxAntenna=
+TxPreamble=1
+RTSThreshold=2347
+FragThreshold=2346
+TxBurst=1
+PktAggregate=1
+AutoProvisionEn=0
+FreqDelta=0
+TurboRate=0
+WmmCapable=1
+APAifsn=3;7;1;1
+APCwmin=4;4;3;2
+APCwmax=6;10;4;3
+APTxop=0;0;94;47
+APACM=0;0;0;0
+BSSAifsn=3;7;2;2
+BSSCwmin=4;4;3;2
+BSSCwmax=10;10;4;3
+BSSTxop=0;0;94;47
+BSSACM=0;0;0;0
+AckPolicy=0;0;0;0
+APSDCapable=0
+DLSCapable=0
+NoForwarding=0
+NoForwardingBTNBSSID=0
+HideSSID=0
+ShortSlot=1
+AutoChannelSelect=0
+IEEE8021X=0
+IEEE80211H=1
+CarrierDetect=0
+ITxBfEn=0
+PreAntSwitch=1
+PhyRateLimit=0
+DebugFlags=0
+ETxBfEnCond=0
+MUTxRxEnable=0
+ITxBfTimeout=0
+ETxBfTimeout=0
+ETxBfNoncompress=0
+ETxBfIncapable=0
+FineAGC=0
+StreamMode=0
+StreamModeMac0=
+StreamModeMac1=
+StreamModeMac2=
+StreamModeMac3=
+CSPeriod=6
+RDRegion=
+StationKeepAlive=0
+DfsCalibration=0
+DfsEnable=1
+DfsApplyStopWifi=0
+DfsZeroWait=1
+DfsZeroWaitCacTime=255
+DfsLowerLimit=0
+DfsUpperLimit=0
+DfsOutdoor=0
+SymRoundFromCfg=0
+BusyIdleFromCfg=0
+DfsRssiHighFromCfg=0
+DfsRssiLowFromCfg=0
+DFSParamFromConfig=0
+FCCParamCh0=
+FCCParamCh1=
+FCCParamCh2=
+FCCParamCh3=
+CEParamCh0=
+CEParamCh1=
+CEParamCh2=
+CEParamCh3=
+JAPParamCh0=
+JAPParamCh1=
+JAPParamCh2=
+JAPParamCh3=
+JAPW53ParamCh0=
+JAPW53ParamCh1=
+JAPW53ParamCh2=
+JAPW53ParamCh3=
+FixDfsLimit=0
+LongPulseRadarTh=0
+AvgRssiReq=0
+DFS_R66=0
+BlockCh=
+GreenAP=0
+PreAuth=0
+AuthMode=OPEN
+EncrypType=NONE
+WapiPsk1=
+WapiPsk2=
+WapiPsk3=
+WapiPsk4=
+WapiPsk5=
+WapiPsk6=
+WapiPsk7=
+WapiPsk8=
+WapiPsk9=
+WapiPsk10=
+WapiPsk11=
+WapiPsk12=
+WapiPsk13=
+WapiPsk14=
+WapiPsk15=
+WapiPsk16=
+WapiPskType=
+Wapiifname=
+WapiAsCertPath=
+WapiUserCertPath=
+WapiAsIpAddr=
+WapiAsPort=
+RekeyMethod=DISABLE
+RekeyInterval=3600
+PMKCachePeriod=10
+MeshAutoLink=0
+MeshAuthMode=
+MeshEncrypType=
+MeshDefaultkey=0
+MeshWEPKEY=
+MeshWPAKEY=
+MeshId=
+WPAPSK=
+WPAPSK1=
+WPAPSK2=
+WPAPSK3=
+WPAPSK4=
+WPAPSK5=
+WPAPSK6=
+WPAPSK7=
+WPAPSK8=
+WPAPSK9=
+WPAPSK10=
+WPAPSK11=
+WPAPSK12=
+WPAPSK13=
+WPAPSK14=
+WPAPSK15=
+WPAPSK16=
+DefaultKeyID=1
+Key1Type=0
+Key1Str=
+Key1Str1=
+Key1Str2=
+Key1Str3=
+Key1Str4=
+Key1Str5=
+Key1Str6=
+Key1Str7=
+Key1Str8=
+Key1Str9=
+Key1Str10=
+Key1Str11=
+Key1Str12=
+Key1Str13=
+Key1Str14=
+Key1Str15=
+Key1Str16=
+Key2Type=0
+Key2Str=
+Key2Str1=
+Key2Str2=
+Key2Str3=
+Key2Str4=
+Key2Str5=
+Key2Str6=
+Key2Str7=
+Key2Str8=
+Key2Str9=
+Key2Str10=
+Key2Str11=
+Key2Str12=
+Key2Str13=
+Key2Str14=
+Key2Str15=
+Key2Str16=
+Key3Type=0
+Key3Str=
+Key3Str1=
+Key3Str2=
+Key3Str3=
+Key3Str4=
+Key3Str5=
+Key3Str6=
+Key3Str7=
+Key3Str8=
+Key3Str9=
+Key3Str10=
+Key3Str11=
+Key3Str12=
+Key3Str13=
+Key3Str14=
+Key3Str15=
+Key3Str16=
+Key4Type=0
+Key4Str=
+Key4Str1=
+Key4Str2=
+Key4Str3=
+Key4Str4=
+Key4Str5=
+Key4Str6=
+Key4Str7=
+Key4Str8=
+Key4Str9=
+Key4Str10=
+Key4Str11=
+Key4Str12=
+Key4Str13=
+Key4Str14=
+Key4Str15=
+Key4Str16=
+HSCounter=0
+HT_HTC=1
+HT_RDG=1
+HT_LinkAdapt=0
+HT_OpMode=0
+HT_MpduDensity=5
+HT_EXTCHA=1
+HT_BW=1
+HT_AutoBA=1
+HT_BADecline=0
+HT_AMSDU=1
+HT_BAWinSize=64
+HT_GI=1
+HT_STBC=1
+HT_MCS=33
+HT_TxStream=2
+HT_RxStream=2
+HT_PROTECT=1
+HT_DisallowTKIP=1
+HT_BSSCoexistence=1
+HT_LDPC=1
+VHT_BW=1
+VHT_Sec80_Channel=0
+VHT_STBC=1
+VHT_SGI=1
+VHT_BW_SIGNAL=0
+VHT_LDPC=1
+G_BAND_256QAM=1
+WscConfMode=0
+WscConfStatus=2
+WCNTest=0
+AccessPolicy0=0
+AccessControlList0=
+AccessPolicy1=0
+AccessControlList1=
+AccessPolicy2=0
+AccessControlList2=
+AccessPolicy3=0
+AccessControlList3=
+AccessPolicy4=0
+AccessControlList4=
+AccessPolicy5=0
+AccessControlList5=
+AccessPolicy6=0
+AccessControlList6=
+AccessPolicy7=0
+AccessControlList7=
+AccessPolicy8=0
+AccessControlList8=
+AccessPolicy9=0
+AccessControlList9=
+AccessPolicy10=0
+AccessControlList10=
+AccessPolicy11=0
+AccessControlList11=
+AccessPolicy12=0
+AccessControlList12=
+AccessPolicy13=0
+AccessControlList13=
+AccessPolicy14=0
+AccessControlList14=
+AccessPolicy15=0
+AccessControlList15=
+WdsEnable=0
+WdsPhyMode=
+WdsEncrypType=NONE
+WdsList=
+Wds0Key=
+Wds1Key=
+Wds2Key=
+Wds3Key=
+RADIUS_Server=0
+RADIUS_Port=1812
+RADIUS_Key1=
+RADIUS_Key2=
+RADIUS_Key3=
+RADIUS_Key4=
+RADIUS_Key5=
+RADIUS_Key6=
+RADIUS_Key7=
+RADIUS_Key8=
+RADIUS_Key9=
+RADIUS_Key10=
+RADIUS_Key11=
+RADIUS_Key12=
+RADIUS_Key13=
+RADIUS_Key14=
+RADIUS_Key15=
+RADIUS_Key16=
+RADIUS_Acct_Server=
+RADIUS_Acct_Port=1813
+RADIUS_Acct_Key=
+own_ip_addr=10.10.10.254
+Ethifname=
+EAPifname=br0
+PreAuthifname=br0
+session_timeout_interval=0
+idle_timeout_interval=0
+WiFiTest=0
+TGnWifiTest=0
+ApCliEnable=
+ApCliSsid=
+ApCliBssid=
+ApCliAuthMode=
+ApCliEncrypType=
+ApCliWPAPSK=
+ApCliDefaultKeyID=
+ApCliKey1Type=
+ApCliKey1Str=
+ApCliKey2Type=
+ApCliKey2Str=
+ApCliKey3Type=
+ApCliKey3Str=
+ApCliKey4Type=
+ApCliKey4Str=
+MACRepeaterEn=
+MACRepeaterOuiMode=2
+ApCliWirelessMode=15
+ApCliWPAPSK1=
+ApCliKey1Str1=
+ApCliKey2Str1=
+ApCliKey3Str1=
+ApCliKey4Str1=
+EfuseBufferMode=0
+E2pAccessMode=2
+PMFMFPC=0
+PMFMFPR=0
+PMFSHA256=0
+RadioOn=1
+BW_Enable=0
+BW_Root=0
+BW_Priority=
+BW_Guarantee_Rate=
+BW_Maximum_Rate=
+VOW_BW_Ctrl=
+VOW_Airtime_Fairness_En=1
+VOW_RX_En=
+VOW_Refill_Period=
+VOW_Sta_VO_DWRR_Quantum=
+VOW_Sta_VI_DWRR_Quantum=
+VOW_Sta_BE_DWRR_Quantum=
+VOW_Sta_BK_DWRR_Quantum=
+VOW_WMM_Search_Rule_Band0=
+VOW_WMM_Search_Rule_Band1=
+VOW_Sta_DWRR_Max_Wait_Time=
+VOW_Group_DWRR_Max_Wait_Time=
+VOW_Group_Min_Rate=
+VOW_Group_Max_Rate=
+VOW_Group_Min_Ratio=
+VOW_Group_Max_Ratio=
+VOW_Airtime_Ctrl_En=
+VOW_Rate_Ctrl_En=
+VOW_Group_Min_Rate_Bucket_Size=
+VOW_Group_Max_Rate_Bucket_Size=
+VOW_Group_Min_Airtime_Bucket_Size=
+VOW_Group_Max_Airtime_Bucket_Size=
+VOW_Group_Backlog=
+VOW_Group_Max_Wait_Time=
+VOW_Group_DWRR_Quantum=
+VOW_WATF_Enable=
+VOW_WATF_Q_LV0=
+VOW_WATF_Q_LV1=
+VOW_WATF_Q_LV2=
+VOW_WATF_Q_LV3=
+VOW_WATF_MAC_LV0=
+VOW_WATF_MAC_LV1=
+VOW_WATF_MAC_LV2=
+VOW_WATF_MAC_LV3=
+RED_Enable=1
+CP_SUPPORT=
+BgndScanSkipCh=
+EDCCAEnable=0
+BandSteering=0
+BndStrgBssIdx=
+RadioLinkSelection=0
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e.2.2G.dat b/package/ramips/drivers/mt7615e/files/mt7615e.2.2G.dat
new file mode 100755
index 0000000..80f7a07
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e.2.2G.dat
@@ -0,0 +1,432 @@
+#The word of "Default" must not be removed
+Default
+CountryRegion=5
+CountryRegionABand=7
+CountryCode=
+AutoChannelSkipList=
+DBDC_MODE=1
+IcapMode=0
+BssidNum=1
+SSID=
+SSID1=MT7615E.2.2G
+SSID2=
+SSID3=
+SSID4=
+SSID5=
+SSID6=
+SSID7=
+SSID8=
+SSID9=
+SSID10=
+SSID11=
+SSID12=
+SSID13=
+SSID14=
+SSID15=
+SSID16=
+RRMEnable=0
+FtSupport=0
+ChannelGrp=
+WirelessMode=9
+FixedTxMode=HT
+EthConvertMode=dongle
+TxRate=0
+Channel=6
+BasicRate=15
+BeaconPeriod=100
+DtimPeriod=1
+TxPower=100
+LinkTestSupport=0
+ThermalRecal=0
+SKUenable=0
+PERCENTAGEenable=1
+BFBACKOFFenable=0
+CalCacheApply=0
+DisableOLBC=0
+BGProtection=0
+TxAntenna=
+RxAntenna=
+TxPreamble=0
+RTSThreshold=2347
+FragThreshold=2346
+TxBurst=1
+PktAggregate=1
+AutoProvisionEn=0
+FreqDelta=0
+TurboRate=0
+WmmCapable=1
+APAifsn=3;7;1;1
+APCwmin=4;4;3;2
+APCwmax=6;10;4;3
+APTxop=0;0;94;47
+APACM=0;0;0;0
+BSSAifsn=3;7;2;2
+BSSCwmin=4;4;3;2
+BSSCwmax=10;10;4;3
+BSSTxop=0;0;94;47
+BSSACM=0;0;0;0
+AckPolicy=0;0;0;0
+APSDCapable=0
+DLSCapable=0
+NoForwarding=0
+NoForwardingBTNBSSID=0
+HideSSID=0
+ShortSlot=1
+AutoChannelSelect=0
+IEEE8021X=0
+IEEE80211H=1
+CarrierDetect=0
+ITxBfEn=0
+PreAntSwitch=
+PhyRateLimit=0
+DebugFlags=0
+ETxBfEnCond=0
+MUTxRxEnable=0
+ITxBfTimeout=0
+ETxBfTimeout=0
+ETxBfNoncompress=0
+ETxBfIncapable=0
+FineAGC=0
+StreamMode=0
+StreamModeMac0=
+StreamModeMac1=
+StreamModeMac2=
+StreamModeMac3=
+CSPeriod=6
+RDRegion=
+StationKeepAlive=0
+DfsCalibration=0
+DfsEnable=0
+DfsApplyStopWifi=0
+DfsZeroWait=0
+DfsZeroWaitCacTime=255
+DfsLowerLimit=0
+DfsUpperLimit=0
+DfsOutdoor=0
+SymRoundFromCfg=0
+BusyIdleFromCfg=0
+DfsRssiHighFromCfg=0
+DfsRssiLowFromCfg=0
+DFSParamFromConfig=0
+FCCParamCh0=
+FCCParamCh1=
+FCCParamCh2=
+FCCParamCh3=
+CEParamCh0=
+CEParamCh1=
+CEParamCh2=
+CEParamCh3=
+JAPParamCh0=
+JAPParamCh1=
+JAPParamCh2=
+JAPParamCh3=
+JAPW53ParamCh0=
+JAPW53ParamCh1=
+JAPW53ParamCh2=
+JAPW53ParamCh3=
+FixDfsLimit=0
+LongPulseRadarTh=0
+AvgRssiReq=0
+DFS_R66=0
+BlockCh=
+GreenAP=0
+PreAuth=0
+AuthMode=OPEN
+EncrypType=NONE
+WapiPsk1=
+WapiPsk2=
+WapiPsk3=
+WapiPsk4=
+WapiPsk5=
+WapiPsk6=
+WapiPsk7=
+WapiPsk8=
+WapiPsk9=
+WapiPsk10=
+WapiPsk11=
+WapiPsk12=
+WapiPsk13=
+WapiPsk14=
+WapiPsk15=
+WapiPsk16=
+WapiPskType=
+Wapiifname=
+WapiAsCertPath=
+WapiUserCertPath=
+WapiAsIpAddr=
+WapiAsPort=
+RekeyMethod=DISABLE
+RekeyInterval=3600
+PMKCachePeriod=10
+MeshAutoLink=0
+MeshAuthMode=
+MeshEncrypType=
+MeshDefaultkey=0
+MeshWEPKEY=
+MeshWPAKEY=
+MeshId=
+WPAPSK=
+WPAPSK1=12345678
+WPAPSK2=
+WPAPSK3=
+WPAPSK4=
+WPAPSK5=
+WPAPSK6=
+WPAPSK7=
+WPAPSK8=
+WPAPSK9=
+WPAPSK10=
+WPAPSK11=
+WPAPSK12=
+WPAPSK13=
+WPAPSK14=
+WPAPSK15=
+WPAPSK16=
+DefaultKeyID=1
+Key1Type=0
+Key1Str=
+Key1Str1=
+Key1Str2=
+Key1Str3=
+Key1Str4=
+Key1Str5=
+Key1Str6=
+Key1Str7=
+Key1Str8=
+Key1Str9=
+Key1Str10=
+Key1Str11=
+Key1Str12=
+Key1Str13=
+Key1Str14=
+Key1Str15=
+Key1Str16=
+Key2Type=0
+Key2Str=
+Key2Str1=
+Key2Str2=
+Key2Str3=
+Key2Str4=
+Key2Str5=
+Key2Str6=
+Key2Str7=
+Key2Str8=
+Key2Str9=
+Key2Str10=
+Key2Str11=
+Key2Str12=
+Key2Str13=
+Key2Str14=
+Key2Str15=
+Key2Str16=
+Key3Type=0
+Key3Str=
+Key3Str1=
+Key3Str2=
+Key3Str3=
+Key3Str4=
+Key3Str5=
+Key3Str6=
+Key3Str7=
+Key3Str8=
+Key3Str9=
+Key3Str10=
+Key3Str11=
+Key3Str12=
+Key3Str13=
+Key3Str14=
+Key3Str15=
+Key3Str16=
+Key4Type=0
+Key4Str=
+Key4Str1=
+Key4Str2=
+Key4Str3=
+Key4Str4=
+Key4Str5=
+Key4Str6=
+Key4Str7=
+Key4Str8=
+Key4Str9=
+Key4Str10=
+Key4Str11=
+Key4Str12=
+Key4Str13=
+Key4Str14=
+Key4Str15=
+Key4Str16=
+HSCounter=0
+HT_HTC=1
+HT_RDG=1
+HT_LinkAdapt=0
+HT_OpMode=0
+HT_MpduDensity=5
+HT_EXTCHA=1
+HT_BW=1
+HT_AutoBA=1
+HT_BADecline=0
+HT_AMSDU=1
+HT_BAWinSize=64
+HT_GI=1
+HT_STBC=1
+HT_MCS=33
+HT_TxStream=2
+HT_RxStream=2
+HT_PROTECT=1
+HT_DisallowTKIP=1
+HT_BSSCoexistence=0
+HT_LDPC=1
+VHT_BW=0
+VHT_Sec80_Channel=0
+VHT_STBC=0
+VHT_SGI=0
+VHT_BW_SIGNAL=0
+VHT_LDPC=0
+G_BAND_256QAM=1
+WscConfMode=0
+WscConfStatus=2
+WCNTest=0
+AccessPolicy0=0
+AccessControlList0=
+AccessPolicy1=0
+AccessControlList1=
+AccessPolicy2=0
+AccessControlList2=
+AccessPolicy3=0
+AccessControlList3=
+AccessPolicy4=0
+AccessControlList4=
+AccessPolicy5=0
+AccessControlList5=
+AccessPolicy6=0
+AccessControlList6=
+AccessPolicy7=0
+AccessControlList7=
+AccessPolicy8=0
+AccessControlList8=
+AccessPolicy9=0
+AccessControlList9=
+AccessPolicy10=0
+AccessControlList10=
+AccessPolicy11=0
+AccessControlList11=
+AccessPolicy12=0
+AccessControlList12=
+AccessPolicy13=0
+AccessControlList13=
+AccessPolicy14=0
+AccessControlList14=
+AccessPolicy15=0
+AccessControlList15=
+WdsEnable=0
+WdsPhyMode=
+WdsEncrypType=NONE
+WdsList=
+Wds0Key=
+Wds1Key=
+Wds2Key=
+Wds3Key=
+RADIUS_Server=0
+RADIUS_Port=1812
+RADIUS_Key1=
+RADIUS_Key2=
+RADIUS_Key3=
+RADIUS_Key4=
+RADIUS_Key5=
+RADIUS_Key6=
+RADIUS_Key7=
+RADIUS_Key8=
+RADIUS_Key9=
+RADIUS_Key10=
+RADIUS_Key11=
+RADIUS_Key12=
+RADIUS_Key13=
+RADIUS_Key14=
+RADIUS_Key15=
+RADIUS_Key16=
+RADIUS_Acct_Server=
+RADIUS_Acct_Port=1813
+RADIUS_Acct_Key=
+own_ip_addr=10.10.10.254
+Ethifname=
+EAPifname=br0
+PreAuthifname=br0
+session_timeout_interval=0
+idle_timeout_interval=0
+WiFiTest=0
+TGnWifiTest=0
+ApCliEnable=
+ApCliSsid=
+ApCliBssid=
+ApCliAuthMode=
+ApCliEncrypType=
+ApCliWPAPSK=
+ApCliDefaultKeyID=
+ApCliKey1Type=
+ApCliKey1Str=
+ApCliKey2Type=
+ApCliKey2Str=
+ApCliKey3Type=
+ApCliKey3Str=
+ApCliKey4Type=
+ApCliKey4Str=
+MACRepeaterEn=
+MACRepeaterOuiMode=2
+ApCliWirelessMode=9
+ApCliWPAPSK1=
+ApCliKey1Str1=
+ApCliKey2Str1=
+ApCliKey3Str1=
+ApCliKey4Str1=
+EfuseBufferMode=0
+E2pAccessMode=2
+PMFMFPC=0
+PMFMFPR=0
+PMFSHA256=0
+RadioOn=1
+BW_Enable=0
+BW_Root=0
+BW_Priority=
+BW_Guarantee_Rate=
+BW_Maximum_Rate=
+VOW_BW_Ctrl=
+VOW_Airtime_Fairness_En=1
+VOW_RX_En=
+VOW_Refill_Period=
+VOW_Sta_VO_DWRR_Quantum=
+VOW_Sta_VI_DWRR_Quantum=
+VOW_Sta_BE_DWRR_Quantum=
+VOW_Sta_BK_DWRR_Quantum=
+VOW_WMM_Search_Rule_Band0=
+VOW_WMM_Search_Rule_Band1=
+VOW_Sta_DWRR_Max_Wait_Time=
+VOW_Group_DWRR_Max_Wait_Time=
+VOW_Group_Min_Rate=
+VOW_Group_Max_Rate=
+VOW_Group_Min_Ratio=
+VOW_Group_Max_Ratio=
+VOW_Airtime_Ctrl_En=
+VOW_Rate_Ctrl_En=
+VOW_Group_Min_Rate_Bucket_Size=
+VOW_Group_Max_Rate_Bucket_Size=
+VOW_Group_Min_Airtime_Bucket_Size=
+VOW_Group_Max_Airtime_Bucket_Size=
+VOW_Group_Backlog=
+VOW_Group_Max_Wait_Time=
+VOW_Group_DWRR_Quantum=
+VOW_WATF_Enable=
+VOW_WATF_Q_LV0=
+VOW_WATF_Q_LV1=
+VOW_WATF_Q_LV2=
+VOW_WATF_Q_LV3=
+VOW_WATF_MAC_LV0=
+VOW_WATF_MAC_LV1=
+VOW_WATF_MAC_LV2=
+VOW_WATF_MAC_LV3=
+RED_Enable=1
+CP_SUPPORT=2
+BgndScanSkipCh=
+EDCCAEnable=1
+BandSteering=0
+BndStrgBssIdx=
+RadioLinkSelection=0
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e.2.5G.dat b/package/ramips/drivers/mt7615e/files/mt7615e.2.5G.dat
new file mode 100755
index 0000000..9e96606
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e.2.5G.dat
@@ -0,0 +1,432 @@
+#The word of "Default" must not be removed
+Default
+CountryRegion=5
+CountryRegionABand=7
+CountryCode=
+AutoChannelSkipList=
+DBDC_MODE=1
+IcapMode=0
+BssidNum=1
+SSID=TVWS
+SSID1=MT7615E.2.5G
+SSID2=
+SSID3=
+SSID4=
+SSID5=
+SSID6=
+SSID7=
+SSID8=
+SSID9=
+SSID10=
+SSID11=
+SSID12=
+SSID13=
+SSID14=
+SSID15=
+SSID16=
+RRMEnable=0
+FtSupport=0
+ChannelGrp=
+WirelessMode=15
+FixedTxMode=HT
+EthConvertMode=
+TxRate=0
+Channel=157
+BasicRate=15
+BeaconPeriod=100
+DtimPeriod=1
+TxPower=100
+LinkTestSupport=0
+ThermalRecal=0
+SKUenable=0
+PERCENTAGEenable=0
+BFBACKOFFenable=0
+CalCacheApply=0
+DisableOLBC=0
+BGProtection=0
+TxAntenna=
+RxAntenna=
+TxPreamble=0
+RTSThreshold=2347
+FragThreshold=2346
+TxBurst=1
+PktAggregate=1
+AutoProvisionEn=0
+FreqDelta=0
+TurboRate=0
+WmmCapable=0
+APAifsn=3;7;1;1
+APCwmin=4;4;3;2
+APCwmax=6;10;4;3
+APTxop=0;0;94;47
+APACM=0;0;0;0
+BSSAifsn=3;7;2;2
+BSSCwmin=4;4;3;2
+BSSCwmax=10;10;4;3
+BSSTxop=0;0;94;47
+BSSACM=0;0;0;0
+AckPolicy=0;0;0;0
+APSDCapable=0
+DLSCapable=0
+NoForwarding=0
+NoForwardingBTNBSSID=0
+HideSSID=0
+ShortSlot=1
+AutoChannelSelect=0
+IEEE8021X=0
+IEEE80211H=0
+CarrierDetect=0
+ITxBfEn=0
+PreAntSwitch=
+PhyRateLimit=0
+DebugFlags=0
+ETxBfEnCond=0
+MUTxRxEnable=0
+ITxBfTimeout=0
+ETxBfTimeout=0
+ETxBfNoncompress=0
+ETxBfIncapable=0
+FineAGC=0
+StreamMode=0
+StreamModeMac0=
+StreamModeMac1=
+StreamModeMac2=
+StreamModeMac3=
+CSPeriod=10
+RDRegion=
+StationKeepAlive=0
+DfsCalibration=0
+DfsEnable=0
+DfsApplyStopWifi=0
+DfsZeroWait=0
+DfsZeroWaitCacTime=0
+DfsLowerLimit=0
+DfsUpperLimit=0
+DfsOutdoor=0
+SymRoundFromCfg=0
+BusyIdleFromCfg=0
+DfsRssiHighFromCfg=0
+DfsRssiLowFromCfg=0
+DFSParamFromConfig=0
+FCCParamCh0=
+FCCParamCh1=
+FCCParamCh2=
+FCCParamCh3=
+CEParamCh0=
+CEParamCh1=
+CEParamCh2=
+CEParamCh3=
+JAPParamCh0=
+JAPParamCh1=
+JAPParamCh2=
+JAPParamCh3=
+JAPW53ParamCh0=
+JAPW53ParamCh1=
+JAPW53ParamCh2=
+JAPW53ParamCh3=
+FixDfsLimit=0
+LongPulseRadarTh=0
+AvgRssiReq=0
+DFS_R66=0
+BlockCh=
+GreenAP=0
+PreAuth=0
+AuthMode=OPEN
+EncrypType=NONE
+WapiPsk1=
+WapiPsk2=
+WapiPsk3=
+WapiPsk4=
+WapiPsk5=
+WapiPsk6=
+WapiPsk7=
+WapiPsk8=
+WapiPsk9=
+WapiPsk10=
+WapiPsk11=
+WapiPsk12=
+WapiPsk13=
+WapiPsk14=
+WapiPsk15=
+WapiPsk16=
+WapiPskType=
+Wapiifname=
+WapiAsCertPath=
+WapiUserCertPath=
+WapiAsIpAddr=
+WapiAsPort=
+RekeyMethod=DISABLE
+RekeyInterval=0
+PMKCachePeriod=10
+MeshAutoLink=1
+MeshAuthMode=OPEN
+MeshEncrypType=NONE
+MeshDefaultkey=1
+MeshWEPKEY=
+MeshWPAKEY=
+MeshId=MESH
+WPAPSK=
+WPAPSK1=
+WPAPSK2=
+WPAPSK3=
+WPAPSK4=
+WPAPSK5=
+WPAPSK6=
+WPAPSK7=
+WPAPSK8=
+WPAPSK9=
+WPAPSK10=
+WPAPSK11=
+WPAPSK12=
+WPAPSK13=
+WPAPSK14=
+WPAPSK15=
+WPAPSK16=
+DefaultKeyID=1
+Key1Type=0
+Key1Str=
+Key1Str1=
+Key1Str2=
+Key1Str3=
+Key1Str4=
+Key1Str5=
+Key1Str6=
+Key1Str7=
+Key1Str8=
+Key1Str9=
+Key1Str10=
+Key1Str11=
+Key1Str12=
+Key1Str13=
+Key1Str14=
+Key1Str15=
+Key1Str16=
+Key2Type=0
+Key2Str=
+Key2Str1=
+Key2Str2=
+Key2Str3=
+Key2Str4=
+Key2Str5=
+Key2Str6=
+Key2Str7=
+Key2Str8=
+Key2Str9=
+Key2Str10=
+Key2Str11=
+Key2Str12=
+Key2Str13=
+Key2Str14=
+Key2Str15=
+Key2Str16=
+Key3Type=0
+Key3Str=
+Key3Str1=
+Key3Str2=
+Key3Str3=
+Key3Str4=
+Key3Str5=
+Key3Str6=
+Key3Str7=
+Key3Str8=
+Key3Str9=
+Key3Str10=
+Key3Str11=
+Key3Str12=
+Key3Str13=
+Key3Str14=
+Key3Str15=
+Key3Str16=
+Key4Type=0
+Key4Str=
+Key4Str1=
+Key4Str2=
+Key4Str3=
+Key4Str4=
+Key4Str5=
+Key4Str6=
+Key4Str7=
+Key4Str8=
+Key4Str9=
+Key4Str10=
+Key4Str11=
+Key4Str12=
+Key4Str13=
+Key4Str14=
+Key4Str15=
+Key4Str16=
+HSCounter=0
+HT_HTC=0
+HT_RDG=1
+HT_LinkAdapt=0
+HT_OpMode=0
+HT_MpduDensity=5
+HT_EXTCHA=1
+HT_BW=1
+HT_AutoBA=1
+HT_BADecline=0
+HT_AMSDU=1
+HT_BAWinSize=64
+HT_GI=1
+HT_STBC=1
+HT_MCS=33
+HT_TxStream=2
+HT_RxStream=2
+HT_PROTECT=0
+HT_DisallowTKIP=0
+HT_BSSCoexistence=1
+HT_LDPC=1
+VHT_BW=1
+VHT_Sec80_Channel=0
+VHT_STBC=1
+VHT_SGI=1
+VHT_BW_SIGNAL=0
+VHT_LDPC=1
+G_BAND_256QAM=0
+WscConfMode=
+WscConfStatus=2
+WCNTest=0
+AccessPolicy0=0
+AccessControlList0=
+AccessPolicy1=0
+AccessControlList1=
+AccessPolicy2=0
+AccessControlList2=
+AccessPolicy3=0
+AccessControlList3=
+AccessPolicy4=0
+AccessControlList4=
+AccessPolicy5=0
+AccessControlList5=
+AccessPolicy6=0
+AccessControlList6=
+AccessPolicy7=0
+AccessControlList7=
+AccessPolicy8=0
+AccessControlList8=
+AccessPolicy9=0
+AccessControlList9=
+AccessPolicy10=0
+AccessControlList10=
+AccessPolicy11=0
+AccessControlList11=
+AccessPolicy12=0
+AccessControlList12=
+AccessPolicy13=0
+AccessControlList13=
+AccessPolicy14=0
+AccessControlList14=
+AccessPolicy15=0
+AccessControlList15=
+WdsEnable=0
+WdsPhyMode=
+WdsEncrypType=NONE
+WdsList=
+Wds0Key=
+Wds1Key=
+Wds2Key=
+Wds3Key=
+RADIUS_Server=192.168.2.3
+RADIUS_Port=1812
+RADIUS_Key1=
+RADIUS_Key2=
+RADIUS_Key3=
+RADIUS_Key4=
+RADIUS_Key5=
+RADIUS_Key6=
+RADIUS_Key7=
+RADIUS_Key8=
+RADIUS_Key9=
+RADIUS_Key10=
+RADIUS_Key11=
+RADIUS_Key12=
+RADIUS_Key13=
+RADIUS_Key14=
+RADIUS_Key15=
+RADIUS_Key16=
+RADIUS_Acct_Server=
+RADIUS_Acct_Port=0
+RADIUS_Acct_Key=
+own_ip_addr=10.10.10.254
+Ethifname=
+EAPifname=br0
+PreAuthifname=br0
+session_timeout_interval=0
+idle_timeout_interval=0
+WiFiTest=0
+TGnWifiTest=0
+ApCliEnable=
+ApCliSsid=
+ApCliBssid=
+ApCliAuthMode=
+ApCliEncrypType=
+ApCliWPAPSK=
+ApCliDefaultKeyID=
+ApCliKey1Type=
+ApCliKey1Str=
+ApCliKey2Type=
+ApCliKey2Str=
+ApCliKey3Type=
+ApCliKey3Str=
+ApCliKey4Type=
+ApCliKey4Str=
+MACRepeaterEn=
+MACRepeaterOuiMode=2
+ApCliWirelessMode=15
+ApCliWPAPSK1=
+ApCliKey1Str1=
+ApCliKey2Str1=
+ApCliKey3Str1=
+ApCliKey4Str1=
+EfuseBufferMode=0
+E2pAccessMode=2
+PMFMFPC=0
+PMFMFPR=0
+PMFSHA256=0
+RadioOn=1
+BW_Enable=0
+BW_Root=0
+BW_Priority=
+BW_Guarantee_Rate=
+BW_Maximum_Rate=
+VOW_BW_Ctrl=
+VOW_Airtime_Fairness_En=1
+VOW_RX_En=
+VOW_Refill_Period=
+VOW_Sta_VO_DWRR_Quantum=
+VOW_Sta_VI_DWRR_Quantum=
+VOW_Sta_BE_DWRR_Quantum=
+VOW_Sta_BK_DWRR_Quantum=
+VOW_WMM_Search_Rule_Band0=
+VOW_WMM_Search_Rule_Band1=
+VOW_Sta_DWRR_Max_Wait_Time=
+VOW_Group_DWRR_Max_Wait_Time=
+VOW_Group_Min_Rate=
+VOW_Group_Max_Rate=
+VOW_Group_Min_Ratio=
+VOW_Group_Max_Ratio=
+VOW_Airtime_Ctrl_En=
+VOW_Rate_Ctrl_En=
+VOW_Group_Min_Rate_Bucket_Size=
+VOW_Group_Max_Rate_Bucket_Size=
+VOW_Group_Min_Airtime_Bucket_Size=
+VOW_Group_Max_Airtime_Bucket_Size=
+VOW_Group_Backlog=
+VOW_Group_Max_Wait_Time=
+VOW_Group_DWRR_Quantum=
+VOW_WATF_Enable=
+VOW_WATF_Q_LV0=
+VOW_WATF_Q_LV1=
+VOW_WATF_Q_LV2=
+VOW_WATF_Q_LV3=
+VOW_WATF_MAC_LV0=
+VOW_WATF_MAC_LV1=
+VOW_WATF_MAC_LV2=
+VOW_WATF_MAC_LV3=
+RED_Enable=1
+CP_SUPPORT=
+BgndScanSkipCh=
+EDCCAEnable=0
+BandSteering=0
+BndStrgBssIdx=
+RadioLinkSelection=0
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e.3.2G.dat b/package/ramips/drivers/mt7615e/files/mt7615e.3.2G.dat
new file mode 100755
index 0000000..04a3852
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e.3.2G.dat
@@ -0,0 +1,432 @@
+#The word of "Default" must not be removed
+Default
+CountryRegion=5
+CountryRegionABand=7
+CountryCode=
+AutoChannelSkipList=
+DBDC_MODE=1
+IcapMode=0
+BssidNum=1
+SSID=
+SSID1=MT7615E.3.2G
+SSID2=
+SSID3=
+SSID4=
+SSID5=
+SSID6=
+SSID7=
+SSID8=
+SSID9=
+SSID10=
+SSID11=
+SSID12=
+SSID13=
+SSID14=
+SSID15=
+SSID16=
+RRMEnable=0
+FtSupport=0
+ChannelGrp=
+WirelessMode=9
+FixedTxMode=HT
+EthConvertMode=dongle
+TxRate=0
+Channel=6
+BasicRate=15
+BeaconPeriod=100
+DtimPeriod=1
+TxPower=100
+LinkTestSupport=0
+ThermalRecal=0
+SKUenable=0
+PERCENTAGEenable=1
+BFBACKOFFenable=0
+CalCacheApply=0
+DisableOLBC=0
+BGProtection=0
+TxAntenna=
+RxAntenna=
+TxPreamble=0
+RTSThreshold=2347
+FragThreshold=2346
+TxBurst=1
+PktAggregate=1
+AutoProvisionEn=0
+FreqDelta=0
+TurboRate=0
+WmmCapable=1
+APAifsn=3;7;1;1
+APCwmin=4;4;3;2
+APCwmax=6;10;4;3
+APTxop=0;0;94;47
+APACM=0;0;0;0
+BSSAifsn=3;7;2;2
+BSSCwmin=4;4;3;2
+BSSCwmax=10;10;4;3
+BSSTxop=0;0;94;47
+BSSACM=0;0;0;0
+AckPolicy=0;0;0;0
+APSDCapable=0
+DLSCapable=0
+NoForwarding=0
+NoForwardingBTNBSSID=0
+HideSSID=0
+ShortSlot=1
+AutoChannelSelect=0
+IEEE8021X=0
+IEEE80211H=1
+CarrierDetect=0
+ITxBfEn=0
+PreAntSwitch=
+PhyRateLimit=0
+DebugFlags=0
+ETxBfEnCond=0
+MUTxRxEnable=0
+ITxBfTimeout=0
+ETxBfTimeout=0
+ETxBfNoncompress=0
+ETxBfIncapable=0
+FineAGC=0
+StreamMode=0
+StreamModeMac0=
+StreamModeMac1=
+StreamModeMac2=
+StreamModeMac3=
+CSPeriod=6
+RDRegion=
+StationKeepAlive=0
+DfsCalibration=0
+DfsEnable=0
+DfsApplyStopWifi=0
+DfsZeroWait=0
+DfsZeroWaitCacTime=255
+DfsLowerLimit=0
+DfsUpperLimit=0
+DfsOutdoor=0
+SymRoundFromCfg=0
+BusyIdleFromCfg=0
+DfsRssiHighFromCfg=0
+DfsRssiLowFromCfg=0
+DFSParamFromConfig=0
+FCCParamCh0=
+FCCParamCh1=
+FCCParamCh2=
+FCCParamCh3=
+CEParamCh0=
+CEParamCh1=
+CEParamCh2=
+CEParamCh3=
+JAPParamCh0=
+JAPParamCh1=
+JAPParamCh2=
+JAPParamCh3=
+JAPW53ParamCh0=
+JAPW53ParamCh1=
+JAPW53ParamCh2=
+JAPW53ParamCh3=
+FixDfsLimit=0
+LongPulseRadarTh=0
+AvgRssiReq=0
+DFS_R66=0
+BlockCh=
+GreenAP=0
+PreAuth=0
+AuthMode=OPEN
+EncrypType=NONE
+WapiPsk1=
+WapiPsk2=
+WapiPsk3=
+WapiPsk4=
+WapiPsk5=
+WapiPsk6=
+WapiPsk7=
+WapiPsk8=
+WapiPsk9=
+WapiPsk10=
+WapiPsk11=
+WapiPsk12=
+WapiPsk13=
+WapiPsk14=
+WapiPsk15=
+WapiPsk16=
+WapiPskType=
+Wapiifname=
+WapiAsCertPath=
+WapiUserCertPath=
+WapiAsIpAddr=
+WapiAsPort=
+RekeyMethod=DISABLE
+RekeyInterval=3600
+PMKCachePeriod=10
+MeshAutoLink=0
+MeshAuthMode=
+MeshEncrypType=
+MeshDefaultkey=0
+MeshWEPKEY=
+MeshWPAKEY=
+MeshId=
+WPAPSK=
+WPAPSK1=12345678
+WPAPSK2=
+WPAPSK3=
+WPAPSK4=
+WPAPSK5=
+WPAPSK6=
+WPAPSK7=
+WPAPSK8=
+WPAPSK9=
+WPAPSK10=
+WPAPSK11=
+WPAPSK12=
+WPAPSK13=
+WPAPSK14=
+WPAPSK15=
+WPAPSK16=
+DefaultKeyID=1
+Key1Type=0
+Key1Str=
+Key1Str1=
+Key1Str2=
+Key1Str3=
+Key1Str4=
+Key1Str5=
+Key1Str6=
+Key1Str7=
+Key1Str8=
+Key1Str9=
+Key1Str10=
+Key1Str11=
+Key1Str12=
+Key1Str13=
+Key1Str14=
+Key1Str15=
+Key1Str16=
+Key2Type=0
+Key2Str=
+Key2Str1=
+Key2Str2=
+Key2Str3=
+Key2Str4=
+Key2Str5=
+Key2Str6=
+Key2Str7=
+Key2Str8=
+Key2Str9=
+Key2Str10=
+Key2Str11=
+Key2Str12=
+Key2Str13=
+Key2Str14=
+Key2Str15=
+Key2Str16=
+Key3Type=0
+Key3Str=
+Key3Str1=
+Key3Str2=
+Key3Str3=
+Key3Str4=
+Key3Str5=
+Key3Str6=
+Key3Str7=
+Key3Str8=
+Key3Str9=
+Key3Str10=
+Key3Str11=
+Key3Str12=
+Key3Str13=
+Key3Str14=
+Key3Str15=
+Key3Str16=
+Key4Type=0
+Key4Str=
+Key4Str1=
+Key4Str2=
+Key4Str3=
+Key4Str4=
+Key4Str5=
+Key4Str6=
+Key4Str7=
+Key4Str8=
+Key4Str9=
+Key4Str10=
+Key4Str11=
+Key4Str12=
+Key4Str13=
+Key4Str14=
+Key4Str15=
+Key4Str16=
+HSCounter=0
+HT_HTC=1
+HT_RDG=1
+HT_LinkAdapt=0
+HT_OpMode=0
+HT_MpduDensity=5
+HT_EXTCHA=1
+HT_BW=1
+HT_AutoBA=1
+HT_BADecline=0
+HT_AMSDU=1
+HT_BAWinSize=64
+HT_GI=1
+HT_STBC=1
+HT_MCS=33
+HT_TxStream=2
+HT_RxStream=2
+HT_PROTECT=1
+HT_DisallowTKIP=1
+HT_BSSCoexistence=0
+HT_LDPC=1
+VHT_BW=0
+VHT_Sec80_Channel=0
+VHT_STBC=0
+VHT_SGI=0
+VHT_BW_SIGNAL=0
+VHT_LDPC=0
+G_BAND_256QAM=1
+WscConfMode=0
+WscConfStatus=2
+WCNTest=0
+AccessPolicy0=0
+AccessControlList0=
+AccessPolicy1=0
+AccessControlList1=
+AccessPolicy2=0
+AccessControlList2=
+AccessPolicy3=0
+AccessControlList3=
+AccessPolicy4=0
+AccessControlList4=
+AccessPolicy5=0
+AccessControlList5=
+AccessPolicy6=0
+AccessControlList6=
+AccessPolicy7=0
+AccessControlList7=
+AccessPolicy8=0
+AccessControlList8=
+AccessPolicy9=0
+AccessControlList9=
+AccessPolicy10=0
+AccessControlList10=
+AccessPolicy11=0
+AccessControlList11=
+AccessPolicy12=0
+AccessControlList12=
+AccessPolicy13=0
+AccessControlList13=
+AccessPolicy14=0
+AccessControlList14=
+AccessPolicy15=0
+AccessControlList15=
+WdsEnable=0
+WdsPhyMode=
+WdsEncrypType=NONE
+WdsList=
+Wds0Key=
+Wds1Key=
+Wds2Key=
+Wds3Key=
+RADIUS_Server=0
+RADIUS_Port=1812
+RADIUS_Key1=
+RADIUS_Key2=
+RADIUS_Key3=
+RADIUS_Key4=
+RADIUS_Key5=
+RADIUS_Key6=
+RADIUS_Key7=
+RADIUS_Key8=
+RADIUS_Key9=
+RADIUS_Key10=
+RADIUS_Key11=
+RADIUS_Key12=
+RADIUS_Key13=
+RADIUS_Key14=
+RADIUS_Key15=
+RADIUS_Key16=
+RADIUS_Acct_Server=
+RADIUS_Acct_Port=1813
+RADIUS_Acct_Key=
+own_ip_addr=10.10.10.254
+Ethifname=
+EAPifname=br0
+PreAuthifname=br0
+session_timeout_interval=0
+idle_timeout_interval=0
+WiFiTest=0
+TGnWifiTest=0
+ApCliEnable=
+ApCliSsid=
+ApCliBssid=
+ApCliAuthMode=
+ApCliEncrypType=
+ApCliWPAPSK=
+ApCliDefaultKeyID=
+ApCliKey1Type=
+ApCliKey1Str=
+ApCliKey2Type=
+ApCliKey2Str=
+ApCliKey3Type=
+ApCliKey3Str=
+ApCliKey4Type=
+ApCliKey4Str=
+MACRepeaterEn=
+MACRepeaterOuiMode=2
+ApCliWirelessMode=9
+ApCliWPAPSK1=
+ApCliKey1Str1=
+ApCliKey2Str1=
+ApCliKey3Str1=
+ApCliKey4Str1=
+EfuseBufferMode=0
+E2pAccessMode=2
+PMFMFPC=0
+PMFMFPR=0
+PMFSHA256=0
+RadioOn=1
+BW_Enable=0
+BW_Root=0
+BW_Priority=
+BW_Guarantee_Rate=
+BW_Maximum_Rate=
+VOW_BW_Ctrl=
+VOW_Airtime_Fairness_En=1
+VOW_RX_En=
+VOW_Refill_Period=
+VOW_Sta_VO_DWRR_Quantum=
+VOW_Sta_VI_DWRR_Quantum=
+VOW_Sta_BE_DWRR_Quantum=
+VOW_Sta_BK_DWRR_Quantum=
+VOW_WMM_Search_Rule_Band0=
+VOW_WMM_Search_Rule_Band1=
+VOW_Sta_DWRR_Max_Wait_Time=
+VOW_Group_DWRR_Max_Wait_Time=
+VOW_Group_Min_Rate=
+VOW_Group_Max_Rate=
+VOW_Group_Min_Ratio=
+VOW_Group_Max_Ratio=
+VOW_Airtime_Ctrl_En=
+VOW_Rate_Ctrl_En=
+VOW_Group_Min_Rate_Bucket_Size=
+VOW_Group_Max_Rate_Bucket_Size=
+VOW_Group_Min_Airtime_Bucket_Size=
+VOW_Group_Max_Airtime_Bucket_Size=
+VOW_Group_Backlog=
+VOW_Group_Max_Wait_Time=
+VOW_Group_DWRR_Quantum=
+VOW_WATF_Enable=
+VOW_WATF_Q_LV0=
+VOW_WATF_Q_LV1=
+VOW_WATF_Q_LV2=
+VOW_WATF_Q_LV3=
+VOW_WATF_MAC_LV0=
+VOW_WATF_MAC_LV1=
+VOW_WATF_MAC_LV2=
+VOW_WATF_MAC_LV3=
+RED_Enable=1
+CP_SUPPORT=2
+BgndScanSkipCh=
+EDCCAEnable=1
+BandSteering=0
+BndStrgBssIdx=
+RadioLinkSelection=0
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e.3.5G.dat b/package/ramips/drivers/mt7615e/files/mt7615e.3.5G.dat
new file mode 100755
index 0000000..a405b1a
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e.3.5G.dat
@@ -0,0 +1,432 @@
+#The word of "Default" must not be removed
+Default
+CountryRegion=5
+CountryRegionABand=7
+CountryCode=
+AutoChannelSkipList=
+DBDC_MODE=1
+IcapMode=0
+BssidNum=1
+SSID=TVWS
+SSID1=MT7615E.3.5G
+SSID2=
+SSID3=
+SSID4=
+SSID5=
+SSID6=
+SSID7=
+SSID8=
+SSID9=
+SSID10=
+SSID11=
+SSID12=
+SSID13=
+SSID14=
+SSID15=
+SSID16=
+RRMEnable=0
+FtSupport=0
+ChannelGrp=
+WirelessMode=15
+FixedTxMode=HT
+EthConvertMode=
+TxRate=0
+Channel=157
+BasicRate=15
+BeaconPeriod=100
+DtimPeriod=1
+TxPower=100
+LinkTestSupport=0
+ThermalRecal=0
+SKUenable=0
+PERCENTAGEenable=0
+BFBACKOFFenable=0
+CalCacheApply=0
+DisableOLBC=0
+BGProtection=0
+TxAntenna=
+RxAntenna=
+TxPreamble=0
+RTSThreshold=2347
+FragThreshold=2346
+TxBurst=1
+PktAggregate=1
+AutoProvisionEn=0
+FreqDelta=0
+TurboRate=0
+WmmCapable=0
+APAifsn=3;7;1;1
+APCwmin=4;4;3;2
+APCwmax=6;10;4;3
+APTxop=0;0;94;47
+APACM=0;0;0;0
+BSSAifsn=3;7;2;2
+BSSCwmin=4;4;3;2
+BSSCwmax=10;10;4;3
+BSSTxop=0;0;94;47
+BSSACM=0;0;0;0
+AckPolicy=0;0;0;0
+APSDCapable=0
+DLSCapable=0
+NoForwarding=0
+NoForwardingBTNBSSID=0
+HideSSID=0
+ShortSlot=1
+AutoChannelSelect=0
+IEEE8021X=0
+IEEE80211H=0
+CarrierDetect=0
+ITxBfEn=0
+PreAntSwitch=
+PhyRateLimit=0
+DebugFlags=0
+ETxBfEnCond=0
+MUTxRxEnable=0
+ITxBfTimeout=0
+ETxBfTimeout=0
+ETxBfNoncompress=0
+ETxBfIncapable=0
+FineAGC=0
+StreamMode=0
+StreamModeMac0=
+StreamModeMac1=
+StreamModeMac2=
+StreamModeMac3=
+CSPeriod=10
+RDRegion=
+StationKeepAlive=0
+DfsCalibration=0
+DfsEnable=0
+DfsApplyStopWifi=0
+DfsZeroWait=0
+DfsZeroWaitCacTime=0
+DfsLowerLimit=0
+DfsUpperLimit=0
+DfsOutdoor=0
+SymRoundFromCfg=0
+BusyIdleFromCfg=0
+DfsRssiHighFromCfg=0
+DfsRssiLowFromCfg=0
+DFSParamFromConfig=0
+FCCParamCh0=
+FCCParamCh1=
+FCCParamCh2=
+FCCParamCh3=
+CEParamCh0=
+CEParamCh1=
+CEParamCh2=
+CEParamCh3=
+JAPParamCh0=
+JAPParamCh1=
+JAPParamCh2=
+JAPParamCh3=
+JAPW53ParamCh0=
+JAPW53ParamCh1=
+JAPW53ParamCh2=
+JAPW53ParamCh3=
+FixDfsLimit=0
+LongPulseRadarTh=0
+AvgRssiReq=0
+DFS_R66=0
+BlockCh=
+GreenAP=0
+PreAuth=0
+AuthMode=OPEN
+EncrypType=NONE
+WapiPsk1=
+WapiPsk2=
+WapiPsk3=
+WapiPsk4=
+WapiPsk5=
+WapiPsk6=
+WapiPsk7=
+WapiPsk8=
+WapiPsk9=
+WapiPsk10=
+WapiPsk11=
+WapiPsk12=
+WapiPsk13=
+WapiPsk14=
+WapiPsk15=
+WapiPsk16=
+WapiPskType=
+Wapiifname=
+WapiAsCertPath=
+WapiUserCertPath=
+WapiAsIpAddr=
+WapiAsPort=
+RekeyMethod=DISABLE
+RekeyInterval=0
+PMKCachePeriod=10
+MeshAutoLink=1
+MeshAuthMode=OPEN
+MeshEncrypType=NONE
+MeshDefaultkey=1
+MeshWEPKEY=
+MeshWPAKEY=
+MeshId=MESH
+WPAPSK=
+WPAPSK1=
+WPAPSK2=
+WPAPSK3=
+WPAPSK4=
+WPAPSK5=
+WPAPSK6=
+WPAPSK7=
+WPAPSK8=
+WPAPSK9=
+WPAPSK10=
+WPAPSK11=
+WPAPSK12=
+WPAPSK13=
+WPAPSK14=
+WPAPSK15=
+WPAPSK16=
+DefaultKeyID=1
+Key1Type=0
+Key1Str=
+Key1Str1=
+Key1Str2=
+Key1Str3=
+Key1Str4=
+Key1Str5=
+Key1Str6=
+Key1Str7=
+Key1Str8=
+Key1Str9=
+Key1Str10=
+Key1Str11=
+Key1Str12=
+Key1Str13=
+Key1Str14=
+Key1Str15=
+Key1Str16=
+Key2Type=0
+Key2Str=
+Key2Str1=
+Key2Str2=
+Key2Str3=
+Key2Str4=
+Key2Str5=
+Key2Str6=
+Key2Str7=
+Key2Str8=
+Key2Str9=
+Key2Str10=
+Key2Str11=
+Key2Str12=
+Key2Str13=
+Key2Str14=
+Key2Str15=
+Key2Str16=
+Key3Type=0
+Key3Str=
+Key3Str1=
+Key3Str2=
+Key3Str3=
+Key3Str4=
+Key3Str5=
+Key3Str6=
+Key3Str7=
+Key3Str8=
+Key3Str9=
+Key3Str10=
+Key3Str11=
+Key3Str12=
+Key3Str13=
+Key3Str14=
+Key3Str15=
+Key3Str16=
+Key4Type=0
+Key4Str=
+Key4Str1=
+Key4Str2=
+Key4Str3=
+Key4Str4=
+Key4Str5=
+Key4Str6=
+Key4Str7=
+Key4Str8=
+Key4Str9=
+Key4Str10=
+Key4Str11=
+Key4Str12=
+Key4Str13=
+Key4Str14=
+Key4Str15=
+Key4Str16=
+HSCounter=0
+HT_HTC=0
+HT_RDG=1
+HT_LinkAdapt=0
+HT_OpMode=0
+HT_MpduDensity=5
+HT_EXTCHA=1
+HT_BW=1
+HT_AutoBA=1
+HT_BADecline=0
+HT_AMSDU=1
+HT_BAWinSize=64
+HT_GI=1
+HT_STBC=1
+HT_MCS=33
+HT_TxStream=2
+HT_RxStream=2
+HT_PROTECT=0
+HT_DisallowTKIP=0
+HT_BSSCoexistence=1
+HT_LDPC=1
+VHT_BW=1
+VHT_Sec80_Channel=0
+VHT_STBC=1
+VHT_SGI=1
+VHT_BW_SIGNAL=0
+VHT_LDPC=1
+G_BAND_256QAM=0
+WscConfMode=
+WscConfStatus=2
+WCNTest=0
+AccessPolicy0=0
+AccessControlList0=
+AccessPolicy1=0
+AccessControlList1=
+AccessPolicy2=0
+AccessControlList2=
+AccessPolicy3=0
+AccessControlList3=
+AccessPolicy4=0
+AccessControlList4=
+AccessPolicy5=0
+AccessControlList5=
+AccessPolicy6=0
+AccessControlList6=
+AccessPolicy7=0
+AccessControlList7=
+AccessPolicy8=0
+AccessControlList8=
+AccessPolicy9=0
+AccessControlList9=
+AccessPolicy10=0
+AccessControlList10=
+AccessPolicy11=0
+AccessControlList11=
+AccessPolicy12=0
+AccessControlList12=
+AccessPolicy13=0
+AccessControlList13=
+AccessPolicy14=0
+AccessControlList14=
+AccessPolicy15=0
+AccessControlList15=
+WdsEnable=0
+WdsPhyMode=
+WdsEncrypType=NONE
+WdsList=
+Wds0Key=
+Wds1Key=
+Wds2Key=
+Wds3Key=
+RADIUS_Server=192.168.2.3
+RADIUS_Port=1812
+RADIUS_Key1=
+RADIUS_Key2=
+RADIUS_Key3=
+RADIUS_Key4=
+RADIUS_Key5=
+RADIUS_Key6=
+RADIUS_Key7=
+RADIUS_Key8=
+RADIUS_Key9=
+RADIUS_Key10=
+RADIUS_Key11=
+RADIUS_Key12=
+RADIUS_Key13=
+RADIUS_Key14=
+RADIUS_Key15=
+RADIUS_Key16=
+RADIUS_Acct_Server=
+RADIUS_Acct_Port=0
+RADIUS_Acct_Key=
+own_ip_addr=10.10.10.254
+Ethifname=
+EAPifname=br0
+PreAuthifname=br0
+session_timeout_interval=0
+idle_timeout_interval=0
+WiFiTest=0
+TGnWifiTest=0
+ApCliEnable=
+ApCliSsid=
+ApCliBssid=
+ApCliAuthMode=
+ApCliEncrypType=
+ApCliWPAPSK=
+ApCliDefaultKeyID=
+ApCliKey1Type=
+ApCliKey1Str=
+ApCliKey2Type=
+ApCliKey2Str=
+ApCliKey3Type=
+ApCliKey3Str=
+ApCliKey4Type=
+ApCliKey4Str=
+MACRepeaterEn=
+MACRepeaterOuiMode=2
+ApCliWirelessMode=15
+ApCliWPAPSK1=
+ApCliKey1Str1=
+ApCliKey2Str1=
+ApCliKey3Str1=
+ApCliKey4Str1=
+EfuseBufferMode=0
+E2pAccessMode=2
+PMFMFPC=0
+PMFMFPR=0
+PMFSHA256=0
+RadioOn=1
+BW_Enable=0
+BW_Root=0
+BW_Priority=
+BW_Guarantee_Rate=
+BW_Maximum_Rate=
+VOW_BW_Ctrl=
+VOW_Airtime_Fairness_En=1
+VOW_RX_En=
+VOW_Refill_Period=
+VOW_Sta_VO_DWRR_Quantum=
+VOW_Sta_VI_DWRR_Quantum=
+VOW_Sta_BE_DWRR_Quantum=
+VOW_Sta_BK_DWRR_Quantum=
+VOW_WMM_Search_Rule_Band0=
+VOW_WMM_Search_Rule_Band1=
+VOW_Sta_DWRR_Max_Wait_Time=
+VOW_Group_DWRR_Max_Wait_Time=
+VOW_Group_Min_Rate=
+VOW_Group_Max_Rate=
+VOW_Group_Min_Ratio=
+VOW_Group_Max_Ratio=
+VOW_Airtime_Ctrl_En=
+VOW_Rate_Ctrl_En=
+VOW_Group_Min_Rate_Bucket_Size=
+VOW_Group_Max_Rate_Bucket_Size=
+VOW_Group_Min_Airtime_Bucket_Size=
+VOW_Group_Max_Airtime_Bucket_Size=
+VOW_Group_Backlog=
+VOW_Group_Max_Wait_Time=
+VOW_Group_DWRR_Quantum=
+VOW_WATF_Enable=
+VOW_WATF_Q_LV0=
+VOW_WATF_Q_LV1=
+VOW_WATF_Q_LV2=
+VOW_WATF_Q_LV3=
+VOW_WATF_MAC_LV0=
+VOW_WATF_MAC_LV1=
+VOW_WATF_MAC_LV2=
+VOW_WATF_MAC_LV3=
+RED_Enable=1
+CP_SUPPORT=
+BgndScanSkipCh=
+EDCCAEnable=0
+BandSteering=0
+BndStrgBssIdx=
+RadioLinkSelection=0
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e.eeprom.bin b/package/ramips/drivers/mt7615e/files/mt7615e.eeprom.bin
new file mode 100755
index 0000000..3255685
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e.eeprom.bin
Binary files differ
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e.inc b/package/ramips/drivers/mt7615e/files/mt7615e.inc
new file mode 100755
index 0000000..783191d
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e.inc
@@ -0,0 +1,45 @@
+#!/bin/sh
+# this file will be included into mt7615e2.sh and mt7615e5.sh
+
+disable_mt7615e() {
+ cd /sys/class/net/
+
+ # disable apcli interfaces
+ for vif in apcli*; do
+ ifconfig $vif down;
+ done
+ # disable ap interfaces
+ for vif in ra*; do
+ ifconfig $vif down;
+ ubus call network.interface.lan remove_device "{\"name\":\"$vif\"}"
+ done
+
+ cd -
+}
+
+
+enable_mt7615e() {
+ cd /sys/class/net/
+ uci2dat -d mt7615e2 -f /etc/wireless/mt7615e/mt7615e.1.2G.dat > /tmp/uci2dat.log
+ uci2dat -d mt7615e5 -f /etc/wireless/mt7615e/mt7615e.1.5G.dat >> /tmp/uci2dat.log
+
+ ifconfig ra0 up # ra0 is the root vif
+
+ # enable ap interfaces
+ for vif in ra*; do
+ ifconfig $vif up;
+ ubus call network.interface.lan add_device "{\"name\":\"$vif\"}"
+ local tmp=$(brctl show | grep $vif)
+ if [ x"$tmp" == x"" ]
+ then
+ echo "add $vif to br-lan" >> /tmp/wifi.log
+ brctl addif br-lan $vif
+ fi
+ done
+
+ # enable apcli interfaces
+ for vif in apcli*; do
+ ifconfig $vif up;
+ done
+ cd -
+} \ No newline at end of file
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e2.sh b/package/ramips/drivers/mt7615e/files/mt7615e2.sh
new file mode 100755
index 0000000..e440893
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e2.sh
@@ -0,0 +1,116 @@
+#!/bin/sh
+append DRIVERS "mt7615e2"
+
+. /lib/wifi/mt7615e.inc
+
+# Hua Shao : This script assumes that:
+# 1. 7615 is the only wifi device.
+# 2. DBDC=1
+# 3. MULTI_PROFILE=1
+# 4. DEFAULT_5G=1, which means ra0/rai0/rae0 -> 5G, rax0/ray0/raz0 -> 2G
+# If your product is not exactly the same as above, then some minor fixes are necessary.
+
+prepare_mt7615e2() {
+ #prepare_ralink_wifi mt7615e
+ :
+}
+
+scan_mt7615e2() {
+ #scan_ralink_wifi mt7615e mt7615e
+ :
+}
+
+disable_mt7615e2() {
+ # unregister hwnat hook.
+ iwpriv rax0 set hw_nat_register=0 2>/dev/null || true
+
+ [ x"$2" == x"" ] && {
+ disable_mt7615e
+ return
+ }
+
+ cd /sys/class/net/
+ for vif in apcli*; do
+ if echo "$vif" | grep -q -e "apcli[xyz]" ; then
+ ifconfig $vif down;
+ fi
+ done
+ for vif in ra*; do
+ if echo "$vif" | grep -q -e "ra[xyz]" ; then
+ ifconfig $vif down;
+ ubus call network.interface.lan remove_device "{\"name\":\"$vif\"}"
+ fi
+ done
+}
+
+enable_mt7615e2() {
+
+ [ x"$2" == x"" ] && {
+ enable_mt7615e
+ return
+ }
+
+ [ -f /tmp/mtk/wifi/.mt7615e.1.2g.need_reload ] && {
+ cd /sys/class/net/
+ for vif in apcli*; do
+ ifconfig $vif down;
+ done
+ for vif in ra*; do
+ ifconfig $vif down;
+ done
+ rmmod mt7615e
+ modprobe mt7615e
+ }
+
+ uci2dat -d mt7615e2 -f /etc/wireless/mt7615e/mt7615e.1.2G.dat > /tmp/uci2dat.log
+ ifconfig ra0 up # ra0 is the root vif
+ cd /sys/class/net/
+ for vif in ra*; do
+ if echo "$vif" | grep -q -e "ra[xyz]" ; then
+ ifconfig $vif up;
+ ubus call network.interface.lan add_device "{\"name\":\"$vif\"}"
+
+ local tmp=$(brctl show | grep $vif)
+ if [ x"$tmp" == x"" ]
+ then
+ echo "add $vif to br-lan" >> /tmp/wifi.log
+ brctl addif br-lan $vif
+ fi
+ fi
+ done
+ for vif in apcli*; do
+ if echo "$vif" | grep -q -e "apcli[xyz]" ; then
+ ifconfig $vif up;
+ fi
+ done
+
+ # register hwnat hook.
+ iwpriv rax0 set hw_nat_register=1
+}
+
+detect_mt7615e2() {
+ ssid2g=mt7615e-2g-`ifconfig eth0 | grep HWaddr | cut -c 51- | sed 's/://g'`
+ [ -e /etc/config/wireless ] && return
+ cat <<EOF
+config wifi-device mt7615e2
+ option type mt7615e2
+ option vendor ralink
+ option band 2.4g
+ option channel 0
+ option autoch 2
+ option g256qam 1
+ option e2paccmode 2
+
+config wifi-iface
+ option device mt7615e2
+ option ifname rax0
+ option network lan
+ option mode ap
+ option ssid $ssid2g
+ option encryption psk2
+ option key 12345678
+
+EOF
+}
+
+
diff --git a/package/ramips/drivers/mt7615e/files/mt7615e5.sh b/package/ramips/drivers/mt7615e/files/mt7615e5.sh
new file mode 100755
index 0000000..9822ad2
--- /dev/null
+++ b/package/ramips/drivers/mt7615e/files/mt7615e5.sh
@@ -0,0 +1,117 @@
+#!/bin/sh
+append DRIVERS "mt7615e5"
+
+. /lib/wifi/mt7615e.inc
+
+# Hua Shao : This script assumes that:
+# 1. 7615 is the only wifi device.
+# 2. DBDC=1
+# 3. MULTI_PROFILE=1
+# 4. DEFAULT_5G=1, which means ra0/rai0/rae0 -> 5G, rax0/ray0/raz0 -> 2G
+# If your product is not exactly the same as above, then some minor fixes are necessary.
+
+prepare_mt7615e5() {
+ #prepare_ralink_wifi mt7615e
+ :
+}
+
+scan_mt7615e5() {
+ #scan_ralink_wifi mt7615e mt7615e
+ :
+}
+
+disable_mt7615e5() {
+ # unregister hwnat hook.
+ iwpriv ra0 set hw_nat_register=0 2>/dev/null || true
+
+ [ x"$2" == x"" ] && {
+ # let mt7615e2 do the work
+ return
+ }
+
+ cd /sys/class/net/
+ for vif in apcli*; do
+ if echo "$vif" | grep -q -e "apcli[0-9ie]" ; then
+ ifconfig $vif down;
+ fi
+ done
+ for vif in ra*; do
+ if echo "$vif" | grep -q -e "ra[0-9ie]" ; then
+ ifconfig $vif down;
+ ubus call network.interface.lan remove_device "{\"name\":\"$vif\"}"
+ fi
+ done
+}
+
+enable_mt7615e5() {
+
+ [ x"$2" == x"" ] && {
+ # let mt7615e2 do the work
+ return
+ }
+
+ [ -f /tmp/mtk/wifi/.mt7615e.1.2g.need_reload ] && {
+ cd /sys/class/net/
+ for vif in apcli*; do
+ ifconfig $vif down;
+ done
+ for vif in ra*; do
+ ifconfig $vif down;
+ done
+ rmmod mt7615e
+ modprobe mt7615e
+ }
+
+ uci2dat -d mt7615e5 -f /etc/wireless/mt7615e/mt7615e.1.5G.dat > /tmp/uci2dat.log
+ ifconfig ra0 up # ra0 is the root vif
+
+ cd /sys/class/net/
+ for vif in ra*; do
+ if echo "$vif" | grep -q -e "ra[0-9ie]" ; then
+ ifconfig $vif up;
+ ubus call network.interface.lan add_device "{\"name\":\"$vif\"}"
+
+ local tmp=$(brctl show | grep $vif)
+ if [ x"$tmp" == x"" ]
+ then
+ echo "add $vif to br-lan" >> /tmp/wifi.log
+ brctl addif br-lan $vif
+ fi
+ fi
+ done
+ for vif in apcli*; do
+ if echo "$vif" | grep -q -e "apcli[0-9ie]" ; then
+ ifconfig $vif up;
+ fi
+ done
+
+ # register hwnat hook.
+ iwpriv ra0 set hw_nat_register=1 2>/dev/null || true
+}
+
+detect_mt7615e5() {
+ ssid5g=mt7615e-5g-`ifconfig eth0 | grep HWaddr | cut -c 51- | sed 's/://g'`
+ [ -e /etc/config/wireless ] && return
+ cat <<EOF
+config wifi-device mt7615e5
+ option type mt7615e5
+ option vendor ralink
+ option band 5g
+ option channel 0
+ option autoch 2
+ option g256qam 1
+ option e2paccmode 2
+
+config wifi-iface
+ option device mt7615e5
+ option ifname ra0
+ option network lan
+ option mode ap
+ option ssid $ssid5g
+ option encryption psk2
+ option key 12345678
+
+EOF
+}
+
+