kimocoder / realtek_rtwifi

Realtek RTL8xxxU
https://www.aircrack-ng.org
68 stars 14 forks source link

Fix compile errors on 3.x kernels #25

Open Darkar25 opened 2 years ago

Darkar25 commented 2 years ago

i ported this driver to 3.4.113(and maybe even older) kernel, tested monitor mode, packet injection, some parameters (tx power, frequency)...seems to work properly...also i changed files according to https://github.com/kimocoder/realtek_rtwifi/pull/11 pull request... this merge will resolve those issues:

23 #21

kimocoder commented 2 years ago

I will look at this one this week 👍

Darkar25 commented 2 years ago

I will look at this one this week 👍

Ok, thanks)

kimocoder commented 2 years ago

btw, which platform you develop for, Android or PC?

Darkar25 commented 2 years ago

btw, which platform you develop for, Android or PC?

well...i develop for android, but it should work on pc too...btw your android compile instruction doesnt quite work...at least when i tried it it just skipped the realtek folder...maybe because the 3.x kernels doesnt have the realtek folder by default, maybe because of config names does not match in all the driver files(i started porting driver before lazerlord merge so i had to change some config names manually)...idk, but i got it working somehow and since then i do not touch that at all otherwise it will break))

Darkar25 commented 2 years ago

yup, idk what i am doing))i just tried to apply your changes to my repo but github did something weird and now all your commits showing here like i changed them and there is now duplicated commits with different changes... turned out github is harder that i thought... i don`t know if this pull request can be cleaned up already xd...so much junk in here...

Darkar25 commented 2 years ago

Fixed #26