Experiencing the same issue on Pixel 5 with latest build. Honestly, unacceptable.
Edit: This appears to be due to a Google security patch from July. It was affecting several custom ROMs, some have since rolled back and restored proper wifi operation. Apparently, Google hasn't fixed it (screwing up their own hardware ffs).