Home
last modified time | relevance | path

Searched refs:IfaceConcurrencyType (Results 1 – 21 of 21) sorted by relevance

/hardware/interfaces/wifi/aidl/default/tests/
Dwifi_chip_unit_tests.cpp52 {{IfaceConcurrencyType::STA}, 1}, in setupV1IfaceCombination()
53 {{IfaceConcurrencyType::P2P}, 1} in setupV1IfaceCombination()
62 {{IfaceConcurrencyType::AP}, 1} in setupV1IfaceCombination()
81 {{IfaceConcurrencyType::STA}, 1}, in setupV1_AwareIfaceCombination()
82 {{IfaceConcurrencyType::P2P, IfaceConcurrencyType::NAN_IFACE}, 1} in setupV1_AwareIfaceCombination()
91 {{IfaceConcurrencyType::AP}, 1} in setupV1_AwareIfaceCombination()
110 {{IfaceConcurrencyType::STA}, 1}, in setupV1_AwareDisabledApIfaceCombination()
111 {{IfaceConcurrencyType::P2P, IfaceConcurrencyType::NAN_IFACE}, 1} in setupV1_AwareDisabledApIfaceCombination()
129 {{IfaceConcurrencyType::STA}, 1}, in setupV2_AwareIfaceCombination()
130 {{IfaceConcurrencyType::AP}, 1} in setupV2_AwareIfaceCombination()
[all …]
/hardware/interfaces/wifi/aidl/vts/functional/
Dwifi_chip_aidl_test.cpp60 int configureChipForConcurrencyType(IfaceConcurrencyType type) { in configureChipForConcurrencyType()
66 bool isConcurrencyTypeSupported(IfaceConcurrencyType type) { in isConcurrencyTypeSupported()
72 configureChipForConcurrencyType(IfaceConcurrencyType::STA); in configureChipForStaAndGetIface()
80 configureChipForConcurrencyType(IfaceConcurrencyType::P2P); in configureChipForP2pAndGetIface()
88 configureChipForConcurrencyType(IfaceConcurrencyType::AP); in configureChipForApAndGetIface()
96 configureChipForConcurrencyType(IfaceConcurrencyType::NAN_IFACE); in configureChipForNanAndGetIface()
195 configureChipForConcurrencyType(IfaceConcurrencyType::STA); in TEST_P()
221 int expected_mode = configureChipForConcurrencyType(IfaceConcurrencyType::STA); in TEST_P()
239 configureChipForConcurrencyType(IfaceConcurrencyType::STA); in TEST_P()
252 configureChipForConcurrencyType(IfaceConcurrencyType::STA); in TEST_P()
[all …]
Dwifi_aidl_test_utils.cpp22 bool findAnyModeSupportingConcurrencyType(IfaceConcurrencyType desired_type, in findAnyModeSupportingConcurrencyType()
41 IfaceConcurrencyType type, in configureChipToSupportConcurrencyTypeInternal()
61 IfaceConcurrencyType type) { in configureChipToSupportConcurrencyTypeInternal()
150 if (!configureChipToSupportConcurrencyTypeInternal(wifi_chip, IfaceConcurrencyType::STA)) { in getWifiStaIface()
168 IfaceConcurrencyType::NAN_IFACE)) { in getWifiNanIface()
185 if (!configureChipToSupportConcurrencyTypeInternal(wifi_chip, IfaceConcurrencyType::AP)) { in getWifiApIface()
202 configureChipToSupportConcurrencyTypeInternal(wifi_chip, IfaceConcurrencyType::AP, &mode_id); in getBridgedWifiApIface()
216 IfaceConcurrencyType type, int* configured_mode_id) { in configureChipToSupportConcurrencyType()
224 IfaceConcurrencyType type) { in doesChipSupportConcurrencyType()
Dwifi_aidl_test_utils.h27 using aidl::android::hardware::wifi::IfaceConcurrencyType;
47 IfaceConcurrencyType type, int* configured_mode_id);
50 IfaceConcurrencyType type);
/hardware/interfaces/wifi/1.6/vts/functional/
Dwifi_hidl_test_utils_1_6.cpp34 using ::android::hardware::wifi::V1_6::IfaceConcurrencyType;
39 bool findAnyModeSupportingConcurrencyType(IfaceConcurrencyType desired_type, in findAnyModeSupportingConcurrencyType()
58 IfaceConcurrencyType type, in configureChipToSupportConcurrencyType()
84 configureChipToSupportConcurrencyType(wifi_chip, IfaceConcurrencyType::AP_BRIDGED, &mode_id); in getBridgedWifiApIface_1_6()
/hardware/interfaces/wifi/aidl/default/
Dwifi_feature_flags.cpp121 #define STA IfaceConcurrencyType::STA
122 #define AP IfaceConcurrencyType::AP
123 #define AP_BRIDGED IfaceConcurrencyType::AP_BRIDGED
124 #define P2P IfaceConcurrencyType::P2P
126 #define NAN IfaceConcurrencyType::NAN_IFACE
Dwifi_chip.cpp374 IfaceConcurrencyType in_ifaceType, const std::vector<common::OuiKeyedData>& in_vendorData, in createApOrBridgedApIface()
818 if (!canCurrentModeSupportConcurrencyTypeWithCurrentTypes(IfaceConcurrencyType::AP)) { in createApIfaceInternal()
833 if (!canCurrentModeSupportConcurrencyTypeWithCurrentTypes(IfaceConcurrencyType::AP_BRIDGED)) { in createBridgedApIfaceInternal()
873 IfaceConcurrencyType ifaceType, const std::vector<common::OuiKeyedData>& /* vendorData */) { in createApOrBridgedApIfaceInternal()
874 if (ifaceType == IfaceConcurrencyType::AP) { in createApOrBridgedApIfaceInternal()
876 } else if (ifaceType == IfaceConcurrencyType::AP_BRIDGED) { in createApOrBridgedApIfaceInternal()
961 if (!canCurrentModeSupportConcurrencyTypeWithCurrentTypes(IfaceConcurrencyType::NAN_IFACE)) { in createNanIfaceInternal()
1014 if (!canCurrentModeSupportConcurrencyTypeWithCurrentTypes(IfaceConcurrencyType::P2P)) { in createP2pIfaceInternal()
1060 if (!canCurrentModeSupportConcurrencyTypeWithCurrentTypes(IfaceConcurrencyType::STA)) { in createStaIfaceInternal()
1123 !canCurrentModeSupportConcurrencyTypeWithCurrentTypes(IfaceConcurrencyType::STA)) { in createRttControllerInternal()
[all …]
Dwifi_chip.h101 IfaceConcurrencyType in_ifaceType,
186 IfaceConcurrencyType ifaceType, const std::vector<common::OuiKeyedData>& vendorData);
240 std::map<IfaceConcurrencyType, size_t> getCurrentConcurrencyCombination();
241 std::vector<std::map<IfaceConcurrencyType, size_t>> expandConcurrencyCombinations(
244 const std::map<IfaceConcurrencyType, size_t>& expanded_combo,
245 IfaceConcurrencyType requested_type);
246 bool canCurrentModeSupportConcurrencyTypeWithCurrentTypes(IfaceConcurrencyType requested_type);
248 const std::map<IfaceConcurrencyType, size_t>& expanded_combo,
249 const std::map<IfaceConcurrencyType, size_t>& req_combo);
251 const std::map<IfaceConcurrencyType, size_t>& req_combo);
[all …]
Daidl_struct_util.cpp3510 std::vector<IfaceConcurrencyType>* types) { in convertLegacyIfaceMaskToIfaceConcurrencyType()
3516 if (mask & BIT(WIFI_INTERFACE_TYPE_STA)) types->push_back(IfaceConcurrencyType::STA); in convertLegacyIfaceMaskToIfaceConcurrencyType()
3517 if (mask & BIT(WIFI_INTERFACE_TYPE_AP)) types->push_back(IfaceConcurrencyType::AP); in convertLegacyIfaceMaskToIfaceConcurrencyType()
3519 types->push_back(IfaceConcurrencyType::AP_BRIDGED); in convertLegacyIfaceMaskToIfaceConcurrencyType()
3520 if (mask & BIT(WIFI_INTERFACE_TYPE_P2P)) types->push_back(IfaceConcurrencyType::P2P); in convertLegacyIfaceMaskToIfaceConcurrencyType()
3521 if (mask & BIT(WIFI_INTERFACE_TYPE_NAN)) types->push_back(IfaceConcurrencyType::NAN_IFACE); in convertLegacyIfaceMaskToIfaceConcurrencyType()
3549 std::vector<IfaceConcurrencyType> types; in convertLegacyIfaceCombinationsMatrixToChipMode()
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/1/android/hardware/wifi/
DIfaceConcurrencyType.aidl36 enum IfaceConcurrencyType { enum
DIWifiChip.aidl101 android.hardware.wifi.IfaceConcurrencyType[] types;
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/
DIfaceConcurrencyType.aidl36 enum IfaceConcurrencyType { enum
DIWifiChip.aidl86 …fi.IWifiApIface createApOrBridgedApIface(in android.hardware.wifi.IfaceConcurrencyType iface, in a… in createApOrBridgedApIface()
104 android.hardware.wifi.IfaceConcurrencyType[] types;
/hardware/interfaces/wifi/aidl/android/hardware/wifi/
DIfaceConcurrencyType.aidl24 enum IfaceConcurrencyType { enum
DIWifiChip.aidl26 import android.hardware.wifi.IfaceConcurrencyType;
99 IfaceConcurrencyType[] types;
1189 in IfaceConcurrencyType iface, in OuiKeyedData[] vendorData); in createApOrBridgedApIface()
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/2/android/hardware/wifi/
DIfaceConcurrencyType.aidl36 enum IfaceConcurrencyType { enum
DIWifiChip.aidl86 …fi.IWifiApIface createApOrBridgedApIface(in android.hardware.wifi.IfaceConcurrencyType iface, in a… in createApOrBridgedApIface()
104 android.hardware.wifi.IfaceConcurrencyType[] types;
/hardware/interfaces/wifi/hostapd/aidl/vts/functional/
Dhostapd_aidl_test_utils.h41 EXPECT_TRUE(configureChipToSupportConcurrencyType(wifi_chip, IfaceConcurrencyType::AP, in startAndConfigureVendorHal()
/hardware/interfaces/wifi/supplicant/aidl/vts/functional/
Dsupplicant_aidl_test_utils.h42 EXPECT_TRUE(configureChipToSupportConcurrencyType(wifi_chip, IfaceConcurrencyType::STA, in initializeDriverAndFirmware()
/hardware/interfaces/wifi/1.6/
DIWifiChip.hal110 // Each IfaceConcurrencyType must occur at most once.
111 vec<IfaceConcurrencyType> types;
Dtypes.hal1319 enum IfaceConcurrencyType : uint32_t {