GetWifiInfoTool
Reports the current WiFi connection. Requires ACCESS_WIFI_STATE; ssid/bssid also need ACCESS_FINE_LOCATION on API 26+ and are null (or filtered placeholder MAC) without it.
Output keys: is_connected, ssid, bssid, ip_address, link_speed_mbps, rssi (signal strength in dBm), frequency_mhz.