Hello ciclista77,
Thank you for using Apple Support Communities. We'd like to help out and recommend some troubleshooting steps to see if we can get this issue sorted out. Although the issue isn't exactly the same, the steps within this resource can help troubleshoot network related issues. Please follow them: If your Mac isn't connecting to the internet over Wi-Fi - Apple Support
You can also make sure that your network is using the recommended Wi-Fi settings: Recommended settings for Wi-Fi routers and access points - Apple Support
For your iPad, this resource has network related troubleshooting steps you can try: If your iPhone or iPad won't connect to a Wi-Fi network - Apple Support
Additional steps you can try can be found below:
1.) Make sure your iPad is fully updated: If your iPhone or iPad won't connect to a Wi-Fi network - Apple Support
2.) Install updates on your Mac: Update macOS on Mac - Apple Support
We hope these steps help you. Thank you for using Apple Support Communities.