Add MAC address detection
Added iwinfo instead of iwlist to get encryption type