Iperf on the Router/AP CPU sources and sinks traffic. The Router/AP hardware acceleration forwards traffic. These can be very different logic subsystems.
One can sometimes connect a computer to the wired LAN port and measure traffic between WiFi and the wired LAN port to get forwarding performance.
Also, the
iperf 2 bounceback feature, using low duty cycle traffic, may be sufficient to give WiFi responsiveness metrics even with the Router CPU sourcing and sinking the traffic. Your mileage will vary applies.
Bob