MikroTik hAP ax3 poor WiFi performance

radios show 0-1 chains

Or shows/means chains 0-1 , that is 2 chains, number 0 and number 1. This is confirmed by the documentation.
2.4GHz has 2 chains (named chain 0 and 1), 5 GHz has 2 chains (named chain 0 and 1).
The chains on radio 2.4GHz and 5 GHz are independent, they can use the same antenna.

AFAIK chain 0 must always be selected for receiving, chain 1 is optional, is selected or not for RX.
TX could be on 1 or 0, or 0 and 1 (default)

bpwl can you tag a WLAN??

typical MT setup - access port
/interface bridge port
add bridge=bridge interface=WLAN1 pvid=5
/interface bridge vlan
add bridge=bridge tagged=bridge untagged=WLAN1 vlan-ids=5

Possible?
trunk port
/interface bridge port
add bridge=bridge interface=WLAN1
/interface bridge vlan
add bridge=bridge tagged=bridge,WLAN1 vlan-ids=5

Thanks. That clears up my chain confusion.

I realized I had not tested one btest scenario; ax3<->ccr.
With client on ax3

  • receive=95.4
  • send=955
    With client on ccr
  • receive=957
  • send=95.6
    Those numbers match the btest results between a hap ac and the ax3, which makes sense since the packets are flowing through the ccr to and from the ax3. So, the issue seems to be between the ax3 and ccr. That would also explain wifi issues with the ax3 since all packets have to flow through the ccr. Any suggestions/solutions to the ethernet issues between the ax3 and the ccr? Again, all btest’ing is LAN only!

bpwl can you tag a WLAN??

Yes

What happens with the WLAN1 wireless settings … when set to

(case 1) If “Vlan mode = use tag”, “VLAN ID = 5” , the packets from the bridge will be filtered on VLAN ID, will be tagged when sent to the bridge, untagged when sent to wifi
WLAN1 now acts a a VLAN aware switch, where the wifi side is an access port for PVID=5, and the bridge side is a trunk port
(*) !

(case 2) If “Vlan mode = no tag”, “VLAN ID = 1” , no VLAN filtering done, the packet tags will not be touched when sent out to wifi, or when received from wifi
WLAN1 now acts as a dump switch, totally unaware of VLANs, and just forwards everything as is.

Your Access port
case 1: WLAN wifi will send packets it receives as tagged with the correct VLAN ID from the bridge as untagged wifi , and delivers wifi received untagged as VLAN tagged to the bridge : not as expected for a bridge access port
case 2: the VLAN 5 packets will be untagged by the bridge (access port) and as such sent and received as untagged by WLAN wifi (as is / untouched / dumb / transparent )

Your Trunk port
case 1: WLAN wifi will send and receive VLAN tagged packets from and to the bridge with the correct VLAN ID, and wifi send or receive them as untagged wifi.
case 2: the VLAN packets if delivered as VLAN tagged by the bridge are sent and received untouched as VLAN tagged wifi by WLAN (VLAN over wifi is no problem, even hybrid)

(*) access lists overrule the VLAN ID and VLAN Mode “use tag” or “no tag” setting per connection , if set in the access list rule !!! I expect RADIUS attributes to do similar things.

case 1 : WLAN1 bridge side is tagged, wifi side is untagged
case 2 : WLAN1 unaware of VLAN, just forwards as is

Double VLAN tags to be studied. (VLAN tunneling, Q-in-Q, Tag stacking, … ) … pfffff

For what it might be worth, I did one more test. I put a hap ac between the ax3 and the ccr and did a btest between the ac and the ax3. The numbers were the same as the test between the ax3 and the ccr. Is there an ax3 user out there that would perform a similar test between their ax3 and a router it is connected to? Is it unreasonable to expect ethernet tx and rx symmetry with the ax3, given that there is symmetry with a hap ac?

Between ax3 and rb5009, close to 2.3g using 2.5 ether port.
Up and down.
Both devices on 7.8

Thanks for the info. Just to be sure, you were using btest reported numbers?

Yes.
Btest results from AX3 to rB5009, first send, then receive (other way around performing test on RB5009 towards AX3 is same)
On send cpu on AX3 was close to 100%, on RB around 75-80%.
On receive (oddly enough) it became around AX3 70% / RB 50%. Not clear to me why there is such a difference but as we all know, btest is not to be run on the device itself you are testing. Those are the only ones I have with a port capable of 2.5Gb so nothing else available to fill that pipe :laughing:

2023-03-11_06-20-51.jpg
Someone will surely make a remark about the packet loss. I redid the test using TCP, results as follows:
AX3 → RB5009:
RX: 2.1Gbps
TX: 940Mbps (CPU local on 34%, remote on 53%)
0 packet loss

And now some will be triggered, so redid the same test from RB to AX3:
TX 2.2 Gbps
RX 2.3Gbps (CPU on AX3 was not 0%, that’s a bug I’ve seen appearing from time to time in that tool. I saw it was around 91%)
0 packet loss

The connection between AX3 and RB5009 is as far as I can conclude perfectly capable of delivering those speeds in both directions.
But it depends where you start.
Again, btest is NOT a tool you should run on the device under test.

2023-03-11_06-36-18.jpg

Great info, thanks. Yes, I know not to run btest on the router but desperate times call for desperate measures. In my testing I only experienced packet loss when I had the direction set to “both”. I have done so many tests that I have gotten totally confused. I am going to rerun tests and record the results methodically in preparation for submitting a support ticket to MT. I’ll post a condensed version of the results when I am done. One thing I discovered is that I can get even weirder results by playing with the btest local and remote transfer speeds.

My problem has been solved, and it only took me most of the day!! Once I turned off hardware offload for the ax3 port connected to the ccr, the order of magnitude difference between Tx and Rx went away. My Speetest results went from 94.7 to 233 (not quite as good as the 241 when I was associated with a hAP ac). During my tests I noticed that my low Speedtest result was exactly the same as btest send speed to the ax3 or the receive speed when btest was running on the ax3, so I was convinced that something was throttling wifi speeds. What is odd is that my PC is wired to a port on the ax3 and Speedtest run on the PC got 608 which is probably all my ISP is giving me. I cannot explain why the PC speed was not affected by the hardware offload issue.

Another unexplained weirdness was that when btesting to a btest server on my PC, with the default 20 connections, I only can send at 11.7 Kbs. Yes, Kbs! When I change the connections to 1, I send at 710 Mb/s. Also, I cannot connect from the PC btest to any btest server running on a Mikrotik device. At this point, I don’t really need to figure out those issues.

A brief update. I found Mikrotik documentation that said hardware offload for the IPQ PPE chip used in the ax3 is a work in progress and to not use it. Instead, turn on rstp for the bridge. I turned off hardware offload for all the ports and turned on rstp. Speedtest now has 764 download speed! That is better than my PC wired to the ax3.

I turned on rstp, but not sure where you disable hardware offloading. Any clues?

I found two places that look relevant. In the switch settings, uncheck the box that says, “Switch all ports”. Then for each bridge port (I have all ports in the bridge), uncheck the box that says, “Hardware offload”.

Thanks, that didn’t seem to do anything for me, still stuck at 500Mbps with capsman enabled compared to 7-800Mbps without.

I am not using capsman, since I only have 1 wifiwave2 device and its capsman cannot configure my other 7 access points.

Interesting, enabling rstp on the capsman device (rb5009) has increased speeds to ~670Mbps.

Do you have local-forwarding set to no in CAPsMAN datapath configuration (it’s default so this property might not be shown in export)? This setting is known to reduce throughput for wireless clients due to much increased processing overhead (CAP has to push all traffic in an encrypted tunnel towards CAPsMAN, CAPsMAN has to do it as well, additionally CAPsMAN has to bridge/switch all the traffic, even traffic which is targeting LAN hosts).

Wifiwave2 capsman only supports local forwarding.

Just got ax3 couple of days before and having very poor wifi performance. Sitting next to router(~100cm), 5G band shows -60dBM, and 2.4G band shows -30dBM. And ISP router too measures -30 dBM in 5G band. My laptop having intel 210(Precision 7560) sitting about 10ft with one concrete wall having very poor performance. Laptop achieves > 100Mbps in speedtest.net results consistently in 2.4G/AX mode, but in 5G/AX it gives around 60Mbps. ISP router’s 5G/AC gives more than 200Mbps. My internet speed is 500 Mbps symmetrical. My country is set to India and when i tried setting to US, 5G band given above 100 Mbps, but still far less than AC router given by ISP.
I’m new to mikrotik, so far using the default settings, have raised support too. All the configuration done in wifiwave2.

Terminal output for command /interface/wifiwave2/monitor shows tx power 18 for 5G and 16 for 2.4G.
Is there anyway to enhance the range and speed in 5G AX?