mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Add VTS for roaming mode control
Bug: 269196966 Change-Id: I254254ddae535cd7822e6797773e984047359814 Test: atest VtsHalWifiStaIfaceTargetTest
This commit is contained in:
@@ -316,6 +316,21 @@ TEST_P(WifiStaIfaceAidlTest, RoamingControl) {
|
||||
EXPECT_TRUE(wifi_sta_iface_->setRoamingState(StaRoamingState::ENABLED).isOk());
|
||||
}
|
||||
|
||||
/*
|
||||
* RoamingModeControl
|
||||
*/
|
||||
TEST_P(WifiStaIfaceAidlTest, RoamingModeControl) {
|
||||
if (interface_version_ < 2) {
|
||||
GTEST_SKIP() << "Roaming mode control is available as of sta_iface V2";
|
||||
}
|
||||
if (!isFeatureSupported(IWifiStaIface::FeatureSetMask::ROAMING_MODE_CONTROL)) {
|
||||
GTEST_SKIP() << "Roaming mode control is not supported.";
|
||||
}
|
||||
|
||||
// Enable aggressive roaming.
|
||||
EXPECT_TRUE(wifi_sta_iface_->setRoamingState(StaRoamingState::AGGRESSIVE).isOk());
|
||||
}
|
||||
|
||||
/*
|
||||
* EnableNDOffload
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user