Home
last modified time | relevance | path

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

12

/hardware/interfaces/wifi/1.3/default/
Dhidl_struct_util.h50 const legacy_hal::wifi_ring_buffer_status& legacy_status,
53 const std::vector<legacy_hal::wifi_ring_buffer_status>& legacy_status_vec,
56 const legacy_hal::WakeReasonStats& legacy_stats,
58 legacy_hal::wifi_power_scenario convertHidlTxPowerScenarioToLegacy(
60 legacy_hal::wifi_latency_mode convertHidlLatencyModeToLegacy(
62 legacy_hal::wifi_power_scenario convertHidlTxPowerScenarioToLegacy_1_2(
65 const std::vector<legacy_hal::WifiMacInfo>& legacy_mac_infos,
74 const legacy_hal::PacketFilterCapabilities& legacy_caps,
77 const legacy_hal::wifi_gscan_capabilities& legacy_caps,
79 legacy_hal::wifi_band convertHidlWifiBandToLegacy(WifiBand band);
[all …]
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.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
36 legacy_hal_(legacy_hal), in WifiNanIface()
42 legacy_hal::NanCallbackHandlers callback_handlers; in WifiNanIface()
48 legacy_hal::transaction_id id, in WifiNanIface()
49 const legacy_hal::NanResponseMsg& msg) { in WifiNanIface()
63 case legacy_hal::NAN_RESPONSE_ENABLED: { in WifiNanIface()
73 case legacy_hal::NAN_RESPONSE_DISABLED: { in WifiNanIface()
83 case legacy_hal::NAN_RESPONSE_PUBLISH: { in WifiNanIface()
96 case legacy_hal::NAN_RESPONSE_PUBLISH_CANCEL: { in WifiNanIface()
106 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()
147 std::vector<legacy_hal::wifi_rtt_config> legacy_configs; in rangeRequestInternal()
155 legacy_hal::wifi_request_id id, in rangeRequestInternal()
156 const std::vector<const legacy_hal::wifi_rtt_result*>& results) { in rangeRequestInternal()
172 legacy_hal::wifi_error legacy_status = in rangeRequestInternal()
184 legacy_hal::wifi_error legacy_status = in rangeCancelInternal()
192 legacy_hal::wifi_error legacy_status; in getCapabilitiesInternal()
193 legacy_hal::wifi_rtt_capabilities legacy_caps; in getCapabilitiesInternal()
196 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getCapabilitiesInternal()
[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_ap_iface.cpp33 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal, in WifiApIface() argument
37 legacy_hal_(legacy_hal), in WifiApIface()
98 legacy_hal::wifi_error legacy_status = in setCountryCodeInternal()
107 legacy_hal::wifi_error legacy_status; in getValidFrequenciesForBandInternal()
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.cpp38 const std::shared_ptr<legacy_hal::WifiLegacyHal> legacy_hal, in Wifi() argument
43 legacy_hal_(legacy_hal), in Wifi()
187 legacy_hal::wifi_error legacy_status = legacy_hal_->initialize(); in initializeModeControllerAndLegacyHal()
188 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in initializeModeControllerAndLegacyHal()
199 legacy_hal::wifi_error legacy_status = in stopLegacyHalAndDeinitializeModeController()
201 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in stopLegacyHalAndDeinitializeModeController()
Dwifi_ap_iface.h41 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
66 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_chip.cpp316 ChipId chip_id, const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal, in WifiChip() argument
321 legacy_hal_(legacy_hal), in WifiChip()
674 legacy_hal::wifi_error legacy_status; in getCapabilitiesInternal_1_3()
680 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getCapabilitiesInternal_1_3()
685 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getCapabilitiesInternal_1_3()
744 legacy_hal::wifi_error legacy_status; in requestChipDebugInfoInternal()
749 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in requestChipDebugInfoInternal()
761 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in requestChipDebugInfoInternal()
775 legacy_hal::wifi_error legacy_status; in requestDriverDebugDumpInternal()
780 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in requestDriverDebugDumpInternal()
[all …]
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);
93 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_legacy_hal_stubs.h25 namespace legacy_hal {
Dwifi_nan_iface.h41 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
151 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dwifi_sta_iface.h41 const std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal,
164 std::weak_ptr<legacy_hal::WifiLegacyHal> legacy_hal_;
Dservice.cpp34 using android::hardware::wifi::V1_3::implementation::legacy_hal::WifiLegacyHal;
/hardware/interfaces/wifi/1.3/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()
79 std::vector<legacy_hal::WifiMacInfo> legacy_mac_infos; in TEST_F()
80 legacy_hal::WifiMacInfo legacy_mac_info1 = { in TEST_F()
81 .wlan_mac_id = kMacId1, .mac_band = legacy_hal::WLAN_MAC_5_0_BAND}; in TEST_F()
82 legacy_hal::WifiIfaceInfo legacy_iface_info1 = {.name = kIfaceName1, in TEST_F()
84 legacy_hal::WifiMacInfo legacy_mac_info2 = { in TEST_F()
[all …]
Dwifi_nan_iface_unit_tests.cpp108 std::shared_ptr<NiceMock<legacy_hal::MockWifiLegacyHal>> legacy_hal_{
109 new NiceMock<legacy_hal::MockWifiLegacyHal>(iface_tool_)};
118 .WillOnce(testing::Return(legacy_hal::WIFI_SUCCESS)); in TEST_F()
Dwifi_ap_iface_unit_tests.cpp48 std::shared_ptr<NiceMock<legacy_hal::MockWifiLegacyHal>> legacy_hal_{
49 new NiceMock<legacy_hal::MockWifiLegacyHal>(iface_tool_)};
Dmock_wifi_legacy_hal.cpp29 namespace legacy_hal { namespace
Dmock_wifi_legacy_hal.h29 namespace legacy_hal {
Dwifi_chip_unit_tests.cpp269 std::shared_ptr<NiceMock<legacy_hal::MockWifiLegacyHal>> legacy_hal_{
270 new NiceMock<legacy_hal::MockWifiLegacyHal>(iface_tool_)};
286 .WillRepeatedly(testing::Return(legacy_hal::WIFI_SUCCESS)); in SetUp()
484 .WillOnce(testing::Return(legacy_hal::WIFI_SUCCESS)); in TEST_F()
496 .WillOnce(testing::Return(legacy_hal::WIFI_SUCCESS)); in TEST_F()
686 .WillOnce(testing::Return(legacy_hal::WIFI_SUCCESS)); in TEST_F()
698 .WillOnce(testing::Return(legacy_hal::WIFI_SUCCESS)); in TEST_F()

12