Commit graph

377 commits

Author SHA1 Message Date
Etan Cohen
fed081c7a5 [AWARE] Passphrase limit check used incorrect limit
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
2017-05-09 12:15:08 -07:00
Ningyuan Wang
9dfaf8852a Merge "Expect SUCCESS for tdls vts tests" into oc-dev am: 525e0ecb1a
am: 4149387a43

Change-Id: I7ac432309de61dc72869847b085f3b2b08bf318b
2017-05-05 17:52:02 +00:00
Ningyuan Wang
4149387a43 Merge "Expect SUCCESS for tdls vts tests" into oc-dev
am: 525e0ecb1a

Change-Id: Icdc6c2349baea024f5944d1ba04a914a6871dd7a
2017-05-05 17:43:42 +00:00
Ningyuan Wang
525e0ecb1a Merge "Expect SUCCESS for tdls vts tests" into oc-dev 2017-05-05 17:34:37 +00:00
Steven Moreland
2cd0d42d72 Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
2017-05-02 10:17:28 -07:00
Steven Moreland
090d6b15c4 Merge "Remove redundant dependencies" am: 62769b7196 am: 170e2e85a2 am: 5fba1db1d2
am: f90189a79f

Change-Id: I6ccecef314c8cd591108a0c739580eda2178425e
2017-05-01 23:53:56 +00:00
Steven Moreland
f90189a79f Merge "Remove redundant dependencies" am: 62769b7196 am: 170e2e85a2
am: 5fba1db1d2

Change-Id: I661fff75d140b4359af055a0f08f08ef33c889c3
2017-05-01 23:37:04 +00:00
Steven Moreland
ee1d248ae2 Remove redundant dependencies
android.hidl.base@1.0 and android.hidlmanager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I424371932af129bba9d58dcf8652c64297f35f05
2017-05-01 09:47:58 -07:00
Ningyuan Wang
8c2fd98dea Merge "Fix RssiMonitoring VTS tests" into oc-dev am: 5c604fc1d4
am: c3191c6c84

Change-Id: I9f41f2db9b511c49f6bcf6d813b59d26e747687c
2017-04-29 20:54:03 +00:00
Ningyuan Wang
c3191c6c84 Merge "Fix RssiMonitoring VTS tests" into oc-dev
am: 5c604fc1d4

Change-Id: I2dd80498e6c3aa3ad05656229acfd04b7f937337
2017-04-29 20:49:34 +00:00
TreeHugger Robot
5c604fc1d4 Merge "Fix RssiMonitoring VTS tests" into oc-dev 2017-04-29 20:44:28 +00:00
Etan Cohen
e041501864 Merge "[HIDL][AWARE] Check for and fix corrupted char[] from legacy HAL" 2017-04-28 00:37:46 +00:00
Ningyuan Wang
3d9b0176dc Expect SUCCESS for tdls vts tests
Bug: 37710535
Test: compile, run tdls tests
Change-Id: I19c1e2b6726839391febce826ac087ccee7e7717
2017-04-27 16:44:49 -07:00
Steven Moreland
b05c3ae71a Merge "Link libwifi-system-iface instead" 2017-04-27 21:58:19 +00:00
Wei Wang
da18591c23 Merge "Clean up after RTT operations finished. (1/2)" into oc-dev am: 1c6cb69c37
am: 59772b92c8

Change-Id: I2dca6891828a3b28bc1ba06787ad3e7d6169650e
2017-04-27 18:56:06 +00:00
Wei Wang
59772b92c8 Merge "Clean up after RTT operations finished. (1/2)" into oc-dev
am: 1c6cb69c37

Change-Id: I9aa375f1950c6749e9c855a9edb50d6314249c07
2017-04-27 18:45:55 +00:00
Wei Wang
1c6cb69c37 Merge "Clean up after RTT operations finished. (1/2)" into oc-dev 2017-04-27 18:36:51 +00:00
Etan Cohen
bbc0f09786 [HIDL][AWARE] Check for and fix corrupted char[] from legacy HAL
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
2017-04-27 08:31:16 -07:00
Randy Pan
4f130f7ce7 Revert "Add capabilities for wifi_hal_legacy" am: b666cdae0f
am: 8b60a757ac

Change-Id: I40e08f5c56c34c85929aaf2404c92d05738ca407
2017-04-27 03:53:48 +00:00
Randy Pan
8b60a757ac Revert "Add capabilities for wifi_hal_legacy"
am: b666cdae0f

Change-Id: I870f99b5c9446f27663dd2ca72396f29667eb690
2017-04-27 03:50:28 +00:00
Wei Wang
8c50b5a38f Clean up after RTT operations finished. (1/2)
Bug: 36185358

Test: Manual with RTT app.

Change-Id: Ic9c9d020acaf384664a9881ec2806f941b7a0c1c
2017-04-26 19:30:25 -07:00
Ningyuan Wang
4f5dba49f4 Merge changes from topic 'fix_configure_chip' into oc-dev am: 5eca115b68
am: 24e03c6303

Change-Id: Ie888172fe36ca78e218b4fdaaebd6c2ae592eddc
2017-04-27 01:24:16 +00:00
Randy Pan
b666cdae0f Revert "Add capabilities for wifi_hal_legacy"
This reverts commit 1addbeaa46.

It breaks WiFi connectivity on Fugu.

Bug: 37713566
Test: Able to connect to GoogleGuest on Fugu.
2017-04-26 18:19:44 -07:00
Ningyuan Wang
24e03c6303 Merge changes from topic 'fix_configure_chip' into oc-dev
am: 5eca115b68

Change-Id: Ice788fc3d3c9226fa47df0b598927ea4a349332e
2017-04-27 01:13:52 +00:00
TreeHugger Robot
5eca115b68 Merge changes from topic 'fix_configure_chip' into oc-dev
* changes:
  Fix configureChip() VTS test
  Return ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration
2017-04-27 00:56:34 +00:00
Ningyuan Wang
f8bb8d7fc7 Fix configureChip() VTS test
Bug: 36562856
Bug: 37446050
Test: compile, vts test pass

Change-Id: I99ee0336d9cc11329de560daf26216ac15e5a0a9
2017-04-26 13:40:13 -07:00
Ningyuan Wang
b1ad3a7bf1 Return ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration
Bug: 36562856
Bug: 37446050
Test: compile, VTS test fail as expected
Change-Id: I895dd0d6e96b0d0a2b429c3a68be1f7c7e32a7e3
2017-04-26 10:44:58 -07:00
Logan Chien
8189245080 Link libwifi-system-iface instead
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
2017-04-26 15:44:00 +08:00
Randy Pan
faaa481946 Merge changes from topic 'fuguWifi' into oc-dev am: 0d0fb634ec
am: d04ec801df

Change-Id: I47113c7cc6bb5cf95776ccb9e2b4384feff65896
2017-04-25 17:23:40 +00:00
Randy Pan
d04ec801df Merge changes from topic 'fuguWifi' into oc-dev
am: 0d0fb634ec

Change-Id: I2617fe15174d5ca808e48d21fd5d4f9ac0f99778
2017-04-25 17:20:51 +00:00
Randy Pan
0d0fb634ec Merge changes from topic 'fuguWifi' into oc-dev
* changes:
  Improve logger feature set handling
  Add capabilities for wifi_hal_legacy
2017-04-25 16:59:39 +00:00
Roshan Pius
9fcd2d0bfc Merge "wifi(implementation): Turn on DFS flag for STA" into oc-dev am: b09f65c4b1
am: 612d3dbff6

Change-Id: I7bedce6982d092f47a9f97725b42d1e24933d725
2017-04-25 03:15:27 +00:00
Roshan Pius
612d3dbff6 Merge "wifi(implementation): Turn on DFS flag for STA" into oc-dev
am: b09f65c4b1

Change-Id: Iadceaaca523f9dc115fbbfc25f7dd169b11edc8a
2017-04-25 03:13:27 +00:00
TreeHugger Robot
b09f65c4b1 Merge "wifi(implementation): Turn on DFS flag for STA" into oc-dev 2017-04-25 03:08:52 +00:00
Roshan Pius
08d1df4d99 wifi(implementation): Turn on DFS flag for STA
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
2017-04-25 01:53:47 +00:00
Ningyuan Wang
c5b26eecdd Add missing document for supplicant hal, current.txt. am: 94a07c4cdc
am: c0631f313a

Change-Id: Ib27f2a13cf6f73c0e2c525d077be7cdce61f7ee3
2017-04-21 00:23:40 +00:00
Ningyuan Wang
c0631f313a Add missing document for supplicant hal, current.txt.
am: 94a07c4cdc

Change-Id: I557a9b9af06785c30878af75cc35965ad3fc9a30
2017-04-21 00:15:52 +00:00
Etan Cohen
b0557b4783 [AWARE] Configure the subscribe information in beacons
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
2017-04-20 12:48:31 -07:00
Ningyuan Wang
94a07c4cdc Add missing document for supplicant hal, current.txt.
**Note, hashes are being modified in place ONLY
because this interface has not yet been released
in a release of Android.

This adds additional information for setEapPhase2Method().
This also adds the missing error type for find(), stopFind(), and
reject().

Bug: 37254796
Test: compile
Change-Id: I35735a7ec6ca5d490219bb176f1d6c727432113f
2017-04-20 11:16:22 -07:00
Randy Pan
dbb3102bdd Improve logger feature set handling
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
2017-04-20 10:03:41 -07:00
Randy Pan
1addbeaa46 Add capabilities for wifi_hal_legacy
Bug: 37105075
Bug: 37483427
Test: Fugu Wifi VendorHal initializes successfully
Change-Id: If30aa641e42a9a4be435db97f36af4d172eb8ebe
2017-04-20 09:55:03 -07:00
Ningyuan Wang
0e99756761 Fix RssiMonitoring VTS tests
RssiMonitoring only succeeds if device is connected.

Bug: 36562856
Test: compile, run vts test
Change-Id: I5942c6fb487276751281c0ecf624f52a4ad872a5
2017-04-17 14:09:36 -07:00
Sohani Rao
1c8a118b30 Merge "Add Error callback from Offload HAL" 2017-04-14 16:58:54 +00:00
Andreas Huber
a04af1cf05 Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" into oc-dev
am: 8afd952d48

Change-Id: If26dc4c5bb23ea23ed48d35aa8618e0b7f2825a3
2017-04-14 04:18:00 +00:00
Treehugger Robot
f37bea87e8 Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" 2017-04-14 03:24:07 +00:00
TreeHugger Robot
8afd952d48 Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" into oc-dev 2017-04-14 02:13:28 +00:00
Ningyuan Wang
4d719a3cec Merge changes I52c156ed,I9fb9a924 into oc-dev am: e3c0b02d33
am: 4cf0bfe0b7

Change-Id: Ia997632e063c132f5acc7c0548181979b125ad21
2017-04-14 00:48:08 +00:00
Ningyuan Wang
4cf0bfe0b7 Merge changes I52c156ed,I9fb9a924 into oc-dev
am: e3c0b02d33

Change-Id: I8dd4fb4a04d116ca0d20c8bb69cb36e6a97636eb
2017-04-14 00:24:33 +00:00
TreeHugger Robot
e3c0b02d33 Merge changes I52c156ed,I9fb9a924 into oc-dev
* changes:
  Add VTS tests for Wfd
  Add VTS tests for Bonjour and Upnp service
2017-04-14 00:13:17 +00:00
Andreas Huber
cff97f83a2 Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" 2017-04-13 23:27:33 +00:00