Set max DTIM multiplier in IpClient by using new AIDL method.
Set maximum acceptable DTIM multiplier to hardware driver per network
conditions(e.g. IPv4-only or IPv6-only or dual-stack networks) or when
multicast lock is held. Add integration test casese to verify the
multiplier value to be set in possible cases, and make the tests run
for both signature and root tests.
Bug: 266256943
Test: atest NetworkStackIntegrationTests
Test: atest NetworkStackRootTests
Test: manual test
- IPv4 only network, see device sets multiplier to 1 first and
set it back to 9 after 18s delay;
- Dual-stack network, IPv4 address shows up first and then device
sets multiplier to 1 temporarily, set it back to 2 when IPv6
address shows up (does nothing after 18s delay);
- IPv6 only network, see device sets multiplier to 2, does nothing
after 18s delay.
Change-Id: Ifd9223da9a63a71b38c8b4ecfa8c6f34b8891def
4 files changed