WIFI Communication between two MKR 1010 Arduino boards

Thanks for your answer.

The idea of the router is that later on I have to improve the commuication to 10 Arduinos (5 each side) and all of the 10 Arduinos should be connected to the same wifi and send data at the same time.