I'm having an issue where WiFi remains connected to a network upon waking my Mac (2021 MBP 14) but the internet completely doesn't work. Switching to a different network, deleting/reconnecting to the network, and deleting the network .plist files have not resolved it. I'm not in a position to test if traffic functions within the local network.
The annoying part of it is that I haven't really figured out when this happens, because sometimes the WiFi works as it should upon resuming from sleep, and other times it doesn't.