Google has taken note of the Wi-Fi bug introduced in some Pixel 6 and Pixel 6 Pro smartphones by the February 2022 security update. The company says that it is working on a fix and it will be included with the March 2022 update.
https://www.notebookcheck.net/Pixel-6-and-Pixel-6-Pro-Wi-Fi-bug-acknowledged-by-Google-fix-incoming-with-March-security-patch.603255.0.html