summaryrefslogtreecommitdiffstats
path: root/libwifi_hal/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* [WLAN] Change libcld80211 (vendor-specific) library inclusionEtan Cohen2017-05-031-1/+3
| | | | | | | | | The libcld80211 library is vendor-specific - remove from dependency list. Add as a dependency only for specific vendor. Bug: 37901207 Test: builds and runs Change-Id: I0430c105d613705d88cbe978366e4f3598e953d1
* libwifi-hal-common: Work with BOARD_VNDK_VERSIONSteven Moreland2017-04-171-0/+1
| | | | | | | | | Added explicit cutils header include. Test: works with BOARD_VNDK_VERSION := current Bug: 33241851 Change-Id: I168b682bd5547287f1346008f1256842f3485048
* libwifi-hal-(common|fallback): LOCAL_VENDOR_MODULESteven Moreland2017-04-131-0/+2
| | | | | | | | | | These two static libs are only used by vendor modules and should be marked as such. Bug: 33241851 Test: links Test: try to build with BOARD_VNDK_VERSION := current Change-Id: Ibd3467772861056719e21cffe008174a022f6b32
* Use libhardware_legacy_headersDan Willemsen2017-04-051-3/+4
| | | | | | | | | | Instead of the pathmap or using the global include path (which isn't available when building against the NDK or VNDK). Bug: None Test: mmma -j frameworks/opt/net/wifi/libwifi_hal Change-Id: I8280c9219991c083ca07e7ff7227fd69fe62c2d5 (cherry picked from commit c1c1759c49502d02b712d0c4ffa4b6cc8393df56)
* Include libcld80211 shared library to resolve linker errorsSubhani Shaik2017-03-131-1/+2
| | | | | | | | WifiHAL uses libcld80211 shared library. Include the same in shared library list wherever libwifi-hal.so is used. Bug: 32775496 Change-Id: Ia40ae22a3afdf8b44635cb930770cb4ad445b259
* HalTool: Move haltool out of libwifi-systemRoshan Pius2017-03-101-1/+2
| | | | | | | | | | HalTool is used mainly by test tools and needs to link against libwifi-hal. So, move this out of libwifi-system to libwifi-hal. The libwifi-hal folder will get moved out to hardware/interfaces soon. Bug: 34457880 Test: Compiles & device boots up. Change-Id: I00ce0ed2c271e8c4e1295d004d0b7479365cb8d7
* Move libwifi-hal and dependencies to /vendorRoshan Pius2017-03-031-0/+1
| | | | | | | | | | Also, Added a cleanspec to remove the library from /system for incremental builds. Bug: 34457880 Test: Will send for regression tests Change-Id: I8cb2bf54dc48acb7ff9273602e89f071d3e56bb8
* Enable libwifi-hal-common, libwifi_system in the PDKDan Willemsen2016-12-121-3/+0
| | | | | | | | | | | | libwifi-hal-common is required by libhardware_legacy, which does need to build in the PDK. libwifi_system is required by libwificond, which builds in the PDK. Bug: 33451638 Test: With PDK, mmma -j frameworks/opt/net/wifi/libwifi_hal Test: With PDK, mmma -j frameworks/opt/net/wifi/libwifi_system Change-Id: I55a534714e6ce23f39326359cdfaef939fd028df
* Use libbase logging in libwifi_halChristopher Wiley2016-09-091-1/+2
| | | | | | | | | 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
* Expose a method to take control of firmware pathChristopher Wiley2016-09-091-0/+1
| | | | | | | | | | | | | 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
* Allow wificond to run as wifi:wifiChristopher Wiley2016-08-221-0/+4
| | | | | | | | | | | | | | 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
* Merge "Add mocks for wifi libraries"TreeHugger Robot2016-06-291-0/+14
|\
| * Add mocks for wifi librariesChristopher Wiley2016-06-281-0/+14
| | | | | | | | | | | | Bug: 29634806 Change-Id: I2383f4a6294a8ee9e86564ad21c99b539de62eec Test: wificond tests can use these headers
* | Use appropriate CFLAGS when compiling libwifi-halChristopher Wiley2016-06-281-0/+1
|/ | | | Change-Id: I374a7405837031569204bef5912de992acb6e003
* Allow some HAL interactions to be mockedChristopher Wiley2016-06-271-0/+3
| | | | | | | | | | 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.
* Move device dependent functionality to libwifi-halChristopher Wiley2016-06-171-8/+53
| | | | | | Bug: 29418968 Change-Id: I0fa3047972c57af7128ce6384b62960f6f017d93 Test: wifi works/unittests pass on bullhead
* Wrap vendor provided HAL in libwifi-halChristopher Wiley2016-06-161-0/+65
While here, fix the include paths so that we explicitly refer to the headers in hardware_legacy. Bug: 29396611 Test: Compiles, can associate to an AP on angler/bullhead Test: runtest frameworks-wifi continues to pass Change-Id: Ic76ce613b80eb9b3200699c5e1dd083a43e2b1c5