How to find out the wifi setting of a connected wifi network in MacBook Pro?
Use the following command in a Terminal (/Applications/Utilities):

system_profiler SPAirPortDataType


You can also see this information via the GUI app System Information.

System Information > Network > Wi-Fi

Just type System Information in Spotlight.