Help with linuxkpi to compile linux source driver wifi

Hi guys,

I have a integrated wifi card mediatek MT7921 which is not supported by freebsd stable/current.
I've seen that it's possible to use the linux driver with linuxkpi to compile the source I guess, but I struggle finding a tutorial about usage of this software.

Could you help ?


Cheers!
 
Most likely, this simply won't work. LinuxKPI is very far from a complete in-kernel compatibility layer. It works for the DRM drivers and maybe a few other things; IIRC there is some work leveraging it for some wifi driver code from Linux, but that certainly doesn't mean it would work for any other driver. Don't confuse it with Linuxulator, which provides a Linux "personality" (mainly syscalls) in FreeBSD's kernel, offering (almost) complete Linux compatibility for userspace.
 
I understand, but I would like to implement *everything* required in the kernel to use nl80211.h. I think I need to use Linux KPI...

My main idea is to pick a driver that already works on FreeBSD, and then do some kernel programming to have nl80211.h events, e. g. scanning access points nearby.
 
You probably want to hit the wireless@ mailing list. Björn Zeeb is leading the WiFi effort consisting of updating Linux KPI and the wireless stack to support iwlwifi on FreeBSD.
 
Back
Top