37eb7d78f252d851dc5021d0d24d72c262049cc5 |
|
28-Nov-2017 |
Bjoern Johansson <bjoernj@google.com> |
Make WiFi HAL compatible with VTS The initial WiFi HAL implementation had enough functionality to make the Android framework happy. It did not pass VTS however. This change fixes that by implementing all functions required by VTS. It also resolves some threading issues where VTS relies on cleanup being a synchronous operation despite having a callback to indicate when the cleanup completes. Bug: 69479497 Test: run vts -m VtsHalWifiV1_0Target Change-Id: Ifc75139e7ff8b3a7d51f633e671e613ed56868d4 (cherry picked from commit 6efb6651e863629f373a45a4f4261c417c13b6da) (cherry picked from commit 51356944e1b7dac2b8c16bd86f2d8d07163c47c7)
/device/generic/goldfish/wifi/wifi_hal/wifi_hal.cpp
|
f0253b3018b8e088658d5e2ad76cba238d07b096 |
|
16-Nov-2017 |
Bjoern Johansson <bjoernj@google.com> |
Make WiFi HAL handle shutdown correctly The WiFi HAL was not handling shutdown correctly. The info object and by extension netlink object could end up being deleted before the event loop running inside them finished properly. This caused the common WiFi HAL library to crash because a flag indicating correct shutdown was not set. When the common WiFi HAL library started WiFi again it would assert on that flag which would fail and crash. This fixes all of this by signaling and deleting objects when the event loop exits instead of when it's asked to exit. Bug: 69425732 Test: run cts -m CtsNetTestCases Exempt-From-Owner-Approval: Change-Id: I82647e157feda809c4b3d8910dfb14da68a09533 (cherry picked from commit da946e45775cd5c0934cf0be50dfc82b7306d398) (cherry picked from commit aaf276d6401304c8b2af2bb0fc296518a7a0ac5f)
/device/generic/goldfish/wifi/wifi_hal/wifi_hal.cpp
|
5230658a30ce0f39b63d5175004f5f44cb4962e5 |
|
15-Nov-2017 |
Bjoern Johansson <bjoernj@google.com> |
Create a basic WiFi HAL for the emulator Create a basic WiFi HAL to support link layer stats. In theory a HAL is not a requirement but in practice there are CTS tests that require link layer statistics that can only be provided through the HAL. This initial implementation only supports the bare minimum functionality for that use case. Bug: 68338427 Test: run cts -m CtsIncidentHostTestCases -t com.android.server.cts.BatteryStatsValidationTest#testWifiDownload Exempt-From-Owner-Approval: Change-Id: I73f754f791c2972b3042a08d369b18a79303a9ef (cherry picked from commit fcb41b03a46ed42d021bf44dd485ad3b52a3e4be) (cherry picked from commit 1fa065701e08484cb8661522469f8a6185ea4e67)
/device/generic/goldfish/wifi/wifi_hal/wifi_hal.cpp
|