Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to 4.15 #119

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Port to 4.15 #119

wants to merge 4 commits into from

Conversation

cjds
Copy link

@cjds cjds commented Sep 27, 2018

Updates the driver so it supports the 4.15 kernel

genodeftest and others added 4 commits August 21, 2017 18:00
cfg80211.h was changed in 818a986e4ebacea2020622e48c8bc04b7f500d89
include/linux/netdevice.h was changed in cf124db566e6b036b8bcbe8decbed740bdfac8c6
Thanks to CONFIG_FORTIFY_SOURCE, the compiler refused to compile this buggy code.
See https://outflux.net/blog/archives/2017/09/05/security-things-in-linux-v4-13/
for details why this issue hasn't been noticed before kernel 4.13.

Fixes jurobystricky#81.
Old timer API has been removed and replaced with new one that does not
allow passing arbitrary data within the timer callback. These changes
modify the driver so that it can be compiled again. It seems to work.
@eckad158
Copy link

I tried to build this PR it with the current Kernel : 4.15.0-48-generic on ElementaryOS and i get the following error :

/home/rams/Netgear-A6210/os/linux/../../os/linux/rt_linux.c: In function ‘__RTMP_OS_Init_Timer’: /home/rams/Netgear-A6210/os/linux/../../os/linux/rt_linux.c:120:9: error: ‘struct timer_list’ has no member named ‘timer_callback’ pTimer->timer_callback = function; ^~ scripts/Makefile.build:330: recipe for target '/home/rams/Netgear-A6210/os/linux/../../os/linux/rt_linux.o' failed make[2]: *** [/home/rams/Netgear-A6210/os/linux/../../os/linux/rt_linux.o] Error 1 Makefile:1552: recipe for target '_module_/home/rams/Netgear-A6210/os/linux' failed make[1]: *** [_module_/home/rams/Netgear-A6210/os/linux] Error 2 make[1]: Verzeichnis „/usr/src/linux-headers-4.15.0-48-generic“ wird verlassen Makefile:59: recipe for target 'debug' failed make: *** [debug] Error 2
any suggestions ?

@tarunmittal
Copy link

Hi, I was able to successfully install the driver. But after using it for few minutes, it just drops. Sometimes, replugging the WiFi adapter, and restarting the Network Manager works. Has anybody faced this issue? Any pointers/solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants