tree: d97d0e57f67d8a22d848b1ad5b75dc72cff9d455 [path history] [tgz]
  1. mt7981_mac80211/
  2. mt7986_mac80211/
  3. mt7987-npu/
  4. mt7988_wifi7_mac80211_mlo/
  5. openwrt_patches/
  6. openwrt_patches-21.02/
  7. package/
  8. target/
  9. 0000-use-current-epoch-date-for-version.patch
  10. 0001-wifi6-mac80211-generate-hostapd-setting-from-ap-cap.patch
  11. 0001-wifi7-mac80211-generate-hostapd-setting-from-ap-cap.patch
  12. 0002-wifi6-hostapd-makefile-for-utils.patch
  13. 0002-wifi7-hostapd-makefile-for-utils.patch
  14. 0003-wifi7-mt76-makefile-for-new-chip.patch
  15. 0005-add-netfilter-netlink-ftnl-package.patch
  16. 0006-network-enable-bridge-igmp_snooping-by-default.patch
  17. 0007-relayd-change-trigger-reload-to-trigger-restart.patch
  18. 0010-add-llvm_bpf-toolchain.patch
  19. clean-staging.sh
  20. feeds.conf.default
  21. feeds.conf.default-21.02
  22. get_stagingdir_root.mk
  23. lede-build-sanity.sh
  24. Readme.md
autobuild/autobuild_5.4_mac80211_release/Readme.md

Mediatek Upstream SoftMAC WiFi Driver - MT76 Release Note (OpenWRT 21.02/Kernel 5.4)

Compile Environment Requirement

  • Use Ubuntu 18.04 and install below tarball
OpenWRT
  • RUN apt-get install -y uuid-dev
Toolchain
  • RUN apt-get install -y gcc-aarch64-linux-gnu
  • RUN apt-get install -y clang-6.0

Wi-Fi 7 Latest Release Version


Supported Chipsets

  • Filogic880/MT7996 802.11a/b/g/n/ac/ax/be BE19000/BE14000 2.4/5G/6GHz PCIe Chip
  • Filogic860/MT7992 802.11a/b/g/n/ac/ax/be BE7200/BE5000 2.4/5G PCIe Chip

  • Date: 2024-08-14
  • Modified By: Evelyn Tsai
  • Summary of Changes:
    • Multiple MLD Groups based on Legacy MBSS
    • MLO Reconfiguration (Add Link only, Remove Link with known issue)
    • MLO Statistics (Per-MLD, Per-Link)
    • MLO + Channels (ACS/DFS/Channel Switch)
    • MLO + Phy Features
    • MLO + Security
    • MLO + WDS
    • MLO + Hardware Peak
    • MLO Link Management (Adv-T2LM only, Neg-T2LM under development)
    • MLD Discovery & Setup
    • WiFi6E/AFC
    • Preamble puncturing
    • WiFi6E Mgmt Power Enhancement
  • Version:
    • Driver Version: 4.3.24.7
    • Firmware Version: 20240809
  • Document Reference:
    • MAC80211 MT76 Programming Guide v4.7

Filogic 880/860 WiFi7 MLO Beta Release

External Release
#Get Openwrt 21.02 source code from Git server
git clone --branch openwrt-21.02 https://git.openwrt.org/openwrt/openwrt.git
cd openwrt; git checkout 4a1d8ef55cbf247f06dae8e958eb8eb42f1882a5; cd -;

#Get Openwrt master source code from Git Server
git clone --branch master https://git.openwrt.org/openwrt/openwrt.git mac80211_package
cd mac80211_package; git checkout b51abacb5fd465e5ce4329ec27ac516b5a2b83b9; cd -;

#Get mtk-openwrt-feeds source code
git clone --branch master https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds
cd mtk-openwrt-feeds; git checkout effe5b41b0fff8336ee6a0b10abdc1194e48b41a; cd -;

#Change to openwrt folder
cp -rf mtk-openwrt-feeds/autobuild/autobuild_5.4_mac80211_release openwrt
cd openwrt; mv autobuild_5.4_mac80211_release autobuild

#Add MTK feed
echo "src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds" >> feeds.conf.default

#!!! CAUTION!!! Modify feed's revision
vim autobuild/feeds.conf.default-21.02

#Choose one SKU to build
#Filogic880/MT7996
bash autobuild/mt7988_wifi7_mac80211_mlo/lede-branch-build-sanity.sh mt7996

#Filogic860/MT7992
bash autobuild/mt7988_wifi7_mac80211_mlo/lede-branch-build-sanity.sh mt7992

#Further Build (After 1st full build)
./scripts/feeds update -a
make V=s PKG_HASH=skip PKG_MIRROR_HASH=skip
Feeds Revision
#vim autobuild/feeds.conf.default-21.02
src-git packages https://git.openwrt.org/feed/packages.git^1be343f
src-git luci https://git.openwrt.org/project/luci.git^e4c4633
src-git routing https://git.openwrt.org/feed/routing.git^a9e4310
src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds^effe5b4
WiFi Package Version
PlatformOpenWrt/21.02GIT01.mediatek.com
Kernel5.4.281autobuild_mac80211_release/target/linux/mediatek/patches-5.4
WiFi PackageOpenWrt/masterMTK Internal Patches
HostapdPKG_SOURCE_DATE:=2024-07-31autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/network/services/hostapd/patches
libnl-tinyPKG_SOURCE_DATE:=2023-12-05N/A
iwPKG_VERSION:=6.9autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/network/utils/iw/patches
iwinfoPKG_SOURCE_DATE:=2024-07-06N/A
wireless-regdbPKG_VERSION:=2024-07-04autobuild_mac80211_release/package/firmware/wireless-regdb/patches
ucodePKG_VERSION:=2024-07-11autobuild_mac80211_release/package/utils/ucode/patches
wifi-scriptsPKG_VERSION:=1.0autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/network/config/wifi-scripts/files
netifdPKG_VERSION:=2024-08-01autobuild_mac80211_release/package/network/config/netifd_new/patches
MAC80211PKG_VERSION:=6.9.9 (wireless-next-2024-07-11)autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/kernel/mac80211/patches
MT76PKG_SOURCE_DATE:=2024-07-16Patches: autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/kernel/mt76/patches Firmware autobuild_mac80211_release/package/kernel/mt76/src/firmware/mt7996
UtilityFormal
Manufacture Tool (CMD)mt76/tools

Wi-Fi 6 Latest Release Version


Supported Chipsets

  • Filogic830/MT7986 802.11a/b/g/n/ac/ax AX6000 2.4/5GHz SoC Device
  • Filogic820/MT7981 802.11a/b/g/n/ac/ax AX3000 2.4/5GHz SoC Device
  • Filogic630/MT7916 802.11a/b/g/n/ac/ax AX3000 2.4/5GHz PCIe Chip
  • Filogic615/MT7915 802.11a/b/g/n/ac/ax AX3600/AX1800 2.4/5GHz PCIe Chip

  • Date: 2024-05-10
  • Modified By: Evelyn Tsai
  • Summary of Changes:
    • Filogic820/MT7981 MT76 Support
    • Feature Enhancement (DFS/MBSS in Hostapd)
    • WiFi6E Mgmt Power Enhancement
    • WiFi6 Spatial Reuse
    • Smart Carrier Sense
    • CSI (Connac2)

Filogic 830/820/630/615 WiFi6 MP2.3 Release

#Get Openwrt 21.02 source code from Git server
git clone --branch openwrt-21.02 https://git.openwrt.org/openwrt/openwrt.git
cd openwrt; git checkout 4a1d8ef55cbf247f06dae8e958eb8eb42f1882a5; cd -;

#Get Openwrt master source code from Git Server
git clone --branch master https://git.openwrt.org/openwrt/openwrt.git mac80211_package
cd mac80211_package; git checkout 21ddd1164dc53b098ed36f8330c397e7de8076e6; cd -;

#Get mtk-openwrt-feeds source code
git clone --branch master https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds
cd mtk-openwrt-feeds; git checkout b62586b3cc50a02ed6572c8667c5be6effedcaaf; cd -;

#Change to openwrt folder
cp -rf mtk-openwrt-feeds/autobuild_mac80211_release openwrt
cd openwrt; mv autobuild_mac80211_release autobuild

#Add MTK feed
echo "src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds" >> feeds.conf.default

#!!! CAUTION!!! Modify feed's revision
vim autobuild/feeds.conf.default-21.02

#Choose one platform to build
#Filogic830/630/615 (APSoC: MT7986A/B , PCIE: MT7915A/D, MT7916)
./autobuild/mt7986_mac80211/lede-branch-build-sanity.sh

