Repository navigation
Release v2.0.1
Changes in v2.0.1:
🛠️ Multi-Kernel Stability & UsrMerge Compliance Release
This maintenance and stability release ports critical data-plane and multi-kernel fixes from the upstream MT7663 ecosystem, resolving kernel oops on station association across LTS kernels and enforcing modern UsrMerge filesystem compliance.
Added
- Full Co-existence & Driver Isolation with MT7663:
- Renamed SDIO driver instance in
os/linux/hif/sdio/sdio.cfrom generic"wlan"to"wlan_mt7668"to prevent kerneldriver_register-EBUSYcollision when both MT7663 and MT7668 modules are loaded. - Isolated kernel
/proc/net/debug and MET trace directories towlan_mt7668(os/linux/gl_proc.c) andwlan_mt7668_met(os/linux/gl_kal.c), eliminating kernelproc_register"already registered" warnings and call traces during multi-driver boot. - Blacklisted obsolete distro-provided MT7668 driver (
wlan_mt76x8_sdio) inblacklist-mt7668-bluetooth.confanddebian/postinstto preventudev-workerfrom binding competing legacy drivers on Ophub Armbian kernels. - Namespaced system integration files to
99-mt7668-throughput.conf,99-mt7668-performance.rules, andmt7668-irq-tune.shto allow seamless parallel installation withmt7663-dkmson universal OS images. - Added module active guard (
if lsmod | grep -q "^wlan_mt7668"; then ... fi) tomt7668-shutdown.serviceso unbind operations only execute when MT7668 hardware is active.
- Renamed SDIO driver instance in
- Global Station Record Lookup Fallback (
cnmGetAnyStaRecByAddress):- Implemented
cnmGetAnyStaRecByAddress()inmgmt/cnm_mem.cand declared ininclude/mgmt/cnm_mem.hto look up active station records across all BSS indices. - Added fallback in
nicEventAddPkeyDone(nic/nic_cmd_event.candnic/nic_rx.c) preventing BSS index mismatches on virtual interfaceap0from dropping pairwise key completion notifications.
- Implemented
- WPA2/WPA3 Data-Plane Queue Unlocking (
fgIsTxKeyReady):- Explicitly unlocked the transmission queue (
fgIsTxKeyReady = TRUE) and updated station queues (qmUpdateStaRec) immediately upon pairwise key installation inos/linux/gl_p2p_cfg80211.c(mtk_p2p_cfg80211_add_key). - Resolves connection loops where client stations authenticate successfully but experience zero data throughput ("connected without internet").
- Explicitly unlocked the transmission queue (
- Universal SDIO Controller Device Matching (
ffe03000*):- Updated
mt7668-shutdown.serviceto discover and unbind/sys/bus/platform/drivers/meson-gx-mmc/ffe03000*dynamically using wildcard matching, withTimeoutStartSec=2. - Ensures clean SDIO reset and reliable warm reboots on FiberHome HG680-FJ regardless of whether the device label is
.sdor.mmc.
- Updated
Fixed
- Multi-Kernel Station Update Compatibility (
kalP2PGOStationUpdate):- Added preprocessor guard
#if (CFG80211_VERSION_CODE >= KERNEL_VERSION(6, 14, 0))inos/linux/gl_p2p_kal.c. - Passes
struct net_device *(aprRoleHandler) on Linux kernels < 6.14 (including Linux 5.10 LTS and 6.12 LTS Ophub), andstruct wireless_dev *(ieee80211_ptr) on Linux 6.14+. - Fixes fatal kernel oops and
main_threadcrash when stations associate or disconnect.
- Added preprocessor guard
- Accurate Linux Mainline 6.12+
cfg80211_cac_eventBoundary:- Corrected macro guard in
os/linux/gl_p2p_kal.cto#if KERNEL_VERSION(6, 12, 0) <= CFG80211_VERSION_CODE. - Resolves compilation error (
too many arguments to function ‘cfg80211_cac_event’) on intermediate Linux kernels (such as Ubuntu 6.8 LTS).
- Corrected macro guard in
- Key Index Bitmask Authenticator Check (
wlanoidSetAddKey):- Explicitly permitted
IS_AUTHENTICATOR(BIT(28)) incommon/wlan_oid.ckey index exception validation.
- Explicitly permitted
- UsrMerge Packaging Compliance (
build-deb.sh):- Relocated firmware installation destination from
./lib/firmware/to./usr/lib/firmware/in Debian package build process. - Prevents
dpkg -xmanual extractions from breaking the modern Debian/Armbian/lib -> usr/libsymlink and causing boot panics.
- Relocated firmware installation destination from