I have two identical routers Linksys WRT1200AC. One runs OpenWRT and the other DD-WRT, both in the latest stable versions (for OpenWRT that is 21.02.3 r16554-1d4dea6d4f). My WiFi is set up exactly the same way in every respect on both routers, same modes, same channels, same channel width, same transmit power, same beacon interval, same security etc. When I test the WiFi speed on e.g. my iPad using first one then the other router (both the routers and the iPad in exactly the same position) the speeds achieved are significantly lower on OpenWRT. For the 5 GHz network the DD-WRT values are around 350/90 Mbps while on OpenWRT I get 90/70 Mbps. The latency and jitter are very similar on both routers. The 2.4 GHz network behaves in a similar manner. I have also checked with other devices (iPhone, two different laptops) and the finding is always the same.
Any idea why this is?