• Home
  • History
  • Annotate
  • only in /external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/
History log of /external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0dc477cdcdb9cdbe94a4f3394d2ef408ccaace1b 11-May-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "p2p: p2p_go_ht40 won't take effect" into pi-dev
d33d4b8aa610fafd763e15a557b3e07f5ad6f2f7 25-Apr-2018 Jimmy Chen <jimmycmchen@google.com> p2p: p2p_go_ht40 won't take effect

Calling wpas_p2p_connect in HIDL will always pass FALSE
for ht40 and vht arguments.
This two arguments should follow config value normally.

Bug: 78446806
Test: Manually on B1 PPR1.180412.005
Wifi Direct CtsVerifier


Change-Id: I00803cc656ee15560ad1c8a27a92e036a21ea482
2p_iface.cpp
20ba891e22aced98b4a6bb3af16b2ea5f592f633 19-Apr-2018 Jong Wook Kim <jongwook@google.com> Update wpa_supplicant MAC address before connecting

Call wpa_supplicant_update_mac_addr() before every connection to make
sure that the supplicant is using the latest MAC address, which could
have changed due to Connected MAC Randomization.

Bug: 77861722
Test: Manual Check
Change-Id: I3797a120b120e765342f96d1f5d551f153ccedc9
ta_network.cpp
349add1e55b52368814439f055b9d09b27ee2f33 05-Apr-2018 Ahmed ElArabawy <arabawy@google.com> Fix failures for V1.0 vts suites on V1.1 service

In current implementations, the vts test for the overriden
V1_0::ISupplicantStaIface::registerCallback() method was failing.

This commit brings backward compatibility to have 1.0 vts suite
pass successfully.

Bug: 77310901
Test: VTS Test for both 1.0 and 1.1 suites

Change-Id: I1f2b239e642a8cc5761d68aa9d2b0b1b8b5dcb5a
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
idl_manager.cpp
idl_manager.h
ta_iface.cpp
30eab6260098edbc366b3b9f5cf3d17755493b07 20-Mar-2018 Ahmed ElArabawy <arabawy@google.com> Report the EAP method failure up to the framework

This commit reports the EAP method failure code up to the framework.
The commit only defines EAP-SIM errors for now, but the solution
allows for other EAP methods to use it if needed.

Bug: 64612561
Test: Manual

Change-Id: I0b4b7c95720e72484b10fc3c33a090d878128239
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
idl.cpp
idl.h
idl_manager.cpp
idl_manager.h
ta_iface.cpp
ta_iface.h
d121c710cfc02887c5bff213913314ec810ef408 10-Mar-2018 Roshan Pius <rpius@google.com> wpa_supplicant(hidl): Handle file access denials

For new devices (launching with P+), we're removing the sepolicy
exception granted to wpa_supplicant to access /data/misc/wifi.

This causes a problem in the .conf file migration logic in the HIDL
interface. We currently identify clean (new/factory-reset/wiped) devices by
the ENOENT error code, which indicates the legacy conf file does not
exist. But, with the sepolicy exception removed for new devices, we will
now receive an error code of EACCESS instead of ENOENT.
For older devices (launched with O), the sepolicy exception
granted will continue and hence they would have access to /data/misc/wifi/
in P.

Bug: 72643420
Bug: 74120033
Test: Booted device in enforcing mode and completed the setup wizard.
Change-Id: I4ca0cf97420f2cd377f02d856e26b9a92c3631c2
upplicant.cpp
a5082e5b71044e8ef7cf018606b15b07ce0c372f 14-Feb-2018 Roshan Pius <rpius@google.com> wpa_supplicant(hidl): Use overlay conf file only if it exists

For devices that doesn't have a vendor overlay conf file, we should not
specify it in interface creation params to the core.

Note: Since we've moved the interface params inside the HIDL interface
(from .rc), we'll need to cater to the needs of the different devices
in our tree.

Bug: 36645291
Test: Locally tested wifi enable on GCE
Test: Treehugger tests should pass now.
Test: Toggled wifi on taimen & ensured that the overlay file is used.
Change-Id: Iccb358aa3e3ddeb985467ef78e066e489d3a1fe1
upplicant.cpp
2d09e3c2f60e32cbb0df9f973363795c622ea1bb 14-Feb-2018 Roshan Pius <rpius@google.com> wpa_supplicant(hidl): Check for template conf files in /system

For older devices (like gce), the template conf files are kept in
/system instead of /vendor. So, check for the template file in both
/vendor & /system.

Also, since template path is the same for P2P & STA, removed that as a
param from |ensureConfigFileExists|.

Bug: 36645291
Test: Locally tested wifi enable on GCE
Test: Treehugger tests should pass now.

Change-Id: Ia1f94f327d1901fd2ef7a1c10a84e813cd9833a6
upplicant.cpp
0b4856b6dc451e290f1f64f6af17e010be78c073 09-Feb-2018 Roshan Pius <rpius@google.com> wpa_supplicant(hidl): Move conf files to /data/vendor/wifi/wpa

For treble compilance, wpa_supplicant should not be accessing
/data/misc/wifi. So, change the conf file path to /data/vendor/wifi/wpa
& move existing conf files to this new path.

This is a port of the logic in
|SupplicantManager::ensure_config_file_exists()|

Bug: 36645291
Test: Device boots up and connects to wifi networks on upgrade/fresh
builds.
Test: Manually verified that the conf files are copied over to the new
path.
Change-Id: Iedfcb31e87bb9cabfcada46cf430f2c4072495c4
upplicant.cpp
90d729281fb9144ebff0fabbbc5f0570c9501e83 31-Jan-2018 Roshan Pius <rpius@google.com> wpa_supplicant(hidl): Ensure P2P iface object is removed

The helper function used to determine if the removed interface is P2P or
not does not work in |unregisterInterface| method. This is because
supplicant core resets the internal pointers before notifying the HIDL
control interface.

Error Log being fixed:
01-30 12:57:17.081 4914 4914 D wpa_supplicant: Deregistering interface
from hidl control: p2p0
01-30 12:57:17.081 4914 4914 E wpa_supplicant: Failed to unregister
STA interface with HIDL control: p2p0

Bug: 72497243
Test: Able to close & start P2P settings multiple times & ensure P2P
still works (This triggers multiple P2P iface creation/deletion)

Change-Id: Ie52b4f8bc65e1a8abd40f577f717daea2f653853
idl_manager.cpp
3455af4d8ce614ef70ab05c3d030cb1c33be552d 01-Feb-2018 Roshan Pius <rpius@google.com> wpa/hostapd(hidl): Implementation of terminate

These invoke the same functions as the "TERMINATE" string command in the
socket interface. The terminate command aborts the daemon (& cleans up
hwbinder, etc).

Bug: 72394251
Test: Compiles
Change-Id: I23238ff103aa7198e86827c23e7ce77922e17049
upplicant.cpp
upplicant.h
00a7b21c7b2af9b19a0b6173e0de92197d537fec 26-Jan-2018 Ecco Park <eccopark@google.com> wpa_supplicant(HIDL): EAP Imsi Encryption support

The unncrypted identity is saved to eap.imsi_identity.
The encrypted identity is saved to eap.identity.
Bug: 30988281
Signed-off-by: Ecco Park <eccopark@google.com>

Change-Id: I0bbc8390e39e65d7701df217da9010892a5fa94c
ta_network.cpp
89da2fbba2216ed312512c8a2ea5e675d5157077 18-Jan-2018 pkanwar <pkanwar@google.com> HIDL changes to support Stadium Wifi.

Add ISupplicantStaNetwork to allow passing multiple identities to the
Supplicant.

Bug: 30988281

Test: compile
Change-Id: Id793b5b9b9c3cb478a63c23bc9446210a738bc38
ta_network.cpp
ta_network.h
9f89608f6bccc5fb3988c4699701c17fc1f0c871 05-Jan-2018 Martijn Coenen <maco@google.com> Merge "Remove direct dependencies on libhwbinder."
6a6a74c9b4003272530b627de954b0586fa03268 08-Dec-2017 Roshan Pius <rpius@google.com> wpa_supplicant(hidl): Support add/remove interfaces

Add HIDL API's for adding/removing interfaces dynamically.
These interface params are pixel specific, so other OEM's will need to
modify the params to suit their device configuration.

Bug: 65673678
Test: VTS tests
Change-Id: I41d3452652bb2e2139aad4670b71c07fab4c574d
upplicant.cpp
upplicant.h
631ba4da97ee609e55a507b33f1babda4a6847c9 28-Nov-2017 Martijn Coenen <maco@google.com> Remove direct dependencies on libhwbinder.

Bug: 34388964
Test: wifi works
Change-Id: I75fc1d92cd718df632cfc9e44b05d1ff63225fb7
idl.cpp
eb9203eb4fce4b311977f47e0bb0f9ae27a90d3a 27-Oct-2017 pkanwar <pkanwar@google.com> Supplicant changes for stadium wifi.

Bug: 62225787
Test: manual

Change-Id: I975e6044b80418713493a4c540df91907c639291
ta_network.cpp
6ca7b54de22e93958b79bae0a4428107e08cb778 27-Sep-2017 Roshan Pius <rpius@google.com> wpa_supplicant(hidl): Uprev to 1.1

Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I5fc3a7acc42d9d0cae3f08589e022d40fd080a5c
idl.cpp
idl.h
idl_constants.h
idl_i.h
idl_manager.cpp
idl_manager.h
idl_return_util.h
face_config_utils.cpp
face_config_utils.h
isc_utils.h
2p_iface.cpp
2p_iface.h
2p_network.cpp
2p_network.h
ta_iface.cpp
ta_iface.h
ta_network.cpp
ta_network.h
upplicant.cpp
upplicant.h