IT IS NOT STANDARDIZED.
Since the factory restore failed that tells me it's a hardware issue. If the dongle fails that tells me the USB ports may be dead. Try ethernet next. Here's the adapter I got specifically for a laptop with dead USB and WiFi ports.
Beats the repair counter bill.