summaryrefslogtreecommitdiff
path: root/wifi/1.6/default/tests/wifi_chip_unit_tests.cpp
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2022-02-25 04:15:47 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-02-25 04:15:47 +0000
commita2c1d763bdced50cd55754afe50db6adc3cb20b0 (patch)
treedc1474b8f77dcad03e0dc99c17248d610085bce7 /wifi/1.6/default/tests/wifi_chip_unit_tests.cpp
parentb48b6e28cb300716b52e6ebdf44d31cbd33a7202 (diff)
parent89b3de718d848a2809d819fc96fa74cb02d40c0f (diff)
Merge "Change the expected AP iface index when dual STAs supported." into tm-dev
Diffstat (limited to 'wifi/1.6/default/tests/wifi_chip_unit_tests.cpp')
-rw-r--r--wifi/1.6/default/tests/wifi_chip_unit_tests.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/wifi/1.6/default/tests/wifi_chip_unit_tests.cpp b/wifi/1.6/default/tests/wifi_chip_unit_tests.cpp
index eaab211219..81117c5e06 100644
--- a/wifi/1.6/default/tests/wifi_chip_unit_tests.cpp
+++ b/wifi/1.6/default/tests/wifi_chip_unit_tests.cpp
@@ -846,13 +846,15 @@ TEST_F(WifiChip_MultiIfaceTest, CreateStaWithCustomAltNames) {
}
TEST_F(WifiChip_MultiIfaceTest, CreateApStartsWithIdx1) {
+ // WifiChip_MultiIfaceTest iface combo: STAx3 + APx1
+ // When the HAL support dual STAs, AP should start with idx 2.
findModeAndConfigureForIfaceType(IfaceConcurrencyType::STA);
// First AP will be slotted to wlan1.
- ASSERT_EQ(createIface(IfaceType::AP), "wlan1");
+ ASSERT_EQ(createIface(IfaceType::AP), "wlan2");
// First STA will be slotted to wlan0.
ASSERT_EQ(createIface(IfaceType::STA), "wlan0");
// All further STA will be slotted to the remaining free indices.
- ASSERT_EQ(createIface(IfaceType::STA), "wlan2");
+ ASSERT_EQ(createIface(IfaceType::STA), "wlan1");
ASSERT_EQ(createIface(IfaceType::STA), "wlan3");
}
} // namespace implementation