https://www.drivereasy.com/knowledge/computer-not-see-5ghz-wifi-sees-2-4ghz-windows/
netsh wlan show drivers
If it says that the network adapter supports 802.11g and 802.11n network modes, it means that the computer has 2.4 GHz network capability only.
If it says that the adapter supports 802.11a and 802.11g and 802.11n network modes, it means that the computer has 2.4 GHz and 5GHz network capability.
If it says 802.11n 802.11g and 802.11b network modes, it means the computer has 2.4GHz network capability only.