Skip to content

OnlineLearningTutorials/mt7902_temp

Repository files navigation

🎯 mt7902 driver development (⚡ in progress)

We are trying to develop the driver for the Mediatek mt7902 wifi 6E chip

🔧 Firmwares used

Firmwares are stored in mt7902_firmware folder.

📁 Cloning the repository

Clone the repository to your local pc

git clone https://github.com/OnlineLearningTutorials/mt7902_temp

If you don't want to clone past history than

git clone --depth 1 https://github.com/OnlineLearningTutorials/mt7902_temp

📱 Bluetooth ✅ (Working)

Warning

If bluetooth driver conflict with gen4-mt7902 than please remove the bluetooth firmware so that it not interfere with this driver sudo rm /lib/firmware/mediatek/mt7902/BT_RAM_CODE_MT7902_1_1_hdr.bin.zst This project uses the firmware /lib/firmware/mediatek/BT_RAM_CODE_MT7902_1_1_hdr.bin.zst

To enable bluetooth go to the directory of your current kernel version. `` Like if you have kernel linux-6.16 than go to the directory ./linux-6.16/drivers/bluetooth . Open terminal in this directory and compile with command `make`. Two kernel modules are compiled `btusb.ko` and `btmtk.ko`. To enable bluetooth in your device remove the btusb and btmtk in your system and install these two files, use commands

sudo rmmod btusb 
sudo rmmod btmtk

sudo insmod btmtk.ko
sudo insmod btusb.ko

Now check your bluetooth is working now.

💻 WiFi (⚡ in progress)

Important

A working repo with some limitation is here

We are trying to build the driver for mt7902 wifi card, it is not completed - work in progress.

About

Linux driver development for mt7902 in the hope of getting running something

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages