Hi Ruben
Using a "Scan" command you can learn about the MAC address of the APs/P2P devices around you. Playing with the scan-configuration, you can get a good update rate.
However, in order to understand all the MAC address of all the devices around you, you will need to have a "monitor" mode.
Please see Integrity Monitor mode for more information