| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Avoid race condition between event callback and wait context. Make
callbacktype to invalid before call function to change it.
Test: atest VtsHalWifiNanV1_0TargetTest VtsHalWifiNanV1_2TargetTest
Bug: 133484330
Change-Id: I9211c3e172727f56d0cceaf91b98f8d5b3c7fc7e
|
| |\
| |
| |
| |
| |
| |
| |
| | |
eb73bff276
am: 4808395767
Change-Id: I9e4ecfdcda7988725bc2c85703c26d7a38f72f56
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. snip the VtsHalWifiV1_0Host#WifiStaIfaceHidlTest.SetScanningMacOui test
if SCAN_RAND capability is not supported on dut device
Test: execute VtsHalWifiV1_0TargetTest of VTS test
Bug: 129735587
Change-Id: I825e1df11c958b3b2476880c6c6f7b8ee7b292bf
Signed-off-by: hayun Kim <hayun.kim.lge.corp-partner.google.com>
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: 1905955baf
am: 9f0bb1815c
Change-Id: I086016e07ae0d2dd37b11424039ec44f978e58e8
|
| | |\|
| | |
| | |
| | |
| | |
| | | |
am: 1905955baf
Change-Id: I792ae076ad6bb968601972854e7e0e49a388de40
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Devices are allowed to expose multiple AP or STA interfaces, fix the VTS
tests to allow this.
Bug: 112123615
Test: Compiles
Change-Id: I6cf60b3cb0429ca78fe5a54d9e42ba144d7609e9
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Separate out SoftAP specific tests in WIFI HAL VTS test suite.
Use the |gEnv->isSoftApOn| flag to skip softAP tests if not support
SoftAP.
Bug: 73543546
Test: vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiV1_0Host -l INFO
Change-Id: I72217268783bb0bcff10b44114c03394ee1e1d88
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit fixes backward compatibility for the vts tests. For devices
supporting IWifiChip@1.3 HAL interface, getCapabilities_1_3() should be
used instead of getCapabilities() in older HAL version vts tests.
Bug: 120912623
Test: VTS tests run successfully for all HAL versions
Test: run vts -m VtsHalWifiV1_0TargetTest
Test: run vts -m VtsHalWifiV1_1TargetTest
Test: run vts -m VtsHalWifiV1_2TargetTest
Test: run vts -m VtsHalWifiV1_3TargetTest
Change-Id: Ife61bbbbdc8f7c0862f511fbe2b76519bec98941
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Test: make general-tests
Bug: 120093339
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The CreateRtt test case verifies that an RTT controller can be
created (once at least one other interface is created - an AP
in the original test case).
However, recent code change clarified the actual behavior which ties
the RTT controller to the existence (real or potential) of a STA
interface (not an AP interface). This caused test failures with
the original AP mechanism in non-DBS mode (in DBS mode an AP+STA
could exist and so the test passes).
Fix the test by using a STA as the control.
Bug: 118439379
Test: vts-tradefed run commandAndExit vts --module WifiChipHidlTest on
both DBS and non-DBG devices.
Change-Id: I5a1bfc9a3b54c480ba7a514f90bc48f1fbe7af7d
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
IWifiStaIface V1_3 replaced an existing API with a new one.
Skip the test for the old API if the version of IWifiStaIface is 1.3 or
higher.
Bug: 117621466
Test: mma -j64 && adb sync data && adb shell data/nativetest64/VtsHalWifiV1_0TargetTest/VtsHalWifiV1_0TargetTest
Change-Id: I2a55799792709858ba82364e393cdbedabc1a42b
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Update OWNERS to reflect all the current directories under Wi-Fi
team development.
Bug: 110536740
Test: N/A
Change-Id: I6f12400b11be0fa92bc09a730dfd567d7702ef7a
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
65e9588fd2 am: 2d9b9cb1e5
am: 429bca472e
Change-Id: Ieb07031c422de045bc9e7285f1da91164c11150f
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
65e9588fd2
am: 2d9b9cb1e5
Change-Id: Ia19aa71fcf9dfe4cc99b8a7102b382b312f1d4fb
|
| | | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 020374e42b
Change-Id: I23e51b94c625fff660cac05ea23386fa398f0f0a
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Check for WiFi Logger capability Support and do not
assert if it returns ERROR_NOT_SUPPORTED.
Bug: 69094019
Test: VTS tests for module VtsHalWifiV1_0TargetTest.
(cherry-picked from 2b7b24b245a6099fdb127d38a99d7608a6c5bc91)
Change-Id: Id8eb171937b66221a5c9303e377310db54202f71
|
| | | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
am: d01fcb402f
Change-Id: Ibdadb2e4dbd03f888782c70603f5bdc3873dbb66
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 69338713
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 VtsHalWifiV1_0Target -l
INFO`
Change-Id: If70050811ce87f8eff32696ecdd4d3f49646bad0
(cherry picked from commit fbe5aff5e441bda98a43fdc131c8ec8a6acdecf3)
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
pi-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id636c3171bffffeaf7a30a7912c38796e5a4c780
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: make vts
Change-Id: I3c0dab52dc894e1a1fc9b99be1351ed7bd380502
Merged-In: I3c0dab52dc894e1a1fc9b99be1351ed7bd380502
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
Merged-In: I4ea9554829b75b73b600ab668885d57c94251a87
(cherry picked from commit e768fb9cea24dc184490c2dac6058c5f08d60313)
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
am: 436ca9240e
Change-Id: I7763cb156d3d4b9e041664c4bdeae5a03962250d
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The stop may fail if the interface down operation takes too long on some
devices. This is not fatal as long as we're able to bring up the
interfae for the next HAL start.
Bug: 68303248
Test: VTS tests
Change-Id: I93943f9d0cfb83cf07253c6f9b3866d6d137028f
|
| |\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
am: 405f2869bc
Change-Id: I73778baa541537f58a7dc002099e551e8ab3ce7e
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 69338713
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 VtsHalWifiV1_0Target -l
INFO`
Change-Id: If70050811ce87f8eff32696ecdd4d3f49646bad0
|
| |\ \ \ \
| |/ / /
|/| / /
| |/ /
| | |
| | | |
am: 1acc63f9cf
Change-Id: I7d306db29ebc8092e8e6bd99dd4836d457433b15
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The NAN-specific VTS tests check whether the device supports NAN.
However, the tests did not abort early enough.
Bug: 68302113
Test: builds
Change-Id: Ie6fb0e2b0bd12840ce6bc52fab1b6d4e8c5a571e
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 0d1bb97447
Change-Id: Icec63b9ffd5d12003da44bdde73edde04e55f11a
|
| | |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 8c216524a3
Change-Id: I1bf9be99d4e673209edb893040483bf772ee3ca0
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
And use VtsHalTargetTestDefaults.
Bug: 64040096
Test: compiles
Merged-In: I3cfb1a64f6abcf3145337a736800b72d92a0b152
Change-Id: I3cfb1a64f6abcf3145337a736800b72d92a0b152
(cherry picked from commit 6c2bd86f70f526d69c3f262250e8e09afb773a21)
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
am: 85bb01dd6b
Change-Id: I9169eb99a256f3a1db9e6f82e11fd96228d9558a
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Remove unused local variables.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I48dbbf670cc9eeff2391983788983420f8547cc9
|
| |\ \ \ \ \ \
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
am: 0d1bb97447
Change-Id: Ib6f4e21ab0a8cf7970ea8da0990d403629d566c5
|
| | | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The tight loop of HAL start/stop exposes a race condition within the HAL.
Adding a fix for preventing this race would need a fix which would be
pretty risky at this point of the release. The issue itself is unlikely
to happen in real use cases because wifi toggles (user initiated or test
scripts initiated) via framework goes through a series of processing
before it invokes the HAL start/stop.
Bug: 64195190
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 VtsHalWifiV1_0Target -l
INFO`
Change-Id: I4e4d65f8b6e2e423a3a5f26e5a97a78b7e99c3e8
|
| |\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 8c216524a3
Change-Id: I230da94a69e29be2e8b32ca2b0f28d10b068e2da
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When IWifi.stop() is invoked back to back (happens in the ConfigureChip
vts test), the HAL would return ERROR_NOT_AVAILABLE if the previous stop
is still being processed. This is not an error that needs to fail the test,
but a legitimate status for stop. We have a retry mechanism to handle
this in both the VTS test and framework for the case where IWifi.start()
is invoked while the previous stop is being processed.
While there, corrected a few log messages emitted by the HAL to debug
such startup/stop issues better.
Bug: 63971806
Test: `vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module VtsHalWifiV1_0Target -l
INFO`
Change-Id: I5e3470ac97541a6ea10aceec9b737e5d03ed5206
|
| |\ \ \ \
| |/ / /
|/| / /
| |/ /
| | |
| | | |
am: 3b84dc5c78
Change-Id: I00c00e9e48d0275a78fb8914fdbc85de10b0d060
|
| | |\ \
| | |/
| |/|
| | |
| | |
| | | |
am: 7d149a564f
Change-Id: Idf236b741d7ff2cc529002218c34a3b4f0cf625c
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
And use VtsHalTargetTestDefaults.
Bug: 64040096
Test: compiles
Change-Id: I3cfb1a64f6abcf3145337a736800b72d92a0b152
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Restore NAN test and use configuration which determines test
result based on whether or not the platform supports NAN.
Bug: 63131342
Test: NAN-supporting devices: pass (the NAN tests)
Test: Non-NAN-supporting device: pass
Change-Id: I6600abc531d4eb1dea6c501f6a39ef37051cb923
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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 VtsHalWifiV1_0Host -l
INFO
Test: VtsHalWifiV1_0TargetTest
Test: VtsHalWifiV1_0TargetTest -N
Test: VtsHalWifiV1_0TargetTest --nan_on
Test: VtsHalWifiV1_0TargetTest -f (fails)
Test: VtsHalWifiV1_0TargetTest --gtest_filter=foo
Test: VtsHalWifiV1_0TargetTest --gtest_filter=foo -N
Test: VtsHalWifiV1_0TargetTest -N --gtest_filter=foo
Bug: 63131342
Change-Id: I359ac7238496e64c7ace1e14e797d4fcfc8cc0e4
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
RssiMonitoring only succeeds if device is connected.
Bug: 36562856
Test: compile, run vts test
Change-Id: I5942c6fb487276751281c0ecf624f52a4ad872a5
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
Bug: 36562856
Bug: 37446050
Test: compile, vts test pass
Change-Id: I99ee0336d9cc11329de560daf26216ac15e5a0a9
|
| | |
| |
| |
| |
| |
| |
| | |
Bug: 32022435
Bug: 36813739
Test: run VtsHalWifiV1_0Target test
Change-Id: I31db3b1bfe5deed5691e0d342762298b4b0d3620
|
| |\ \ |
|