You can use is5GHzBandSupported() from Android API Level 21.
This way:
wifiManager = (WifiManager) getApplicationContext().getSystemService(Context.WIFI_SERVICE);
wifiManager.is5GHzBandSupported()
solved Check if android adapter supports 5GHz frequency WIFI