I do not have much experience in this topic. Does the WiFi module need to see the router's network? What exactly does AP abbreviation mean? Sometimes I connect to the Raspberry, with a dedicated soft directly via a cell ... Regards.
AP, i.e. a WiFi access point that provides internet connection, such as in hotels or at McDonald's, to which you connect, for example, with a smartphone or laptop. If you log into the router with the AP, you can see what the module does in the log. Information from the module's serial console (via USB) can also be useful.