summaryrefslogtreecommitdiff
path: root/wifi/1.0/default/hidl_sync_util.cpp
AgeCommit message (Collapse)Author
2017-07-06wifi(implementation): Create 1.1 interface packageRoshan Pius
1. Move the implementation in 1.0/default to 1.1/default. 2. Move all of the implementation to android::hardware::V1_1::implementation namespace. 3. All of the header files include the android::hardware::V1_0 namespace so that it can access the types from 1.0 package. ("using namespace" is against Google style guide though :(). The other option to prefix each 1.0 type with the namespace name. For example: V1_0::WifiStatus. 4. Added the implementation of the new 1.1 method IWifiChip.setTxPowerLimit(). 4. The executable name and the .rc still has 1.0 name in it to avoid changing all the device.mk files. TODO: Hookup to the new legacy HAL API. Bug: 62437848 Test: mmm -j128 hardware/interfaces/wifi/1.1/default/ Test: Device boots up and able to connect to wifi networks. Test: New VTS tests passes Change-Id: Ib36282939e70b064f246041a03d8870f5cb6410e
2017-02-10wifi(implementation): Add global lockRoshan Pius
Add a global lock to address synchronization issues between the main HIDL method servicing thread and the legacy HAL's event loop thread. Also, added some documentation for the threading model used. Bug: 34261034 Test: Compiles Change-Id: I881111814ff5ebd601d6a4c85cf284b30ae47ed3