Skip to content

hmtheboy154/mt7902

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mt7902e

This is basically the mainline version of mt76 with patches to support MT7902 & firmware provided by Mediatek. I also stripped down all the unnecessary files & other hardware support to ensure only MT7902 card is supported.

Warning

This out-of-tree driver only support the PCIe version of MT7902, for SDIO support it's better if you just merge Mediatek patches on your own !

Tip

For Bluetooth support, check out this branch.

Status

The driver supports kernel 6.6~6.19 (and might be 7.0 soon) and is usable according to users reported in this spreadsheet.

Installation

Important

Before building & installing this driver, remember to install essential packages to build a kernel driver like linux kernel's headers & toolchain. I will not cover it here.

  • Get the source using git
git clone https://github.com/hmtheboy154/mt7902
cd mt7902
  • To only build the driver, use this command
make -j$(nproc)
  • To build the driver & install it:
sudo make install -j$(nproc)

Tip

As per the 20260309 release, the firmware should be already provided by your distribution, for Debian as of present, check in the unstable repo.

  • To install the firmware required for the driver:
sudo make install_fw
  • To remove the driver:
sudo make uninstall
  • To remove the firmware:
sudo make uninstall_fw

Once you got the driver & firmware installed, reboot to see changes.

Feedback

If you have any issue using this driver, please provide feedback in this Discord group.

About

Backporting drivers with MT7902 support for older kernel (6.6 ~ 6.19)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

No contributors

Languages

  • C 99.7%
  • Makefile 0.3%