Home
last modified time | relevance | path

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

12

/hardware/interfaces/wifi/1.2/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.h49 const legacy_hal::wifi_ring_buffer_status& legacy_status,
52 const std::vector<legacy_hal::wifi_ring_buffer_status>& legacy_status_vec,
55 const legacy_hal::WakeReasonStats& legacy_stats,
57 legacy_hal::wifi_power_scenario convertHidlTxPowerScenarioToLegacy(
59 legacy_hal::wifi_power_scenario convertHidlTxPowerScenarioToLegacy_1_2(
62 const std::vector<legacy_hal::WifiMacInfo>& legacy_mac_infos,
70 const legacy_hal::PacketFilterCapabilities& legacy_caps,
73 const legacy_hal::wifi_gscan_capabilities& legacy_caps,
75 legacy_hal::wifi_band convertHidlWifiBandToLegacy(WifiBand band);
78 legacy_hal::wifi_scan_cmd_params* legacy_scan_params);
[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()
132 for (const auto feature : {legacy_hal::WIFI_LOGGER_MEMORY_DUMP_SUPPORTED, in convertLegacyFeaturesToHidlChipCapabilities()
133 legacy_hal::WIFI_LOGGER_DRIVER_DUMP_SUPPORTED, in convertLegacyFeaturesToHidlChipCapabilities()
134 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
34 : ifname_(ifname), legacy_hal_(legacy_hal), is_valid_(true) { in WifiNanIface()
38 legacy_hal::NanCallbackHandlers callback_handlers; in WifiNanIface()
44 legacy_hal::transaction_id id, in WifiNanIface()
45 const legacy_hal::NanResponseMsg& msg) { in WifiNanIface()
59 case legacy_hal::NAN_RESPONSE_ENABLED: { in WifiNanIface()
69 case legacy_hal::NAN_RESPONSE_DISABLED: { in WifiNanIface()
79 case legacy_hal::NAN_RESPONSE_PUBLISH: { in WifiNanIface()
92 case legacy_hal::NAN_RESPONSE_PUBLISH_CANCEL: { in WifiNanIface()
102 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
34 : ifname_(ifname), legacy_hal_(legacy_hal), is_valid_(true) { in WifiStaIface()
36 legacy_hal::wifi_error legacy_status = in WifiStaIface()
38 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in WifiStaIface()
268 legacy_hal::wifi_error legacy_status; in getCapabilitiesInternal()
272 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getCapabilitiesInternal()
278 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getCapabilitiesInternal()
292 legacy_hal::wifi_error legacy_status; in getApfPacketFilterCapabilitiesInternal()
293 legacy_hal::PacketFilterCapabilities legacy_caps; in getApfPacketFilterCapabilitiesInternal()
296 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()
145 std::vector<legacy_hal::wifi_rtt_config> legacy_configs; in rangeRequestInternal()
153 legacy_hal::wifi_request_id id, in rangeRequestInternal()
154 const std::vector<const legacy_hal::wifi_rtt_result*>& results) { in rangeRequestInternal()
170 legacy_hal::wifi_error legacy_status = in rangeRequestInternal()
182 legacy_hal::wifi_error legacy_status = in rangeCancelInternal()
190 legacy_hal::wifi_error legacy_status; in getCapabilitiesInternal()
191 legacy_hal::wifi_rtt_capabilities legacy_caps; in getCapabilitiesInternal()
194 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getCapabilitiesInternal()
[all …]
Dwifi_ap_iface.cpp33 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal) in WifiApIface() argument
34 : ifname_(ifname), legacy_hal_(legacy_hal), is_valid_(true) {} in WifiApIface()
79 legacy_hal::wifi_error legacy_status = in setCountryCodeInternal()
88 legacy_hal::wifi_error legacy_status; in getValidFrequenciesForBandInternal()
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.cpp37 const std::shared_ptr<legacy_hal::WifiLegacyHal> legacy_hal, in Wifi() argument
40 : legacy_hal_(legacy_hal), in Wifi()
183 legacy_hal::wifi_error legacy_status = legacy_hal_->initialize(); in initializeModeControllerAndLegacyHal()
184 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in initializeModeControllerAndLegacyHal()
195 legacy_hal::wifi_error legacy_status = in stopLegacyHalAndDeinitializeModeController()
197 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in stopLegacyHalAndDeinitializeModeController()
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.h38 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal);
61 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_chip.cpp313 ChipId chip_id, const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal, in WifiChip() argument
317 legacy_hal_(legacy_hal), in WifiChip()
618 legacy_hal::wifi_error legacy_status; in getCapabilitiesInternal()
623 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getCapabilitiesInternal()
628 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getCapabilitiesInternal()
686 legacy_hal::wifi_error legacy_status; in requestChipDebugInfoInternal()
690 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in requestChipDebugInfoInternal()
702 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in requestChipDebugInfoInternal()
716 legacy_hal::wifi_error legacy_status; in requestDriverDebugDumpInternal()
720 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in requestDriverDebugDumpInternal()
[all …]
Dwifi.h43 Wifi(const std::shared_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
79 std::shared_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_rtt_controller.h40 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal);
92 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_legacy_hal_stubs.h25 namespace legacy_hal {
Dwifi_nan_iface.h40 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal);
149 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_sta_iface.h42 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal);
156 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dservice.cpp31 using android::hardware::wifi::V1_2::implementation::legacy_hal::WifiLegacyHal;
Dwifi_chip.h53 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
222 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_legacy_hal_stubs.cpp25 namespace legacy_hal { namespace
/hardware/interfaces/wifi/1.2/default/tests/
Dhidl_struct_util_unit_tests.cpp44 std::vector<legacy_hal::WifiMacInfo> legacy_mac_infos; in TEST_F()
45 legacy_hal::WifiMacInfo legacy_mac_info1 = { in TEST_F()
48 legacy_hal::WLAN_MAC_5_0_BAND | legacy_hal::WLAN_MAC_2_4_BAND}; in TEST_F()
49 legacy_hal::WifiIfaceInfo legacy_iface_info1 = {.name = kIfaceName1, in TEST_F()
51 legacy_hal::WifiIfaceInfo legacy_iface_info2 = {.name = kIfaceName2, in TEST_F()
77 std::vector<legacy_hal::WifiMacInfo> legacy_mac_infos; in TEST_F()
78 legacy_hal::WifiMacInfo legacy_mac_info1 = { in TEST_F()
79 .wlan_mac_id = kMacId1, .mac_band = legacy_hal::WLAN_MAC_5_0_BAND}; in TEST_F()
80 legacy_hal::WifiIfaceInfo legacy_iface_info1 = {.name = kIfaceName1, in TEST_F()
82 legacy_hal::WifiMacInfo legacy_mac_info2 = { in TEST_F()
[all …]
Dmock_wifi_legacy_hal.cpp29 namespace legacy_hal { namespace
Dmock_wifi_legacy_hal.h29 namespace legacy_hal {
Dwifi_chip_unit_tests.cpp215 .WillRepeatedly(testing::Return(legacy_hal::WIFI_SUCCESS)); in SetUp()
221 std::shared_ptr<NiceMock<legacy_hal::MockWifiLegacyHal>> legacy_hal_{
222 new NiceMock<legacy_hal::MockWifiLegacyHal>};

12