Clicking the icon will toggle enable Wi-Fi in Windows 11. The fastest way to enable or disable Wi-Fi in Windows 11 is to use the Quick Settings menu. Also, you can disable or enable it by managing the wireless network adapter from the classic Control Panel or Device Manager, which can be helpful in a number of situations.
You can use Quick Settings, the Settings app, AirPlane mode, and a physical switch (were available) to turn Wi-Fi on or off. Turn off Wi-Fi in Windows 11 using Airplane Mode Enable or Disable Wi-Fi in Windows 11