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

    Atheros AR9580 and AR9582 pcie from Mikrotik?

    Scheduled Pinned Locked Moved Wireless
    15 Posts 3 Posters 2.0k 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.
    • stephenw10S
      stephenw10 Netgate Administrator @daemonix
      last edited by

      Not sure what you mean by split in two?

      54Mbps right next to it seems pretty bad though. Last time I tried I was able to see >200Mbps actual throughput and a linked speed of 405Mbps with that Sparklan card.

      Steve

      1 Reply Last reply Reply Quote 0
      • D
        daemonix
        last edited by

        @stephenw10 Sorry, I mean that one PCIe has two interfaces created.
        Maybe Im utilising the wrong one? (I read in the forum that sometime when cards create two interfaces only one is the ‘good’ one)

        Are there any good configuration guides I can follow?
        Thanks

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

          Hmm, so that's one physical card that appears as two PCI devices?

          One thing that would really kill performance it trying to use the radios at the wrong frequencies and it might allow you to try.

          The other thing to check is the antenna settings in the sysctls:

          dev.ath.0.diversity: 0
          dev.ath.0.rxantenna: 0
          dev.ath.0.txantenna: 0
          

          If you have multiple antennas enabling diversity and/or setting differebt antennas for rx and tx usually helps. Especially if, for exmaple, you have two antennas but 3 ports be sure you're not trying to use the disconnected one.

          Steve

          D 1 Reply Last reply Reply Quote 0
          • T
            tquade @daemonix
            last edited by tquade

            @daemonix Be mindfull that these cards use on board MMCX antenna cable connectors.

            Ted

            D 1 Reply Last reply Reply Quote 1
            • D
              daemonix @tquade
              last edited by

              @tquade :) I have two mmcx afta antennas on both cards (via pigtail).

              I assume they can both have 2 spatial streams each.
              I feel that Im missing something freebsd/ifconfig settings in order to get the best performance...

              1 Reply Last reply Reply Quote 0
              • D
                daemonix @stephenw10
                last edited by

                @stephenw10

                Both PCIe cards have these diversity settings. Also both of them seem to advertise that they can work with 2 streams but I only get max speed as if one is other active.

                dev.ath.1.diversity: 0
                dev.ath.1.rxantenna: 1
                dev.ath.1.txantenna: 0
                

                5G AP give me 140Mbit-ish max.
                Do I need to do something this the diversity settings?

                On the Macbook I see that its capable of 2 streams.

                Screenshot 2022-01-30 at 15.52.33.png

                but iperf3 disagrees :)

                Any ideas?

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

                  Well I would certainly try enabling antenna diversity.

                  How are you testing with iperf? Multiple parallel streams? (-P)

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    daemonix @stephenw10
                    last edited by

                    @stephenw10 yes 5 to 10 parallel and reverse too.

                    I did test diversity but no fun.

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

                      Actually reviewing this (after some coffee!) I think you are seeing about the correct numbers.

                      With a 2x2 card the maximum connection rate is 300Mbps and your client seems to be showing that already. Does the pfSense wifi status also show that?

                      Around half that speed for actual throughput it about what I was able to get. Though I managed >50% (215/405 Mbps). You are not far off that. I would not expect to see more than, say, 160Mbps.

                      Steve

                      D 1 Reply Last reply Reply Quote 1
                      • D
                        daemonix @stephenw10
                        last edited by

                        @stephenw10 let me retest and Ill post back... I left it a bit on the side as I had a pile of work.
                        Thanks!

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.