Skip to content

tnguy3333/mt7902

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MediaTek MT7902 Driver

This is a work in progress MT7902 driver for Linux. Currently, the driver is able to complete the WPA2 handshake but fails to get an IP. Falling back to software decryption, it sometimes is able to briefly connect to the internet, but ideally we want to get the firmware decryption working.

Any datasheets or more information about the firmware is probably needed to continue. Any help would be greatly appreciated.

How do I install?

The driver will try ot be updated with the latest mainline kernel. Currently, that is 6.16rc6.

Install linux headers

sudo apt install linux-headers-`uname -r`

Download firmware

Download MT7902 firmware from Acer website: https://global-download.acer.com/GDFiles/Driver/Wireless%20LAN/Wireless%20LAN_MTK_3.3.0.633_W11x64_A.zip?acerid=638041027988808845&Step1=&Step2=&Step3=ASPIRE%20A314-23P&OS=ALL&LC=en&BC=ACER&SC=PA_6

and move WIFI_MT7902_patch_mcu_1_1_hdr.bin and WIFI_RAM_CODE_MT7902_1.bin to /lib/firmware/mediatek

Build and load modules:

This script unloads the modules, calls make, then loads the modules in order of dependency.

sudo sh load.sh

If everything succeeded, you should see the module running:

lsmod | grep mt7902e

Check kernel logs:

sudo dmesg

Todo List

  • Copy mt7921 to use as mt7902 baseline
  • Fix failed to get patch semaphore
  • Fix failed to start WM firmware
  • Use EXT commands for dev_info_update, bss_info_update, sta_rec_update
  • WPA handshake
  • Firmware decryption
  • Connect to wifi (stable)

Lower priority:

  • Fix power saving mode / suspend
  • IPv6
  • Rename all functions from mt7921 to mt7902
  • Clean up code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages