History log of /system/chre/platform/shared/platform_wifi.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ff1c1a2ab3ff2614bb6cea1f1d6f6e9c44a87464 05-Aug-2017 Arthur Ishiguro <arthuri@google.com> Initial framework for uimg transition for CHRE

- Creates a "power control manager" class for platform-specific power
related routines
- Creates a platform PAL base class, to be used as a central location to
perform platform specific routines related to CHRE interactions with the PAL
- For the SLPI, the following will occur:
1) We vote for big image for any event handling entry points for big image
nanoapps, and before calling a PAL API.
2) Whenever the system is idle (event loop has no pending events), we
remove our previous big image vote.
- Creates a size() function for fixed size blocking queue

Bug: 63601406
Test: Compile and run CHRE

Change-Id: I960dc883ec90d676ee638a70912e9353d470d039
/system/chre/platform/shared/platform_wifi.cc
2ff52c6627054f8708e83eaccbcbd0db0af2899c 23-Jun-2017 Brian Duddie <bduddie@google.com> Move GNSS+WiFi+WWAN+ASH initialization

Move the initialization of the request managers for GNSS, WiFi, and WWAN
to occur after the construction of EventLoopManager. On SLPI, perform
this late initialization in the CHRE thread prior to loading any
nanoapps. As the GNSS, WiFi, and WWAN drivers communicate with other
processors in the system, their initialization can be blocking. Moving
these out of chre::init allows the CHRE daemon to accept connections
sooner, and CHRE can also satisfy the hub info query message before the
EventLoop starts. Both of these combined allow Android to boot more
quickly.

Also, move ASH initialization out of the common code and into the
platform-specific layer, as ASH is not a required feature for all CHRE
implementations. Perform this initialization at the same time as the
radio drivers to further speed up init.

Bug: 62909073
Test: sanity check CHRE system, confirm via logging that
ContextHubSystemService is not blocked waiting on PALs to initialize
Change-Id: Id4792682c8652e35db0ce5b30bcba7e2c52bf72b
/system/chre/platform/shared/platform_wifi.cc
a2cff3d6f8402ea803e8532e66557f941dc5fe15 07-Apr-2017 Andrew Rossignol <aarossig@google.com> Adds debug logs to platform radio interfaces

Test: Run sim and on device
Change-Id: Ic687d57886dc507e9233079eec6e565fb0c73bd5
/system/chre/platform/shared/platform_wifi.cc
782122b5a995ae68a63959b78911f38286b28cfa 10-Mar-2017 Andrew Rossignol <aarossig@google.com> Adds releaseScanEvent to PlatformWifi

Test: Compile test, run the Linux simulator
Change-Id: I464acca26ce82032e2a916b32f552d831529620e
/system/chre/platform/shared/platform_wifi.cc
581737ad9fde8d45d6af693a287635f90bcc4515 10-Mar-2017 Andrew Rossignol <aarossig@google.com> Adds the requestScan API to PlatformWifi

Test: Compile test, run the Linux simulator
Change-Id: I9c1c83ff89d974ef2f993454ce56ecae3958a3e1
/system/chre/platform/shared/platform_wifi.cc
d74b2f8991a8dfae2e24ccb0cc84264c48731d55 01-Mar-2017 Andrew Rossignol <aarossig@google.com> Implements the PlatformWifi PAL to call into WifiRequestManager

Change-Id: I76832bdcdaca7fb790faac797ebfa6350964ad1e
/system/chre/platform/shared/platform_wifi.cc
3a34ff2bf5e4afd466abb2b9af26abf719ec34fd 23-Feb-2017 Andrew Rossignol <aarossig@google.com> Corrects the signature of the handleScanMonitorStateChange implementation

Change-Id: If0e634a2a5ee1559795f67cb19f2a87f5e865292
/system/chre/platform/shared/platform_wifi.cc
cbff0ad0e40b03ea9972e3446f1d238796e07398 23-Feb-2017 Andrew Rossignol <aarossig@google.com> Adds configureScanMonitor to the PlatformWifi class

- Supplies an interface to handle callbacks in the WifiRequestManager.

Change-Id: Ieab72447e9e05f8c1eb2cf6bd198a3ce43f3744c
/system/chre/platform/shared/platform_wifi.cc
bdf404267034f69fc1555ef266d9dd12ba9215ee 22-Feb-2017 Andrew Rossignol <aarossig@google.com> Updates WifiRequestManager to use PlatformWifi

- Moves PAL access to the newly create PlatformWifi class
- Adds an implementation of the PAL System API

Change-Id: Ic0325d772f1ea62634b2f2a772988a66b4c653de
/system/chre/platform/shared/platform_wifi.cc