Home
last modified time | relevance | path

Searched refs:legacy_hal (Results 1 – 25 of 28) sorted by relevance

12

/hardware/interfaces/wifi/1.4/default/
Dwifi_status_util.cpp25 std::string legacyErrorToString(legacy_hal::wifi_error error) { in legacyErrorToString()
27 case legacy_hal::WIFI_SUCCESS: in legacyErrorToString()
29 case legacy_hal::WIFI_ERROR_UNINITIALIZED: in legacyErrorToString()
31 case legacy_hal::WIFI_ERROR_NOT_AVAILABLE: in legacyErrorToString()
33 case legacy_hal::WIFI_ERROR_NOT_SUPPORTED: in legacyErrorToString()
35 case legacy_hal::WIFI_ERROR_INVALID_ARGS: in legacyErrorToString()
37 case legacy_hal::WIFI_ERROR_INVALID_REQUEST_ID: in legacyErrorToString()
39 case legacy_hal::WIFI_ERROR_TIMED_OUT: in legacyErrorToString()
41 case legacy_hal::WIFI_ERROR_TOO_MANY_REQUESTS: in legacyErrorToString()
43 case legacy_hal::WIFI_ERROR_OUT_OF_MEMORY: in legacyErrorToString()
[all …]
Dhidl_struct_util.h51 const legacy_hal::wifi_ring_buffer_status& legacy_status,
54 const std::vector<legacy_hal::wifi_ring_buffer_status>& legacy_status_vec,
57 const legacy_hal::WakeReasonStats& legacy_stats,
59 legacy_hal::wifi_power_scenario convertHidlTxPowerScenarioToLegacy(
61 legacy_hal::wifi_latency_mode convertHidlLatencyModeToLegacy(
63 legacy_hal::wifi_power_scenario convertHidlTxPowerScenarioToLegacy_1_2(
66 const std::vector<legacy_hal::WifiMacInfo>& legacy_mac_infos,
68 legacy_hal::wifi_interface_type convertHidlIfaceTypeToLegacy(
76 const legacy_hal::PacketFilterCapabilities& legacy_caps,
79 const legacy_hal::wifi_gscan_capabilities& legacy_caps,
[all …]
Dhidl_struct_util.cpp30 legacy_hal::wifi_channel_width type);
46 case legacy_hal::WIFI_LOGGER_MEMORY_DUMP_SUPPORTED: in convertLegacyLoggerFeatureToHidlChipCapability()
48 case legacy_hal::WIFI_LOGGER_DRIVER_DUMP_SUPPORTED: in convertLegacyLoggerFeatureToHidlChipCapability()
50 case legacy_hal::WIFI_LOGGER_CONNECT_EVENT_SUPPORTED: in convertLegacyLoggerFeatureToHidlChipCapability()
52 case legacy_hal::WIFI_LOGGER_POWER_EVENT_SUPPORTED: in convertLegacyLoggerFeatureToHidlChipCapability()
54 case legacy_hal::WIFI_LOGGER_WAKE_LOCK_SUPPORTED: in convertLegacyLoggerFeatureToHidlChipCapability()
65 case legacy_hal::WIFI_LOGGER_PACKET_FATE_SUPPORTED: in convertLegacyLoggerFeatureToHidlStaIfaceCapability()
136 for (const auto feature : {legacy_hal::WIFI_LOGGER_MEMORY_DUMP_SUPPORTED, in convertLegacyFeaturesToHidlChipCapabilities()
137 legacy_hal::WIFI_LOGGER_DRIVER_DUMP_SUPPORTED, in convertLegacyFeaturesToHidlChipCapabilities()
138 legacy_hal::WIFI_LOGGER_CONNECT_EVENT_SUPPORTED, in convertLegacyFeaturesToHidlChipCapabilities()
[all …]
Dwifi_nan_iface.cpp33 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal, in WifiNanIface() argument
37 legacy_hal_(legacy_hal), in WifiNanIface()
51 legacy_hal::NanCallbackHandlers callback_handlers; in WifiNanIface()
57 legacy_hal::transaction_id id, in WifiNanIface()
58 const legacy_hal::NanResponseMsg& msg) { in WifiNanIface()
72 case legacy_hal::NAN_RESPONSE_ENABLED: { in WifiNanIface()
82 case legacy_hal::NAN_RESPONSE_DISABLED: { in WifiNanIface()
92 case legacy_hal::NAN_RESPONSE_PUBLISH: { in WifiNanIface()
105 case legacy_hal::NAN_RESPONSE_PUBLISH_CANCEL: { in WifiNanIface()
115 case legacy_hal::NAN_RESPONSE_TRANSMIT_FOLLOWUP: { in WifiNanIface()
[all …]
Dwifi_sta_iface.cpp33 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal, in WifiStaIface() argument
36 legacy_hal_(legacy_hal), in WifiStaIface()
40 legacy_hal::wifi_error legacy_status = in WifiStaIface()
42 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in WifiStaIface()
286 legacy_hal::wifi_error legacy_status; in getCapabilitiesInternal()
290 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getCapabilitiesInternal()
296 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getCapabilitiesInternal()
310 legacy_hal::wifi_error legacy_status; in getApfPacketFilterCapabilitiesInternal()
311 legacy_hal::PacketFilterCapabilities legacy_caps; in getApfPacketFilterCapabilitiesInternal()
314 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getApfPacketFilterCapabilitiesInternal()
[all …]
Dwifi_rtt_controller.cpp33 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal) in WifiRttController() argument
36 legacy_hal_(legacy_hal), in WifiRttController()
199 legacy_hal::wifi_error legacy_status = in rangeCancelInternal()
213 legacy_hal::wifi_lci_information legacy_lci; in setLciInternal()
218 legacy_hal::wifi_error legacy_status = in setLciInternal()
225 legacy_hal::wifi_lcr_information legacy_lcr; in setLcrInternal()
230 legacy_hal::wifi_error legacy_status = in setLcrInternal()
249 legacy_hal::wifi_error legacy_status = in disableResponderInternal()
263 std::vector<legacy_hal::wifi_rtt_config> legacy_configs; in rangeRequestInternal_1_4()
271 legacy_hal::wifi_request_id id, in rangeRequestInternal_1_4()
[all …]
Dwifi_status_util.h31 std::string legacyErrorToString(legacy_hal::wifi_error error);
35 WifiStatus createWifiStatusFromLegacyError(legacy_hal::wifi_error error,
37 WifiStatus createWifiStatusFromLegacyError(legacy_hal::wifi_error error);
Dwifi_p2p_iface.h38 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal);
54 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_p2p_iface.cpp32 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal) in WifiP2pIface() argument
33 : ifname_(ifname), legacy_hal_(legacy_hal), is_valid_(true) {} in WifiP2pIface()
Dwifi_ap_iface.cpp33 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal, in WifiApIface() argument
36 legacy_hal_(legacy_hal), in WifiApIface()
97 legacy_hal::wifi_error legacy_status = in setCountryCodeInternal()
106 legacy_hal::wifi_error legacy_status; in getValidFrequenciesForBandInternal()
Dwifi.cpp38 const std::shared_ptr<legacy_hal::WifiLegacyHal> legacy_hal, in Wifi() argument
43 legacy_hal_(legacy_hal), in Wifi()
191 legacy_hal::wifi_error legacy_status = legacy_hal_->initialize(); in initializeModeControllerAndLegacyHal()
192 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in initializeModeControllerAndLegacyHal()
203 legacy_hal::wifi_error legacy_status = in stopLegacyHalAndDeinitializeModeController()
205 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in stopLegacyHalAndDeinitializeModeController()
Dwifi_chip.cpp335 ChipId chip_id, const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal, in WifiChip() argument
340 legacy_hal_(legacy_hal), in WifiChip()
754 legacy_hal::wifi_error legacy_status; in requestChipDebugInfoInternal()
759 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in requestChipDebugInfoInternal()
771 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in requestChipDebugInfoInternal()
785 legacy_hal::wifi_error legacy_status; in requestDriverDebugDumpInternal()
790 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in requestDriverDebugDumpInternal()
801 legacy_hal::wifi_error legacy_status; in requestFirmwareDebugDumpInternal()
806 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in requestFirmwareDebugDumpInternal()
819 legacy_hal::wifi_error legacy_status = in createApIfaceInternal()
[all …]
Dwifi_ap_iface.h39 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
71 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi.h44 const std::shared_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
82 std::shared_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_rtt_controller.h40 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal);
117 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_legacy_hal_stubs.h25 namespace legacy_hal {
Dwifi_nan_iface.h42 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
169 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_sta_iface.h41 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
165 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dservice.cpp34 using android::hardware::wifi::V1_4::implementation::legacy_hal::WifiLegacyHal;
Dwifi_chip.h55 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
264 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
/hardware/interfaces/wifi/1.4/default/tests/
Dhidl_struct_util_unit_tests.cpp45 std::vector<legacy_hal::WifiMacInfo> legacy_mac_infos; in TEST_F()
46 legacy_hal::WifiMacInfo legacy_mac_info1 = { in TEST_F()
49 legacy_hal::WLAN_MAC_5_0_BAND | legacy_hal::WLAN_MAC_2_4_BAND}; in TEST_F()
50 legacy_hal::WifiIfaceInfo legacy_iface_info1 = {.name = kIfaceName1, in TEST_F()
52 legacy_hal::WifiIfaceInfo legacy_iface_info2 = {.name = kIfaceName2, in TEST_F()
78 std::vector<legacy_hal::WifiMacInfo> legacy_mac_infos; in TEST_F()
79 legacy_hal::WifiMacInfo legacy_mac_info1 = { in TEST_F()
80 .wlan_mac_id = kMacId1, .mac_band = legacy_hal::WLAN_MAC_5_0_BAND}; in TEST_F()
81 legacy_hal::WifiIfaceInfo legacy_iface_info1 = {.name = kIfaceName1, in TEST_F()
83 legacy_hal::WifiMacInfo legacy_mac_info2 = { in TEST_F()
[all …]
Dwifi_nan_iface_unit_tests.cpp117 std::shared_ptr<NiceMock<legacy_hal::MockWifiLegacyHal>> legacy_hal_{
118 new NiceMock<legacy_hal::MockWifiLegacyHal>(iface_tool_)};
127 .WillOnce(testing::Return(legacy_hal::WIFI_SUCCESS)); in TEST_F()
Dmock_wifi_legacy_hal.cpp29 namespace legacy_hal { namespace
Dmock_wifi_legacy_hal.h29 namespace legacy_hal {
Dwifi_chip_unit_tests.cpp270 std::shared_ptr<NiceMock<legacy_hal::MockWifiLegacyHal>> legacy_hal_{
271 new NiceMock<legacy_hal::MockWifiLegacyHal>(iface_tool_)};
287 .WillRepeatedly(testing::Return(legacy_hal::WIFI_SUCCESS)); in SetUp()
486 .WillOnce(testing::Return(legacy_hal::WIFI_SUCCESS)); in TEST_F()
498 .WillOnce(testing::Return(legacy_hal::WIFI_SUCCESS)); in TEST_F()
688 .WillOnce(testing::Return(legacy_hal::WIFI_SUCCESS)); in TEST_F()
700 .WillOnce(testing::Return(legacy_hal::WIFI_SUCCESS)); in TEST_F()

12