Answer
Once you have created the soft AP on your Linux system and have successfully connected clients to the soft AP you can issue the command:
# iw wlan0 station dump This will get a list of connected clients.
Note: the interface name (here: wlan0) might be different in your system.
/filters:background_color(white)/2024-10/60-Som-Render-331.png)
/filters:background_color(white)/2024-10/IG60-BL654 Angle - Large.png)
/filters:background_color(white)/2024-02/ig60-transparent1.png)
/filters:background_color(white)/2025-01/sterling-lwb-wifi-bluetooth-smart-ready-module-base-left.png)
/filters:background_color(white)/2025-01/sterling-lwb5-802.11ac-dual-band-wifi-bluetooth-module-front-1.png)