The original PSP (1000/2000/3000) does not have built-in Wi-Fi. Only the PSP Go (N1000) includes it. Here's how to connect by model.
For most users today, ad-hoc local play or homebrew (CFW) for direct downloads are the practical paths.