No description
- C 89.2%
- Shell 5.1%
- UnrealScript 2%
- Makefile 1.8%
- Perl 1.4%
- Other 0.5%
[Description] Update MP4.3 critical patches - 20260811 mt76: mtk: mt76: mt7996: Fix spinlock usage to prevent AP panic AP panic occurs due to Asynchronous SError Interrupt during WiFi operations in specific test scenarios with WPA2-WPA3-PSK-CCMP security on 2.4G band. Feature: Stability [Root Cause] Improper spinlock usage with spin_lock_bh instead of spin_lock_irqsave leads to potential race conditions and interrupts during critical sections. [Solution] Replace spin_lock_bh with spin_lock_irqsave and spin_unlock_bh with spin_unlock_irqrestore to ensure proper locking and interrupt handling, preventing race conditions and AP panic. [Release-log] N/A [How to Verify] N/A [Info to Customer] N/A Change-Id: Id398ed76f9a274a38399793427613d2f05bbc6ab Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/12465539 |
||
|---|---|---|
| 21.02 | ||
| 24.10 | ||
| 25.12 | ||
| autobuild | ||
| feed | ||
| scripts | ||
| tools | ||
| .checkpatch.conf | ||
| .clang-format | ||
| .gitignore | ||
| mtk-openwrt-feeds-commit-sha-mapping-table.md | ||
| prepare_sdk.sh | ||
| Readme.md | ||
Brief introduction for using MediaTek released OpenWrt SDK
1. Build system setup
2. Clone vanilla OpenWrt
Currently two release branches are supported:
-
21.02 This is the current in-use branch
git clone -b openwrt-21.02 https://git.openwrt.org/openwrt/openwrt.git -
24.10 This is the current in-use branch
git clone -b openwrt-24.10 https://git.openwrt.org/openwrt/openwrt.git
3. Add MediaTek OpenWrt feed
cd openwrt
echo "src-git mtk_openwrt_feed https://github.com/mediatek/mtk-openwrt-feeds.git" >> feeds.conf.default
./scripts/feeds update -a
./scripts/feeds install -a
4. Apply MediaTek OpenWrt files and patches
-
21.02 branch
cp -af ./feeds/mtk_openwrt_feed/21.02/files/* . cp -af ./feeds/mtk_openwrt_feed/tools . for file in $(find ./feeds/mtk_openwrt_feed/21.02/patches-base -name "*.patch" | sort); do patch -f -p1 -i ${file}; done for file in $(find ./feeds/mtk_openwrt_feed/21.02/patches-feeds -name "*.patch" | sort); do patch -f -p1 -i ${file}; done -
24.10 branch
cp -af ./feeds/mtk_openwrt_feed/24.10/files/* . for file in $(find ./feeds/mtk_openwrt_feed/24.10/patches-base -name "*.patch" | sort); do patch -f -p1 -i ${file}; done
5. Configuration
make menuconfig
-
21.02 branch
Target System -> MediaTek Ralink ARM Subtarget -> MT7981 / MT7986 / MT7988 Target Profile -> select as needed -
24.10 branch
Target System -> MediaTek Ralink ARM Subtarget -> Filogic 8x0 (MT798x) Target Profile -> select as needed
6. Build
make V=s -j$(nproc)
Mediatek Official Release with autobuild framework
-
OpenWrt21.02 branch: Kernel5.4 Release
-
OpenWrt24.10 branch: Kernel6.6 Release