Home
last modified time | relevance | path

Searched refs:wifi_error (Results 1 – 25 of 55) sorted by relevance

123

/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h62 } wifi_error; typedef
87 wifi_error wifi_initialize(wifi_handle *handle);
93 void wifi_get_error_info(wifi_error err, const char **msg); // return a pointer to a static string
132 wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, feature_set *set);
138 wifi_error wifi_get_concurrency_matrix(wifi_interface_handle handle, int set_size_max,
143 wifi_error wifi_get_ifaces(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces);
144 wifi_error wifi_get_iface_name(wifi_interface_handle iface, char *name, size_t size);
159 wifi_error wifi_set_iface_event_handler(wifi_request_id id, wifi_interface_handle iface, wifi_event…
160 wifi_error wifi_reset_iface_event_handler(wifi_request_id id, wifi_interface_handle iface);
162 wifi_error wifi_set_nodfs_flag(wifi_interface_handle handle, u32 nodfs);
[all …]
Drtt.h154 wifi_error wifi_rtt_range_request(wifi_request_id id, wifi_interface_handle iface,
158 wifi_error wifi_rtt_range_cancel(wifi_request_id id, wifi_interface_handle iface,
173 wifi_error wifi_rtt_channel_map_set(wifi_request_id id,
179 wifi_error wifi_rtt_channel_map_clear(wifi_request_id id, wifi_interface_handle iface);
208 wifi_error wifi_get_rtt_capabilities(wifi_interface_handle iface, wifi_rtt_capabilities *capabiliti…
234 wifi_error wifi_rtt_debug_cfg(wifi_interface_handle h, unsigned rtt_dbg_type, char *cfgbuf, unsigne…
236 wifi_error wifi_rtt_debug_get(wifi_interface_handle h, rtt_debug_t **debugbuf);
238 wifi_error wifi_rtt_debug_free(wifi_interface_handle h, rtt_debug_t *debugbuf);
269 wifi_error wifi_set_lci(wifi_request_id id, wifi_interface_handle iface,
273 wifi_error wifi_set_lcr(wifi_request_id id, wifi_interface_handle iface,
[all …]
Dwifi_logger.h306 wifi_error wifi_set_log_handler(wifi_request_id id, wifi_interface_handle iface,
310 wifi_error wifi_reset_log_handler(wifi_request_id id, wifi_interface_handle iface);
327 wifi_error wifi_set_alert_handler(wifi_request_id id, wifi_interface_handle iface,
331 wifi_error wifi_reset_alert_handler(wifi_request_id id, wifi_interface_handle iface);
334 wifi_error wifi_get_ring_data(wifi_interface_handle iface, char *ring_name);
357 wifi_error wifi_start_logging(wifi_interface_handle iface, u32 verbose_level, u32 flags,
365 wifi_error wifi_get_ring_buffers_status(wifi_interface_handle iface, u32 *num_rings,
383 wifi_error wifi_get_firmware_memory_dump(wifi_interface_handle iface,
391 wifi_error wifi_get_firmware_version(wifi_interface_handle iface, char *buffer, int buffer_size);
398 wifi_error wifi_get_driver_version(wifi_interface_handle iface, char *buffer, int buffer_size);
[all …]
Dgscan.h26 wifi_error wifi_get_valid_channels(wifi_interface_handle handle,
48 wifi_error wifi_get_gscan_capabilities(wifi_interface_handle handle,
192 wifi_error wifi_start_gscan(wifi_request_id id, wifi_interface_handle iface,
196 wifi_error wifi_stop_gscan(wifi_request_id id, wifi_interface_handle iface);
218 wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, byte flush,
242 wifi_error wifi_set_bssid_hotlist(wifi_request_id id, wifi_interface_handle iface,
246 wifi_error wifi_reset_bssid_hotlist(wifi_request_id id, wifi_interface_handle iface);
296 wifi_error wifi_set_significant_change_handler(wifi_request_id id, wifi_interface_handle iface,
300 wifi_error wifi_reset_significant_change_handler(wifi_request_id id, wifi_interface_handle iface);
303 wifi_error wifi_set_scanning_mac_oui(wifi_interface_handle handle, oui scan_oui);
[all …]
Dwifi_config.h19 wifi_error wifi_extended_dtim_config_set(wifi_request_id id,
23 wifi_error wifi_set_country_code(wifi_interface_handle iface, const char* country_code);
32 wifi_error wifi_set_beacon_wifi_iface_stats_averaging_factor(wifi_request_id id, wifi_interface_han…
38 wifi_error wifi_set_guard_time(wifi_request_id id, wifi_interface_handle iface,
Dtdls.h65 wifi_error wifi_enable_tdls(wifi_interface_handle iface, mac_addr addr,
76 wifi_error wifi_disable_tdls(wifi_interface_handle iface, mac_addr addr);
79 wifi_error wifi_get_tdls_status(wifi_interface_handle iface, mac_addr addr,
83 wifi_error wifi_get_tdls_capabilities(wifi_interface_handle iface,
Droam.h51 wifi_error wifi_get_roaming_capabilities(wifi_interface_handle handle,
54 wifi_error wifi_enable_firmware_roaming(wifi_interface_handle handle,
58 wifi_error wifi_configure_roaming(wifi_interface_handle handle,
/hardware/interfaces/wifi/1.0/default/
Dwifi_legacy_hal.h149 wifi_error initialize();
151 wifi_error start();
153 wifi_error stop(const std::function<void()>& on_complete_callback);
155 std::pair<wifi_error, std::string> getDriverVersion();
156 std::pair<wifi_error, std::string> getFirmwareVersion();
157 std::pair<wifi_error, std::vector<uint8_t>> requestDriverMemoryDump();
158 std::pair<wifi_error, std::vector<uint8_t>> requestFirmwareMemoryDump();
159 std::pair<wifi_error, uint32_t> getSupportedFeatureSet();
161 std::pair<wifi_error, PacketFilterCapabilities> getPacketFilterCapabilities();
162 wifi_error setPacketFilter(const std::vector<uint8_t>& program);
[all …]
Dwifi_legacy_hal.cpp321 wifi_error WifiLegacyHal::initialize() { in initialize()
329 wifi_error status = init_wifi_vendor_hal_func_table(&global_func_table_); in initialize()
336 wifi_error WifiLegacyHal::start() { in start()
349 wifi_error status = global_func_table_.wifi_initialize(&global_handle_); in start()
365 wifi_error WifiLegacyHal::stop( in stop()
413 std::pair<wifi_error, std::string> WifiLegacyHal::getDriverVersion() { in getDriverVersion()
416 wifi_error status = global_func_table_.wifi_get_driver_version( in getDriverVersion()
421 std::pair<wifi_error, std::string> WifiLegacyHal::getFirmwareVersion() { in getFirmwareVersion()
424 wifi_error status = global_func_table_.wifi_get_firmware_version( in getFirmwareVersion()
429 std::pair<wifi_error, std::vector<uint8_t>>
[all …]
Dwifi_sta_iface.cpp36 legacy_hal::wifi_error legacy_status = in WifiStaIface()
308 legacy_hal::wifi_error legacy_status; in getCapabilitiesInternal()
332 legacy_hal::wifi_error legacy_status; in getApfPacketFilterCapabilitiesInternal()
349 legacy_hal::wifi_error legacy_status = in installApfPacketFilterInternal()
356 legacy_hal::wifi_error legacy_status; in getBackgroundScanCapabilitiesInternal()
374 legacy_hal::wifi_error legacy_status; in getValidFrequenciesForBandInternal()
445 legacy_hal::wifi_error legacy_status = in startBackgroundScanInternal()
455 legacy_hal::wifi_error legacy_status = legacy_hal_.lock()->stopGscan(cmd_id); in stopBackgroundScanInternal()
460 legacy_hal::wifi_error legacy_status = in enableLinkLayerStatsCollectionInternal()
466 legacy_hal::wifi_error legacy_status = in disableLinkLayerStatsCollectionInternal()
[all …]
Dwifi_status_util.h30 std::string legacyErrorToString(legacy_hal::wifi_error error);
34 WifiStatus createWifiStatusFromLegacyError(legacy_hal::wifi_error error,
36 WifiStatus createWifiStatusFromLegacyError(legacy_hal::wifi_error error);
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifihal_internal.h74 wifi_error (*get_valid_channels)(wifi_interface_handle iface,
80 wifi_error (*get_gscan_capabilities)(wifi_interface_handle handle,
83 wifi_error (*start_gscan)(wifi_request_id request_id,
88 wifi_error (*stop_gscan)(wifi_request_id request_id,
91 wifi_error (*get_cached_gscan_results)(wifi_interface_handle iface,
97 wifi_error (*set_bssid_hotlist)(wifi_request_id request_id,
102 wifi_error (*reset_bssid_hotlist)(wifi_request_id request_id,
105 wifi_error (*set_significant_change_handler)(wifi_request_id id,
110 wifi_error (*reset_significant_change_handler)(wifi_request_id id,
113 wifi_error (*set_ssid_hotlist)(wifi_request_id id,
[all …]
Drtt.cpp43 wifi_error wifi_get_rtt_capabilities(wifi_interface_handle iface, in wifi_get_rtt_capabilities()
83 return (wifi_error)ret; in wifi_get_rtt_capabilities()
87 wifi_error wifi_rtt_range_request(wifi_request_id id, in wifi_rtt_range_request()
146 return (wifi_error)ret; in wifi_rtt_range_request()
150 wifi_error wifi_rtt_range_cancel(wifi_request_id id, in wifi_rtt_range_cancel()
198 return (wifi_error)ret; in wifi_rtt_range_cancel()
202 wifi_error wifi_set_lci(wifi_request_id id, wifi_interface_handle iface, in wifi_set_lci()
242 return (wifi_error)ret; in wifi_set_lci()
246 wifi_error wifi_set_lcr(wifi_request_id id, wifi_interface_handle iface, in wifi_set_lcr()
286 return (wifi_error)ret; in wifi_set_lcr()
[all …]
Dcommon.h153 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg);
154 wifi_error wifi_register_vendor_handler(wifi_handle handle,
160 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd);
170 wifi_error initializeGscanHandlers(hal_info *info);
171 wifi_error cleanupGscanHandlers(hal_info *info);
172 wifi_error initializeRSSIMonitorHandler(hal_info *info);
173 wifi_error cleanupRSSIMonitorHandler(hal_info *info);
177 wifi_error wifi_start_sending_offloaded_packet(wifi_request_id id,
180 wifi_error wifi_stop_sending_offloaded_packet(wifi_request_id id,
182 wifi_error wifi_start_rssi_monitoring(wifi_request_id id, wifi_interface_handle
[all …]
Dnan.cpp42 wifi_error nan_register_handler(wifi_interface_handle iface, in nan_register_handler()
57 return (wifi_error)ret; in nan_register_handler()
60 wifi_error nan_get_version(wifi_handle handle, in nan_get_version()
68 wifi_error nan_enable_request(transaction_id id, in nan_enable_request()
106 return (wifi_error)ret; in nan_enable_request()
110 wifi_error nan_disable_request(transaction_id id, in nan_disable_request()
147 return (wifi_error)ret; in nan_disable_request()
151 wifi_error nan_publish_request(transaction_id id, in nan_publish_request()
189 return (wifi_error)ret; in nan_publish_request()
193 wifi_error nan_publish_cancel_request(transaction_id id, in nan_publish_cancel_request()
[all …]
Dgscan_event_handler.h77 wifi_error gscan_parse_hotlist_ap_results(
82 wifi_error gscan_parse_hotlist_ssid_results(
87 wifi_error gscan_parse_passpoint_network_result(
89 wifi_error gscan_parse_pno_network_results(
Dwifi_hal.cpp73 static wifi_error wifi_init_interfaces(wifi_handle handle);
74 static wifi_error wifi_set_packet_filter(wifi_interface_handle iface,
76 static wifi_error wifi_get_packet_filter_capabilities(wifi_interface_handle handle,
78 static wifi_error wifi_configure_nd_offload(wifi_interface_handle iface,
80 wifi_error wifi_get_wake_reason_stats(wifi_interface_handle iface,
154 static wifi_error acquire_supported_features(wifi_interface_handle iface, in acquire_supported_features()
184 return (wifi_error)ret; in acquire_supported_features()
187 static wifi_error wifi_get_capabilities(wifi_interface_handle handle) in wifi_get_capabilities()
189 wifi_error ret; in wifi_get_capabilities()
221 static wifi_error get_firmware_bus_max_size_supported( in get_firmware_bus_max_size_supported()
[all …]
Drssi_monitor.cpp46 wifi_error initializeRSSIMonitorHandler(hal_info *info) in initializeRSSIMonitorHandler()
61 wifi_error cleanupRSSIMonitorHandler(hal_info *info) in cleanupRSSIMonitorHandler()
250 wifi_error wifi_start_rssi_monitoring(wifi_request_id id, in wifi_start_rssi_monitoring()
267 return (wifi_error)ret; in wifi_start_rssi_monitoring()
311 return (wifi_error)ret; in wifi_start_rssi_monitoring()
314 wifi_error wifi_stop_rssi_monitoring(wifi_request_id id, in wifi_stop_rssi_monitoring()
340 return (wifi_error)ret; in wifi_stop_rssi_monitoring()
369 return (wifi_error)ret; in wifi_stop_rssi_monitoring()
Drb_wrapper.h46 wifi_error rb_init(struct hal_info_s *info, struct rb_info *rb_info, int id,
51 wifi_error rb_start_logging(struct rb_info *rb_info, u32 verbose_level,
54 wifi_error ring_buffer_write(struct rb_info *rb_info, u8 *buf, size_t length,
Droam.cpp59 wifi_error wifi_set_bssid_blacklist(wifi_request_id id, in wifi_set_bssid_blacklist()
143 return (wifi_error)ret; in wifi_set_bssid_blacklist()
147 wifi_error wifi_set_ssid_white_list(wifi_request_id id, wifi_interface_handle iface, in wifi_set_ssid_white_list()
150 wifi_error result = WIFI_SUCCESS; in wifi_set_ssid_white_list()
235 wifi_error wifi_get_roaming_capabilities(wifi_interface_handle iface, in wifi_get_roaming_capabilities()
256 wifi_error wifi_configure_roaming(wifi_interface_handle iface, wifi_roaming_config *roaming_config) in wifi_configure_roaming()
258 wifi_error ret; in wifi_configure_roaming()
308 wifi_error wifi_enable_firmware_roaming(wifi_interface_handle iface, fw_roaming_state_t state) in wifi_enable_firmware_roaming()
310 wifi_error result = WIFI_SUCCESS; in wifi_enable_firmware_roaming()
Dwificonfig.cpp38 wifi_error wifi_extended_dtim_config_set(wifi_request_id id, in wifi_extended_dtim_config_set()
103 return (wifi_error)ret; in wifi_extended_dtim_config_set()
107 wifi_error wifi_set_country_code(wifi_interface_handle iface, in wifi_set_country_code()
154 return (wifi_error)ret; in wifi_set_country_code()
157 wifi_error wifi_set_beacon_wifi_iface_stats_averaging_factor( in wifi_set_beacon_wifi_iface_stats_averaging_factor()
222 return (wifi_error)ret; in wifi_set_beacon_wifi_iface_stats_averaging_factor()
225 wifi_error wifi_set_guard_time(wifi_request_id id, in wifi_set_guard_time()
286 return (wifi_error)ret; in wifi_set_guard_time()
Dwifilogger.cpp66 wifi_error wifi_start_logging(wifi_interface_handle iface, in wifi_start_logging()
156 return (wifi_error)ret; in wifi_start_logging()
161 wifi_error wifi_get_ring_buffers_status(wifi_interface_handle iface, in wifi_get_ring_buffers_status()
186 return (wifi_error)ret; in wifi_get_ring_buffers_status()
216 wifi_error wifi_get_logger_supported_feature_set(wifi_interface_handle iface, in wifi_get_logger_supported_feature_set()
276 return (wifi_error)ret; in wifi_get_logger_supported_feature_set()
280 wifi_error wifi_get_ring_data(wifi_interface_handle iface, in wifi_get_ring_data()
342 return (wifi_error)ret; in wifi_get_ring_data()
351 wifi_error wifi_get_firmware_version(wifi_interface_handle iface, in wifi_get_firmware_version()
408 return (wifi_error)ret; in wifi_get_firmware_version()
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_logger.cpp386 wifi_error wifi_get_firmware_version(wifi_interface_handle iface, char *buffer, in wifi_get_firmware_version()
392 wifi_error result = (wifi_error)cmd->start(); in wifi_get_firmware_version()
402 wifi_error wifi_get_driver_version(wifi_interface_handle iface, char *buffer, int buffer_size) in wifi_get_driver_version()
407 wifi_error result = (wifi_error)cmd->start(); in wifi_get_driver_version()
417 wifi_error wifi_get_ring_data(wifi_interface_handle iface, char *ring_name) in wifi_get_ring_data()
421 wifi_error result = (wifi_error)cmd->start(); in wifi_get_ring_data()
427 wifi_error wifi_get_ring_buffers_status(wifi_interface_handle iface, in wifi_get_ring_buffers_status()
433 wifi_error result = (wifi_error)cmd->start(); in wifi_get_ring_buffers_status()
443 wifi_error wifi_get_logger_supported_feature_set(wifi_interface_handle iface, in wifi_get_logger_supported_feature_set()
449 wifi_error result = (wifi_error)cmd->start(); in wifi_get_logger_supported_feature_set()
[all …]
Dwifi_hal.cpp50 static wifi_error wifi_init_interfaces(wifi_handle handle);
51 static wifi_error wifi_start_rssi_monitoring(wifi_request_id id, wifi_interface_handle
53 static wifi_error wifi_stop_rssi_monitoring(wifi_request_id id, wifi_interface_handle iface);
54 static wifi_error wifi_set_packet_filter(wifi_interface_handle handle,
56 static wifi_error wifi_get_packet_filter_capabilities(wifi_interface_handle handle,
58 static wifi_error wifi_configure_nd_offload(wifi_interface_handle iface, u8 enable);
130 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) in init_wifi_vendor_hal_func_table()
189 wifi_error wifi_initialize(wifi_handle *handle) in wifi_initialize()
1139 wifi_error wifi_init_interfaces(wifi_handle handle) in wifi_init_interfaces()
1191 wifi_error wifi_get_ifaces(wifi_handle handle, int *num, wifi_interface_handle **interfaces) in wifi_get_ifaces()
[all …]
Dwifi_offload.cpp202 wifi_error wifi_start_sending_offloaded_packet(wifi_request_id index, wifi_interface_handle iface, in wifi_start_sending_offloaded_packet()
211 wifi_error result = (wifi_error)cmd->start(); in wifi_start_sending_offloaded_packet()
221 wifi_error wifi_stop_sending_offloaded_packet(wifi_request_id index, wifi_interface_handle iface) in wifi_stop_sending_offloaded_packet()
226 wifi_error result = (wifi_error)cmd->start(); in wifi_stop_sending_offloaded_packet()

123