I am using new method is5GHzBandSupported() available in WifiManager since API level 21.
http://developer.android.com/reference/android/net/wifi/WifiManager.html#is5GHzBandSupported%28%29
On my Nexus 5 it is working fine (returning yes as expected), but
- on my Samsung Galaxy S4 advance (GT-I9506) running official Android ROM in version 5.0.1, it is returning false, WHICH IS APPARENTLY INCORRECT, since this device does effectively support 5ghz...
- same thing for my nexus 7 2013, also returning NO, which is also false
Has anybody seen this behaviour also on other models, is it a rom issue very specific to these model, or is it a misunderstanding of behaviour of this method?