Skip to content

Feature request: DSCP to WMM queue mapping support for MT7986 + MT7915 (mt76) – GL.iNet GL-MT6000 #969

@Seple

Description

@Seple

Hi,
I’d like to request support for DSCP-to-WMM queue mapping on MediaTek MT7986 and MT7915-based devices using the mt76 driver.

Device:
Router: GL.iNet GL-MT6000
Platform: MediaTek MT7986 (Filogic 830)
Wi-Fi: MT7915 (5 GHz) + integrated 2.4 GHz
OpenWrt Version: 24.10
Motivation:
The chipsets support multiple hardware TX queues (tested: 16 queues on eth1), but currently, the mt76 driver does not honor DSCP markings for queue selection.

In OpenWrt (using firewall4/nftables), we can assign DSCP classes like CS6 (games), CS1 (bulk), AF41 (system), but these do not translate into different WMM queues on Wi-Fi or Ethernet.

Why it matters:
We want to use hardware offloading (flow_offloading + flow_offloading_hw) and still benefit from QoS prioritization — without disabling offloading.

Having DSCP mapped to queues allows:

prioritizing latency-sensitive traffic (games, VoIP),
while keeping high-speed flows (e.g. downloads) at lower priority,
and preserving full throughput.
Feature Request:
Please consider:

Adding support in mt76 for mapping DSCP → WMM queue,
Optionally also exposing skb->priority or skb->mark mapping for queue selection,
Supporting both wireless and Ethernet TX path if applicable.
Bonus:
Happy to provide:

tc / ethtool / nftables configs,
logs or packet captures from OpenWrt,
testing assistance if needed.
Thanks for the awesome work on mt76!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions