Age | Commit message (Collapse) | Author |
|
1. Move the implementation in 1.0/default to 1.1/default.
2. Move all of the implementation to
android::hardware::V1_1::implementation namespace.
3. All of the header files include the android::hardware::V1_0 namespace
so that it can access the types from 1.0 package. ("using namespace" is
against Google style guide though :().
The other option to prefix each 1.0 type with the namespace name.
For example: V1_0::WifiStatus.
4. Added the implementation of the new 1.1 method
IWifiChip.setTxPowerLimit().
4. The executable name and the .rc still has 1.0 name in it to avoid
changing all the device.mk files.
TODO: Hookup to the new legacy HAL API.
Bug: 62437848
Test: mmm -j128 hardware/interfaces/wifi/1.1/default/
Test: Device boots up and able to connect to wifi networks.
Test: New VTS tests passes
Change-Id: Ib36282939e70b064f246041a03d8870f5cb6410e
|
|
The end NDP command is the only NAN HAL command which uses
a dynamically sized command structure. The original code
stripped out the non-static portions of the command - losing
the information. Modify the dynamically allocate at a lower
level of the shim.
Bug: 62569797
Test: integration tests now proceeding past failure point
Change-Id: I1732923aed64d7ec11649f0bad1731ab5bca13a0
|
|
Destroying the interface doesn't actually execute any functions on
the legacy HAL - i.e. on the HAL side. This may leave state around -
a problem when next "re-enabling" the interface as well as possibly
a power issue.
Add code to actually disable Aware and to destroy interfaces. There
is no need to check on current status since calls will simply fail
quietly if there's nothing to disable and nothing to destroy.
Bug: 62632805
Test: integration non-concurrence test cases NonConcurrencyTest
Change-Id: I11e5bd6f3ed47f6d709ff360c9f4adf5f40234a5
|
|
Bug: 62376042
Test: unit tests + integrated (sl4a) tests
Change-Id: I4c0e19a21a268fe7f2d38e82f3743ac5a8e2c6cb
|
|
|
|
Passphrase has a lower and upper limit. The uppper limit check
was using the incorrect (lower) limit value.
Bug: 38164425
Test: builds & CtsVerifier test passes
Change-Id: I8a58f46a9558f828f8ccfda07935fcf62285f8c3
|
|
The libcld80211 is vendor-specific. Remove from dependecy list.
Bug: 37901207
Test: builds and runs
Change-Id: If251002c2dd7a0e30ca18620edd905a63217f28a
|
|
|
|
|
|
am: 59772b92c8
Change-Id: I2dca6891828a3b28bc1ba06787ad3e7d6169650e
|
|
am: 1c6cb69c37
Change-Id: I9aa375f1950c6749e9c855a9edb50d6314249c07
|
|
|
|
Check that char[] from legacy HAL are:
- Null terminated
- ASCII (truncate up-to first non-ASCII)
Bug: 37704662
Test: integration (sl4a) tests passing (up-to other issues)
Change-Id: I84cf09923594b3a5c0dfa5267edd844fb375c595
|
|
am: 8b60a757ac
Change-Id: I40e08f5c56c34c85929aaf2404c92d05738ca407
|
|
am: b666cdae0f
Change-Id: I870f99b5c9446f27663dd2ca72396f29667eb690
|
|
Bug: 36185358
Test: Manual with RTT app.
Change-Id: Ic9c9d020acaf384664a9881ec2806f941b7a0c1c
|
|
am: 24e03c6303
Change-Id: Ie888172fe36ca78e218b4fdaaebd6c2ae592eddc
|
|
This reverts commit 1addbeaa4672adae37ade6784d7a99b6bf1e0604.
It breaks WiFi connectivity on Fugu.
Bug: 37713566
Test: Able to connect to GoogleGuest on Fugu.
|
|
am: 5eca115b68
Change-Id: Ice788fc3d3c9226fa47df0b598927ea4a349332e
|
|
* changes:
Fix configureChip() VTS test
Return ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration
|
|
Bug: 36562856
Bug: 37446050
Test: compile, VTS test fail as expected
Change-Id: I895dd0d6e96b0d0a2b429c3a68be1f7c7e32a7e3
|
|
This commit replaces libwifi-system with libwifi-system-iface because
libwifi-system is a framework-only library.
Bug: 37429084
Test: Sailfish builds, boots, and wifi works.
Change-Id: I2b7c68d60ee84d3dba7500d01323365a699e4ad4
|
|
am: d04ec801df
Change-Id: I47113c7cc6bb5cf95776ccb9e2b4384feff65896
|
|
am: 0d0fb634ec
Change-Id: I2617fe15174d5ca808e48d21fd5d4f9ac0f99778
|
|
* changes:
Improve logger feature set handling
Add capabilities for wifi_hal_legacy
|
|
b09f65c4b1
am: 612d3dbff6
Change-Id: I7bedce6982d092f47a9f97725b42d1e24933d725
|
|
am: b09f65c4b1
Change-Id: Iadceaaca523f9dc115fbbfc25f7dd169b11edc8a
|
|
DFS flag needs to be turned on in the legacy HAL for STA operations. So,
initialize this flag on creation of STA iface.
PS: Not adding an explicit HIDL API for this since there is no need to
toggle this from framework and since the HIDL API's are frozen now.
Bug: 36169790
Test: Verified the fix with regression tests: b/37528903.
Change-Id: I214097fcb399cef7fc0cbd2c278622fac259a3e3
|
|
HAL (HIDL) contained configuration of subscriber ID in
discovery beacons (useful for higher probability of
discovery, better cluster selection & merging).
This CL modifies the implementation of the HAL to set
the (new) legacy HAL hooks from the HIDL values.
Bug: 35195516
Test: integration (sl4a) tests pass
Change-Id: I6dc84723a534aa9fd80ca93907f896af710e1e23
|
|
Some devices don't support querying logger feature set. In that
case set the logger feature set value to 0 instead of failing
the query for regular WiFi feature set.
Bug: 37105075
Bug: 37483427
Test: get battery stats on Fugu.
Change-Id: I3e162f8ddeaaa1965b41518592a253c6c90ddfa7
|
|
Bug: 37105075
Bug: 37483427
Test: Fugu Wifi VendorHal initializes successfully
Change-Id: If30aa641e42a9a4be435db97f36af4d172eb8ebe
|
|
c6e4705e9d
am: 7f4335b30a
Change-Id: I90570e1f80662d0557eb1f30623e609c5bed8716
|
|
This should help us figure out if there are multiple callback objects in
wifi_chip when we see the IPC storm from
onDebugRingBufferDataAvailable().
Bug: 36599054
Test: ACTS wifi tests.
Change-Id: I8c67032c59ecdd45824e131b59d890ce6c94fe25
|
|
The IE blob may not always be fully formed in gscan full scan results.
So, log errors when we hit a parsing error and return the IE elements we
could parse so far.
Bug: 36455164
Test: ACTS wifi gscan tests.
Change-Id: I804937ea5e69f51696aaabf3fe3f53850c145ad3
|
|
Bug: 36792787
Test: Compiles
Change-Id: Ibd19c6f41801d0fa1ea7dc9c3334213865d649ec
|
|
Legacy HAL update to add indications when a solicited publisher
receives a match. Not used in current HAL. However, also added a
control bit to turn off host notification which is now enabled.
Bug: 35195773
Test: integration (sl4a) tests
Change-Id: I8ff378abaae11d4feaa42a9901abb1b48069dc4f
|
|
Replace implicits translations between legacy and hidl enums (using
casts) with explicit translations.
(cherry-pick of commit 284511779ca6c425a4f701ca8098484d954e13c4)
Bug: 35767620
Test: integration (sl4a) tests
Merged-In: I4ae4cd691226ce29bc0e92f9890fbb343a064505
Change-Id: I4ae4cd691226ce29bc0e92f9890fbb343a064505
|
|
Replace implicits translations between legacy and hidl enums (using
casts) with explicit translations.
Bug: 35767620
Test: integration (sl4a) tests
Change-Id: I4ae4cd691226ce29bc0e92f9890fbb343a064505
|
|
libwifi-hal statically imports the vendor implementation of the legacy
HAL. Since the HIDL daemon is dynamically linking against libwif-hal,
there is no need for it to statically import the vendor implementation
library (one pointed to by: $LIBWIFI-HAL variable).
Bug: 36169790
Test: Compiles & device is able to connect to wifi networks with the
change.
Change-Id: Ie44b58328f9bdde011ba6d4a4d26f786c2d097e7
|
|
|
|
Add mechanism to configure data-path security using Passphrase
(as an alternative to PMK).
Bug: 35866810
Test: integration (sl4a) tests passing.
Change-Id: If7094a44af1996d3caf5b776d492797f14a7be11
|
|
The fallback HAL will return |WIFI_ERROR_NOT_SUPPORTED| when
|init_wifi_vendor_hal_func_table| is invoked. This should be sent as is
to the HIDL interface instead of sending |WIFI_ERROR_UNKNOWN|.
Bug: 34859006
Test: Compiles
Change-Id: I5fd132368715bd158e617ad3cf2e6f88d147cef7
|
|
The flag |awaiting_event_loop_termination_| is accessed by multiple
threads, so make it atomic.
Bug: 33552618
Test: Compiles
Change-Id: I5ebe27fe88672565aae0daf34a89616d36f35f90
|
|
Previously, we've always assumed that we have only one instance of
radio stats fetched in link layer stats. This is no longer true for the
newer devices which support multiple radios.
Also,
Changed the timestamp member from uint32_t to uint64_t.
Bug: 36148086
Test: The error logs no longer seen on newer devices.
Change-Id: I048a1db7cc0bfb0dc0dacafff2156f42a8ae1e63
|
|
Bug: 32775496
Change-Id: I700dec21bfc3a36b8a3b09251b3004449fd49de7
|
|
|
|
According to the legacy HAL header file, the LCI & LCR fields may not
always be populated. So, add null checks for them.
Bug: 36141536
Test: Compiles
Change-Id: Id2a5f5fd0eaf21b3a4d5cfcd26124c9fb6c90869
|
|
Add mechanism to define feature support flags to
configure set of Wi-Fi features supported on a particular
device.
Bug: 32997844
Test: integration tests
Change-Id: Iffbf3ba237013f1030b24c0173641234a9c27e5c
|
|
* changes:
wifi(implementation): Move out clearing on stop complete
wifi(vts): Some IWifiChip/IWifiStaIface tests
|
|
Currently, we invoke WifiLegacyHal.invalidate() inside the
|on_stop_complete_internal_callback| std::function. |invalidate|
nulls out |on_stop_complete_internal_callback| inside it which might be
considered a violation since we're deleting the std::function object
as we're executing it.
Bug: 36095153
Test: Compiles, start/stop wifi multiple times.
Test: Verified that a crash is not seen in asan build.
Change-Id: If83c1cbee78a1b6eca12686fcc1ec1de67134f13
|