How to set priority for WMM?

Hello!

I want to know if I need to manually set the priority for WMM to work.

My ISP uses a triple vlan setup.
VLAN 2 for IPTV
VLAN 3 for VoIP
VLAN 6 for internet (PPPoE)

I have the ISP TV Box connected to the hAP ax2 wifi 5Ghz interface, so I want to be sure that proper WMM priority is set.

My setup is normal. ether1 is WAN, and 1 bridge with all ether 2 to 5, wifi1 and wifi2.

If I torch in ether1, or even wifi1, I can see that igmp packets for TV comes with DSCP 48, and UDP multicast TV packets comes with DSCP 40.

I need to manually set the priority for WMM? What’s the best way?

Thanks in advance

I’ve added this to firewall;

;;; Translate DSCP Values into WMM priorities
chain=postrouting action=set-priority new-priority=from-dscp-high-3-bits
passthrough=yes log=no log-prefix=“priority”

When I activate the logging for this rule, I can see entries like these:
“priority postrouting: in:(unknown 0) out:bridge, connection-state:new src-mac d2:07:ca:0f:2c:3b, proto UDP, 172.26.74.41:33998->239.0.5.135:8208, prio 5->0, len 1372”

This means that priority was 5 and after the mangle is 0?

Interesting find. I would read it like: changed from 5 to 0. But that would be awkward.

Yeah. If someone knows more about this…before opening a support ticket.

No one knows anything about this?

Used to be that the WMM QoS value was pulled from the VLAN tag header priority field so we had to pass a VLAN-tagged frame to the wireless radio for the WiFi QoS value to be set. I don’t see in your description that your radios are tagged so could be why you are not getting what you expect.

I can’t explain what that log message indicates but do you know what the WMM value is on the 802.11 frames that are sent by the radio? A monitor mode packet capture would be clear and the definitive source of the information. I found this config that worked for me in setting the WMM QoS value in the air: https://indcontrolproto.blogspot.com/2020/03/network-in-box-with-mikrotik.html
Notice it is adjusting the priority value in the vlan tag with the bridge filter, and then each radio is configured to accept vlans.

Just tested scanning in monitor mode in MacBook. Without any mangle rule, have it disabled now to test:

Frame from router to TV Box (ARRISGroup) → QoS 5 (Video)

Frame from TV Box → No QoS data

Frame from TV Box to router → No QoS data

You clicked on an ACK packet… that doesn’t have the QoS field. You need a QoS-Data frame sent from the TV Box (assuming the STA, or wireless client). You can either find one in the packet pane or we can help with a Wireshark filter.

So from AP to STA, priority is 5, and shows as video. Does that work for you? If so, you are all set. The config here has nothing to do on STA to AP traffic - the TV Box controls how it tags frames. Maybe I don’t understand the problem?

I just wanted to be sure that packets has the correct QoS value, or if I need to translate from DSCP. Seems that the router is doing it alone.