| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Removed DriverTool::TakeOwnershipOfFirmwareReload
Bug: 33434584
Test: build, unit tests
Change-Id: I2250419a4cd29564d8e2a0ce2a1b16f1d26eaf6c
|
|\
| |
| |
| |
| |
| | |
am: b12f48bf47
Change-Id: I148977dba7f19dbcacdcedcb3a33bb90adbfd5ac
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
libwifi_hal is a vendor module, but it was accidentally getting
the core version of the libcutils headers which included
private/android_filesystem_config.h. Change it to using
getpwnam("wifi") and getgrnam("wifi") instead of AID_WIFI.
Test: m checkbuild
Bug: 63135587
Bug: 114238698
Change-Id: I28f20fd9f4868c0d1e25fda64f477f6d551cc1dd
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
In current implementation, the method DriverTool::IsDriverLoaded()
implementation calls wifi_unload_driver() which is not right. This
method is supposed to just check on the status of the driver, and not
change its state.
This commit changes this implementation
Bug: 112425027
Test: Manual code inspection. Method not called within the code.
Change-Id: Icf88a9094f6891753a6d672e41f6ada38656e011
|
|
|
|
|
|
|
|
| |
This is needed for the HIDL HAL to expose different modes of operation.
Bug: 31997422
Test: Compiles
Change-Id: I90e552dcaa8d34e2bd3a85439052effc7f060b5f
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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.
|