Network drivers for MT7668AUN mediatek wifichipset
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Network drivers for MT7668AUN mediatek wifichipset
Hello everyone,
I hope this message finds you well. I am currently facing an issue with my MT7668AUN MediaTek WiFi chipset on the latest kernels, and I'm seeking some assistance from the community to resolve it.
Despite my efforts, I've been unable to locate compatible network drivers for this chipset that work seamlessly with the newest kernel versions. I've scoured various forums, checked official documentation, and tried multiple troubleshooting steps, but unfortunately, I haven't had any luck.
If anyone has experience or suggestions regarding where I might find or how I could potentially resolve this driver compatibility issue, I would greatly appreciate your guidance. Any tips, links to resources, or personal experiences would be incredibly valuable.
Thank you very much for taking the time to read this message, and I look forward to any assistance you can provide.
Hello everyone,
I hope this message finds you well. I am currently facing an issue with my MT7668AUN MediaTek WiFi chipset on the latest kernels, and I'm seeking some assistance from the community to resolve it.
Despite my efforts, I've been unable to locate compatible network drivers for this chipset that work seamlessly with the newest kernel versions. I've scoured various forums, checked official documentation, and tried multiple troubleshooting steps, but unfortunately, I haven't had any luck. If anyone has experience or suggestions regarding where I might find or how I could potentially resolve this driver compatibility issue, I would greatly appreciate your guidance. Any tips, links to resources, or personal experiences would be incredibly valuable. Thank you very much for taking the time to read this message, and I look forward to any assistance you can provide.
You don't tell us anything that would let us help you. Not the version/distro of Linux you're using, on what kind of hardware, what kind of network card/dongle this is (brand/model), or anything that you say you've done/tried. All we have is a chipset and that you "haven't had any luck". We can't guess.
It's not looking good. https://wireless.wiki.kernel.org/en/...ivers/mediatek Doesn't list it as a supported chipset, and it is listed under the "any other chip" link that won't work. Personally, I'd research and buy a known-working nic.
It's not looking good. https://wireless.wiki.kernel.org/en/...ivers/mediatek Doesn't list it as a supported chipset, and it is listed under the "any other chip" link that won't work. Personally, I'd research and buy a known-working nic.
There are a few links to Github with instructions on how to compile the driver, with several working solutions, but the OP doesn't say what they've read/done/tried...no idea where to go from here.
There are also some links saying that you just need the firmware, which is available for Debian and derivatives, but we don't know what version/distro the OP is running either. They've given us nothing.
Thank you all for the replies and asking for more details and to be more specific
1. As of now, I am looking for the drivers for the mediaTek wifi chipset MT7668AUN. More details of the chip MT7668 can be found in the below link https://www.mediatek.com/products/broadband-wifi/mt7668
2. I am working for latest Tizen OS for the latest kernel 6.8.1
3. I am looking to modify the drivers to extract the CSI(Channel state Information) data.
4. I found this chipset is mainly used in IoT enabled smart devices like display devices.
Great; you still don't tell us what you've looked at already, and restating the same device model number again tells us nothing new. And putting "mediaTek MT7668AUN linux" into Google pulls up several articles with links to drivers; did you try to look??? https://ps4linux.com/mt7668-wifi-blu...linux-compile/
There's source linked there, along with instructions.
I am also working on porting the mediatek MT7668 wifi driver. The driver's previous kernel version was v4.19. Currently I am trying to make it work on kernel v6.1. Due to changes in kernel module cfg80211, there are quite a few complications in making the MT7668 wifi driver work on kernel 6.1. I am able to successfully compile the driver and it's also probing fine. But its stuck at some point and is not able to scan and connect to wifi network. Currently, I am finding ways to debug the module and find the exact cause.
I have a few queries regarding the firmware of mediatek MT7668. Does it also needs to be updated as the kernel has updated?. If yes, then I think the case is closed. If no, then I guess It's possible to make it compatible with kernel v6.1.
Also, any advice on debugging the module would be great.
Here are the environment details
I gather you're trying to update the dodgy kernel code. The biggest issue you will face is that there seems to have been significant header changes between 4.x kernels and 5.x that required major work, and I presume that's been the bulk of it.
Have you got a MT7668? The various Arm distros are very good at beating older drivers into shape and you may find much of the work already done for you, even the scanning issue you mentioned.
Yeah I do have one and I am able to successfully compile it as well currently I am debugging the module and I need a bit of assistance there. If anyone can help much appreciated
I did a 4.x.x to 5.x.x conversion for the headers this way.
Open a terminal (1), start the compile. Focus on the missing include.
Open another terminal (2) and cd to the kernel includes.
Perform a file search for the missing include, usually in another directory.
Run lndir to get the actual include found where it's wanted. I linked the whole directory because there would be many repeat offenders otherwise.
Repeat ad nauseam until the thing compiled.
The compile was for an Arm box, and not PC. There was a crazy include layout on the Arm kernel at that time. I detailed the troubles I had back to my distro and haven't had an issue since.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.