mfruba / kernel

152 stars 103 forks source link

Please update for kernel 4.15.0 #36

Open Erlanfg opened 6 years ago

Erlanfg commented 6 years ago

Is there any way to compile it for kernel 4.15.0?

luka-j commented 6 years ago

Compiling it is the easy part (remove .authorized from cfg80211_roam_info and add and use an auxiliary structure for timers); however, I can't get it to work.

I assume the main issue is in timers, because it seems to be the largest change affecting this project. data field was removed from timers_list and it's a feature used throughout this project, mostly for adapter references (but also other stuff occasionally). The only way I can see to actually pass parameters to callback functions is to wrap the timers_list into another structure which contains that field, and use container_of to actually retrieve the data. I tried searching for usages of include/linux/osdep_service_linux.h _init_timer function and altering all callbacks to use a custom structure from which to retrieve data, but I'm probably missing something.

luka-j commented 6 years ago

Here's the commit which fixes timers and authorization (or at least I hope so) for 4.15; it's on the testing branch of my fork. However, when I load it, my system freezes, so I have to manually reboot it. I cannot get any useful info from logs. Any help is appreciated.

becrypto commented 6 years ago

I neeld help too for kernel 4.15 Thx for oyour help

PrivetVsemRu commented 6 years ago

чувак обнови для 4.15 ядра свой драйвер пожалуйста.

ghost commented 6 years ago

Can you help me install in on 4.15.0? Please

dhanuhammer commented 6 years ago

For 4.15, 4.16 etc, go to this link : https://github.com/lwfinger/rtl8188eu and download the file and proceed normally.

luka-j commented 6 years ago

I can confirm that the lwfinger driver works, but last time I tested the internet speed was several times slower (i.e. 5-10Mbps compared to 20-30Mbps I can get with this one). ymmv

tadeuszk commented 6 years ago

monitor mode on 4.15+ https://github.com/quickreflex/rtl8188eus

ndcast commented 5 years ago

updated to 4.4+ and used https://github.com/mfruba/kernel/tree/master/drivers/TL-WN722N_v2.0-Ralink for desired version, and went ok.