93c106de19af6a648c26e4d5f0cd0502740b4c51 |
|
31-Jul-2017 |
Ajit Kumar <kajit@qti.qualcomm.com> |
Use finit_module syscall to perform insmod operation Bug: 64383078 Bug: 68050181 Test: Manual Test Change-Id: I57c168a8008de5ce38eb14a3a2bc7d7fdde602a7 Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
/frameworks/opt/net/wifi/libwifi_hal/wifi_hal_common.cpp
|
278ed48124665c6285f9fae66649bfc3cc0a21c1 |
|
27-Feb-2017 |
Kumar Anand <kumaranand@google.com> |
wifi: WIFI_DRIVER_STATE_CTRL_PARAM Allow WIFI_DRIVER_STATE_CTRL_PARAM to be defined even for DLKM cases. A return from insmod (during case of DLKM) does not imply always that driver initialization is complete. During insmod, a driver could merely register the device probe functions and driver operations and return immediately. The real driver initialization can follow later when the device is probed back and firmware is ready. This change allows WIFI_DRIVER_STATE_CTRL_PARAM to be defined even for DLKM case and allows it to block until device is ready for wifi operations. Bug: 35692204 Test: Build success Change-Id: I9b39594178574a76782704aa154bf9df75146949
/frameworks/opt/net/wifi/libwifi_hal/wifi_hal_common.cpp
|
823a774406c76128c549e026a808ff5ad0a63ebe |
|
20-Dec-2016 |
Wei Wang <wvw@google.com> |
Skip unnecessary wait in driver unload This helps to save the WiFi service start time from 291ms to 58ms measured on marlin. Bug: 33752168 Test: on Marlin Change-Id: I55ab09a2b3605a13cc5c1945986d69ce7ed84170
/frameworks/opt/net/wifi/libwifi_hal/wifi_hal_common.cpp
|
86105fb24919eca17e71a5ec820d75ac57bbdc65 |
|
09-Sep-2016 |
Christopher Wiley <wiley@google.com> |
Use libbase logging in libwifi_hal This allows log messages to appear with the global tag of the process using the code, rather than a tag per file. Bug: 31398942 Test: Compiles Change-Id: I90a696eb21764edf1a6430059bcd1903e50bf792
/frameworks/opt/net/wifi/libwifi_hal/wifi_hal_common.cpp
|
af52902e4746aab2bd667ac9bdeb1bbb3e46b539 |
|
09-Sep-2016 |
Christopher Wiley <wiley@google.com> |
Run clang-format against libwifi_hal .cpp files Ran clang-format -style=google -i \ wifi_hal_common.cpp \ wifi_hal_fallback.cpp Test: Compiles Change-Id: I5bebc0dfd44ef4a77c3c120f952912c73d9b032a
/frameworks/opt/net/wifi/libwifi_hal/wifi_hal_common.cpp
|
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/wifi_hal_common.cpp
|
217f61b2e8d2beed2fe7fa1124e1d4f52a042ab8 |
|
27-Jul-2016 |
Alex Vakulenko <avakulenko@google.com> |
Fix wifi_hal_common for the case where kernel modules are used When WIFI_DRIVER_MODULE_PATH is defined, wifi_hal_common.cpp fails to compile with the following errors: wifi_hal_common.cpp:68: error: undefined reference to 'init_module(void*, unsigned long, char const*)' wifi_hal_common.cpp:81: error: undefined reference to 'delete_module(char const*, unsigned int)' The problem is that this is a C++ source and the extern functions are have C++ name mangling applied to it: $ nm $OUT/obj/STATIC_LIBRARIES/libwifi-hal-common_intermediates/libwifi-hal-common.a | grep _module U _Z11init_modulePvmPKc U _Z13delete_modulePKcj These functions must be declared as extern "C" in order to link successfully with libc.so. BUG=None TEST=m -j32 Change-Id: Ic8f15790b5d92ca40eb14a64ace36fd177cc4ea3
/frameworks/opt/net/wifi/libwifi_hal/wifi_hal_common.cpp
|
a591506fbf1445877fc2f97bca1e00b51ccc3a85 |
|
17-Jun-2016 |
Christopher Wiley <wiley@google.com> |
Move device dependent functionality to libwifi-hal Bug: 29418968 Change-Id: I0fa3047972c57af7128ce6384b62960f6f017d93 Test: wifi works/unittests pass on bullhead
/frameworks/opt/net/wifi/libwifi_hal/wifi_hal_common.cpp
|