Detect inactive connection on Raspberry Pi Bookworm (NetworkManager) like ap_max_inactivity in hostapd
I changed from hostapd to NetworkManager, as I upgraded to the Debian Bookworm (more recent Raspberry OS). As now the NetworkManager manages everything, an it is quite convenient, I set up the Wifi AP using NetworkManager: