Home
last modified time | relevance | path

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

12345

/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/
Dwifi_hal.h241 } wifi_error; typedef
440 wifi_error wifi_initialize(wifi_handle *handle);
450 wifi_error wifi_wait_for_driver_ready(void);
457 void wifi_get_error_info(wifi_error err, const char **msg); // return a pointer to a static string
504 wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, feature_set *set);
510 wifi_error wifi_get_concurrency_matrix(wifi_interface_handle handle, int set_size_max,
515 wifi_error wifi_get_ifaces(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces);
516 wifi_error wifi_get_iface_name(wifi_interface_handle iface, char *name, size_t size);
531 wifi_error wifi_multi_sta_set_primary_connection(wifi_handle handle, wifi_interface_handle iface);
581 wifi_error wifi_multi_sta_set_use_case(wifi_handle handle, wifi_multi_sta_use_case use_case);
[all …]
Drtt.h223 wifi_error wifi_rtt_range_request(wifi_request_id id, wifi_interface_handle iface,
239 wifi_error wifi_rtt_range_request_v3(wifi_request_id id,
246 wifi_error wifi_rtt_range_cancel(wifi_request_id id, wifi_interface_handle iface,
261 wifi_error wifi_rtt_channel_map_set(wifi_request_id id,
267 wifi_error wifi_rtt_channel_map_clear(wifi_request_id id, wifi_interface_handle iface);
303 wifi_error wifi_get_rtt_capabilities(wifi_interface_handle iface,
317 wifi_error wifi_get_rtt_capabilities_v3(wifi_interface_handle iface,
344 wifi_error wifi_rtt_debug_cfg(wifi_interface_handle h, unsigned rtt_dbg_type, char *cfgbuf, unsigne…
346 wifi_error wifi_rtt_debug_get(wifi_interface_handle h, rtt_debug_t **debugbuf);
348 wifi_error wifi_rtt_debug_free(wifi_interface_handle h, rtt_debug_t *debugbuf);
[all …]
Dwifi_logger.h305 wifi_error wifi_set_log_handler(wifi_request_id id, wifi_interface_handle iface,
309 wifi_error wifi_reset_log_handler(wifi_request_id id, wifi_interface_handle iface);
326 wifi_error wifi_set_alert_handler(wifi_request_id id, wifi_interface_handle iface,
330 wifi_error wifi_reset_alert_handler(wifi_request_id id, wifi_interface_handle iface);
333 wifi_error wifi_get_ring_data(wifi_interface_handle iface, char *ring_name);
356 wifi_error wifi_start_logging(wifi_interface_handle iface, u32 verbose_level, u32 flags,
364 wifi_error wifi_get_ring_buffers_status(wifi_interface_handle iface, u32 *num_rings,
382 wifi_error wifi_get_firmware_memory_dump(wifi_interface_handle iface,
390 wifi_error wifi_get_firmware_version(wifi_interface_handle iface, char *buffer, int buffer_size);
397 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.h17 wifi_error wifi_extended_dtim_config_set(wifi_request_id id,
21 wifi_error wifi_set_country_code(wifi_interface_handle iface, const char* country_code);
30 wifi_error wifi_set_beacon_wifi_iface_stats_averaging_factor(wifi_request_id id, wifi_interface_han…
36 wifi_error wifi_set_guard_time(wifi_request_id id, wifi_interface_handle iface,
/hardware/broadcom/wlan/bcmdhd/halutil/
Dwifi_hal_stub.cpp24 wifi_error wifi_initialize_stub(wifi_handle *handle) { in wifi_initialize_stub()
35 void wifi_get_error_info_stub(wifi_error err, const char **msg) { in wifi_get_error_info_stub()
39 wifi_error wifi_get_supported_feature_set_stub(wifi_interface_handle handle, feature_set *set) { in wifi_get_supported_feature_set_stub()
43 wifi_error wifi_get_concurrency_matrix_stub(wifi_interface_handle handle, int max_size, in wifi_get_concurrency_matrix_stub()
48 wifi_error wifi_set_scanning_mac_oui_stub(wifi_interface_handle handle, unsigned char *oui_data) { in wifi_set_scanning_mac_oui_stub()
53 wifi_error wifi_get_supported_channels_stub(wifi_handle handle, int *size, wifi_channel *list) { in wifi_get_supported_channels_stub()
58 wifi_error wifi_is_epr_supported_stub(wifi_handle handle) { in wifi_is_epr_supported_stub()
63 wifi_error wifi_get_ifaces_stub(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces… in wifi_get_ifaces_stub()
67 wifi_error wifi_get_iface_name_stub(wifi_interface_handle iface, char *name, size_t size) { in wifi_get_iface_name_stub()
71 wifi_error wifi_set_iface_event_handler_stub(wifi_request_id id, in wifi_set_iface_event_handler_stub()
[all …]
/hardware/interfaces/wifi/aidl/default/tests/
Dmock_wifi_legacy_hal.h34 MOCK_METHOD0(initialize, wifi_error());
35 MOCK_METHOD0(start, wifi_error());
37 wifi_error(std::unique_lock<std::recursive_mutex>*, const std::function<void()>&));
38 MOCK_METHOD2(setDfsFlag, wifi_error(const std::string&, bool));
40 wifi_error(const std::string&, const on_radio_mode_change_callback&));
42 std::pair<wifi_error, std::string>(const std::string& iface_name));
44 std::pair<wifi_error, std::string>(const std::string& iface_name));
47 wifi_error(const std::string& iface_name, wifi_power_scenario scenario));
48 MOCK_METHOD1(resetTxPowerScenario, wifi_error(const std::string& iface_name));
50 wifi_error(const std::string&, const NanCallbackHandlers&));
[all …]
/hardware/interfaces/wifi/aidl/default/
Dwifi_legacy_hal.h283 using ::wifi_error;
589 virtual wifi_error initialize();
591 virtual wifi_error start();
594 virtual wifi_error stop(std::unique_lock<std::recursive_mutex>* lock,
596 virtual wifi_error waitForDriverReady();
600 virtual std::pair<wifi_error, std::string> getDriverVersion(const std::string& iface_name);
601 virtual std::pair<wifi_error, std::string> getFirmwareVersion(const std::string& iface_name);
602 std::pair<wifi_error, std::vector<uint8_t>> requestDriverMemoryDump(
604 std::pair<wifi_error, std::vector<uint8_t>> requestFirmwareMemoryDump(
606 virtual std::pair<wifi_error, uint64_t> getSupportedFeatureSet(const std::string& iface_name);
[all …]
Dwifi_legacy_hal.cpp541 wifi_error WifiLegacyHal::initialize() { in initialize()
548 wifi_error WifiLegacyHal::start() { in start()
557 wifi_error status = global_func_table_.wifi_wait_for_driver_ready(); in start()
589 wifi_error WifiLegacyHal::stop( in stop()
626 wifi_error WifiLegacyHal::waitForDriverReady() { in waitForDriverReady()
630 std::pair<wifi_error, std::string> WifiLegacyHal::getDriverVersion(const std::string& iface_name) { in getDriverVersion()
633 wifi_error status = global_func_table_.wifi_get_driver_version(getIfaceHandle(iface_name), in getDriverVersion()
638 std::pair<wifi_error, std::string> WifiLegacyHal::getFirmwareVersion( in getFirmwareVersion()
642 wifi_error status = global_func_table_.wifi_get_firmware_version(getIfaceHandle(iface_name), in getFirmwareVersion()
647 std::pair<wifi_error, std::vector<uint8_t>> WifiLegacyHal::requestDriverMemoryDump( in requestDriverMemoryDump()
[all …]
/hardware/qcom/wlan/wcn6740/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.h192 wifi_error create(int family, uint8_t cmd, int flags, int hdrlen);
193 wifi_error create(uint8_t cmd, int flags, int hdrlen) { in create()
196 wifi_error create(uint8_t cmd) { in create()
200 wifi_error create(uint32_t id, int subcmd);
202 wifi_error wifi_nla_put(struct nl_msg *msg, int attr, in wifi_nla_put()
213 wifi_error put_u8(int attribute, uint8_t value) { in put_u8()
216 wifi_error put_u16(int attribute, uint16_t value) { in put_u16()
219 wifi_error put_u32(int attribute, uint32_t value) { in put_u32()
223 wifi_error put_u64(int attribute, uint64_t value) { in put_u64()
227 wifi_error put_s8(int attribute, s8 value) { in put_s8()
[all …]
Dnancommand.h191 virtual wifi_error create();
192 virtual wifi_error requestEvent();
195 wifi_error setCallbackHandler(NanCallbackHandler nHandler);
199 wifi_error putNanEnable(transaction_id id, const NanEnableRequest *pReq);
200 wifi_error putNanDisable(transaction_id id);
201 wifi_error putNanPublish(transaction_id id, const NanPublishRequest *pReq);
202 wifi_error putNanPublishCancel(transaction_id id, const NanPublishCancelRequest *pReq);
203 wifi_error putNanSubscribe(transaction_id id, const NanSubscribeRequest *pReq);
204 wifi_error putNanSubscribeCancel(transaction_id id, const NanSubscribeCancelRequest *pReq);
205 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()
143 ret = (wifi_error)lowiWifiHalApi->rtt_range_request(id, iface, in wifi_rtt_range_request()
154 wifi_error wifi_rtt_range_cancel(wifi_request_id id, in wifi_rtt_range_cancel()
159 wifi_error ret; in wifi_rtt_range_cancel()
193 ret = (wifi_error)lowiWifiHalApi->rtt_range_cancel(id, num_devices, addr); in wifi_rtt_range_cancel()
202 wifi_error wifi_set_lci(wifi_request_id id, wifi_interface_handle iface, in wifi_set_lci()
[all …]
Dcommon.h230 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg);
231 wifi_error wifi_register_vendor_handler(wifi_handle handle,
243 wifi_error initializeGscanHandlers(hal_info *info);
244 wifi_error cleanupGscanHandlers(hal_info *info);
245 wifi_error initializeRSSIMonitorHandler(hal_info *info);
246 wifi_error cleanupRSSIMonitorHandler(hal_info *info);
247 wifi_error initializeRadioHandler(hal_info *info);
248 wifi_error cleanupRadioHandler(hal_info *info);
252 wifi_error wifi_start_sending_offloaded_packet(wifi_request_id id,
255 wifi_error wifi_stop_sending_offloaded_packet(wifi_request_id id,
[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);
/hardware/qcom/wlan/legacy/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.h181 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg);
182 wifi_error wifi_register_vendor_handler(wifi_handle handle,
194 wifi_error initializeGscanHandlers(hal_info *info);
195 wifi_error cleanupGscanHandlers(hal_info *info);
196 wifi_error initializeRSSIMonitorHandler(hal_info *info);
197 wifi_error cleanupRSSIMonitorHandler(hal_info *info);
201 wifi_error wifi_start_sending_offloaded_packet(wifi_request_id id,
204 wifi_error wifi_stop_sending_offloaded_packet(wifi_request_id id,
206 wifi_error wifi_start_rssi_monitoring(wifi_request_id id, wifi_interface_handle
208 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);
/hardware/synaptics/wlan/synadhd/wifi_hal/
Dcommon.h426 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg);
427 wifi_error wifi_register_vendor_handler(wifi_handle handle,
434 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd);
445 wifi_error wifi_cancel_cmd(wifi_request_id id, wifi_interface_handle iface);
446 wifi_error wifi_get_cancel_cmd(wifi_request_id id, wifi_interface_handle iface);
447 wifi_error nan_deinit_handler();
448 wifi_error wifi_start_hal(wifi_interface_handle iface);
449 wifi_error wifi_stop_hal(wifi_interface_handle iface);
453 wifi_error wifi_start_ring_dump(wifi_interface_handle iface,
455 wifi_error wifi_stop_ring_dump(wifi_interface_handle iface);
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcommon.h485 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg);
486 wifi_error wifi_register_vendor_handler(wifi_handle handle,
493 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd);
504 wifi_error wifi_cancel_cmd(wifi_request_id id, wifi_interface_handle iface);
505 wifi_error wifi_get_cancel_cmd(wifi_request_id id, wifi_interface_handle iface);
506 wifi_error nan_deinit_handler();
507 wifi_error wifi_start_hal(wifi_interface_handle iface);
508 wifi_error wifi_stop_hal(wifi_interface_handle iface);
512 wifi_error wifi_start_ring_dump(wifi_interface_handle iface,
514 wifi_error wifi_stop_ring_dump(wifi_interface_handle iface);
[all …]

12345