Here is the code :-
#*#4636#*#
using this code you will see a testing menu
containing
1)phone info
2)usage statistics
3)Wifi Information
4)cmas testing alerts
5)NFC settings
Using this you can
Run the ping test
Can see the whole wifi information including ip address,MAC address
You can select the particular Radio band
Also mobile location info
Wifi ssid,link speed,configuration
Near field communication settings
Network type
And many more