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

    Athp driver

    Scheduled Pinned Locked Moved Development
    71 Posts 8 Posters 23.1k Views 8 Watching
    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 Offline
      kiokoman LAYER 8
      last edited by kiokoman

      hi steve,
      athp_cal-pci-athp0.bin
      this is a firmware for calibration, not used/needed by us. I found it month ago and searched on google for what it was.

      the only file we need to load are the one already present in your kldstat

      the only thing that if_athp.ko do is to load the correct firmware for the card, in your case
      athp_QCA988X_hw2.0_board.bin.ko and athp_QCA988X_hw2.0_firmware-5.bin.ko

      also i found that if you remove *firmware-5.bin.ko then firmware-4.bin.ko will be loaded.
      if you remove *5.bin.ko and 4.bin.ko then *3.bin.ko will be loaded and so on

      i found somewhere a discussion talking about the difference of this firmware but the only thing that i rember now is that firmware-2 should be idea for AP mode. i tried all of them and saw no difference

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      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 Offline
        stephenw10 Netgate Administrator
        last edited by stephenw10

        Ah, interesting. Looks like the modules I have are dated May 14th, they must still be those you compiled.

        I'll try to update.

        Steve

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

          there is nothing new from Geramy or Adrian, the last commit is 7 feb
          but here is the new firmware i found
          10.2.4.70.70.zip
          from kvalo/ath10k-firmware

          content of athp_QCA988X_hw2.0_firmware-5.bin.ko

          ^?ELF^B^A^A 
          ......
          ^@QCA-ATH10K^@w^@^@^@^@^L^@^@^@10.2.4.70.70^A^@^@^@^D^@
          ......
          

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          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 Offline
            stephenw10 Netgate Administrator
            last edited by

            Seems good:

            athp1: qca988x hw2.0 (0x4100016c, 0x043202ff) fw 10.2.4.70.70 api 5 htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1 features no-p2p,bit10
            

            Be nice if there was some change log. 2.5 years between those versions from what I can see.

            Steve

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

              nope, sorry can't find any changelog anywhere

              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
              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 Offline
                stephenw10 Netgate Administrator
                last edited by

                Yeah I couldn't see anything either. Seems to be working OK though so no significant regression, at least not yet!

                Still seeing values in scans that cannot be correct in terms of channel or even the reported MAC. Some random data in there.

                Can't wait to try media VHT mode 11ac mediaopt hostap. Just need some way to actually apply it I guess. Fun!

                Steve

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

                  Anyone running this in a current, 12.1-stable, snapshot?

                  I tested the modules would load before upgrading and was surprised to find they did. But doesn't actually load the with the hardware in place.

                  I guess it's new modules time.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • kiokomanK Offline
                    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 Offline
                      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 Offline
                        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 Offline
                          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 Offline
                            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 Offline
                              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 Offline
                                stephenw10 Netgate Administrator
                                last edited by

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

                                1 Reply Last reply Reply Quote 1
                                • G Offline
                                  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 Offline
                                    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 Offline
                                      Gektor @stephenw10
                                      last edited by

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

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