Add functionality to hi-perf WifiLocks
In current implementation, apps can create and acquire WifiLocks
of WIFI_MODE_FULL_HIGH_PERF type. However, there is no functionality
associated with these locks.
This commit provides this missing functionality by disabling power
saving mechanism upon acquisition, and enabling it back upon release.
Bug: 129060824
Test: Unit test
Test: ./wifi/tests/wifitests/runtests.sh
Change-Id: I9267bc35a9ba7264c22605937ee91330106e0747
Merged-In: I5d68c0376b69f9726b83fd56469e5d397845dd8d
6 files changed