Home
last modified time | relevance | path

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

123

/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h91 } wifi_error; typedef
116 wifi_error wifi_initialize(wifi_handle *handle);
126 wifi_error wifi_wait_for_driver_ready(void);
133 void wifi_get_error_info(wifi_error err, const char **msg); // return a pointer to a static string
176 wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, feature_set *set);
182 wifi_error wifi_get_concurrency_matrix(wifi_interface_handle handle, int set_size_max,
187 wifi_error wifi_get_ifaces(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces);
188 wifi_error wifi_get_iface_name(wifi_interface_handle iface, char *name, size_t size);
222 wifi_error wifi_set_iface_event_handler(wifi_request_id id, wifi_interface_handle iface, wifi_event…
223 wifi_error wifi_reset_iface_event_handler(wifi_request_id id, wifi_interface_handle iface);
[all …]
Drtt.h156 wifi_error wifi_rtt_range_request(wifi_request_id id, wifi_interface_handle iface,
160 wifi_error wifi_rtt_range_cancel(wifi_request_id id, wifi_interface_handle iface,
175 wifi_error wifi_rtt_channel_map_set(wifi_request_id id,
181 wifi_error wifi_rtt_channel_map_clear(wifi_request_id id, wifi_interface_handle iface);
210 wifi_error wifi_get_rtt_capabilities(wifi_interface_handle iface, wifi_rtt_capabilities *capabiliti…
236 wifi_error wifi_rtt_debug_cfg(wifi_interface_handle h, unsigned rtt_dbg_type, char *cfgbuf, unsigne…
238 wifi_error wifi_rtt_debug_get(wifi_interface_handle h, rtt_debug_t **debugbuf);
240 wifi_error wifi_rtt_debug_free(wifi_interface_handle h, rtt_debug_t *debugbuf);
271 wifi_error wifi_set_lci(wifi_request_id id, wifi_interface_handle iface,
275 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.h36 wifi_error wifi_get_valid_channels(wifi_interface_handle handle,
58 wifi_error wifi_get_gscan_capabilities(wifi_interface_handle handle,
202 wifi_error wifi_start_gscan(wifi_request_id id, wifi_interface_handle iface,
206 wifi_error wifi_stop_gscan(wifi_request_id id, wifi_interface_handle iface);
228 wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, byte flush,
252 wifi_error wifi_set_bssid_hotlist(wifi_request_id id, wifi_interface_handle iface,
256 wifi_error wifi_reset_bssid_hotlist(wifi_request_id id, wifi_interface_handle iface);
306 wifi_error wifi_set_significant_change_handler(wifi_request_id id, wifi_interface_handle iface,
310 wifi_error wifi_reset_significant_change_handler(wifi_request_id id, wifi_interface_handle iface);
313 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.3/default/
Dwifi_legacy_hal.h177 virtual wifi_error initialize();
179 virtual wifi_error start();
182 virtual wifi_error stop(std::unique_lock<std::recursive_mutex>* lock,
187 virtual std::pair<wifi_error, std::string> getDriverVersion(
189 virtual std::pair<wifi_error, std::string> getFirmwareVersion(
191 std::pair<wifi_error, std::vector<uint8_t>> requestDriverMemoryDump(
193 std::pair<wifi_error, std::vector<uint8_t>> requestFirmwareMemoryDump(
195 std::pair<wifi_error, uint32_t> getSupportedFeatureSet(
198 std::pair<wifi_error, PacketFilterCapabilities> getPacketFilterCapabilities(
200 wifi_error setPacketFilter(const std::string& iface_name,
[all …]
Dwifi_legacy_hal.cpp343 wifi_error WifiLegacyHal::initialize() { in initialize()
352 wifi_error status = init_wifi_vendor_hal_func_table(&global_func_table_); in initialize()
359 wifi_error WifiLegacyHal::start() { in start()
368 wifi_error status = global_func_table_.wifi_wait_for_driver_ready(); in start()
396 wifi_error WifiLegacyHal::stop( in stop()
431 std::pair<wifi_error, std::string> WifiLegacyHal::getDriverVersion( in getDriverVersion()
435 wifi_error status = global_func_table_.wifi_get_driver_version( in getDriverVersion()
440 std::pair<wifi_error, std::string> WifiLegacyHal::getFirmwareVersion( in getFirmwareVersion()
444 wifi_error status = global_func_table_.wifi_get_firmware_version( in getFirmwareVersion()
449 std::pair<wifi_error, std::vector<uint8_t>>
[all …]
Dwifi_sta_iface.cpp40 legacy_hal::wifi_error legacy_status = in WifiStaIface()
286 legacy_hal::wifi_error legacy_status; in getCapabilitiesInternal()
310 legacy_hal::wifi_error legacy_status; in getApfPacketFilterCapabilitiesInternal()
327 legacy_hal::wifi_error legacy_status = in installApfPacketFilterInternal()
334 const std::pair<legacy_hal::wifi_error, std::vector<uint8_t>> in readApfPacketFilterDataInternal()
343 legacy_hal::wifi_error legacy_status; in getBackgroundScanCapabilitiesInternal()
362 legacy_hal::wifi_error legacy_status; in getValidFrequenciesForBandInternal()
442 legacy_hal::wifi_error legacy_status = legacy_hal_.lock()->startGscan( in startBackgroundScanInternal()
449 legacy_hal::wifi_error legacy_status = in stopBackgroundScanInternal()
455 legacy_hal::wifi_error legacy_status = in enableLinkLayerStatsCollectionInternal()
[all …]
/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 …]
Dcpp_bindings.h186 wifi_error create(int family, uint8_t cmd, int flags, int hdrlen);
187 wifi_error create(uint8_t cmd, int flags, int hdrlen) { in create()
190 wifi_error create(uint8_t cmd) { in create()
194 wifi_error create(uint32_t id, int subcmd);
196 wifi_error wifi_nla_put(struct nl_msg *msg, int attr, in wifi_nla_put()
207 wifi_error put_u8(int attribute, uint8_t value) { in put_u8()
210 wifi_error put_u16(int attribute, uint16_t value) { in put_u16()
213 wifi_error put_u32(int attribute, uint32_t value) { in put_u32()
217 wifi_error put_u64(int attribute, uint64_t value) { in put_u64()
221 wifi_error put_s8(int attribute, s8 value) { in put_s8()
[all …]
Dnancommand.h114 virtual wifi_error create();
115 virtual wifi_error requestEvent();
118 wifi_error setCallbackHandler(NanCallbackHandler nHandler);
122 wifi_error putNanEnable(transaction_id id, const NanEnableRequest *pReq);
123 wifi_error putNanDisable(transaction_id id);
124 wifi_error putNanPublish(transaction_id id, const NanPublishRequest *pReq);
125 wifi_error putNanPublishCancel(transaction_id id, const NanPublishCancelRequest *pReq);
126 wifi_error putNanSubscribe(transaction_id id, const NanSubscribeRequest *pReq);
127 wifi_error putNanSubscribeCancel(transaction_id id, const NanSubscribeCancelRequest *pReq);
128 wifi_error putNanTransmitFollowup(transaction_id id, const NanTransmitFollowupRequest *pReq);
[all …]
Drtt.cpp43 wifi_error wifi_get_rtt_capabilities(wifi_interface_handle iface, in wifi_get_rtt_capabilities()
46 wifi_error ret; in wifi_get_rtt_capabilities()
74 ret = (wifi_error)lowiWifiHalApi->get_rtt_capabilities(iface, capabilities); in wifi_get_rtt_capabilities()
83 wifi_error wifi_rtt_range_request(wifi_request_id id, in wifi_rtt_range_request()
89 wifi_error ret; in wifi_rtt_range_request()
129 ret = (wifi_error)lowiWifiHalApi->rtt_range_request(id, iface, in wifi_rtt_range_request()
140 wifi_error wifi_rtt_range_cancel(wifi_request_id id, in wifi_rtt_range_cancel()
145 wifi_error ret; in wifi_rtt_range_cancel()
179 ret = (wifi_error)lowiWifiHalApi->rtt_range_cancel(id, num_devices, addr); in wifi_rtt_range_cancel()
188 wifi_error wifi_set_lci(wifi_request_id id, wifi_interface_handle iface, in wifi_set_lci()
[all …]
Dcommon.h168 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg);
169 wifi_error wifi_register_vendor_handler(wifi_handle handle,
181 wifi_error initializeGscanHandlers(hal_info *info);
182 wifi_error cleanupGscanHandlers(hal_info *info);
183 wifi_error initializeRSSIMonitorHandler(hal_info *info);
184 wifi_error cleanupRSSIMonitorHandler(hal_info *info);
188 wifi_error wifi_start_sending_offloaded_packet(wifi_request_id id,
191 wifi_error wifi_stop_sending_offloaded_packet(wifi_request_id id,
193 wifi_error wifi_start_rssi_monitoring(wifi_request_id id, wifi_interface_handle
195 wifi_error wifi_stop_rssi_monitoring(wifi_request_id id, wifi_interface_handle iface);
[all …]
Dgscancommand.h117 virtual wifi_error create();
118 virtual wifi_error requestResponse();
123 virtual wifi_error allocRspParams(eGScanRspRarams cmd);
125 virtual wifi_error copyCachedScanResults(int *numResults,
127 virtual wifi_error gscan_get_cached_results(wifi_cached_scan_results *results,
129 wifi_error validateGscanConfig(wifi_scan_cmd_params params);
130 wifi_error validateSignificantChangeParams(
132 virtual wifi_error allocCachedResultsTemp(int max,
Dwifiloggercmd.h96 virtual wifi_error create();
97 virtual wifi_error requestEvent();
98 virtual wifi_error requestResponse();
101 wifi_error setCallbackHandler(WifiLoggerCallbackHandler nHandler);
105 virtual wifi_error timed_wait(u16 wait_time);
113 wifi_error wifi_logger_ring_buffers_init(hal_info *info);
Dnan.cpp42 wifi_error nan_register_handler(wifi_interface_handle iface, in nan_register_handler()
46 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()
72 wifi_error ret; in nan_enable_request()
111 wifi_error nan_disable_request(transaction_id id, in nan_disable_request()
114 wifi_error ret; in nan_disable_request()
153 wifi_error nan_publish_request(transaction_id id, in nan_publish_request()
157 wifi_error ret; in nan_publish_request()
196 wifi_error nan_publish_cancel_request(transaction_id id, in nan_publish_cancel_request()
[all …]
Dwificonfig.cpp39 wifi_error wifi_extended_dtim_config_set(wifi_request_id id, in wifi_extended_dtim_config_set()
43 wifi_error ret; in wifi_extended_dtim_config_set()
117 wifi_error wifi_set_country_code(wifi_interface_handle iface, in wifi_set_country_code()
121 wifi_error ret; in wifi_set_country_code()
182 wifi_error wifi_set_beacon_wifi_iface_stats_averaging_factor( in wifi_set_beacon_wifi_iface_stats_averaging_factor()
187 wifi_error ret; in wifi_set_beacon_wifi_iface_stats_averaging_factor()
250 wifi_error wifi_set_guard_time(wifi_request_id id, in wifi_set_guard_time()
254 wifi_error ret; in wifi_set_guard_time()
314 wifi_error wifi_select_tx_power_scenario(wifi_interface_handle handle, in wifi_select_tx_power_scenario()
317 wifi_error ret; in wifi_select_tx_power_scenario()
[all …]
Dgscan_event_handler.h69 virtual wifi_error create();
77 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(
Dcpp_bindings.cpp546 wifi_error WifiRequest::create(int family, uint8_t cmd, int flags, int hdrlen) { in create()
560 wifi_error WifiRequest::create(uint32_t id, int subcmd) { in create()
561 wifi_error res = create(NL80211_CMD_VENDOR); in create()
585 wifi_error WifiCommand::requestResponse() in requestResponse()
587 wifi_error err = create(); /* create the message */ in requestResponse()
594 wifi_error WifiCommand::requestResponse(WifiRequest& request) in requestResponse()
626 wifi_error WifiCommand::requestEvent(int cmd) in requestEvent()
630 wifi_error res = wifi_register_handler(wifiHandle(), cmd, event_handler, in requestEvent()
654 wifi_error WifiCommand::requestVendorEvent(uint32_t id, int subcmd) { in requestVendorEvent()
656 wifi_error res = wifi_register_vendor_handler(wifiHandle(), id, subcmd, in requestVendorEvent()
[all …]
Droam.cpp32 wifi_error RoamCommand::create() { in create()
33 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create()
51 wifi_error RoamCommand::requestResponse() in requestResponse()
56 wifi_error wifi_set_bssid_blacklist(wifi_request_id id, in wifi_set_bssid_blacklist()
60 wifi_error ret; in wifi_set_bssid_blacklist()
148 wifi_error wifi_set_ssid_white_list(wifi_request_id id, wifi_interface_handle iface, in wifi_set_ssid_white_list()
151 wifi_error ret; in wifi_set_ssid_white_list()
233 wifi_error wifi_get_roaming_capabilities(wifi_interface_handle iface, in wifi_get_roaming_capabilities()
254 wifi_error wifi_configure_roaming(wifi_interface_handle iface, wifi_roaming_config *roaming_config) in wifi_configure_roaming()
256 wifi_error ret; in wifi_configure_roaming()
[all …]
Dllstatscommand.h97 virtual wifi_error create();
103 virtual wifi_error requestResponse();
105 virtual wifi_error notifyResponse();
111 virtual wifi_error get_wifi_iface_stats(wifi_iface_stat *stats,
/hardware/interfaces/wifi/1.3/default/tests/
Dmock_wifi_legacy_hal.h35 MOCK_METHOD0(initialize, wifi_error());
36 MOCK_METHOD0(start, wifi_error());
37 MOCK_METHOD2(stop, wifi_error(std::unique_lock<std::recursive_mutex>*,
39 MOCK_METHOD2(setDfsFlag, wifi_error(const std::string&, bool));
41 wifi_error(const std::string&,
43 MOCK_METHOD1(getFirmwareVersion, std::pair<wifi_error, std::string>(
45 MOCK_METHOD1(getDriverVersion, std::pair<wifi_error, std::string>(
49 wifi_error(const std::string& iface_name,
52 wifi_error(const std::string& iface_name));
54 wifi_error(const std::string&, const NanCallbackHandlers&));
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_logger.cpp402 wifi_error wifi_get_firmware_version(wifi_interface_handle iface, char *buffer, in wifi_get_firmware_version()
408 wifi_error result = (wifi_error)cmd->start(); in wifi_get_firmware_version()
418 wifi_error wifi_get_driver_version(wifi_interface_handle iface, char *buffer, int buffer_size) in wifi_get_driver_version()
423 wifi_error result = (wifi_error)cmd->start(); in wifi_get_driver_version()
433 wifi_error wifi_get_ring_data(wifi_interface_handle iface, char *ring_name) in wifi_get_ring_data()
437 wifi_error result = (wifi_error)cmd->start(); in wifi_get_ring_data()
443 wifi_error wifi_get_ring_buffers_status(wifi_interface_handle iface, in wifi_get_ring_buffers_status()
449 wifi_error result = (wifi_error)cmd->start(); in wifi_get_ring_buffers_status()
459 wifi_error wifi_get_logger_supported_feature_set(wifi_interface_handle iface, in wifi_get_logger_supported_feature_set()
465 wifi_error result = (wifi_error)cmd->start(); in wifi_get_logger_supported_feature_set()
[all …]

123