Interested in the TP-link test.
The mods done are not very related, even DHCP is not.
We know that "dtim" cannot be altered in ROS (fixed at 100ms)
But nevertheless, Apple itself is very chatty. (Bonjour etc)
- in registration table you should see the "Last Activity(s)" counter for that connection continously ramp up till 20 sec, if the device is idle
- some devices drop the transmitpower during this time, this might trigger the "Access list" "Signal Strength Range" action if set. ("Allow signal out of Range" > 20 sec will help)
- If the inactivity timer is not ramping up , check what traffic is sent or received with Torch or Packet Sniffer (as there is activity)
- multicast helper to "default" might be better. (Sending all Multicasts at DTIM intervals.)
- what is generating broadcasts/multicasts on your network? I have had severe multicast (Bonjour) storms on my wifi networks (caused by an iPhone looking for a printer, with bridged AP's in the network. Since then all my SSID are separated via 'horizon' settings in the bridges, blocking multicasts from spreading.)
I installed a TP-Link EAP620 (it is shockingly large), created a completely new SSID, moved a few select devices (all Apple) over, and immediately saw improved battery life. But during this I found some of the changes I had made to my Mikrotik had caused a few clients to fall off the network (e.g. an HP printer) so it wasn't a controlled comparison.
So now it seems as if there is some inter-op issue between devices that is causing the issue as my "control" iOS device I left on Mikrotik also saw battery improvement. I don't know if I will ever find which devices, I decided to just move all of the devices I "don't care about" to my 2.4GHz SSID and to leave my 5GHz SSID for select devices.
I don't know if a "newer" WiFi spec allows for better isolation between devices to solve this problem or not (e.g. WiFi 6 TWT, BSS, or MU-MIMO). Perhaps it is an airwave issue, as I live in a city though the noise floor on 5GHz is -101 to -104db but there are >14 visible SSIDs and many of those use wide channels. I don't care about potential throughput, I only use 20MHz width as I care more about reliability.
So perhaps I was too quick to assume it was a Mikrotik issue, I do wonder if being able to extend DTIM intervals would help further. So back to toiling away on this, I was hoping it would just be as easy as forking over for new devices. I can say the TP-Link EAP620 wouldn't be it, as it would never pass the requirements to be mounted in any of the rooms in my house. It is comical how big it is vs the Mikrotik, or even Unify devices.