Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
hyird committed May 5, 2020
1 parent 88fcd8f commit bb468b7
Show file tree
Hide file tree
Showing 5 changed files with 277 additions and 102 deletions.
230 changes: 128 additions & 102 deletions user/lienol-mt7621/config.diff
Original file line number Diff line number Diff line change
Expand Up @@ -49,100 +49,7 @@ CONFIG_TARGET_ramips_mt7621=y
# CONFIG_TARGET_ramips_rt288x is not set
# CONFIG_TARGET_ramips_rt305x is not set
# CONFIG_TARGET_ramips_rt3883 is not set
# CONFIG_TARGET_x86_generic is not set
# CONFIG_TARGET_x86_legacy is not set
# CONFIG_TARGET_x86_geode is not set
# CONFIG_TARGET_x86_64 is not set
CONFIG_TARGET_MULTI_PROFILE=y
# CONFIG_TARGET_ramips_mt7620_Default is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_alfa-network_ac1200rm is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_alfa-network_r36m-e4g is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_alfa-network_tube-e4g is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_ai-br100 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_rp-n53 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_rt-ac51u is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_rt-n12p is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_rt-n14u is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_bdcom_wap2100-sk is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_whr-1166d is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_whr-300hp2 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_whr-600d is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_wmr-300 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_cf-wr800n is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_dch-m225 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_dlink_dir-510l is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_dir-810l is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_dlink_dwr-116-a1 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_dlink_dwr-118-a1 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_dlink_dwr-118-a2 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_dlink_dwr-921-c1 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_dlink_dwr-921-c3 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_dlink_dwr-922-e2 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_tiny-ac is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_edimax_br-6478ac-v2 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_wrh-300cr is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_gl-mt300a is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_gl-mt300n is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_gl-mt750 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_c108 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_head-weblink_hdrm200 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_hc5661 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_hc5761 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_hc5861 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_iodata_wn-ac1167gr is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_iodata_wn-ac733gr3 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_u25awf-h1 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_kimax_u35wf is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_mlw221 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_mlwg2 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_lava_lr-25g001 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_y1 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_y1s is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_e1700 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_mt7620a_mt7530 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_mt7620a_mt7610e is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_mt7620a is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_mt7620a_v22sg is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_microwrt is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_ex3700-ex3800 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_wn3000rpv3 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_wt3020-8M is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_oy-0001 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_phicomm_k2g is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_psg1208 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_psg1218a is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_psg1218b is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_cs-qr10 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_db-wrt01 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_mzk-750dhp is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_mzk-ex300np is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_mzk-ex750np is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_ravpower_wd03 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_d240 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_na930 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_tplink_c2-v1 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_tplink_c20-v1 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_ArcherC20i is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_ArcherC50v1 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_ArcherMR200 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_vonets_var11n-300 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_wrtnode is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_miwifi-mini is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_youku-yk1 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_bocco is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_zte-q7 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_zbt-ape522ii is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_zbt-cpe102 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_zbt-wa05 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_we1026-5g-16m is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_zbt-we2026 is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_zbt-we826-16M is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_zbt-we826-32M is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_zbtlink_zbt-we826-e is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_zbt-wr8305rt is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_kn_rc is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_kn_rf is not set
# CONFIG_TARGET_ramips_mt7620_DEVICE_kng_rc is not set
# CONFIG_TARGET_ramips_mt7621_Default is not set
# CONFIG_TARGET_ramips_mt7621_DEVICE_ew1200 is not set
# CONFIG_TARGET_ramips_mt7621_DEVICE_alfa-network_quad-e4g is not set
Expand Down Expand Up @@ -202,7 +109,6 @@ CONFIG_TARGET_MULTI_PROFILE=y
# CONFIG_TARGET_ramips_mt7621_DEVICE_zbt-wg2626 is not set
# CONFIG_TARGET_ramips_mt7621_DEVICE_zbt-wg3526-16M is not set
# CONFIG_TARGET_ramips_mt7621_DEVICE_zbt-wg3526-32M is not set
# CONFIG_TARGET_x86_64_Generic is not set

#
# Target Devices
Expand Down Expand Up @@ -278,7 +184,7 @@ CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_d-team_newifi-d2=""
CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_pbr-m1=y
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_pbr-m1=""
CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_k2p=y
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_k2p=""
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_k2p="luci-app-mtwifi"
CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_vr500=y
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt7621_DEVICE_vr500=""
CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_sk-wb8=y
Expand Down Expand Up @@ -425,13 +331,6 @@ CONFIG_ARCH="mipsel"
# Target Images
#
# CONFIG_TARGET_ROOTFS_INITRAMFS is not set
# CONFIG_TARGET_INITRAMFS_COMPRESSION_NONE is not set
# CONFIG_TARGET_INITRAMFS_COMPRESSION_GZIP is not set
# CONFIG_TARGET_INITRAMFS_COMPRESSION_BZIP2 is not set
# CONFIG_TARGET_INITRAMFS_COMPRESSION_LZMA is not set
# CONFIG_TARGET_INITRAMFS_COMPRESSION_LZO is not set
# CONFIG_TARGET_INITRAMFS_COMPRESSION_LZ4 is not set
# CONFIG_TARGET_INITRAMFS_COMPRESSION_XZ is not set
CONFIG_EXTERNAL_CPIO=""

#
Expand Down Expand Up @@ -2952,6 +2851,112 @@ CONFIG_PACKAGE_kmod-mt76x0u=m
CONFIG_PACKAGE_kmod-mt76x2=m
CONFIG_PACKAGE_kmod-mt76x2-common=m
CONFIG_PACKAGE_kmod-mt76x2u=m
CONFIG_PACKAGE_kmod-mt_wifi=m
CONFIG_MTK_SUPPORT_OPENWRT=y
CONFIG_MTK_WIFI_DRIVER=y
CONFIG_MTK_FIRST_IF_MT7615E=y
# CONFIG_MTK_FIRST_IF_MT7622 is not set
# CONFIG_MTK_FIRST_IF_MT7626 is not set
# CONFIG_MTK_FIRST_IF_NONE is not set
CONFIG_MTK_SECOND_IF_NONE=y
# CONFIG_MTK_SECOND_IF_MT7615E is not set
CONFIG_MTK_THIRD_IF_NONE=y
# CONFIG_MTK_THIRD_IF_MT7615E is not set
CONFIG_MTK_RT_FIRST_CARD=7615
CONFIG_MTK_RT_FIRST_IF_RF_OFFSET=0xc0000
CONFIG_MTK_MT_WIFI=m
CONFIG_MTK_MT_WIFI_PATH="mt_wifi"

#
# WiFi Generic Feature Options
#
CONFIG_MTK_FIRST_IF_EEPROM_FLASH=y
# CONFIG_MTK_FIRST_IF_EEPROM_PROM is not set
# CONFIG_MTK_FIRST_IF_EEPROM_EFUSE is not set
CONFIG_MTK_RT_FIRST_CARD_EEPROM="flash"
CONFIG_MTK_WIFI_BASIC_FUNC=y
CONFIG_MTK_DOT11_N_SUPPORT=y
CONFIG_MTK_DOT11_VHT_AC=y
CONFIG_MTK_G_BAND_256QAM_SUPPORT=y
CONFIG_MTK_BRCM_256QAM_SUPPORT=y
CONFIG_MTK_VHT_TXBF_2G_EPIGRAM_IE_SUPPORT=y
CONFIG_MTK_TPC_SUPPORT=y
CONFIG_MTK_ICAP_SUPPORT=y
CONFIG_MTK_SPECTRUM_SUPPORT=y
CONFIG_MTK_BACKGROUND_SCAN_SUPPORT=y
CONFIG_MTK_SMART_CARRIER_SENSE_SUPPORT=y
CONFIG_MTK_MT_DFS_SUPPORT=y
CONFIG_MTK_HDR_TRANS_TX_SUPPORT=y
CONFIG_MTK_HDR_TRANS_RX_SUPPORT=y
# CONFIG_MTK_DBDC_MODE is not set
CONFIG_MTK_WSC_INCLUDED=y
CONFIG_MTK_WSC_V2_SUPPORT=y
CONFIG_MTK_DOT11W_PMF_SUPPORT=y
CONFIG_MTK_TXBF_SUPPORT=y
# CONFIG_MTK_FAST_NAT_SUPPORT is not set
# CONFIG_MTK_FTM_SUPPORT is not set
CONFIG_MTK_IGMP_SNOOP_SUPPORT=y
CONFIG_MTK_RTMP_FLASH_SUPPORT=y
CONFIG_MTK_PRE_CAL_TRX_SET1_SUPPORT=y
CONFIG_MTK_RLM_CAL_CACHE_SUPPORT=y
CONFIG_MTK_PRE_CAL_TRX_SET2_SUPPORT=y
# CONFIG_MTK_RF_LOCKDOWN_SUPPORT is not set
# CONFIG_MTK_LINK_TEST_SUPPORT is not set
CONFIG_MTK_ATE_SUPPORT=y
# CONFIG_MTK_PASSPOINT_R2 is not set
# CONFIG_MTK_MBO_SUPPORT is not set
CONFIG_MTK_UAPSD=y
CONFIG_MTK_TCP_RACK_SUPPORT=y
CONFIG_MTK_RED_SUPPORT=y
# CONFIG_MTK_FDB_SUPPORT is not set
CONFIG_MTK_FIRST_IF_IPAILNA=y
# CONFIG_MTK_FIRST_IF_IPAELNA is not set
# CONFIG_MTK_FIRST_IF_EPAELNA is not set
# CONFIG_MTK_RLT_MAC is not set
# CONFIG_MTK_RTMP_MAC is not set

#
# WiFi Operation Modes
#
CONFIG_MTK_WIFI_MODE_AP=m
# CONFIG_MTK_WIFI_MODE_STA is not set
# CONFIG_MTK_WIFI_MODE_BOTH is not set
CONFIG_MTK_MT_AP_SUPPORT=m
CONFIG_MTK_WDS_SUPPORT=y
CONFIG_MTK_MBSS_SUPPORT=y
CONFIG_MTK_APCLI_SUPPORT=y
# CONFIG_MTK_APCLI_CERT_SUPPORT is not set
CONFIG_MTK_MAC_REPEATER_SUPPORT=y
# CONFIG_MTK_MWDS is not set
CONFIG_MTK_MUMIMO_SUPPORT=y
CONFIG_MTK_MU_RA_SUPPORT=y
# CONFIG_MTK_DOT11R_FT_SUPPORT is not set
# CONFIG_MTK_DOT11K_RRM_SUPPORT is not set
# CONFIG_MTK_CFG80211_SUPPORT is not set
# CONFIG_MTK_DSCP_PRI_SUPPORT is not set
# CONFIG_MTK_CON_WPS_SUPPORT is not set
CONFIG_MTK_MCAST_RATE_SPECIFIC=y
CONFIG_MTK_VOW_SUPPORT=y
CONFIG_MTK_BAND_STEERING=y
# CONFIG_MTK_LED_CONTROL_SUPPORT is not set
# CONFIG_MTK_WLAN_HOOK is not set
# CONFIG_MTK_RADIUS_ACCOUNTING_SUPPORT is not set
CONFIG_MTK_GREENAP_SUPPORT=y
CONFIG_MTK_PCIE_ASPM_DYM_CTRL_SUPPORT=y
# CONFIG_MTK_COEX_SUPPORT is not set
# CONFIG_MTK_EASY_SETUP_SUPPORT is not set
# CONFIG_MTK_EVENT_NOTIFIER_SUPPORT is not set
# CONFIG_MTK_AIR_MONITOR is not set
# CONFIG_MTK_WNM_SUPPORT is not set
# CONFIG_MTK_INTERWORKING is not set
# CONFIG_MTK_LINUX_NET_TXQ_SUPPORT is not set
CONFIG_MTK_WIFI_MT_MAC=y
CONFIG_MTK_MT_MAC=y
# CONFIG_MTK_CHIP_MT7603E is not set
CONFIG_MTK_CHIP_MT7615E=y
# CONFIG_MTK_CHIP_MT7622 is not set
# CONFIG_MTK_CHIP_MT7663E is not set
# CONFIG_MTK_CHIP_MT7626 is not set
CONFIG_PACKAGE_kmod-mwifiex-pcie=m
CONFIG_PACKAGE_kmod-mwifiex-sdio=m
CONFIG_PACKAGE_kmod-mwl8k=m
Expand Down Expand Up @@ -2998,6 +3003,25 @@ CONFIG_PACKAGE_kmod-wl12xx=m
CONFIG_PACKAGE_kmod-wl18xx=m
CONFIG_PACKAGE_kmod-wlcore=m
CONFIG_PACKAGE_kmod-zd1211rw=m
CONFIG_PACKAGE_wifi-l1profile=m
CONFIG_first_card=y
CONFIG_first_card_name="MT7622"
CONFIG_first_card_profile_path="/etc/wireless/mediatek/mt7622.1.dat"
CONFIG_first_card_init_script="/lib/wifi/mt7615e.lua"
CONFIG_first_card_init_compatible="mt7615e"
CONFIG_first_card_EEPROM_offset="0x0"
CONFIG_first_card_EEPROM_size="0x5000"
CONFIG_first_card_EEPROM_name="e2p"
CONFIG_first_card_main_ifname="ra0"
CONFIG_first_card_ext_ifname="ra"
CONFIG_first_card_wds_ifname="wds"
CONFIG_first_card_apcli_ifname="apcli"
CONFIG_first_card_mesh_ifname="mesh"
CONFIG_first_card_nvram_zone="dev1"
CONFIG_first_card_single_sku_path="/etc/wireless/mediatek/mt7615e-sku.dat"
CONFIG_first_card_bf_sku_path="/etc/wireless/mediatek/mt7615e-sku-bf.dat"
# CONFIG_second_card is not set
# CONFIG_third_card is not set

