Home
last modified time | relevance | path

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

123

/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h111 } wifi_error; typedef
143 wifi_error wifi_initialize(wifi_handle *handle);
153 wifi_error wifi_wait_for_driver_ready(void);
160 void wifi_get_error_info(wifi_error err, const char **msg); // return a pointer to a static string
203 wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, feature_set *set);
209 wifi_error wifi_get_concurrency_matrix(wifi_interface_handle handle, int set_size_max,
214 wifi_error wifi_get_ifaces(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces);
215 wifi_error wifi_get_iface_name(wifi_interface_handle iface, char *name, size_t size);
249 wifi_error wifi_set_iface_event_handler(wifi_request_id id, wifi_interface_handle iface, wifi_event…
250 wifi_error wifi_reset_iface_event_handler(wifi_request_id id, wifi_interface_handle iface);
[all …]
Drtt.h157 wifi_error wifi_rtt_range_request(wifi_request_id id, wifi_interface_handle iface,
161 wifi_error wifi_rtt_range_cancel(wifi_request_id id, wifi_interface_handle iface,
176 wifi_error wifi_rtt_channel_map_set(wifi_request_id id,
182 wifi_error wifi_rtt_channel_map_clear(wifi_request_id id, wifi_interface_handle iface);
212 wifi_error wifi_get_rtt_capabilities(wifi_interface_handle iface, wifi_rtt_capabilities *capabiliti…
238 wifi_error wifi_rtt_debug_cfg(wifi_interface_handle h, unsigned rtt_dbg_type, char *cfgbuf, unsigne…
240 wifi_error wifi_rtt_debug_get(wifi_interface_handle h, rtt_debug_t **debugbuf);
242 wifi_error wifi_rtt_debug_free(wifi_interface_handle h, rtt_debug_t *debugbuf);
273 wifi_error wifi_set_lci(wifi_request_id id, wifi_interface_handle iface,
277 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.4/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.cpp344 wifi_error WifiLegacyHal::initialize() { in initialize()
353 wifi_error status = init_wifi_vendor_hal_func_table(&global_func_table_); in initialize()
360 wifi_error WifiLegacyHal::start() { in start()
369 wifi_error status = global_func_table_.wifi_wait_for_driver_ready(); in start()
397 wifi_error WifiLegacyHal::stop( in stop()
432 std::pair<wifi_error, std::string> WifiLegacyHal::getDriverVersion( in getDriverVersion()
436 wifi_error status = global_func_table_.wifi_get_driver_version( in getDriverVersion()
441 std::pair<wifi_error, std::string> WifiLegacyHal::getFirmwareVersion( in getFirmwareVersion()
445 wifi_error status = global_func_table_.wifi_get_firmware_version( in getFirmwareVersion()
450 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/interfaces/wifi/1.4/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/qcom/wlan/qcwcn/wifi_hal/
Dwifihal_internal.h95 wifi_error (*get_valid_channels)(wifi_interface_handle iface,
101 wifi_error (*get_gscan_capabilities)(wifi_interface_handle handle,
104 wifi_error (*start_gscan)(wifi_request_id request_id,
109 wifi_error (*stop_gscan)(wifi_request_id request_id,
112 wifi_error (*get_cached_gscan_results)(wifi_interface_handle iface,
118 wifi_error (*set_bssid_hotlist)(wifi_request_id request_id,
123 wifi_error (*reset_bssid_hotlist)(wifi_request_id request_id,
126 wifi_error (*set_significant_change_handler)(wifi_request_id id,
131 wifi_error (*reset_significant_change_handler)(wifi_request_id id,
134 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.h180 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg);
181 wifi_error wifi_register_vendor_handler(wifi_handle handle,
193 wifi_error initializeGscanHandlers(hal_info *info);
194 wifi_error cleanupGscanHandlers(hal_info *info);
195 wifi_error initializeRSSIMonitorHandler(hal_info *info);
196 wifi_error cleanupRSSIMonitorHandler(hal_info *info);
200 wifi_error wifi_start_sending_offloaded_packet(wifi_request_id id,
203 wifi_error wifi_stop_sending_offloaded_packet(wifi_request_id id,
205 wifi_error wifi_start_rssi_monitoring(wifi_request_id id, wifi_interface_handle
207 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.cpp42 wifi_error wifi_extended_dtim_config_set(wifi_request_id id, in wifi_extended_dtim_config_set()
46 wifi_error ret; in wifi_extended_dtim_config_set()
120 wifi_error wifi_set_country_code(wifi_interface_handle iface, in wifi_set_country_code()
124 wifi_error ret; in wifi_set_country_code()
185 wifi_error wifi_set_beacon_wifi_iface_stats_averaging_factor( in wifi_set_beacon_wifi_iface_stats_averaging_factor()
190 wifi_error ret; in wifi_set_beacon_wifi_iface_stats_averaging_factor()
253 wifi_error wifi_set_guard_time(wifi_request_id id, in wifi_set_guard_time()
257 wifi_error ret; in wifi_set_guard_time()
317 wifi_error wifi_select_tx_power_scenario(wifi_interface_handle handle, in wifi_select_tx_power_scenario()
320 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 …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_logger.cpp486 wifi_error wifi_get_firmware_version(wifi_interface_handle iface, char *buffer, in wifi_get_firmware_version()
492 wifi_error result = (wifi_error)cmd->start(); in wifi_get_firmware_version()
502 wifi_error wifi_get_driver_version(wifi_interface_handle iface, char *buffer, int buffer_size) in wifi_get_driver_version()
507 wifi_error result = (wifi_error)cmd->start(); in wifi_get_driver_version()
517 wifi_error wifi_get_ring_data(wifi_interface_handle iface, char *ring_name) in wifi_get_ring_data()
521 wifi_error result = (wifi_error)cmd->start(); in wifi_get_ring_data()
527 wifi_error wifi_get_ring_buffers_status(wifi_interface_handle iface, in wifi_get_ring_buffers_status()
533 wifi_error result = (wifi_error)cmd->start(); in wifi_get_ring_buffers_status()
543 wifi_error wifi_get_logger_supported_feature_set(wifi_interface_handle iface, in wifi_get_logger_supported_feature_set()
549 wifi_error result = (wifi_error)cmd->start(); in wifi_get_logger_supported_feature_set()
[all …]
Dcommon.h305 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg);
306 wifi_error wifi_register_vendor_handler(wifi_handle handle,
312 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd);
323 wifi_error wifi_cancel_cmd(wifi_request_id id, wifi_interface_handle iface);
324 wifi_error nan_deinit_handler();
325 wifi_error wifi_start_hal(wifi_interface_handle iface);
326 wifi_error wifi_stop_hal(wifi_interface_handle iface);
329 wifi_error wifi_hal_preInit(wifi_interface_handle iface);
331 wifi_error wifi_get_wake_reason_stats(wifi_interface_handle handle,

123