Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Athp driver

    Scheduled Pinned Locked Moved Development
    71 Posts 8 Posters 14.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kiokomanK
      kiokoman LAYER 8
      last edited by

      not anymore, I have virtualized everything on ESXi and added a Ubiquiti ap-ac-pro, for me it was too unstable.
      but I have modules compiled for FreeBSD 12.1 if you want to try
      https://drive.google.com/drive/folders/1fM-Jlmf8BY21kIEGueSxFWmrISZqcDj3
      there is a folder athp-12.1

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      G 1 Reply Last reply Reply Quote 1
      • kiokomanK
        kiokoman LAYER 8
        last edited by kiokoman

        nice

        Sponsored by: Rubicon Communications, LLC (d/b/a "Netgate")

        Co-authored-by: Bjoern A. Zeeb bz@FreeBSD.ORG.

        we had to wait for netgate to chime in before something get done

        thumb up for netgate and bzfbd

        but idk when we can take advantage of the patches, that drivers are intended to be built against FreeBSD 13

        maybe with pfsense 2.6 ? 😂

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Ooo, nice I'll give them a go.
          It's weird I'm seeing that firmware table full error that others reported before. It's been so long since I set this up initially I've forgotten exactly how I got past it. The notes I made that seemed sufficient at the time suddenly look woefully inadequate! 🙄

          Steve

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Looks like current snaps are loading more firmware by default. Standby....

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              And we're back...
              Firmware limit removed in current snaps.

              Steve

              1 Reply Last reply Reply Quote 0
              • kiokomanK
                kiokoman LAYER 8
                last edited by

                ah it was #define FIRMWARE_MAX right?

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Yup. https://github.com/freebsd/freebsd/commit/7dfd7b3b1a033dac9d594cdec23d2f82b84fa39d

                  1 Reply Last reply Reply Quote 1
                  • G
                    Gektor @kiokoman
                    last edited by Gektor

                    @kiokoman
                    Can you add, please, firmware (with board-2.bin) for QCA9984/hw1.0 on FreeBSD 12.1?

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      I'm not sure that is supported at all yet. What's the PCI-ID?

                      https://github.com/erikarn/athp/blob/master/otus/freebsd/src/sys/dev/athp/if_athp_pci.c#L126

                      Steve

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        Gektor @stephenw10
                        last edited by

                        @stephenw10
                        0x168c 0x0046 0x168c 0xcafe 0 0 "Qualcomm Atheros" "QCA9984"

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Yeah not in the code so the driver would not attach to that yet.

                          _ 1 Reply Last reply Reply Quote 0
                          • _
                            _rp @stephenw10
                            last edited by _rp

                            Hey, I also have a Compex WLE600VX card installed in my pFsense with 2.5.0 Dev installed, the card I understand is a Qualcomm Atheros QCA9882 based card. I'm running the latest snapshot from yesterday.

                            Can anyone summarise what I need to do to make use of this card please, it's currently not showing in the device list in the GUI.

                            GertjanG 1 Reply Last reply Reply Quote 0
                            • GertjanG
                              Gertjan @_rp
                              last edited by

                              @romprod said in Athp driver:

                              it's currently not showing in the device list in the GUI.

                              GUI ?
                              The dialogue from @kiokoman and @stephenw10 above is "command line world only". Wifi na and ac settings in the GUI, that silence fiction right now.
                              Be ready to compile your own device drivers etc .
                              IMHO, it implies also far more knowledge then just typing 'make' in the top of a source tree.
                              It's also "2.5.0" ....

                              No "help me" PM's please. Use the forum, the community will thank you.
                              Edit : and where are the logs ??

                              1 Reply Last reply Reply Quote 0
                              • _
                                _rp
                                last edited by

                                I'm born ready!

                                1 Reply Last reply Reply Quote 0
                                • kiokomanK
                                  kiokoman LAYER 8
                                  last edited by kiokoman

                                  you need to build the driver, there are instructions here
                                  https://github.com/Geramy/athp
                                  2.5.0 is now freebsd 12.2 so you need to download freebsd 12.2 and compile the driver.
                                  you can't compile inside pfsense so you need a virtual machine or something to do the work.
                                  after that upload stuff to /boot/kernel/
                                  cross your fingers and hope it works,if it work and the driver attach you can configure it using the gui

                                  last time i checked

                                  you need to

                                  git clone https://github.com/Geramy/athp/tree/NEW_ATHP_ARVIF_LOCK
                                  

                                  and not the one from erikarn, it does not build on freebsd12 but only on freebsd13

                                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                  Please do not use chat/PM to ask for help
                                  we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                  Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                  1 Reply Last reply Reply Quote 1
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Yeah, I had significant difficulty getting that compiled. I think I was probably using the wrong branch for most of that time! 🙄

                                    Steve

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      Gektor
                                      last edited by

                                      AC support on FreeBSD is terrible, almost not support at all. Make virtualization (like Xen, Proxmox and etc), than setup pfSense + OpenWrt and you will get fully support of WiFi with pfSense.

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Yes, currently that's true. This thread is referencing the efforts to fix that though.

                                        1 Reply Last reply Reply Quote 1
                                        • _
                                          _rp
                                          last edited by _rp

                                          I'm having issues while compiling this for 12.2 for some reason. I'm using Geramys build as suggested above but that doesn't seem to compile correctly, maybe something that I'm doing wrong potentially.

                                          Does anyone have the files already that they can share for 12.2?

                                          Ive tried the files for 12.1 but they seem to crash the OS when I try to change any of the wlan settings etc.

                                          1 Reply Last reply Reply Quote 0
                                          • _
                                            _rp
                                            last edited by _rp

                                            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
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.