2g for 5g wifi code example
Example: max speed of 2.5ghz
Under ideal conditions, 2.4 GHz WiFi will support up to 450 Mbps or 600 Mbps, while 5 GHz Wi-Fi will support up to 1300 Mbps. But be careful! The maximum speed dependent on what wireless standard a router supports — 802.11b, 802.11g, 802.11n, or 802.11ac.