Athp driver
-
git clone -b NEW_ATHP_ARVIF_LOCK https://github.com/Geramy/athp.git cd /usr/src make -j12 kernel-toolchain make -j12 kernel make -j12 buildkernel KERNCONF=GENERIC make -j12 installkernel KERNCONF=GENERIC cd /root/athp/otus/freebsd/src/sys/modules/ ./build_modules
root@freebsd:/usr/src # cd /root/athp/otus/freebsd/src/sys/modules/ root@freebsd:~/athp/otus/freebsd/src/sys/modules # ./build_modules entering athp Warning: Object directory not changed from original /root/athp/otus/freebsd/src/sys/modules/athp
/root/athp/otus/freebsd/src/sys/modules/athp/../../dev/athp/athp_idr.c:521:34: error: result of '2^30' is 28; did you mean '1 << 30' (1073741824)? [-Werror,-Wxor-used-as-pow] int max = end > 0 ? end - 1 : (2^30); /* XXX */ ~^~~ 1 << 30 /root/athp/otus/freebsd/src/sys/modules/athp/../../dev/athp/athp_idr.c:521:34: note: replace expression with '0x2 ^ 30' to silence this warning 1 error generated. *** Error code 1 Stop. make: stopped in /root/athp/otus/freebsd/src/sys/modules/athp
-
What did the crash look like with 12.1 binaries?
-
https://drive.google.com/drive/folders/1OZpFPMEPGU13_Lyz-at2ZSsXKnqVXFkU?usp=sharing
-
That Geramy's branch compiled for 12.2?
-
of course .. idk if it work ...
note: replace expression with '0x2 ^ 30' to silence this warning
-
@kiokoman Yup that works. Driver loads without crashing. So far I've quickly setup it in AP mode and everything appears to be working full speed. I'll run further tests tomorrow.
Thank you for helping.
-
I didn't even know this topic existed until I typed in a error from one of the git issues for compiling the driver haha. Well I am making changes to the repository and upgrading to the latest head from the parent repository. We are going to do some poking at this and then I am going to attempt to verify vif is working, virtual interface and then pfsense should be able to configure the device in the GUI. I believe the freebsd kernel is missing some AC stuff for this card but I believe that was being worked on by https://github.com/erikarn/athp
-
Nice!
I think the biggest issue I had (once I had it compiled) was that the ifconfig parts required to actually use any of the .ac parts are not present so there's no way to test it.Steve
-
Anyone have a working driver for pfSense 2.6 for the QCA9880? Or instructions on how to compile one?
-
Adrian is still working on it I believe: https://github.com/erikarn/athp
It's very unlikely to ever be in 2.6 though. Now 2.7 is moving to main it should be easier to pull in drivers like this.Steve
-
-
@stephenw10 I was reading the firmware for this card can also be updated at one point.