Commit graph

168 commits

Author SHA1 Message Date
Hai Shalom
fcc8fa0d15 wifi/supplicant: Create version 1.2 and add support for SAE and OWE
Create version 1.2. and add new interfaces for SAE and OWE, including
new key management types and API.

Bug: 112195778
Test: Unit tested
Change-Id: I9895d3a12c5b8953a04c6f1ebb24e06503e0ff9b
2018-10-22 14:26:39 -07:00
Ahmed ElArabawy
c173cbb5cd WiFi: Add vts tests for ISupplicantStaIface 1.1
This Commit adds the tests for the ISupplicantStaIface for V1.1

Bug: 64612561
Test: Manual

Change-Id: Id5608d0f985004a22954f368ac0fa19886f7421d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-03-27 11:12:42 -07:00
Ahmed ElArabawy
8b837b313b WiFi: supplicant HAL: Modify onEapFailure Callback
This commit modifies the onEapFailure call back to include the error code.
This enables the framework to react on the different errors reported by
the EAP methods.

Bug: 64612561
Test: Manual

Change-Id: I793b61b898df63f07dc2e40798a6d6761d8e259d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-03-27 11:12:42 -07:00
Roshan Pius
b887dedf99 supplicant/hostapd(vts): Test for terminate
This HIDL API is meant to terminate the HIDL service. On Pixel devices,
terminate will trigger the death of the corresponding daemon.
But, other OEM's may choose to do something else.

Bug: 71613595
Bug: 71613528
Test: Ran the VTS tests
Change-Id: I737458b5c49ecd5545be0dc7033092db9a35b089
2018-03-06 15:46:00 -08:00
Roshan Pius
f20f66a6ab Merge "supplicant 1.0 (vts): Add ifaces at init for 1.1 HAL service" 2018-02-28 17:59:26 +00:00
Roshan Pius
8f7074c832 supplicant 1.0 (vts): Add ifaces at init for 1.1 HAL service
This was previously present in the .rc files for the 1.0 HAL. For
devices running the 1.1 HAL, we'll now add the interfaces at init for
testing the 1.0 functionality.

Bug: 65711261
Test: make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_0Target
-l INFO

Change-Id: I2137e9286c4496d7f8ddeb705c34b2d13b4ed3dc
2018-02-27 14:00:42 -08:00
Ecco Park
f2b8b82403 wpa_supplicant(sta_network): Support encrypted imsi identity API for EAP-AKA/SIM
Bug: 71613595
Test: VTS test
Change-Id: I1bded81d94531e63bbc351470955967281cc9f7a
Signed-off-by: Ecco Park <eccopark@google.com>
2018-02-26 18:46:43 -08:00
Zhuoyao Zhang
e768fb9cea Convert wifi hal test to use VtsHalHidlTargetTestEnvBase
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalWifiV1_0Host
      vts-tradefed run vts -m VtsHalWifiV1_1Target
      vts-tradefed run vts -m VtsHalWifiSupplicantV1_0Target
      vts-tradefed run vts -m VtsHalWifiSupplicantV1_1Target

Change-Id: I4ea9554829b75b73b600ab668885d57c94251a87
2018-02-12 15:45:22 -08:00
Roshan Pius
d0b0bc371a wpa/hostapd(interface): Add terminate method
These will be used to bring down the HIDL services (i.e kill the daemon)
when they're no longer needed.

Bug: 72394251
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: I99189efa6770ee5a1f1c8379598a9414d99bfe66
2018-02-01 19:41:38 -08:00
pkanwar
5a42197d39 HIDL changes to support Stadium Wifi.
Add ISupplicantStaNetwork to allow passing multiple identities to the
Supplicant.

Bug: 30988281
Test: compile
Change-Id: I849e21127be57f9ed6c6779bd97a6367984f6afb
2018-01-26 00:16:00 +00:00
Roshan Pius
1a424095bf supplicant(vts): Restart supplicant after all the test
Bug: 70346098
Test: `make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
VtsHalWifiSupplicantV1_1Target -l INFO`

Change-Id: I0bf1a5b96a9e8aad71577f3247c306d4ccc8ae18
2018-01-08 12:52:01 -08:00
Roshan Pius
781d183aa9 wpa_supplicant(interface): Support add/remove interfaces
Add HIDL API's for adding/removing interfaces dynamically.

Bug: 65673678
Test: VTS tests
Test: Manual test modifying framework to add wlan0 dynamically.
Change-Id: Ifebfc9e8848e3388f5c4829bb225e3cb0bd82b05
2017-12-27 09:07:12 -08:00
Steven Moreland
8db261bc99 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 10:00:18 -08:00
Steven Moreland
db3c6b747f Merge "Remove unnecessary Android.mk" am: 7052f3d45d am: 6993933fc6
am: 0d6bbbcc1e

Change-Id: I23bd6e6751db2aac43904e7aa0c0d9c6661a96d1
2017-11-02 04:26:19 +00:00
Steven Moreland
0d6bbbcc1e Merge "Remove unnecessary Android.mk" am: 7052f3d45d
am: 6993933fc6

Change-Id: Id4f1fcb632a25a7a44b04c44eacd3f089cd1e8ca
2017-11-02 04:24:48 +00:00
Steven Moreland
822c2e1809 Remove unnecessary Android.mk
Doesn't do anything. Just when I thought I get rid of them all.

Test: none
Change-Id: Iac559e41ea5557e99490fa439af9d720e2d9075a
2017-11-01 16:44:44 -07:00
Steven Moreland
f390f03aa4 Update for Soong-only makefiles.
Test: pass
Bug: 33420795
Change-Id: Ibec6d1e38939b9e7566a96381439be2aac3bf8ca
2017-10-11 18:30:28 +00:00
Steven Moreland
1d7374c5e1 Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1
am: 116161d94e

Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
2017-10-11 16:39:21 +00:00
Steven Moreland
116161d94e Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1
am: 6c811964a1

Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
2017-10-11 16:31:07 +00:00
Steven Moreland
0fff75dee1 Update for Soong java makefiles.
am: c3e80fa01e

Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9
2017-10-11 16:23:54 +00:00
Steven Moreland
c3e80fa01e Update for Soong java makefiles.
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Roshan Pius
a6489738b9 supplicant(interface): Uprev to 1.1
Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: Ide9ee6292252116fe7db7f48d1e54716bf24b569
2017-10-05 10:36:48 -07:00
Steven Moreland
9a17f41f6f Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985f
am: b53e6ad535

Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
2017-10-04 21:51:00 +00:00
Steven Moreland
861651985f Merge "Update for hidl adapter module defaults."
am: 988c977079

Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
2017-10-04 21:45:09 +00:00
Steven Moreland
527fd76a0e Update for hidl adapter module defaults.
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
2017-10-04 12:47:03 -07:00
Steven Moreland
9fdd241905 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3
am: 71a193a425

Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
2017-09-26 23:58:51 +00:00
Steven Moreland
f07e364ce3 Merge "Fix typo in update makefiles."
am: 9960148420

Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
2017-09-26 23:51:07 +00:00
Steven Moreland
a5299ee739 Fix typo in update makefiles.
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
2017-09-26 21:59:43 +00:00
Steven Moreland
97228c0b7d Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e
am: b94d0c7290

Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
2017-09-26 12:53:13 +00:00
Steven Moreland
73949c1d7e Update makefiles for hidl adapter.
am: 26a0bb2762

Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
2017-09-25 23:14:44 +00:00
Steven Moreland
26a0bb2762 Update makefiles for hidl adapter.
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
2017-09-25 18:35:56 +00:00
Steven Moreland
4f25c2a143 Revert "Revert "Updating all makefiles.""
Relanding without automotive/vehicle/2.0+2.1 changes.

This reverts commit 1020ebedfb.

Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: Icc49df42c2bedf443d878d5d8fbaa53441ea65db
2017-08-11 23:02:01 +00:00
Steven Moreland
ff308ea6ba Updating all makefiles.
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Change-Id: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
2017-08-11 22:58:47 +00:00
Steven Moreland
1020ebedfb Revert "Updating all makefiles."
This reverts commit 8ac1971678.

Reason for revert: Didn't remove automotive changes from this CL.

Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I1c660cffc8817ad0b33da9f6eceb3d88e7c48416
2017-08-11 22:56:56 +00:00
Steven Moreland
8ac1971678 Updating all makefiles.
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
2017-08-10 22:40:04 +00:00
Steven Moreland
65de66a67e Update makefiles for vndk enabled. am: 5e59402492 am: 271d53d836
am: 148ca84740

Change-Id: I5ef3611026b9c770bf713c14b9e01899a796e61c
2017-08-09 20:36:43 +00:00
Steven Moreland
148ca84740 Update makefiles for vndk enabled. am: 5e59402492
am: 271d53d836

Change-Id: I47ffcee7c1aa9c1d7f5c3750cc93294ff740f20d
2017-08-09 00:49:32 +00:00
Steven Moreland
271d53d836 Update makefiles for vndk enabled.
am: 5e59402492

Change-Id: I08414d68d5275df82336653cb91765af7235f914
2017-08-09 00:44:39 +00:00
Steven Moreland
5e59402492 Update makefiles for vndk enabled.
Test: none
Bug: 63866913
Merged-In: I29174fdadca2828455ef49f14e53bc95c5238dbb
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
(cherry picked from commit c716b8c307)
2017-08-08 17:09:10 +09:00
Tri Vo
4fdb18759b Merge "Wifi supplicant test statically links to dependencies." into oc-mr1-dev
am: c0d5b9bbb8

Change-Id: I1c2a9dfe36fdd47c81b7e405adb60383e6257a1c
2017-08-04 23:15:43 +00:00
Tri Vo
c0d5b9bbb8 Merge "Wifi supplicant test statically links to dependencies." into oc-mr1-dev 2017-08-04 23:07:26 +00:00
Steven Moreland
92a268afa3 Merge changes from topic 'go-away-static-hidl-java' am: f4c58cd48c
am: 4e06dd1aa9

Change-Id: I3e381dd323532e4092fe836f18206e0d23a030d1
2017-08-04 19:33:23 +00:00
Steven Moreland
4e06dd1aa9 Merge changes from topic 'go-away-static-hidl-java'
am: f4c58cd48c

Change-Id: I3502ad1d51868cd82bbe811bdf2b96ec45ccfbe6
2017-08-04 19:22:05 +00:00
Tri Vo
48f8e5d6be Wifi supplicant test statically links to dependencies.
This test now statically links to libs not guaranteed to be on the
device.

Bug: 64040096
Test: compiles
Change-Id: I986e61835e641e15bdad0ff9571ee8ffa59b2a46
2017-08-04 10:36:10 -07:00
Steven Moreland
a7a300a13b Merge "Update makefiles for vndk enabled." into oc-mr1-dev
am: d9b12c13e5

Change-Id: Id70e58e6b4d20dada4aab107b2aa98c58cf167ca
2017-08-04 01:04:40 +00:00
TreeHugger Robot
d9b12c13e5 Merge "Update makefiles for vndk enabled." into oc-mr1-dev 2017-08-04 00:52:06 +00:00
Steven Moreland
b5da32c177 Update makefiles.
Removes redundant "java-static" target.

Note, targets aren't removed here which have internal
targets that depend on them.

Bug: 36376126
Test: pass
Change-Id: I830f02e5f219d2d58721132c358d2783c3942eac
2017-08-03 15:25:21 -07:00
Steven Moreland
c716b8c307 Update makefiles for vndk enabled.
Test: none
Bug: 63866913
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
2017-08-02 18:00:14 -07:00
Steven Moreland
208a586cf8 Update HIDL makefiles.
Allow them to be static.

This is required for a couple of reasons:
- enabling HIDL passthrough in recovery
- enabling VTS tests to be static blobs

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Merged-In: I1b2401fb273ab80819e3870aa71fe742269674ba
Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
(cherry picked from commit 7206708528)
2017-08-02 12:52:41 -07:00
Sundong Ahn
8ca20771e7 Change dependency library am: 94293086f8 am: 79e801cb18
am: aad41e85d4

Change-Id: I079faa1a1438b0d2b0d8e5ed7929c77e73519ca1
2017-08-02 17:14:59 +00:00