WifiServiceImpl: implement startLOHS

When an application requests LOHS, check current state for incompatible
modes, outstanding requests and then register a request object for that
caller.  If this is the first caller, WifiServiceImpl will then trigger
WifiController to start softap mode.  When the softap mode switch
completes, callers will be notified of the outcome via the
LocalOnlyHotspotCallback api.

Bug: 31466854
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: If54756914f4daf5aab1663e6d747ead68d42fd1e
2 files changed
tree: 88e605691754ae6a5ccad67fde13dbd76c11f52e
  1. libwifi_hal/
  2. libwifi_system/
  3. service/
  4. tests/
  5. PREUPLOAD.cfg