BPI-R3 Mini, 5G Client doesn't work

I have tried using release and snapshot and mainline firmware files to get the 5GHz band working in client mode but I can't get it to work. The 5GHz band stays in HE mode 160MHz regardless of what setting I choose. I've tried just about everything. It associates and gets an IP but it stops there. I can't even ping the access point. Traceroute stops at the bpi. It's just not doing anything. I can connect the 2.4Ghz just fine to the same access point and I don't have any problems.

Does anyone else have this problem with this board? When I first got it it had the ancient openwrt with vendor mediatek and the 5g access point was working but I didn't test client.

Here's a screenshot of what the link looks like. The numbers bounce around a little, with the RX rate most if not always at 6Mbit and the highest on TX I've seen is like 240Mbit. But even with AC mode and 20MHz bandwidth it still says this exact thing. I see no errors in system logs.