#Filogic820  (APSoC: MT7981)
./autobuild/mt7981_mac80211/lede-branch-build-sanity.sh

#Further Build (After 1st full build)
./scripts/feeds update –a
make V=s

Feeds Revision
#vim autobuild/feeds.conf.default-21.02
src-git packages https://git.openwrt.org/feed/packages.git^1be343f
src-git luci https://git.openwrt.org/project/luci.git^e4c4633
src-git routing https://git.openwrt.org/feed/routing.git^a9e4310
src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds^b62586b
WiFi Package Version
PlatformOpenWrt/21.02GIT01.mediatek.com
Kernel5.4.271autobuild_mac80211_release /target/linux/mediatek/patches-5.4
WiFi PackageOpenWrt/masterMTK Internal Patches
HostapdPKG_SOURCE_DATE:=2022-07-29autobuild_mac80211_release/package/network/services/hostapd/patches
libnl-tinyPKG_SOURCE_DATE:=2023-12-05N/A
iwPKG_VERSION:=5.19N/A
iwinfoPKG_SOURCE_DATE:=2024-03-23N/A
wireless-regdbPKG_VERSION:=2024.01.23autobuild_mac80211_release/package/firmware/wireless-regdb/patches
netifdPKG_VERSION:=2023-07-17autobuild_mac80211_release/package/network/config/netifd/patches
MAC80211PKG_VERSION:=5.15.81-1autobuild_mac80211_release/package/kernel/mac80211/patches/subsys
MT76PKG_SOURCE_DATE:=2024-04-03Patches: autobuild_mac80211_release/package/kernel/mt76/patches Firmware autobuild_mac80211_release/package/kernel/mt76/src/firmware
UtilityFormal
Manufacture Tool (CMD)mt76/tools
Vendor Toolfeed/mt76-vendor

Older Release Versions

Filogic 880/860 WiFi7 MLO Alpha Release (20240426)

Since the OpenWRT UCI haven't introduce the formal MLO config yet, please refer to the MAC80211 MT76 Programming Guide v4.0 to Setup AP MLD and non-AP MLD (STA MLD)

External Release
#Get Openwrt 21.02 source code from Git server
git clone --branch openwrt-21.02 https://git.openwrt.org/openwrt/openwrt.git
cd openwrt; git checkout 4a1d8ef55cbf247f06dae8e958eb8eb42f1882a5; cd -;

#Get Openwrt master source code from Git Server
git clone --branch master https://git.openwrt.org/openwrt/openwrt.git mac80211_package
cd mac80211_package; git checkout 84a48ce400b2c7b0779f51e83c68de5f8ec58ffd; cd -;

#Get mtk-openwrt-feeds source code
git clone --branch master https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds
cd mtk-openwrt-feeds; git checkout 76907874285a4246a5564c0302f94bc9ebd6be3d; cd -;

#Change to openwrt folder
cp -rf mtk-openwrt-feeds/autobuild_mac80211_release openwrt
cd openwrt; mv autobuild_mac80211_release autobuild

#Add MTK feed
echo "src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds" >> feeds.conf.default

#!!! CAUTION!!! Modify feed's revision
vim autobuild/feeds.conf.default-21.02

#Run Filogic880 auto build script
./autobuild/mt7988_mt7996_mac80211_mlo/lede-branch-build-sanity.sh

#Further Build (After 1st full build)
./scripts/feeds update –a
make V=s
Feeds Revision
#vim autobuild/feeds.conf.default-21.02
src-git packages https://git.openwrt.org/feed/packages.git^1be343f
src-git luci https://git.openwrt.org/project/luci.git^e4c4633
src-git routing https://git.openwrt.org/feed/routing.git^a9e4310
src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds^7690787
WiFi Package Version
PlatformOpenWrt/21.02GIT01.mediatek.com
Kernel5.4.271autobuild_mac80211_release/target/linux/mediatek/patches-5.4
WiFi PackageOpenWrt/masterMTK Internal Patches
HostapdPKG_SOURCE_DATE:=2024-03-27autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/network/services/hostapd/patches
libnl-tinyPKG_SOURCE_DATE:=2023-12-05N/A
iwPKG_VERSION:=6.7autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/network/utils/iw/patches
iwinfoPKG_SOURCE_DATE:=2024-03-23N/A
wireless-regdbPKG_VERSION:=2024-01-23autobuild_mac80211_release/package/firmware/wireless-regdb/patches
ucodePKG_VERSION:=2024-03-23autobuild_mac80211_release/package/utils/ucode/patches
wireless-scriptsPKG_VERSION:=2024-01-23autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/network/config/wifi-scripts/files
netifdPKG_VERSION:=2024-01-04autobuild_mac80211_release/package/network/config/netifd_new/patches
MAC80211PKG_VERSION:=6.6.15 (wireless-next-2024-04-03)autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/kernel/mac80211/patches
MT76PKG_SOURCE_DATE:=2024-04-03Patches: autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/kernel/mt76/patches Firmware autobuild_mac80211_release/package/kernel/mt76/src/firmware/mt7996
UtilityFormal
Manufacture Tool (CMD)mt76/tools

Filogic 880 WiFi7 Non-MLO SDK Release (20240112)

Please note that the upcoming MLO SDK will not be able to use patches to support WiFi 7 MLO based on >the 20240112 non-MLO SDK revision. It is essential to be aware that a complete upgrade of the SDK codebase is mandatory due to the Software MLO Architecture Change.

External Release
#Get Openwrt 21.02 source code from Git server
git clone --branch openwrt-21.02 https://git.openwrt.org/openwrt/openwrt.git
cd openwrt; git checkout 4a1d8ef55cbf247f06dae8e958eb8eb42f1882a5; cd -;

#Get Openwrt master source code from Git Server
git clone --branch master https://git.openwrt.org/openwrt/openwrt.git mac80211_package
cd mac80211_package; git checkout 6b0db8592a3e4342c32111491948f32d5bc0087f; cd -;

#Get mtk-openwrt-feeds source code
git clone --branch master https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds
cd mtk-openwrt-feeds; git checkout f7aca5a0ac99439f3a2f771b348626a4f5947f0e; cd -;

#Change to openwrt folder
cp -rf mtk-openwrt-feeds/autobuild_mac80211_release openwrt
cd openwrt; mv autobuild_mac80211_release autobuild

#Add MTK feed
echo "src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds" >> feeds.conf.default

#!!! CAUTION!!! Modify feed's revision
vim autobuild/feeds.conf.default-21.02

#Run Filogic880 auto build script
./autobuild/mt7988_mt7996_mac80211/lede-branch-build-sanity.sh

#Further Build (After 1st full build)
./scripts/feeds update –a
make V=s
Feeds Revision
#vim autobuild/feeds.conf.default-21.02
src-git packages https://git.openwrt.org/feed/packages.git^2219ac4
src-git luci https://git.openwrt.org/project/luci.git^e4c4633
src-git routing https://git.openwrt.org/feed/routing.git^a9e4310
src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds^f7aca5a
WiFi Package Version
PlatformOpenWrt/21.02GIT01.mediatek.com
Kernel5.4.260autobuild_mac80211_release/target/linux/mediatek/patches-5.4 + autobuild_mac80211_release/mt7988-mt7996-mac80211/target/linux/mediatek/patches-5.4
WiFi PackageOpenWrt/masterMTK Internal Patches
HostapdPKG_SOURCE_DATE:=2023-09-08autobuild_mac80211_release/package/network/services/hostapd_new/patches
libnl-tinyPKG_SOURCE_DATE:=2023-12-05N/A
iwPKG_VERSION:=5.19N/A
iwinfoPKG_SOURCE_DATE:=2023-07-01N/A
wireless-regdbPKG_VERSION:=2023-09-01autobuild_mac80211_release/package/firmware/wireless-regdb/patches
netifdPKG_VERSION:=2024-01-04autobuild_mac80211_release/package/network/config/netifd_new/patches
MAC80211PKG_VERSION:=6.5autobuild_mac80211_release/package/kernel/mac80211_dev/patches
MT76PKG_SOURCE_DATE:=2023-12-18Patches: autobuild_mac80211_release/mt7988-mt7996-mac80211/package/kernel/mt76/patches Firmware autobuild_mac80211_release/package/kernel/mt76/src/firmware/mt7996
Manufacture Tool (CMD)mt76/tools

Filogic 830 MP2.2 Release (20231027)

External Release
#Get Openwrt 21.02 source code from Git server
git clone --branch openwrt-21.02 https://git.openwrt.org/openwrt/openwrt.git
cd openwrt; git checkout 18f12e6f69a9597c13d2d18f5eb661f4549331e4; cd -;

#Get Openwrt master source code from Git Server
git clone --branch master https://git.openwrt.org/openwrt/openwrt.git mac80211_package
cd mac80211_package; git checkout e4ebc7b5662d6436fcc84b8e1583204b96fb0503; cd -;

#Get mtk-openwrt-feeds source code
git clone --branch master https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds
cd mtk-openwrt-feeds; git checkout 54666b27016ebaf08de55b41aa6e2bab90148482; cd -;

#Change to openwrt folder
cp -rf mtk-openwrt-feeds/autobuild_mac80211_release openwrt
cd openwrt; mv autobuild_mac80211_release autobuild

#Add MTK feed
echo "src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds" >> feeds.conf.default

#!!! CAUTION!!! Modify feed's revision

#Run Filogic830 auto build script (APSoC: MT7986A/B , PCIE: MT7915A/D, MT7916) 
./autobuild/mt7986_mac80211/lede-branch-build-sanity.sh

#Further Build (After 1st full build)
./scripts/feeds update –a
make V=s
Feeds Revision
#vim autobuild/feeds.conf.default-21.02
src-git packages https://git.openwrt.org/feed/packages.git^8df2214
src-git luci https://git.openwrt.org/project/luci.git^e98243e
src-git routing https://git.openwrt.org/feed/routing.git^d79f2b5
src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds^54666b2
WiFi Package Version
PlatformOpenWrt/21.02GIT01.mediatek.com
Kernel5.4.246autobuild_mac80211_release /target/linux/mediatek/patches-5.4
WiFi PackageOpenWrt/masterMTK Internal Patches
HostapdPKG_SOURCE_DATE:=2022-07-29autobuild_mac80211_release/package/network/services/hostapd/patches
libnl-tinyPKG_SOURCE_DATE:=2023-07-27N/A
iwPKG_VERSION:=5.19N/A
iwinfoPKG_SOURCE_DATE:=2023-07-01N/A
wireless-regdbPKG_VERSION:=2023.09.01autobuild_mac80211_release/package/firmware/wireless-regdb/patches
netifdPKG_VERSION:=2023-07-17autobuild_mac80211_release/package/network/config/netifd/patches
MAC80211PKG_VERSION:=5.15.81-1autobuild_mac80211_release/package/kernel/mac80211/patches/subsys
MT76PKG_SOURCE_DATE:=2023-09-18Patches: autobuild_mac80211_release/package/kernel/mt76/patches Firmware autobuild_mac80211_release/package/kernel/mt76/src/firmware
UtilityFormal
Manufacture Tool (ATENL)feed/atenl
Manufacture Tool (CMD)mt76/tools
Vendor Toolfeed/mt76-vendor

Filogic 630/830 MP2.1 Release (20230508)

External Release
#Get Openwrt 21.02 source code from Git server
git clone --branch openwrt-21.02 https://git.openwrt.org/openwrt/openwrt.git
cd openwrt; git checkout 6a12ecbd6dd61bb9da35d75735e1280313659a20; cd -;

#Get Openwrt master source code from Git Server
git clone --branch master https://git.openwrt.org/openwrt/openwrt.git mac80211_package
cd mac80211_package; git checkout cf8d861978dbfdb572a25db460db464b50d9e809; cd -;

#Get mtk-openwrt-feeds source code
git clone --branch master https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds
cd mtk-openwrt-feeds; git checkout 22df8430587f6491e8e57f9dd73bda4348e2ba6b; cd -;

#Change to openwrt folder
cp -rf mtk-openwrt-feeds/autobuild_mac80211_release openwrt
cd openwrt; mv autobuild_mac80211_release autobuild

#Add MTK feed
echo "src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds" >> feeds.conf.default

#!!! CAUTION!!! Modify feed's revision

#Run AX6000/AX8400/AX3000 auto build script (APSoC: MT7986A/B , PCIE: MT7915A/D, MT7916)
./autobuild/mt7986_mac80211/lede-branch-build-sanity.sh

#Further Build (After 1st full build)
./scripts/feeds update –a
make V=s
Feeds Revision
#vim autobuild/feeds.conf.default-21.01
src-git packages https://git.openwrt.org/feed/packages.git^c6fc6dd
src-git luci https://git.openwrt.org/project/luci.git^e98243e
src-git routing https://git.openwrt.org/feed/routing.git^8071852
src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds^22df843
WiFi Package Version
PlatformOpenWrt/21.02GIT01.mediatek.com
Kernel5.4.238autobuild_mac80211_release /target/linux/mediatek/patches-5.4
WiFi PackageOpenWrt/masterMTK Internal Patches
HostapdPKG_SOURCE_DATE:=2022-07-29autobuild_mac80211_release/package/network/services/hostapd/patches
libnl-tinyPKG_SOURCE_DATE:=2023-04-02N/A
iwPKG_VERSION:=5.19N/A
iwinfoPKG_SOURCE_DATE:=2022-11-01N/A
wireless-regdbPKG_VERSION:=2023.02.13autobuild_mac80211_release/package/firmware/wireless-regdb/patches
MAC80211PKG_VERSION:=5.15.81-1autobuild_mac80211_release/package/kernel/mac80211/patches/subsys
MT76PKG_SOURCE_DATE:=2023-03-01Patches: autobuild_mac80211_release/package/kernel/mt76/patches Firmware autobuild_mac80211_release/package/kernel/mt76/src/firmware
UtilityFormal
Manufacture Tool (ATENL)feed/atenl
Manufacture Tool (CMD)feed/mt76-test
Vendor Toolfeed/mt76-vendor

Filogic 880 Beta Release (20230630)

External Release
#Get Openwrt 21.02 source code from Git server
git clone --branch openwrt-21.02 https://git.openwrt.org/openwrt/openwrt.git
cd openwrt; git checkout eb8cae5391ceee679140a3d8d9abbdc47d0d6461; cd -;

#Get Openwrt master source code from Git Server
git clone --branch master https://git.openwrt.org/openwrt/openwrt.git mac80211_package
cd mac80211_package; git checkout 01885bc6a33dbfa6f3c9e97778fd8f4f60e2514f; cd -;

#Get mtk-openwrt-feeds source code
git clone --branch master https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds
cd mtk-openwrt-feeds; git checkout 1070711049192d2d5c6534fcb39a47051326f503; cd -;

#Change to openwrt folder
cp -rf mtk-openwrt-feeds/autobuild_mac80211_release openwrt
cd openwrt; mv autobuild_mac80211_release autobuild

#Add MTK feed
echo "src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds" >> feeds.conf.default

#!!! CAUTION!!! Modify feed's revision
vim autobuild/feeds.conf.default-21.02

#Run Filogic880 auto build script
./autobuild/mt7988_mt7996_mac80211/lede-branch-build-sanity.sh 

#Further Build (After 1st full build)
./scripts/feeds update –a
make V=s
Feeds Revision
#vim autobuild/feeds.conf.default-21.01
src-git packages https://git.openwrt.org/feed/packages.git^8df2214
src-git luci https://git.openwrt.org/project/luci.giti^e98243e
src-git routing https://git.openwrt.org/feed/routing.git^d79f2b5
src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds^1070711
WiFi Package Version
PlatformOpenWrt/21.02GIT01.mediatek.com
Kernel5.4.238autobuild_mac80211_release /target/linux/mediatek/patches-5.4
WiFi PackageOpenWrt/masterMTK Internal Patches
HostapdPKG_SOURCE_DATE:=2023-03-29autobuild_mac80211_release/package/network/services/hostapd_new/patches + autobuild_mac80211_release/mt7988-mt7996-mac80211/package/network/services/hostapd/patches
libnl-tinyPKG_SOURCE_DATE:=2023-04-02N/A
iwPKG_VERSION:=5.19N/A
iwinfoPKG_SOURCE_DATE:=2022-11-01N/A
wireless-regdbPKG_VERSION:=2023.05.03autobuild_mac80211_release/package/firmware/wireless-regdb/patches
MAC80211PKG_VERSION:=6.1.24autobuild_mac80211_release/package/kernel/mac80211_dev/patches + autobuild_mac80211_release/mt7988-mt7996-mac80211/package/kernel/mac80211/patches
MT76PKG_SOURCE_DATE:=2023-05-13Patches: autobuild_mac80211_release/package/kernel/mt76/patches Firmware autobuild_mac80211_release/package/kernel/mt76/src/firmware/mt7996
Manufacture Tool (CMD)mt76/tools