make command created this output:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-147.5.1.el8_1.x86_64/build M=/etc/NETGEAR_Nighthawk_AC1900 modules
make[1]: Entering directory '/usr/src/kernels/4.18.0-147.5.1.el8_1.x86_64'
CC [M] /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.o
In file included from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service.h:41,
from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:32,
from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
/etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h: In function ‘_init_timer’:
/etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:273:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
init_timer(ptimer);
^~~~~~~~~~
_init_timer
In file included from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:35,
from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
/etc/NETGEAR_Nighthawk_AC1900/include/wifi.h: At top level:
/etc/NETGEAR_Nighthawk_AC1900/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40
In file included from ./include/net/cfg80211.h:21,
from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:87,
from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service.h:41,
from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:32,
from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:313: /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1547: _module_/etc/NETGEAR_Nighthawk_AC1900] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.18.0-147.5.1.el8_1.x86_64'
make: *** [Makefile:1699: modules] Error 2
Any suggestions?
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-147.5.1.el8_1.x86_64/build M=/etc/NETGEAR_Nighthawk_AC1900 modules
make[1]: Entering directory '/usr/src/kernels/4.18.0-147.5.1.el8_1.x86_64'
CC [M] /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.o
In file included from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service.h:41,
from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:32,
from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
/etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h: In function ‘_init_timer’:
/etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:273:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
init_timer(ptimer);
^~~~~~~~~~
_init_timer
In file included from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:35,
from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
/etc/NETGEAR_Nighthawk_AC1900/include/wifi.h: At top level:
/etc/NETGEAR_Nighthawk_AC1900/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40
In file included from ./include/net/cfg80211.h:21,
from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:87,
from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service.h:41,
from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:32,
from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:313: /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1547: _module_/etc/NETGEAR_Nighthawk_AC1900] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.18.0-147.5.1.el8_1.x86_64'
make: *** [Makefile:1699: modules] Error 2
Any suggestions?