lwfinger/rtw89

Compiler error on mac80211.h header file - Ubuntu Server 22.04 (kernel 5.15.0-91)

Sh0TGuN opened this issue · 0 comments

First of all, thank you very much for your availability and support!

I would like to install Realtek WiFi driver on a MiniPC device where i have installed the latest LTS version of Ubuntu Server 22.04.
By using an Ubuntu Desktop Live USB, i have seen that the driver it is using is "rtw_8852be".

The kernel version installed with Ubuntu Server 22.04 is : 5.15.0-91
immagine

I have cloned the "rtw89" git repository and followed the README instructions but i get a compiler error on the header file "mac80211.h" stored at /usr/src/linux-headers-5.15.0-91-generic/include/net/.

Following the error screen:
immagine

whati i am doing wrong?
Thx

P.S.
It is a fresh new OS installation, no packages or applications have been installed. I have only made an "apt update && apt upgrade" command.