From f19db3103cb2762ee9fbcda7a656b57fbe59bfc6 Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Sun, 12 Apr 2020 17:08:11 +0800 Subject: [PATCH] mtwifi: add dual 7615 support From Tang Haili dalao, also add new package for dbdc devices. --- package/lean/luci-app-mtwifi/Makefile | 6 +- package/lean/mt-drivers/mt_wifi/Makefile | 35 +- package/lean/mt-drivers/mt_wifi/config.in | 54 +-- .../mt-drivers/mt_wifi/files/l1profile.dat | 23 ++ .../mt-drivers/mt_wifi/files/mt7615.1.dat | 375 ++++++++++++++++++ .../mt-drivers/mt_wifi/files/mt7615.2.dat | 375 ++++++++++++++++++ target/linux/ramips/image/mt7621.mk | 20 +- 7 files changed, 846 insertions(+), 42 deletions(-) create mode 100644 package/lean/mt-drivers/mt_wifi/files/l1profile.dat create mode 100644 package/lean/mt-drivers/mt_wifi/files/mt7615.1.dat create mode 100644 package/lean/mt-drivers/mt_wifi/files/mt7615.2.dat diff --git a/package/lean/luci-app-mtwifi/Makefile b/package/lean/luci-app-mtwifi/Makefile index 6706a21bcb..df000fae40 100644 --- a/package/lean/luci-app-mtwifi/Makefile +++ b/package/lean/luci-app-mtwifi/Makefile @@ -4,10 +4,10 @@ PKG_LICENSE:=GPLv2 PKG_MAINTAINER:=Hua Shao LUCI_TITLE:=LuCI support for mt wifi driver -LUCI_DEPENDS:=+kmod-mt_wifi +LUCI_DEPENDS:= LUCI_PKGARCH:=all -PKG_VERSION:=1 -PKG_RELEASE:=8 +PKG_VERSION:=2 +PKG_RELEASE:=1 define Package/luci-app-mtwifi/conffiles /etc/wireless/mt7615/ diff --git a/package/lean/mt-drivers/mt_wifi/Makefile b/package/lean/mt-drivers/mt_wifi/Makefile index 9f9b57c6cf..674f4dce26 100644 --- a/package/lean/mt-drivers/mt_wifi/Makefile +++ b/package/lean/mt-drivers/mt_wifi/Makefile @@ -178,6 +178,22 @@ include $(INCLUDE_DIR)/package.mk TAR_CMD=$(HOST_TAR) -C $(1)/ $(TAR_OPTIONS) define KernelPackage/mt_wifi + CATEGORY:=Kernel modules + TITLE:=MTK wifi AP driver + DEPENDS:=@TARGET_ramips +ifneq ($(CONFIG_MTK_WHNAT_SUPPORT), ) + FILES:=$(PKG_BUILD_DIR)/mt_wifi_ap/mt_wifi.ko \ + $(PKG_BUILD_DIR)/mt_wifi/embedded/tools/plug_in/whnat/mt_whnat.ko + AUTOLOAD:=$(call AutoProbe,mt_wifi mt_whnat) +else + FILES:=$(PKG_BUILD_DIR)/mt_wifi_ap/mt_wifi.ko + AUTOLOAD:=$(call AutoProbe,mt_wifi) +endif + SUBMENU:=Wireless Drivers + MENU:=1 +endef + +define KernelPackage/mt_wifi_dbdc CATEGORY:=Kernel modules TITLE:=MTK wifi AP driver DEPENDS:=@TARGET_ramips +wifi-l1profile @@ -188,7 +204,7 @@ ifneq ($(CONFIG_MTK_WHNAT_SUPPORT), ) else FILES:=$(PKG_BUILD_DIR)/mt_wifi_ap/mt_wifi.ko AUTOLOAD:=$(call AutoProbe,mt_wifi) -endif +endif SUBMENU:=Wireless Drivers MENU:=1 endef @@ -197,7 +213,6 @@ define KernelPackage/mt_wifi/config source "$(SOURCE)/config.in" endef - define Build/Compile $(MAKE) -C "$(LINUX_DIR)" V=1 \ CROSS_COMPILE="$(TARGET_CROSS)" \ @@ -208,6 +223,20 @@ define Build/Compile endef define KernelPackage/mt_wifi/install + $(INSTALL_DIR) $(1)/etc/init.d/ + $(INSTALL_DIR) $(1)/lib/wifi/ + $(INSTALL_DIR) $(1)/etc/wireless/mt7615/ + $(INSTALL_DIR) $(1)/etc_ro/Wireless/RT2860AP/ + $(INSTALL_BIN) ./files/l1profile.dat $(1)/etc/wireless/ + $(INSTALL_BIN) ./files/mt7615.1.dat $(1)/etc/wireless/mt7615/ + $(INSTALL_BIN) ./files/mt7615.2.dat $(1)/etc/wireless/mt7615/ + $(INSTALL_BIN) ./files/SingleSKU.dat $(1)/etc_ro/Wireless/RT2860AP/ + $(INSTALL_BIN) ./files/SingleSKU_BF.dat $(1)/etc_ro/Wireless/RT2860AP/ + $(INSTALL_BIN) ./files/mt7615.lua $(1)/lib/wifi + $(INSTALL_BIN) ./files/firmware.sh $(1)/etc/init.d/ +endef + +define KernelPackage/mt_wifi_dbdc/install $(INSTALL_DIR) $(1)/etc/init.d/ $(INSTALL_DIR) $(1)/lib/wifi/ $(INSTALL_DIR) $(1)/etc/wireless/mt7615/ @@ -218,7 +247,7 @@ define KernelPackage/mt_wifi/install $(INSTALL_BIN) ./files/SingleSKU_BF.dat $(1)/etc_ro/Wireless/RT2860AP/ $(INSTALL_BIN) ./files/mt7615.lua $(1)/lib/wifi $(INSTALL_BIN) ./files/firmware.sh $(1)/etc/init.d/ - endef $(eval $(call KernelPackage,mt_wifi)) +$(eval $(call KernelPackage,mt_wifi_dbdc)) diff --git a/package/lean/mt-drivers/mt_wifi/config.in b/package/lean/mt-drivers/mt_wifi/config.in index a4992059d0..a666bc5f56 100644 --- a/package/lean/mt-drivers/mt_wifi/config.in +++ b/package/lean/mt-drivers/mt_wifi/config.in @@ -40,7 +40,7 @@ choice select MTK_WIFI_MT_MAC select MTK_MT_MAC select MTK_CHIP_MT7626 - + config MTK_FIRST_IF_NONE bool "None" endchoice @@ -121,7 +121,7 @@ choice config MTK_FIRST_IF_EEPROM_FLASH bool "FLASH" - + config MTK_FIRST_IF_EEPROM_PROM bool "EEPROM" @@ -180,7 +180,7 @@ config MTK_RT_THIRD_CARD_EEPROM default "prom" if MTK_THIRD_IF_EEPROM_PROM default "efuse" if MTK_THIRD_IF_EEPROM_EFUSE default "flash" if MTK_THIRD_IF_EEPROM_FLASH - + config MTK_MULTI_INF_SUPPORT bool default y if !MTK_FIRST_IF_NONE && !MTK_SECOND_IF_NONE @@ -217,7 +217,7 @@ config MTK_VHT_TXBF_2G_EPIGRAM_IE_SUPPORT bool "BRCM 2.4G VHT Sounding support" depends on MTK_WIFI_DRIVER default y - + config MTK_TPC_SUPPORT bool "802.11h TPC Support" depends on MTK_WIFI_DRIVER @@ -270,12 +270,14 @@ config MTK_DBDC_MODE depends on MTK_CHIP_MT7615E || MTK_CHIP_MT7626 select MULTI_PROFILE_SUPPORT select DEFAULT_5G_PROFILE - default y + default y if TARGET_ramips_mt7621_DEVICE_phicomm_k2p + default n config MTK_MULTI_PROFILE_SUPPORT - bool "Multi Profile Support" - depends on MTK_DBDC_MODE - default y + bool "Multi Profile Support" + depends on MTK_DBDC_MODE + default y if TARGET_ramips_mt7621_DEVICE_phicomm_k2p + default n config MTK_DEFAULT_5G_PROFILE bool "5G default profile for DBDC" @@ -310,13 +312,13 @@ config MTK_FAST_NAT_SUPPORT bool "Fast-NAT support" # depends on RA_HW_NAT_WIFI default n - + config MTK_WHNAT_SUPPORT tristate "Wifi Hardware NAT support" depends on MTK_CHIP_MT7615E depends on MTK_WLAN_HOOK depends on MTK_FAST_NAT_SUPPORT - select PACKAGE_kmod-hw_nat + select PACKAGE_kmod-hw_nat default n #config LLTD_SUPPORT @@ -423,7 +425,7 @@ config MTK_PRE_CAL_TRX_SET2_SUPPORT config MTK_RF_LOCKDOWN_SUPPORT bool "RF Lockdown Support" depends on MTK_WIFI_DRIVER - default n + default n config MTK_LINK_TEST_SUPPORT bool "Link Test Support" @@ -502,43 +504,43 @@ config MTK_FDB_SUPPORT choice prompt "PA LNA Type of 1st Card" depends on ! MTK_FIRST_IF_NONE - - config MTK_FIRST_IF_EPAELNA - bool "ePAeLNA" + config MTK_FIRST_IF_IPAILNA - bool "iPAiLNA" + bool "iPAiLNA" config MTK_FIRST_IF_IPAELNA bool "iPAeLNA" + config MTK_FIRST_IF_EPAELNA + bool "ePAeLNA" # config MTK_FIRST_IF_EPAILNA # bool "ePAiLNA" endchoice choice prompt "PA LNA Type of 2nd Card" depends on ! MTK_SECOND_IF_NONE - - config MTK_SECOND_IF_EPAELNA - bool "ePAeLNA" + config MTK_SECOND_IF_IPAILNA - bool "iPAiLNA" + bool "iPAiLNA" config MTK_SECOND_IF_IPAELNA bool "iPAeLNA" + config MTK_SECOND_IF_EPAELNA + bool "ePAeLNA" # config MTK_SECOND_IF_EPAILNA # bool "ePAiLNA" endchoice choice prompt "PA LNA Type of 3rd Card" depends on ! MTK_THIRD_IF_NONE - + config MTK_THIRD_IF_EPAELNA bool "ePAeLNA" config MTK_THIRD_IF_IPAILNA - bool "iPAiLNA" + bool "iPAiLNA" config MTK_THIRD_IF_IPAELNA bool "iPAeLNA" # config MTK_THIRD_IF_EPAILNA # bool "ePAiLNA" endchoice -#### PA_LNA_Type choice END +#### PA_LNA_Type choice END # # Section for chip architectures @@ -685,7 +687,7 @@ config MTK_DSCP_PRI_SUPPORT bool "Dscp Priority Mapping Support" depends on MTK_MT_AP_SUPPORT default n - + config MTK_CON_WPS_SUPPORT bool "Concurrent WPS Support" depends on MTK_MT_AP_SUPPORT @@ -754,7 +756,7 @@ config MTK_GREENAP_SUPPORT bool "GreenAP Support" depends on MTK_MT_AP_SUPPORT default y - + config MTK_PCIE_ASPM_DYM_CTRL_SUPPORT bool "Pcie Aspm Dynamic Control Support" depends on MTK_MT_AP_SUPPORT @@ -768,7 +770,7 @@ config MTK_COEX_SUPPORT config MTK_EASY_SETUP_SUPPORT bool "Whole Home Coverage - Easy Setup" depends on MTK_MT_AP_SUPPORT - default n + default n config MTK_EVENT_NOTIFIER_SUPPORT bool "Whole Home Coverage - Event Notifier" @@ -812,7 +814,7 @@ config MTK_WIFI_MT_MAC bool default y depends on MTK_MT_WIFI - + if MTK_WIFI_RLT_MAC config MTK_RLT_MAC bool diff --git a/package/lean/mt-drivers/mt_wifi/files/l1profile.dat b/package/lean/mt-drivers/mt_wifi/files/l1profile.dat new file mode 100644 index 0000000000..7b75d07c47 --- /dev/null +++ b/package/lean/mt-drivers/mt_wifi/files/l1profile.dat @@ -0,0 +1,23 @@ +Default +INDEX0=MT7615 +INDEX0_profile_path=/etc/wireless/mt7615/mt7615.1.dat +INDEX0_EEPROM_offset=0x0 +INDEX0_EEPROM_size=0x4000 +INDEX0_EEPROM_name=e2p +INDEX0_main_ifname=ra0 +INDEX0_ext_ifname=ra +INDEX0_wds_ifname=wds +INDEX0_apcli_ifname=apcli +INDEX0_single_sku_path=/etc_ro/Wireless/SingleSKU_mt7615e-sku.dat +INDEX0_bf_sku_path=/etc_ro/Wireless/SingleSKU_mt7615e-sku-bf.dat +INDEX1=MT7615 +INDEX1_profile_path=/etc/wireless/mt7615/mt7615.2.dat +INDEX1_EEPROM_offset=0x8000 +INDEX1_EEPROM_size=0x4000 +INDEX1_EEPROM_name=e2p +INDEX1_main_ifname=rai0 +INDEX1_ext_ifname=rai +INDEX1_wds_ifname=wdsi +INDEX1_apcli_ifname=apclii +INDEX1_single_sku_path=/etc_ro/Wireless/SingleSKU_mt7615e-sku.dat +INDEX1_bf_sku_path=/etc_ro/Wireless/SingleSKU_mt7615e-sku-bf.dat diff --git a/package/lean/mt-drivers/mt_wifi/files/mt7615.1.dat b/package/lean/mt-drivers/mt_wifi/files/mt7615.1.dat new file mode 100644 index 0000000000..8db85813b0 --- /dev/null +++ b/package/lean/mt-drivers/mt_wifi/files/mt7615.1.dat @@ -0,0 +1,375 @@ +Default +AccessControlList0= +AccessControlList1= +AccessControlList10= +AccessControlList11= +AccessControlList12= +AccessControlList13= +AccessControlList14= +AccessControlList15= +AccessControlList2= +AccessControlList3= +AccessControlList4= +AccessControlList5= +AccessControlList6= +AccessControlList7= +AccessControlList8= +AccessControlList9= +AccessPolicy0=0 +AccessPolicy1=0 +AccessPolicy10=0 +AccessPolicy11=0 +AccessPolicy12=0 +AccessPolicy13=0 +AccessPolicy14=0 +AccessPolicy15=0 +AccessPolicy2=0 +AccessPolicy3=0 +AccessPolicy4=0 +AccessPolicy5=0 +AccessPolicy6=0 +AccessPolicy7=0 +AccessPolicy8=0 +AccessPolicy9=0 +AckPolicy=0;0;0;0 +APACM=0;0;0;0 +APAifsn=3;7;1;1 +ApCliAuthMode= +ApCliBssid= +ApCliDefaultKeyID= +ApCliEnable= +ApCliEncrypType= +ApCliKey1Str= +ApCliKey1Str1= +ApCliKey1Type= +ApCliKey2Str= +ApCliKey2Str1= +ApCliKey2Type= +ApCliKey3Str= +ApCliKey3Str1= +ApCliKey3Type= +ApCliKey4Str= +ApCliKey4Str1= +ApCliKey4Type= +ApCliSsid= +ApCliWirelessMode= +ApCliWPAPSK= +ApCliWPAPSK1= +APCwmax=6;10;4;3 +APCwmin=4;4;3;2 +APSDCapable=1 +APTxop=0;0;94;47 +AuthMode=OPEN +AutoChannelSelect=0 +AutoChannelSkipList= +AutoProvisionEn=0 +BandSteering=0 +BasicRate=15 +BeaconPeriod=100 +BFBACKOFFenable=0 +BgndScanSkipCh= +BGProtection=0 +BndStrgBssIdx= +BSSACM=0;0;0;0 +BSSAifsn=3;7;2;2 +BSSCwmax=10;10;4;3 +BSSCwmin=4;4;3;2 +BssidNum=1 +BSSTxop=0;0;94;47 +BW_Enable=0 +BW_Guarantee_Rate= +BW_Maximum_Rate= +BW_Priority= +BW_Root=0 +CalCacheApply=0 +CarrierDetect=0 +Channel=6 +ChannelGrp= +CountryCode=US +CountryRegion=5 +CountryRegionABand=7 +CP_SUPPORT=2 +CSPeriod=6 +DBDC_MODE=0 +DebugFlags=0 +DefaultKeyID=1 +DfsCalibration=0 +DfsEnable=0 +DfsFalseAlarmPrevent=1 +DfsZeroWait=0 +DfsZeroWaitCacTime=255 +DisableOLBC=0 +DtimPeriod=1 +E2pAccessMode=2 +EAPifname=br0 +EDCCAEnable=1 +EncrypType=NONE +EthConvertMode=dongle +EtherTrafficBand=0 +Ethifname= +ETxBfEnCond=1 +FineAGC=0 +FixedTxMode= +ForceRoamSupport= +FragThreshold=2346 +FreqDelta=0 +FtSupport=0 +GreenAP=1 +G_BAND_256QAM=1 +HideSSID=0 +HT_AMSDU=0 +HT_AutoBA=1 +HT_BADecline=0 +HT_BAWinSize=64 +HT_BSSCoexistence=1 +HT_BW=1 +HT_DisallowTKIP=1 +HT_EXTCHA=1 +HT_GI=1 +HT_HTC=1 +HT_LDPC=1 +HT_LinkAdapt=0 +HT_MCS=33 +HT_MpduDensity=5 +HT_OpMode=0 +HT_PROTECT=1 +HT_RxStream=2 +HT_STBC=1 +HT_TxStream=2 +IcapMode=0 +idle_timeout_interval=0 +IEEE80211H=1 +IEEE8021X=0 +IgmpSnEnable=0 +ITxBfEn=1 +Key1Str= +Key1Str1= +Key1Str10= +Key1Str11= +Key1Str12= +Key1Str13= +Key1Str14= +Key1Str15= +Key1Str16= +Key1Str2= +Key1Str3= +Key1Str4= +Key1Str5= +Key1Str6= +Key1Str7= +Key1Str8= +Key1Str9= +Key1Type=0 +Key2Str= +Key2Str1= +Key2Str10= +Key2Str11= +Key2Str12= +Key2Str13= +Key2Str14= +Key2Str15= +Key2Str16= +Key2Str2= +Key2Str3= +Key2Str4= +Key2Str5= +Key2Str6= +Key2Str7= +Key2Str8= +Key2Str9= +Key2Type=0 +Key3Str= +Key3Str1= +Key3Str10= +Key3Str11= +Key3Str12= +Key3Str13= +Key3Str14= +Key3Str15= +Key3Str16= +Key3Str2= +Key3Str3= +Key3Str4= +Key3Str5= +Key3Str6= +Key3Str7= +Key3Str8= +Key3Str9= +Key3Type=0 +Key4Str= +Key4Str1= +Key4Str10= +Key4Str11= +Key4Str12= +Key4Str13= +Key4Str14= +Key4Str15= +Key4Str16= +Key4Str2= +Key4Str3= +Key4Str4= +Key4Str5= +Key4Str6= +Key4Str7= +Key4Str8= +Key4Str9= +Key4Type=0 +LinkTestSupport=0 +MACRepeaterEn= +MACRepeaterOuiMode=2 +MUTxRxEnable=0 +NoForwarding=0 +NoForwardingBTNBSSID=0 +own_ip_addr=10.10.10.254 +PcieAspm=0 +PERCENTAGEenable=0 +PhyRateLimit=0 +PMFMFPC=0 +PMFMFPR=0 +PMFSHA256=0 +PMKCachePeriod=10 +PowerUpCckOfdm=0:0:0:0:0:0:0 +PowerUpHT20=0:0:0:0:0:0:0 +PowerUpHT40=0:0:0:0:0:0:0 +PowerUpVHT160=0:0:0:0:0:0:0 +PowerUpVHT20=0:0:0:0:0:0:0 +PowerUpVHT40=0:0:0:0:0:0:0 +PowerUpVHT80=0:0:0:0:0:0:0 +PreAntSwitch= +PreAuth=0 +PreAuthifname=br0 +RadioLinkSelection=0 +RadioOn=1 +RADIUS_Acct_Key= +RADIUS_Acct_Port=1813 +RADIUS_Acct_Server= +RADIUS_Key1= +RADIUS_Key10= +RADIUS_Key11= +RADIUS_Key12= +RADIUS_Key13= +RADIUS_Key14= +RADIUS_Key15= +RADIUS_Key16= +RADIUS_Key2= +RADIUS_Key3= +RADIUS_Key4= +RADIUS_Key5= +RADIUS_Key6= +RADIUS_Key7= +RADIUS_Key8= +RADIUS_Key9= +RADIUS_Port=1812 +RADIUS_Server=0 +RDRegion= +RED_Enable=1 +RekeyInterval=3600 +RekeyMethod=DISABLE +RRMEnable=0 +RTSThreshold=2347 +session_timeout_interval=0 +ShortSlot=1 +SKUenable=0 +SSID= +SSID1=OpenWrt +SSID10= +SSID11= +SSID12= +SSID13= +SSID14= +SSID15= +SSID16= +SSID2= +SSID3= +SSID4= +SSID5= +SSID6= +SSID7= +SSID8= +SSID9= +StationKeepAlive=0 +StreamMode=0 +StreamModeMac0= +StreamModeMac1= +StreamModeMac2= +StreamModeMac3= +TGnWifiTest=0 +ThermalRecal=0 +TxBurst=1 +TxPower=100 +TxPreamble=1 +VHT_BW=1 +VHT_BW_SIGNAL=0 +VHT_LDPC=1 +VHT_Sec80_Channel=0 +VHT_SGI=1 +VHT_STBC=1 +VLANID=0 +VLANPriority=0 +VLANTag=0 +VOW_Airtime_Ctrl_En= +VOW_Airtime_Fairness_En=1 +VOW_BW_Ctrl=0 +VOW_Group_Backlog= +VOW_Group_DWRR_Max_Wait_Time= +VOW_Group_DWRR_Quantum= +VOW_Group_Max_Airtime_Bucket_Size= +VOW_Group_Max_Rate= +VOW_Group_Max_Rate_Bucket_Size= +VOW_Group_Max_Ratio= +VOW_Group_Max_Wait_Time= +VOW_Group_Min_Airtime_Bucket_Size= +VOW_Group_Min_Rate= +VOW_Group_Min_Rate_Bucket_Size= +VOW_Group_Min_Ratio= +VOW_Rate_Ctrl_En= +VOW_Refill_Period= +VOW_RX_En=1 +VOW_Sta_BE_DWRR_Quantum= +VOW_Sta_BK_DWRR_Quantum= +VOW_Sta_DWRR_Max_Wait_Time= +VOW_Sta_VI_DWRR_Quantum= +VOW_Sta_VO_DWRR_Quantum= +VOW_WATF_Enable= +VOW_WATF_MAC_LV0= +VOW_WATF_MAC_LV1= +VOW_WATF_MAC_LV2= +VOW_WATF_MAC_LV3= +VOW_WATF_Q_LV0= +VOW_WATF_Q_LV1= +VOW_WATF_Q_LV2= +VOW_WATF_Q_LV3= +VOW_WMM_Search_Rule_Band0= +VOW_WMM_Search_Rule_Band1= +WCNTest=0 +Wds0Key= +Wds1Key= +Wds2Key= +Wds3Key= +WdsEnable=0 +WdsEncrypType=NONE +WdsList= +WdsPhyMode=0 +WHNAT=0 +WiFiTest=0 +WirelessMode=9 +WmmCapable=1 +WPAPSK= +WPAPSK1=12345678 +WPAPSK10= +WPAPSK11= +WPAPSK12= +WPAPSK13= +WPAPSK14= +WPAPSK15= +WPAPSK16= +WPAPSK2= +WPAPSK3= +WPAPSK4= +WPAPSK5= +WPAPSK6= +WPAPSK7= +WPAPSK8= +WPAPSK9= +WscConfMode=0 +WscConfStatus=2 diff --git a/package/lean/mt-drivers/mt_wifi/files/mt7615.2.dat b/package/lean/mt-drivers/mt_wifi/files/mt7615.2.dat new file mode 100644 index 0000000000..ee68eea47e --- /dev/null +++ b/package/lean/mt-drivers/mt_wifi/files/mt7615.2.dat @@ -0,0 +1,375 @@ +Default +AccessControlList0= +AccessControlList1= +AccessControlList10= +AccessControlList11= +AccessControlList12= +AccessControlList13= +AccessControlList14= +AccessControlList15= +AccessControlList2= +AccessControlList3= +AccessControlList4= +AccessControlList5= +AccessControlList6= +AccessControlList7= +AccessControlList8= +AccessControlList9= +AccessPolicy0=0 +AccessPolicy1=0 +AccessPolicy10=0 +AccessPolicy11=0 +AccessPolicy12=0 +AccessPolicy13=0 +AccessPolicy14=0 +AccessPolicy15=0 +AccessPolicy2=0 +AccessPolicy3=0 +AccessPolicy4=0 +AccessPolicy5=0 +AccessPolicy6=0 +AccessPolicy7=0 +AccessPolicy8=0 +AccessPolicy9=0 +AckPolicy=0;0;0;0 +APACM=0;0;0;0 +APAifsn=3;7;1;1 +ApCliAuthMode= +ApCliBssid= +ApCliDefaultKeyID= +ApCliEnable= +ApCliEncrypType= +ApCliKey1Str= +ApCliKey1Str1= +ApCliKey1Type= +ApCliKey2Str= +ApCliKey2Str1= +ApCliKey2Type= +ApCliKey3Str= +ApCliKey3Str1= +ApCliKey3Type= +ApCliKey4Str= +ApCliKey4Str1= +ApCliKey4Type= +ApCliSsid= +ApCliWirelessMode= +ApCliWPAPSK= +ApCliWPAPSK1= +APCwmax=6;10;4;3 +APCwmin=4;4;3;2 +APSDCapable=1 +APTxop=0;0;94;47 +AuthMode=OPEN +AutoChannelSelect=0 +AutoChannelSkipList= +AutoProvisionEn=0 +BandSteering=0 +BasicRate=15 +BeaconPeriod=100 +BFBACKOFFenable=0 +BgndScanSkipCh= +BGProtection=0 +BndStrgBssIdx= +BSSACM=0;0;0;0 +BSSAifsn=3;7;2;2 +BSSCwmax=10;10;4;3 +BSSCwmin=4;4;3;2 +BssidNum=1 +BSSTxop=0;0;94;47 +BW_Enable=0 +BW_Guarantee_Rate= +BW_Maximum_Rate= +BW_Priority= +BW_Root=0 +CalCacheApply=0 +CarrierDetect=0 +Channel=149 +ChannelGrp= +CountryCode=US +CountryRegion=5 +CountryRegionABand=7 +CP_SUPPORT=2 +CSPeriod=6 +DBDC_MODE=0 +DebugFlags=0 +DefaultKeyID=1 +DfsCalibration=0 +DfsEnable=1 +DfsFalseAlarmPrevent=1 +DfsZeroWait=0 +DfsZeroWaitCacTime=255 +DisableOLBC=0 +DtimPeriod=1 +E2pAccessMode=2 +EAPifname=br0 +EDCCAEnable=1 +EncrypType=NONE +EthConvertMode=dongle +EtherTrafficBand=0 +Ethifname= +ETxBfEnCond=1 +FineAGC=0 +FixedTxMode= +ForceRoamSupport= +FragThreshold=2346 +FreqDelta=0 +FtSupport=0 +GreenAP=1 +G_BAND_256QAM=1 +HideSSID=0 +HT_AMSDU=0 +HT_AutoBA=1 +HT_BADecline=0 +HT_BAWinSize=64 +HT_BSSCoexistence=1 +HT_BW=1 +HT_DisallowTKIP=1 +HT_EXTCHA=1 +HT_GI=1 +HT_HTC=1 +HT_LDPC=1 +HT_LinkAdapt=0 +HT_MCS=33 +HT_MpduDensity=5 +HT_OpMode=0 +HT_PROTECT=1 +HT_RxStream=2 +HT_STBC=1 +HT_TxStream=2 +IcapMode=0 +idle_timeout_interval=0 +IEEE80211H=1 +IEEE8021X=0 +IgmpSnEnable=0 +ITxBfEn=1 +Key1Str= +Key1Str1= +Key1Str10= +Key1Str11= +Key1Str12= +Key1Str13= +Key1Str14= +Key1Str15= +Key1Str16= +Key1Str2= +Key1Str3= +Key1Str4= +Key1Str5= +Key1Str6= +Key1Str7= +Key1Str8= +Key1Str9= +Key1Type=0 +Key2Str= +Key2Str1= +Key2Str10= +Key2Str11= +Key2Str12= +Key2Str13= +Key2Str14= +Key2Str15= +Key2Str16= +Key2Str2= +Key2Str3= +Key2Str4= +Key2Str5= +Key2Str6= +Key2Str7= +Key2Str8= +Key2Str9= +Key2Type=0 +Key3Str= +Key3Str1= +Key3Str10= +Key3Str11= +Key3Str12= +Key3Str13= +Key3Str14= +Key3Str15= +Key3Str16= +Key3Str2= +Key3Str3= +Key3Str4= +Key3Str5= +Key3Str6= +Key3Str7= +Key3Str8= +Key3Str9= +Key3Type=0 +Key4Str= +Key4Str1= +Key4Str10= +Key4Str11= +Key4Str12= +Key4Str13= +Key4Str14= +Key4Str15= +Key4Str16= +Key4Str2= +Key4Str3= +Key4Str4= +Key4Str5= +Key4Str6= +Key4Str7= +Key4Str8= +Key4Str9= +Key4Type=0 +LinkTestSupport=0 +MACRepeaterEn= +MACRepeaterOuiMode=2 +MUTxRxEnable=1 +NoForwarding=0 +NoForwardingBTNBSSID=0 +own_ip_addr=10.10.10.254 +PcieAspm=0 +PERCENTAGEenable=0 +PhyRateLimit=0 +PMFMFPC=0 +PMFMFPR=0 +PMFSHA256=0 +PMKCachePeriod=10 +PowerUpCckOfdm=0:0:0:0:0:0:0 +PowerUpHT20=0:0:0:0:0:0:0 +PowerUpHT40=0:0:0:0:0:0:0 +PowerUpVHT160=0:0:0:0:0:0:0 +PowerUpVHT20=0:0:0:0:0:0:0 +PowerUpVHT40=0:0:0:0:0:0:0 +PowerUpVHT80=0:0:0:0:0:0:0 +PreAntSwitch= +PreAuth=0 +PreAuthifname=br0 +RadioLinkSelection=0 +RadioOn=1 +RADIUS_Acct_Key= +RADIUS_Acct_Port=1813 +RADIUS_Acct_Server= +RADIUS_Key1= +RADIUS_Key10= +RADIUS_Key11= +RADIUS_Key12= +RADIUS_Key13= +RADIUS_Key14= +RADIUS_Key15= +RADIUS_Key16= +RADIUS_Key2= +RADIUS_Key3= +RADIUS_Key4= +RADIUS_Key5= +RADIUS_Key6= +RADIUS_Key7= +RADIUS_Key8= +RADIUS_Key9= +RADIUS_Port=1812 +RADIUS_Server=0 +RDRegion= +RED_Enable=1 +RekeyInterval=3600 +RekeyMethod=DISABLE +RRMEnable=0 +RTSThreshold=2347 +session_timeout_interval=0 +ShortSlot=1 +SKUenable=0 +SSID= +SSID1=OpenWrt_5G +SSID10= +SSID11= +SSID12= +SSID13= +SSID14= +SSID15= +SSID16= +SSID2= +SSID3= +SSID4= +SSID5= +SSID6= +SSID7= +SSID8= +SSID9= +StationKeepAlive=0 +StreamMode=0 +StreamModeMac0= +StreamModeMac1= +StreamModeMac2= +StreamModeMac3= +TGnWifiTest=0 +ThermalRecal=0 +TxBurst=1 +TxPower=100 +TxPreamble=1 +VHT_BW=1 +VHT_BW_SIGNAL=0 +VHT_LDPC=1 +VHT_Sec80_Channel=0 +VHT_SGI=1 +VHT_STBC=1 +VLANID=0 +VLANPriority=0 +VLANTag=0 +VOW_Airtime_Ctrl_En= +VOW_Airtime_Fairness_En=1 +VOW_BW_Ctrl=0 +VOW_Group_Backlog= +VOW_Group_DWRR_Max_Wait_Time= +VOW_Group_DWRR_Quantum= +VOW_Group_Max_Airtime_Bucket_Size= +VOW_Group_Max_Rate= +VOW_Group_Max_Rate_Bucket_Size= +VOW_Group_Max_Ratio= +VOW_Group_Max_Wait_Time= +VOW_Group_Min_Airtime_Bucket_Size= +VOW_Group_Min_Rate= +VOW_Group_Min_Rate_Bucket_Size= +VOW_Group_Min_Ratio= +VOW_Rate_Ctrl_En= +VOW_Refill_Period= +VOW_RX_En=1 +VOW_Sta_BE_DWRR_Quantum= +VOW_Sta_BK_DWRR_Quantum= +VOW_Sta_DWRR_Max_Wait_Time= +VOW_Sta_VI_DWRR_Quantum= +VOW_Sta_VO_DWRR_Quantum= +VOW_WATF_Enable= +VOW_WATF_MAC_LV0= +VOW_WATF_MAC_LV1= +VOW_WATF_MAC_LV2= +VOW_WATF_MAC_LV3= +VOW_WATF_Q_LV0= +VOW_WATF_Q_LV1= +VOW_WATF_Q_LV2= +VOW_WATF_Q_LV3= +VOW_WMM_Search_Rule_Band0= +VOW_WMM_Search_Rule_Band1= +WCNTest=0 +Wds0Key= +Wds1Key= +Wds2Key= +Wds3Key= +WdsEnable=0 +WdsEncrypType=NONE +WdsList= +WdsPhyMode=0 +WHNAT=0 +WiFiTest=0 +WirelessMode=14 +WmmCapable=1 +WPAPSK= +WPAPSK1=12345678 +WPAPSK10= +WPAPSK11= +WPAPSK12= +WPAPSK13= +WPAPSK14= +WPAPSK15= +WPAPSK16= +WPAPSK2= +WPAPSK3= +WPAPSK4= +WPAPSK5= +WPAPSK6= +WPAPSK7= +WPAPSK8= +WPAPSK9= +WscConfMode=0 +WscConfStatus=2 diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 299b4c176f..0540a37de2 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -232,7 +232,7 @@ define Device/dlink_dir-878-a1 IMAGES += factory.bin DEVICE_MODEL := DIR-878 DEVICE_VARIANT := A1 - DEVICE_PACKAGES := luci-app-mtwifi + DEVICE_PACKAGES := kmod-mt7615e wpad-openssl KERNEL_INITRAMFS := $$(KERNEL) | ubootpad96 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | ubootpad96 |\ pad-rootfs | check-size $$$$(IMAGE_SIZE) | append-metadata @@ -452,7 +452,7 @@ define Device/jcg_jhr-ac876m JCG_MAXSIZE := 16064k DEVICE_VENDOR := JCG DEVICE_MODEL := JHR-AC876M - DEVICE_PACKAGES := luci-app-mtwifi kmod-usb3 kmod-usb-ledtrig-usbport + DEVICE_PACKAGES := kmod-mt7615e kmod-usb3 kmod-usb-ledtrig-usbport wpad-openssl endef TARGET_DEVICES += jcg_jhr-ac876m @@ -603,7 +603,7 @@ define Device/netgear_r6260 SERCOMM_HWVER := A001 SERCOMM_SWVER := 0x0052 IMAGE_SIZE := 40960k - DEVICE_PACKAGES += luci-app-mtwifi + DEVICE_PACKAGES += kmod-mt7615e wpad-openssl endef TARGET_DEVICES += netgear_r6260 @@ -615,7 +615,7 @@ define Device/netgear_r6350 SERCOMM_HWVER := A001 SERCOMM_SWVER := 0x0052 IMAGE_SIZE := 40960k - DEVICE_PACKAGES += luci-app-mtwifi + DEVICE_PACKAGES += kmod-mt7615e wpad-openssl endef TARGET_DEVICES += netgear_r6350 @@ -630,7 +630,7 @@ define Device/netgear_r6700-v2 SERCOMM_HWVER := A001 SERCOMM_SWVER := 0x1032 IMAGE_SIZE := 40960k - DEVICE_PACKAGES += luci-app-mtwifi + DEVICE_PACKAGES += kmod-mt7615e wpad-openssl endef TARGET_DEVICES += netgear_r6700-v2 @@ -642,7 +642,7 @@ define Device/netgear_r6800 SERCOMM_HWVER := A001 SERCOMM_SWVER := 0x0062 IMAGE_SIZE := 40960k - DEVICE_PACKAGES += luci-app-mtwifi + DEVICE_PACKAGES += kmod-mt7615e wpad-openssl endef TARGET_DEVICES += netgear_r6800 @@ -654,7 +654,7 @@ define Device/netgear_r6850 SERCOMM_HWVER := A001 SERCOMM_SWVER := 0x0052 IMAGE_SIZE := 40960k - DEVICE_PACKAGES += luci-app-mtwifi + DEVICE_PACKAGES += kmod-mt7615e wpad-openssl endef TARGET_DEVICES += netgear_r6850 @@ -705,7 +705,7 @@ define Device/phicomm_k2p DEVICE_VENDOR := Phicomm DEVICE_MODEL := K2P SUPPORTED_DEVICES += k2p - DEVICE_PACKAGES := luci-app-mtwifi + DEVICE_PACKAGES := kmod-mt_wifi_dbdc luci-app-mtwifi endef TARGET_DEVICES += phicomm_k2p @@ -908,8 +908,8 @@ define Device/xiaomi_mir3p IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \ check-size $$$$(IMAGE_SIZE) - DEVICE_PACKAGES := luci-app-mtwifi kmod-usb3 kmod-usb-ledtrig-usbport \ - uboot-envtools + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport \ + kmod-mt_wifi luci-app-mtwifi uboot-envtools endef TARGET_DEVICES += xiaomi_mir3p