Port of the retry logic added in HalDeviceManager for temporary IWifi.start()
failures when invoked immediately after IWifi.stop().
Bug: 38342536
Test: Run VTS tests
Change-Id: Ie58a08c45979bafa0c61fa1c8536a2c0a0cd8ed9
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
**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
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
This covers the following APIs by adding tests to
ISupplicantP2pIface:
ISupplicantP2pIface::enableWfd(),
ISupplicantP2pIface::setWfdDeviceInfo()
Bug: 33457575
Test: VTS tests pass
Change-Id: I52c156edf32c58b6fb6248d1b396d0437feebbfe
This covers the following APIs by adding tests to
ISupplicantP2pIface:
ISupplicantP2pIface::addBonjourService(),
ISupplicantP2pIface::removeBonjourService(),
ISupplicantP2pIface::addUpnpService(),
ISupplicantP2pIface::removeUpnpService()
Bug: 33457575
Test: VTS tests pass
Change-Id: I9fb9a9243a40c2309e549775acabbf90ac9b31da
This covers the following APIs by adding tests to
ISupplicantStaIface and ISupplicantP2pIface:
ISupplicantIface::setWpsDeviceName(),
ISupplicantIface::setWpsDeviceType(),
ISupplicantIface::setWpsManufacturer(),
ISupplicantIface::setWpsModelName(),
ISupplicantIface::setWpsModelNumber(),
ISupplicantIface::setWpsSerialNumber(),
ISupplicantIface::setWpsConfigMethods()
Bug: 33457575
Test: VTS tests pass
Change-Id: I0adf6b81ed6da8b1dead9dfa09c778acf4f03a8c
This covers the following APIs by adding tests to
ISupplicantStaIface:
ISupplicantStaIface::setExternalSim(),
ISupplicantStaIface::addExtRadioWork(),
ISupplicantStaIface::removeExtRadioWork()
Bug: 33457575
Test: VTS tests pass
Change-Id: Ie252ecf8e6e0cdc9d669a5fec18e076dc2d03eba
This covers the following APIs by adding tests to
ISupplicantP2pIface:
ISupplicantP2pIface::SetGroupIdle(),
ISupplicantP2pIface::SetPowerSave()
Bug: 33457575
Test: VTS tests pass
Change-Id: I8291735e74cf88c0e1ee4b5297b39aa37c33d17c
This covers the following APIs by adding tests to
ISupplicantStaNetwork:
ISupplicantNetwork::getInterfaceName(),
ISupplicantNetwork::getType()
Bug: 33457575
Test: VTS tests pass
Change-Id: I9a24195cefefcc23b7603ff33b66a497eba07148
This covers the following APIs by adding tests to both
ISupplicantStaIface and ISupplicantP2pIface:
ISupplicantIface::getName(),
ISupplicantIface::getType()
Bug: 33457575
Test: VTS tests pass
Change-Id: Ibbc4be2e367fc6f179005696724cccbcca58d10f
This copies wifi_hidl_call_util.h to supplicant cts directory
so supplicant vts tests can use this to simplify code.
Bug: 33457575
Test: compile, manual test
Change-Id: I696475062d04d54fafae5c3323818ce1d1ff7d9d
EAP method needs to be set to construct the eap phase 2 method string.
Bug: 37220169
Test: vts tests pass
Change-Id: Ie69aaac0826d4bde784f864631a718242dd5af2a
stopFind() returns SUCCESS even when there is no ongoing
find() operation.
Bug: 37220169
Test: vts tests pass
Change-Id: Ia3f3b4e0c4e7fb7263c1bcbfda1a40b6e5f1cba2
This will cover all APIs except:
- startBackgroundScan
- stopBackgroundScan
- startSendingKeepAlivePackets
- stopSendingKeepAlivePackets
Bug: 32022435
Bug: 36813739
Test: run VtsHalWifiV1_0Target test
Change-Id: I71a1a97e4b0f1145657b249f3eb20305f810962b