Date: Sat, 27 Jul 2024 20:58:26 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: Artem Hevorhian <artemhevorhian@gmail.com> Cc: freebsd-wireless@freebsd.org Subject: Re: Support for nl80211.h Message-ID: <n627s68o-24s0-q75q-p8r2-sq0n91p638q4@SerrOFQ.bet> In-Reply-To: <CA%2BAExURowH_Ni-ccdfPzcjenhkzpTTC7pZgxYOCszRd7Vw_mVQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On Sat, 27 Jul 2024, Artem Hevorhian wrote: Hi, > Is there a plan to support nl80211.h in the future? I would like to write > my own wifi scanner that would talk to kernel module (driver) and get scan > information from it. I know it is possible with Linux. Is FreeBSD planning > to do a similar thing? Thanks. I cannot see a 1:1 nl80211.h implementation for FreeBSD any time soon. You can look at ifconfig sources for freebsd how to obtain scan information; it's simple ioctl. I'd start here: https://cgit.freebsd.org/src/tree/sbin/ifconfig/ifieee80211.c#n3744 There rest of the code is in the library you can use as well (and which ifconfig uses): https://cgit.freebsd.org/src/tree/lib/lib80211 HTH, /bz -- Bjoern A. Zeeb r15:7home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n627s68o-24s0-q75q-p8r2-sq0n91p638q4>
