ramips: GL-MT1300: switch to mtwifi driver

This commit is contained in:
AmadeusGhost 2020-12-20 23:30:06 +08:00
parent b888ba0d3a
commit 7bb0843d79
3 changed files with 7 additions and 2 deletions

View File

@ -48,6 +48,7 @@ endchoice
choice
prompt "Choose Second WiFi Interface"
default MTK_SECOND_IF_NONE if PACKAGE_kmod-mt7603e
default MTK_SECOND_IF_NONE if TARGET_ramips_mt7621_DEVICE_glinet_gl-mt1300
default MTK_SECOND_IF_NONE if TARGET_ramips_mt7621_DEVICE_jcg_y2
default MTK_SECOND_IF_NONE if TARGET_ramips_mt7621_DEVICE_phicomm_k2p
default MTK_SECOND_IF_MT7615E
@ -275,6 +276,7 @@ config MTK_DBDC_MODE
depends on MTK_CHIP_MT7615E || MTK_CHIP_MT7626
select MULTI_PROFILE_SUPPORT
select DEFAULT_5G_PROFILE
default y if TARGET_ramips_mt7621_DEVICE_glinet_gl-mt1300
default y if TARGET_ramips_mt7621_DEVICE_jcg_y2
default y if TARGET_ramips_mt7621_DEVICE_phicomm_k2p
default n
@ -282,6 +284,7 @@ config MTK_DBDC_MODE
config MTK_MULTI_PROFILE_SUPPORT
bool "Multi Profile Support"
depends on MTK_DBDC_MODE
default y if TARGET_ramips_mt7621_DEVICE_glinet_gl-mt1300
default y if TARGET_ramips_mt7621_DEVICE_jcg_y2
default y if TARGET_ramips_mt7621_DEVICE_phicomm_k2p
default n
@ -290,6 +293,7 @@ config MTK_DEFAULT_5G_PROFILE
bool "5G default profile for DBDC"
depends on MTK_DBDC_MODE
# depends on MTK_MULTI_PROFILE_SUPPORT
default y if TARGET_ramips_mt7621_DEVICE_glinet_gl-mt1300
default y if TARGET_ramips_mt7621_DEVICE_jcg_y2
default y if TARGET_ramips_mt7621_DEVICE_phicomm_k2p
default n

View File

@ -19,6 +19,7 @@ config MTK_CHIP_MT7615E
config MTK_CHIP_MT7615E_DBDC
bool "MTK_CHIP_MT7615E_DBDC"
depends on MTK_CHIP_MT7615E
default y if TARGET_ramips_mt7621_DEVICE_glinet_gl-mt1300
default y if TARGET_ramips_mt7621_DEVICE_jcg_y2
default y if TARGET_ramips_mt7621_DEVICE_phicomm_k2p
default n

View File

@ -446,7 +446,7 @@ define Device/glinet_gl-mt1300
IMAGE_SIZE := 32448k
DEVICE_VENDOR := GL.iNet
DEVICE_MODEL := GL-MT1300
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3
DEVICE_PACKAGES := kmod-mt7615d kmod-usb3 luci-app-mtwifi -wpad-openssl
endef
TARGET_DEVICES += glinet_gl-mt1300
@ -596,7 +596,7 @@ define Device/jcg_y2
JCG_MAXSIZE := 16064k
DEVICE_VENDOR := JCG
DEVICE_MODEL := Y2
DEVICE_PACKAGES := kmod-mt7615d kmod-usb3 luci-app-mtwifi
DEVICE_PACKAGES := kmod-mt7615d kmod-usb3 luci-app-mtwifi -wpad-openssl
endef
TARGET_DEVICES += jcg_y2