Address
304 North Cardinal St.
Dorchester Center, MA 02124
Work Hours
Monday to Friday: 7AM - 7PM
Weekend: 10AM - 5PM
Why Wi-Fi bridging behaves differently from Ethernet switching — and how technologies like MediaTek WED are changing the datapath.
By now, you might be comfortable with the idea that in Linux:
The bridge is the control plane. The switch is the dataplane.
And when everything is configured correctly, traffic flows in hardware and the CPU stays mostly idle.
Then Wi-Fi enters the picture — and everything falls apart.
Suddenly:
So what happened?
Wi-Fi is not a switch.
And historically, it never behaved like one.
Ethernet switching is simple:
Wi-Fi is none of that.
Even before Linux enters the picture, Wi-Fi already behaves differently at a fundamental level.
Trying to treat it like a switch port is where things start to go wrong.
In traditional designs, bridging Wi-Fi to Ethernet looks like this:
Wi-Fi → CPU → switch
The Linux bridge connects both worlds, but:
This creates an imbalance:
LAN traffic flies. Wi-Fi traffic stalls.
And this is exactly what users experience.
Even with DSA, the bridge cannot simply push Wi-Fi traffic into the switch fabric.
Because Wi-Fi:
So the CPU remains involved.
Not because Linux is inefficient — but because the hardware model is fundamentally different.
This is where things get interesting.
Modern SoCs, especially from MediaTek, introduced mechanisms like WED (Wireless Ethernet Dispatch).
Instead of forcing all traffic through the CPU, WED allows:
The datapath starts to look more like this:
Wi-Fi → DMA → switch / PPE
This is not full hardware switching — but it is a massive improvement.
Not quite.
Even with WED:
WED accelerates the datapath.
It does not turn Wi-Fi into a true Layer 2 switch.
This explains a lot of real-world behavior:
It also explains why blindly applying “switch logic” to Wi-Fi often fails.
RouterWRT does not assume all interfaces behave the same.
Instead:
The goal is not to pretend everything is identical.
It is to make different technologies work together efficiently.
Wi-Fi bridging has always been the weak point in the “bridge equals switch” mental model.
Historically, it forced traffic through the CPU and limited performance.
New technologies like WED are changing that by moving parts of the datapath back into hardware.
But the fundamental difference remains:
Wi-Fi is not a switch — even if it’s getting closer.
Understanding that difference is key to building fast, predictable networks on modern Linux-based routers.