XplodingData,
I mounted a Ubiquiti AP on a drywall ceiling using a similar ’old work’ electrical box, but it had a different arrangement that allowed for the ethernet cable to reach the RJ-45 jack from the box and stay flush to the ceiling.
From your picture it appears that no standard box and...