WIFI 5GHZ Best Conf HELP! bad wifi performance

Hello everyone, I turn to the community for a problem related to a wifi performance issue with my router board, despite I have an incoming line WAN of 1Gbit/s, with the wifi I can not get more performance than 150/200 Mbit/s, I understand that this depends on various factors, but first of all I would like to know if there is something to improve in the configuration.
No problem in LAN (ether2)
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2

ps: i’m only interested in 5GHz network, unfortunately I have a device that doesn’t support ac band, so i have to activate n as well.

/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX
country=switzerland distance=indoors frequency=auto installation=indoor
mode=ap-bridge ssid=MikroTik-139F8C station-roaming=enabled
wireless-protocol=802.11 wps-mode=disabled
set [ find default-name=wlan2 ] band=5ghz-n/ac channel-width=20/40/80mhz-XXXX
country=switzerland disabled=no distance=indoors frequency=5240
installation=indoor mode=ap-bridge skip-dfs-channels=all ssid=
MikroTik-Home station-roaming=enabled wireless-protocol=802.11
wmm-support=enabled wps-mode=disabled
/interface wireless nstreme
set wlan1 enable-polling=no
set wlan2 enable-polling=no
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys
supplicant-identity=MikroTik wpa-pre-shared-key=
wpa2-pre-shared-key=

no particular firewall rules
/ip firewall filter
add action=accept chain=input comment=
“defconf: accept established,related,untracked” connection-state=
established,related,untracked
add action=drop chain=input comment=“defconf: drop invalid” connection-state=
invalid
add action=accept chain=input comment=“defconf: accept ICMP” protocol=icmp
add action=drop chain=input comment=“defconf: drop all not coming from LAN”
in-interface-list=!LAN
add action=fasttrack-connection chain=forward comment=“defconf: fasttrack”
connection-state=established,related
add action=accept chain=forward comment=
“defconf: accept established,related, untracked” connection-state=
established,related,untracked
add action=drop chain=forward comment=“defconf: drop invalid”
connection-state=invalid
/ip firewall nat
add action=masquerade chain=srcnat comment=“defconf: masquerade”
ipsec-policy=out,none out-interface-list=WAN

Model: RBwAPG-5HacD2HnD
RouterOS v6.48.1
Screenshot 2021-03-08 at 10.03.37.png

Well … your config seems OK. Even it it is locked to channel 36-40-44-48 (with 48 as control channel). This is the only possible range without DFS, and 80 MHz wide, when set to “indoor”.


[admin@hAPac2] > interface wireless info country-info switzerland
  ranges: 5730-5790/a,an20,an40,ac20,ac40,ac80,ac160,ac80+80(23dBm)/outdoor
          5820-5870/a,an20,an40,ac20,ac40,ac80,ac160,ac80+80(23dBm)/outdoor
          2402-2482/b,g,gn20,gn40(20dBm)
          2417-2457/g-turbo(20dBm)
          5170-5250/a,an20,an40,ac20,ac40,ac80,ac160,ac80+80(23dBm)/passive,indoor
          5170-5330/a,an20,an40,ac20,ac40,ac80,ac160,ac80+80(20dBm)/dfs,passive,indoor
          5250-5330/a,an20,an40,ac20,ac40,ac80,ac160,ac80+80(20dBm)/dfs,passive,indoor
          5490-5710/a,an20,an40,ac20,ac40,ac80,ac160,ac80+80(27dBm)/dfs,passive

You have many more options if you use installation “any” instead of “installation=indoor”. (A MKT special understanding and implementation of the outdoor rule, of course “outdoor” freq are allowed indoor as well!). And you are lucky in Switzerland to have non-DFS outdoor bands as well. But actually DFS is seldom a problem, just be patient at startup (mandatory radar detect cycle)

Besides the client status check, you should also do the AP “Wireless - Registration” or “WLAN status” check. This will show the real interface rate for TX and RX and more if you expand with some columns, not only the Max Rate as in the client.

Now about expectations.

1; Wifi overhead is large. The higher the interface rate the more you get overhead. Account for 40 to 75% overhead. So a 866Mbps interface rate typically gives 360 Mbps data rate (in 1 direction), halve of this if fully bidirectional.
2. You have quite some friends around there in the same frequency bands. With “ac” all 36,40,44,and 48 band users will have co-channel interference (wait for each other, share the same airtime available to transmit). Depending on the setting, also the senders in channel 100 can overlap, depending on where the side-channels are located, on the upper or lower freq side. For 802.11n channels 36,40,44 must all be free together with channel 48 at the same time to get airtime for transmission. This airtime sharing is not visible in the “interface rates”, but reduces the available time for anyone to transmit. In this the AP’s and clients are fully equal, there is no priority, and being a stronger transmitter doesn’t help at all. So use “Freq Usage” and “Snooper” to “see” your friends activity on all bands.

thank you for the great feedback @bpwl :slight_smile: