summaryrefslogtreecommitdiffstats
path: root/wifi/1.0/vts
Commit message (Collapse)AuthorAgeFilesLines
* [VTS][AWARE]Setting callbacktype type to invalid value before invoking HIDL callNate Jiang2019-05-291-1/+2
| | | | | | | | | 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
* Fix VtsHalWifiV1_0Host#WifiStaIfaceHidlTest.SetScanningMacOui fail am: ↵hayun.kim2019-04-231-0/+5
|\ | | | | | | | | | | | | | | eb73bff276 am: 4808395767 Change-Id: I9e4ecfdcda7988725bc2c85703c26d7a38f72f56
| * Fix VtsHalWifiV1_0Host#WifiStaIfaceHidlTest.SetScanningMacOui failhayun.kim2019-04-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | 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>
* | wifi(vts): Don't enforce interface combination in VTS tests am: f638d0a43a ↵Roshan Pius2019-03-271-16/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | am: 1905955baf am: 9f0bb1815c Change-Id: I086016e07ae0d2dd37b11424039ec44f978e58e8
| * | wifi(vts): Don't enforce interface combination in VTS tests am: f638d0a43aRoshan Pius2019-03-271-16/+8
| |\| | | | | | | | | | | | | | | | am: 1905955baf Change-Id: I792ae076ad6bb968601972854e7e0e49a388de40
| | * wifi(vts): Don't enforce interface combination in VTS testsRoshan Pius2019-03-261-16/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Devices are allowed to expose multiple AP or STA interfaces, fix the VTS tests to allow this. Bug: 112123615 Test: Compiles Change-Id: I6cf60b3cb0429ca78fe5a54d9e42ba144d7609e9
| * | pack VTS cc_test binaries as general-testsKeun Soo YIM2018-12-071-0/+2
| | | | | | | | | | | | | | | | | | | | | Test: make general-tests Bug: 120093339 Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4 Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
* | | vts(wifi): Separate SoftAP specific testskumachang2019-01-283-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Wifi: Fix VTS test backward compatibilityAhmed ElArabawy2019-01-022-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | pack VTS cc_test binaries as general-testsKeun Soo YIM2018-11-271-0/+2
| | | | | | | | | | | | | | | | | | Test: make general-tests Bug: 120093339 Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
* | | [VTS][RTT] Fix CreateRtt test case: use STA instead of APEtan Cohen2018-10-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | VTS: fix test LinkLayerStatsCollectionxshu2018-10-162-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 fileEtan Cohen2018-06-211-0/+2
|/ / | | | | | | | | | | | | | | | | Update OWNERS to reflect all the current directories under Wi-Fi team development. Bug: 110536740 Test: N/A Change-Id: I6f12400b11be0fa92bc09a730dfd567d7702ef7a
* | [WIFI][VTS]: Check for the Logger capability Support am: 020374e42b am: ↵Srinivas Dasari2018-04-101-2/+8
|\| | | | | | | | | | | | | | | 65e9588fd2 am: 2d9b9cb1e5 am: 429bca472e Change-Id: Ieb07031c422de045bc9e7285f1da91164c11150f
| * [WIFI][VTS]: Check for the Logger capability Support am: 020374e42b am: ↵Srinivas Dasari2018-04-101-2/+8
| |\ | | | | | | | | | | | | | | | | | | | | | 65e9588fd2 am: 2d9b9cb1e5 Change-Id: Ia19aa71fcf9dfe4cc99b8a7102b382b312f1d4fb
| | * [WIFI][VTS]: Check for the Logger capability SupportSrinivas Dasari2018-04-101-2/+8
| | |\ | | | | | | | | | | | | | | | | | | | | am: 020374e42b Change-Id: I23e51b94c625fff660cac05ea23386fa398f0f0a
| | | * [WIFI][VTS]: Check for the Logger capability SupportSrinivas Dasari2018-04-101-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | wifi(vts): Skip tests if feature not supportedRoshan Pius2018-03-281-0/+10
| | |\| | | | | | | | | | | | | | | | | | | | | am: d01fcb402f Change-Id: Ibdadb2e4dbd03f888782c70603f5bdc3873dbb66
| | | * wifi(vts): Skip tests if feature not supportedRoshan Pius2018-03-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | resolve merge conflicts of 07ff5f43761273cadfbbe67aad5b86e1209e8775 to ↵Yuexi Ma2018-03-261-9/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | pi-dev-plus-aosp Test: I solemnly swear I tested this conflict resolution. Change-Id: Id636c3171bffffeaf7a30a7912c38796e5a4c780
| * | | Update vts test module bp files to use VtsHalTargetTestDefaultsYuexi Ma2018-03-221-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | Test: make vts Change-Id: I3c0dab52dc894e1a1fc9b99be1351ed7bd380502 Merged-In: I3c0dab52dc894e1a1fc9b99be1351ed7bd380502
| * | | Convert wifi hal test to use VtsHalHidlTargetTestEnvBaseZhuoyao Zhang2018-02-144-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | Convert wifi hal test to use VtsHalHidlTargetTestEnvBaseZhuoyao Zhang2018-02-124-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "wifi(vts): Ignore HAL stop failure" into oc-mr1-devRoshan Pius2017-11-201-3/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | am: 436ca9240e Change-Id: I7763cb156d3d4b9e041664c4bdeae5a03962250d
| * | | wifi(vts): Ignore HAL stop failureRoshan Pius2017-11-171-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | wifi(vts): Skip tests if feature not supported am: fbe5aff5e4Roshan Pius2017-11-161-0/+10
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | am: 405f2869bc Change-Id: I73778baa541537f58a7dc002099e551e8ab3ce7e
| * | | wifi(vts): Skip tests if feature not supportedRoshan Pius2017-11-151-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | [VTS][NAN] Fix VTS tests: didn't abort early enough for non-NAN devicesEtan Cohen2017-11-101-4/+4
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | am: 1acc63f9cf Change-Id: I7d306db29ebc8092e8e6bd99dd4836d457433b15
| * | [VTS][NAN] Fix VTS tests: didn't abort early enough for non-NAN devicesEtan Cohen2017-11-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | wifi(vts): Remove a tight loop of toggling wifi stateRoshan Pius2017-08-091-0/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | am: 0d1bb97447 Change-Id: Icec63b9ffd5d12003da44bdde73edde04e55f11a
| * \ \ wifi(vts): Ignore IWifi.stop() returning ERROR_NOT_AVAILABLERoshan Pius2017-08-081-1/+3
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | am: 8c216524a3 Change-Id: I1bf9be99d4e673209edb893040483bf772ee3ca0
| * | | | VTS tests now static link to HAL def libs.Tri Vo2017-08-031-30/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And use VtsHalTargetTestDefaults. Bug: 64040096 Test: compiles Merged-In: I3cfb1a64f6abcf3145337a736800b72d92a0b152 Change-Id: I3cfb1a64f6abcf3145337a736800b72d92a0b152 (cherry picked from commit 6c2bd86f70f526d69c3f262250e8e09afb773a21)
* | | | | Merge "Use -Werror in hardware/interfaces"Chih-hung Hsieh2017-10-041-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 85bb01dd6b Change-Id: I9169eb99a256f3a1db9e6f82e11fd96228d9558a
| * | | | | Use -Werror in hardware/interfacesChih-Hung Hsieh2017-10-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove unused local variables. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I48dbbf670cc9eeff2391983788983420f8547cc9
* | | | | | wifi(vts): Remove a tight loop of toggling wifi stateRoshan Pius2017-08-091-0/+2
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | am: 0d1bb97447 Change-Id: Ib6f4e21ab0a8cf7970ea8da0990d403629d566c5
| * | | | | wifi(vts): Remove a tight loop of toggling wifi stateRoshan Pius2017-08-091-0/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | wifi(vts): Ignore IWifi.stop() returning ERROR_NOT_AVAILABLERoshan Pius2017-08-081-1/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8c216524a3 Change-Id: I230da94a69e29be2e8b32ca2b0f28d10b068e2da
| * | | | wifi(vts): Ignore IWifi.stop() returning ERROR_NOT_AVAILABLERoshan Pius2017-08-081-1/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge changes from topic 'vts_deps' am: 7d149a564f am: 7f8774ef80Tri Vo2017-08-031-30/+10
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | am: 3b84dc5c78 Change-Id: I00c00e9e48d0275a78fb8914fdbc85de10b0d060
| * | Merge changes from topic 'vts_deps'Tri Vo2017-08-031-30/+10
| |\ \ | | |/ | |/| | | | | | | | | | am: 7d149a564f Change-Id: Idf236b741d7ff2cc529002218c34a3b4f0cf625c
| | * VTS tests now static link to HAL def libs.Tri Vo2017-08-031-30/+10
| | | | | | | | | | | | | | | | | | | | | | | | And use VtsHalTargetTestDefaults. Bug: 64040096 Test: compiles Change-Id: I3cfb1a64f6abcf3145337a736800b72d92a0b152
* | | [VTS][NAN] Restore NAN test: configure for device supportEtan Cohen2017-07-182-9/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Accept a command line arg (nan_on) in wifi vtsKeun Soo Yim2017-07-182-10/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | wifi(implementation): Create 1.1 interface packageRoshan Pius2017-07-061-1/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | wifi(vts): Add retry for HAL startRoshan Pius2017-05-221-1/+12
| | | | | | | | | | | | | | | | | | 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
* | Merge "Fix RssiMonitoring VTS tests" into oc-devTreeHugger Robot2017-04-291-4/+8
|\ \
| * | Fix RssiMonitoring VTS testsNingyuan Wang2017-04-171-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | RssiMonitoring only succeeds if device is connected. Bug: 36562856 Test: compile, run vts test Change-Id: I5942c6fb487276751281c0ecf624f52a4ad872a5
* | | Fix configureChip() VTS testNingyuan Wang2017-04-261-0/+4
|/ / | | | | | | | | | | | | | | Bug: 36562856 Bug: 37446050 Test: compile, vts test pass Change-Id: I99ee0336d9cc11329de560daf26216ac15e5a0a9
* | wifi: add VTS tests for IWifiApIfacePeter Qiu2017-04-101-1/+42
| | | | | | | | | | | | | | Bug: 32022435 Bug: 36813739 Test: run VtsHalWifiV1_0Target test Change-Id: I31db3b1bfe5deed5691e0d342762298b4b0d3620
* | Merge "wifi: add VTS tests for IWifiStaIface" into oc-devTreeHugger Robot2017-04-101-1/+202
|\ \