#
# Languages
Expand Down Expand Up @@ -5560,6 +5584,7 @@ CONFIG_PACKAGE_luci-app-lxc=m
CONFIG_PACKAGE_luci-app-meshwizard=m
CONFIG_PACKAGE_luci-app-minidlna=m
CONFIG_PACKAGE_luci-app-mjpg-streamer=m
CONFIG_PACKAGE_luci-app-mtwifi=m
CONFIG_PACKAGE_luci-app-mwan3=m
CONFIG_PACKAGE_luci-app-mwan3helper=m
CONFIG_PACKAGE_luci-app-netdata=m
Expand Down Expand Up @@ -5634,6 +5659,7 @@ CONFIG_PACKAGE_luci-app-tinyproxy=m
CONFIG_PACKAGE_luci-app-transmission=m
CONFIG_PACKAGE_luci-app-travelmate=m
CONFIG_PACKAGE_luci-app-trojan-server=m
# CONFIG_PACKAGE_luci-app-trubodns is not set
CONFIG_PACKAGE_luci-app-udpxy=m
CONFIG_PACKAGE_luci-app-uhttpd=m
CONFIG_PACKAGE_luci-app-unblockmusic=m
Expand Down
5 changes: 5 additions & 0 deletions user/lienol-mt7621/custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ svn checkout https://github.com/coolsnowwolf/lede/trunk/package/lean/redsocks2
svn checkout https://github.com/coolsnowwolf/lede/trunk/package/lean/tcpping package/tcpping
svn checkout https://github.com/coolsnowwolf/lede/trunk/package/lean/microsocks package/microsocks

rm -rf package/lean/mt
svn checkout https://github.com/project-openwrt/openwrt/trunk/package/lean/luci-app-mtwifi
svn checkout https://github.com/project-openwrt/openwrt/trunk/package/lean/mt-drivers


Loading

0 comments on commit bb468b7

Please sign in to comment.