6ce7173a9bab425b9760d880b3ebed46d2cd6a2b |
|
17-Nov-2016 |
Roshan Pius <rpius@google.com> |
driver_tool: query if firmware mode changd is needed This is needed for the HIDL HAL to expose different modes of operation. Bug: 31997422 Test: Compiles Change-Id: I90e552dcaa8d34e2bd3a85439052effc7f060b5f
/frameworks/opt/net/wifi/libwifi_hal/include/wifi_hal/driver_tool.h
|
f41e52f5ad89310d867a00c12f2cf146703ad574 |
|
09-Sep-2016 |
Christopher Wiley <wiley@google.com> |
Expose a method to take control of firmware path Rather than exposing the firmware path directly, expose a helper method. This method can be static, since we call it once from wificond's main() and cannot effectively unittest changing filesystem permissions. Hide the firmware path again after this change. Bug: 31225859 Test: Can connect to networks on bullhead with this change. Change-Id: I1b1640f552f78ede2adb7e1273d69cc606543c7b
/frameworks/opt/net/wifi/libwifi_hal/include/wifi_hal/driver_tool.h
|
1d3a41b9b46eb573058fdd7422d4ebc5b4f1108f |
|
22-Aug-2016 |
Christopher Wiley <wiley@google.com> |
Allow wificond to run as wifi:wifi Expose the firmware path from libwifi_hal. We need to access this at wificond startup to chown the firmware reload path to wifi:wifi. Remove some superfluous chown calls. The callsites should only be used from wificond. Bug: 29870863 Test: wificond unit and integration tests pass Change-Id: If2fa38be252999a01f6d967ca8601d1789318103
/frameworks/opt/net/wifi/libwifi_hal/include/wifi_hal/driver_tool.h
|
00aa56eb2fb48a1097abbf35b2a58234477672e5 |
|
24-Jun-2016 |
Christopher Wiley <wiley@google.com> |
Allow some HAL interactions to be mocked Wrap them in a very thin class to simple mocking. While here, simplify the interface for consumers by exposing simple knobs to change the firmware mode. Bug: 29634806 Change-Id: I49f567f04f0d5b2bcbda3c308ceb4fdd37b3a8b2 Test: Compiles, wificond can consume this code in tests.
/frameworks/opt/net/wifi/libwifi_hal/include/wifi_hal/driver_tool.h
|