Home
last modified time | relevance | path

Searched refs:ret_val (Results 1 – 25 of 42) sorted by relevance

12

/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_sysfs_tdls_peers.c41 int ret_val; in __show_tdls_all_peers() local
45 ret_val = scnprintf(buf, PAGE_SIZE, "%s getTdlsPeers:", in __show_tdls_all_peers()
49 ret_val += scnprintf(buf + ret_val, PAGE_SIZE - ret_val, in __show_tdls_all_peers()
56 ret_val += scnprintf(buf + ret_val, PAGE_SIZE - ret_val, in __show_tdls_all_peers()
63 ret_val += scnprintf(buf + ret_val, PAGE_SIZE - ret_val, in __show_tdls_all_peers()
70 ret_val += scnprintf(buf + ret_val, PAGE_SIZE - ret_val, in __show_tdls_all_peers()
74 ret_val += wlan_cfg80211_tdls_get_all_peers(vdev, buf + ret_val, in __show_tdls_all_peers()
75 PAGE_SIZE - ret_val); in __show_tdls_all_peers()
79 if ((PAGE_SIZE - ret_val) > 0) in __show_tdls_all_peers()
80 ret_val += scnprintf(buf + ret_val, PAGE_SIZE - ret_val, "\n"); in __show_tdls_all_peers()
[all …]
Dwlan_hdd_sysfs_connect_info.c43 int ret_val; in wlan_hdd_version_info() local
45 ret_val = scnprintf(buf, buf_avail_len, in wlan_hdd_version_info()
47 if (ret_val <= 0) in wlan_hdd_version_info()
49 length += ret_val; in wlan_hdd_version_info()
56 ret_val = scnprintf(buf + length, buf_avail_len - length, in wlan_hdd_version_info()
68 if (ret_val <= 0) in wlan_hdd_version_info()
71 length += ret_val; in wlan_hdd_version_info()
89 int ret_val; in wlan_hdd_add_nss_info() local
95 ret_val = scnprintf(buf, buf_avail_len, in wlan_hdd_add_nss_info()
98 if (ret_val <= 0) in wlan_hdd_add_nss_info()
[all …]
Dwlan_hdd_sysfs_sta_info.c33 int ret_val; in __show_sta_info() local
37 ret_val = hdd_validate_adapter(adapter); in __show_sta_info()
38 if (0 != ret_val) in __show_sta_info()
45 ret_val = wlan_hdd_validate_context(hdd_ctx); in __show_sta_info()
46 if (0 != ret_val) in __show_sta_info()
49 ret_val = scnprintf(buf, PAGE_SIZE, in __show_sta_info()
60 ret_val += scnprintf(buf + ret_val, PAGE_SIZE - ret_val, in __show_sta_info()
71 return ret_val; in __show_sta_info()
Dwlan_hdd_sysfs_wifi_features.c34 ssize_t ret_val = 0; in __hdd_sysfs_feature_set_show() local
46 ret_val += scnprintf(buf + ret_val, PAGE_SIZE - ret_val, in __hdd_sysfs_feature_set_show()
51 ret_val += scnprintf(buf + ret_val, PAGE_SIZE - ret_val, "%.2X", in __hdd_sysfs_feature_set_show()
55 buf[ret_val] = '\n'; in __hdd_sysfs_feature_set_show()
57 return ret_val; in __hdd_sysfs_feature_set_show()
Dwlan_hdd_debugfs_offload.c139 int ret_val; in wlan_hdd_arp_offload_info_debugfs() local
152 ret_val = scnprintf(buf, buf_avail_len, in wlan_hdd_arp_offload_info_debugfs()
158 ret_val = scnprintf(buf, buf_avail_len, in wlan_hdd_arp_offload_info_debugfs()
161 ret_val = scnprintf(buf, buf_avail_len, in wlan_hdd_arp_offload_info_debugfs()
168 if (ret_val <= 0) in wlan_hdd_arp_offload_info_debugfs()
170 length = ret_val; in wlan_hdd_arp_offload_info_debugfs()
350 int ret_val; in wlan_hdd_apf_info_debugfs() local
358 ret_val = scnprintf(buf, buf_avail_len, in wlan_hdd_apf_info_debugfs()
361 if (ret_val <= 0) in wlan_hdd_apf_info_debugfs()
363 length = ret_val; in wlan_hdd_apf_info_debugfs()
[all …]
Dwlan_hdd_sysfs_channel.c34 int ret_val; in __show_channel_number() local
38 ret_val = hdd_validate_adapter(adapter); in __show_channel_number()
39 if (0 != ret_val) in __show_channel_number()
46 ret_val = wlan_hdd_validate_context(hdd_ctx); in __show_channel_number()
47 if (0 != ret_val) in __show_channel_number()
54 ret_val = scnprintf(buf, PAGE_SIZE, "%s getchannel:%d\n", in __show_channel_number()
60 return ret_val; in __show_channel_number()
Dwlan_hdd_sysfs.c401 int ret_val, j; in __show_beacon_reception_stats() local
412 ret_val = wlan_hdd_validate_context(hdd_ctx); in __show_beacon_reception_stats()
413 if (ret_val) in __show_beacon_reception_stats()
414 return ret_val; in __show_beacon_reception_stats()
450 ret_val = -EINVAL; in __show_beacon_reception_stats()
454 ret_val = osif_request_wait_for_response(request); in __show_beacon_reception_stats()
455 if (ret_val) { in __show_beacon_reception_stats()
457 ret_val = -ETIMEDOUT; in __show_beacon_reception_stats()
463 ret_val += scnprintf(buf, PAGE_SIZE, in __show_beacon_reception_stats()
472 ret_val += scnprintf(buf + ret_val, PAGE_SIZE - ret_val, in __show_beacon_reception_stats()
[all …]
Dwlan_hdd_station_info.c252 uint32_t ret_val; in hdd_convert_auth_type() local
256 ret_val = QCA_WLAN_AUTH_TYPE_OPEN; in hdd_convert_auth_type()
259 ret_val = QCA_WLAN_AUTH_TYPE_SHARED; in hdd_convert_auth_type()
262 ret_val = QCA_WLAN_AUTH_TYPE_WPA; in hdd_convert_auth_type()
265 ret_val = QCA_WLAN_AUTH_TYPE_WPA_PSK; in hdd_convert_auth_type()
268 ret_val = QCA_WLAN_AUTH_TYPE_AUTOSWITCH; in hdd_convert_auth_type()
271 ret_val = QCA_WLAN_AUTH_TYPE_WPA_NONE; in hdd_convert_auth_type()
274 ret_val = QCA_WLAN_AUTH_TYPE_RSN; in hdd_convert_auth_type()
277 ret_val = QCA_WLAN_AUTH_TYPE_RSN_PSK; in hdd_convert_auth_type()
280 ret_val = QCA_WLAN_AUTH_TYPE_FT; in hdd_convert_auth_type()
[all …]
Dwlan_hdd_apf.c617 int ret_val = 0, apf_subcmd; in __wlan_hdd_cfg80211_apf_offload() local
629 ret_val = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_apf_offload()
630 if (ret_val) in __wlan_hdd_cfg80211_apf_offload()
631 return ret_val; in __wlan_hdd_cfg80211_apf_offload()
674 ret_val = hdd_set_reset_apf_offload(hdd_ctx, tb, in __wlan_hdd_cfg80211_apf_offload()
678 ret_val = hdd_get_apf_capabilities(hdd_ctx); in __wlan_hdd_cfg80211_apf_offload()
683 ret_val = hdd_apf_write_memory(adapter, tb); in __wlan_hdd_cfg80211_apf_offload()
686 ret_val = hdd_apf_read_memory(adapter, tb); in __wlan_hdd_cfg80211_apf_offload()
689 ret_val = hdd_enable_disable_apf(adapter, true); in __wlan_hdd_cfg80211_apf_offload()
692 ret_val = hdd_enable_disable_apf(adapter, false); in __wlan_hdd_cfg80211_apf_offload()
[all …]
Dwlan_hdd_nan_datapath.c527 int ret_val; in __wlan_hdd_cfg80211_process_ndp_cmd() local
530 ret_val = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_process_ndp_cmd()
531 if (ret_val) in __wlan_hdd_cfg80211_process_ndp_cmd()
532 return ret_val; in __wlan_hdd_cfg80211_process_ndp_cmd()
598 int32_t ret_val; in hdd_init_nan_data_mode() local
617 ret_val = hdd_vdev_create(adapter->deflink); in hdd_init_nan_data_mode()
618 if (ret_val) { in hdd_init_nan_data_mode()
619 hdd_err("failed to create vdev: %d", ret_val); in hdd_init_nan_data_mode()
620 return ret_val; in hdd_init_nan_data_mode()
639 ret_val = -EAGAIN; in hdd_init_nan_data_mode()
[all …]
Dwlan_hdd_nan.c75 int ret_val; in __wlan_hdd_cfg80211_nan_ext_request() local
82 ret_val = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_nan_ext_request()
83 if (ret_val) in __wlan_hdd_cfg80211_nan_ext_request()
84 return ret_val; in __wlan_hdd_cfg80211_nan_ext_request()
Dwlan_hdd_sysfs_dump_in_progress.c99 ssize_t ret_val; in __hdd_sysfs_dump_in_progress_show() local
102 ret_val = scnprintf(buf, PAGE_SIZE, "%d\n", hdd_ctx->dump_in_progress); in __hdd_sysfs_dump_in_progress_show()
104 return ret_val; in __hdd_sysfs_dump_in_progress_show()
Dwlan_hdd_debugfs_csr.c41 int ret_val; in wlan_hdd_current_time_info_debugfs() local
45 ret_val = scnprintf(buf, buf_avail_len, in wlan_hdd_current_time_info_debugfs()
48 if (ret_val < 0) in wlan_hdd_current_time_info_debugfs()
50 length = ret_val; in wlan_hdd_current_time_info_debugfs()
Dwlan_hdd_cfg80211.c1562 u32 ret_val; in hdd_convert_hang_reason() local
1566 ret_val = QCA_WLAN_HANG_RX_HASH_NO_ENTRY_FOUND; in hdd_convert_hang_reason()
1569 ret_val = QCA_WLAN_HANG_PEER_DELETION_TIMEDOUT; in hdd_convert_hang_reason()
1572 ret_val = QCA_WLAN_HANG_PEER_UNMAP_TIMEDOUT; in hdd_convert_hang_reason()
1575 ret_val = QCA_WLAN_HANG_SCAN_REQ_EXPIRED; in hdd_convert_hang_reason()
1578 ret_val = QCA_WLAN_HANG_SCAN_ATTEMPT_FAILURES; in hdd_convert_hang_reason()
1581 ret_val = QCA_WLAN_HANG_GET_MSG_BUFF_FAILURE; in hdd_convert_hang_reason()
1584 ret_val = QCA_WLAN_HANG_ACTIVE_LIST_TIMEOUT; in hdd_convert_hang_reason()
1587 ret_val = QCA_WLAN_HANG_SUSPEND_TIMEOUT; in hdd_convert_hang_reason()
1590 ret_val = QCA_WLAN_HANG_RESUME_TIMEOUT; in hdd_convert_hang_reason()
[all …]
Dwlan_hdd_debugfs_roam.c548 int ret_val; in wlan_hdd_debugfs_update_roam_stats() local
559 ret_val = scnprintf(buf + len, buf_avail_len - len, in wlan_hdd_debugfs_update_roam_stats()
561 if (ret_val <= 0) in wlan_hdd_debugfs_update_roam_stats()
564 len += ret_val; in wlan_hdd_debugfs_update_roam_stats()
/wlan-driver/qca-wifi-host-cmn/target_if/cp_stats/src/
Dtarget_if_cp_stats.c420 QDF_STATUS ret_val; in target_if_cp_stats_register_twt_session_event() local
422 ret_val = wmi_unified_register_event_handler(wmi_handle, in target_if_cp_stats_register_twt_session_event()
427 return ret_val; in target_if_cp_stats_register_twt_session_event()
454 QDF_STATUS ret_val; in target_if_cp_stats_infra_register_event_handler() local
466 ret_val = wmi_unified_register_event_handler(wmi_handle, in target_if_cp_stats_infra_register_event_handler()
470 if (QDF_IS_STATUS_ERROR(ret_val)) { in target_if_cp_stats_infra_register_event_handler()
472 return ret_val; in target_if_cp_stats_infra_register_event_handler()
490 QDF_STATUS ret_val; in target_if_cp_stats_register_event_handler() local
503 ret_val = target_if_cp_stats_infra_register_event_handler(psoc, in target_if_cp_stats_register_event_handler()
505 if (QDF_IS_STATUS_ERROR(ret_val)) { in target_if_cp_stats_register_event_handler()
[all …]
/wlan-driver/qca-wifi-host-cmn/target_if/regulatory/src/
Dtarget_if_reg.c258 int ret_val = 0; in tgt_reg_chan_list_update_handler() local
293 ret_val = -EFAULT; in tgt_reg_chan_list_update_handler()
300 ret_val = -EFAULT; in tgt_reg_chan_list_update_handler()
309 ret_val = -EFAULT; in tgt_reg_chan_list_update_handler()
319 return ret_val; in tgt_reg_chan_list_update_handler()
397 int ret_val = 0; in tgt_reg_chan_list_ext_update_handler() local
434 ret_val = -EFAULT; in tgt_reg_chan_list_ext_update_handler()
441 ret_val = -EFAULT; in tgt_reg_chan_list_ext_update_handler()
450 ret_val = -EFAULT; in tgt_reg_chan_list_ext_update_handler()
470 return ret_val; in tgt_reg_chan_list_ext_update_handler()
[all …]
/wlan-driver/qca-wifi-host-cmn/utils/pktlog/
Dlinux_ac.c742 size_t count = 0, ret_val = 0; in pktlog_read_proc_entry() local
775 ret_val += count; in pktlog_read_proc_entry()
811 ppos_data = *ppos + ret_val - bufhdr_size + start_offset; in pktlog_read_proc_entry()
818 qdf_mem_copy(buf + ret_val, in pktlog_read_proc_entry()
821 ret_val += count; in pktlog_read_proc_entry()
826 qdf_mem_copy(buf + ret_val, in pktlog_read_proc_entry()
829 ret_val += count; in pktlog_read_proc_entry()
837 *ppos + ret_val - (bufhdr_size + in pktlog_read_proc_entry()
842 qdf_mem_copy(buf + ret_val, in pktlog_read_proc_entry()
845 ret_val += count; in pktlog_read_proc_entry()
[all …]
/wlan-driver/qcacld-3.0/components/target_if/interop_issues_ap/src/
Dtarget_if_interop_issues_ap.c89 QDF_STATUS ret_val; in target_if_interop_issues_ap_register_event_handler() local
102 ret_val = in target_if_interop_issues_ap_register_event_handler()
107 if (QDF_IS_STATUS_ERROR(ret_val)) in target_if_interop_issues_ap_register_event_handler()
110 return ret_val; in target_if_interop_issues_ap_register_event_handler()
/wlan-driver/qca-wifi-host-cmn/target_if/init_deinit/src/
Dinit_cmd_api.c433 QDF_STATUS ret_val; in init_deinit_derive_afc_dev_type_param() local
437 ret_val = target_if_reg_get_afc_dev_type(psoc, in init_deinit_derive_afc_dev_type_param()
440 if (QDF_IS_STATUS_ERROR(ret_val)) { in init_deinit_derive_afc_dev_type_param()
510 QDF_STATUS ret_val; in init_deinit_prepare_send_init_cmd() local
537 ret_val = tgt_if_regulatory_modify_freq_range(psoc); in init_deinit_prepare_send_init_cmd()
538 if (QDF_IS_STATUS_ERROR(ret_val)) { in init_deinit_prepare_send_init_cmd()
544 ret_val = target_if_alloc_pdevs(psoc, tgt_hdl); in init_deinit_prepare_send_init_cmd()
545 if (ret_val != QDF_STATUS_SUCCESS) in init_deinit_prepare_send_init_cmd()
548 ret_val = target_if_update_pdev_tgt_info(psoc, tgt_hdl); in init_deinit_prepare_send_init_cmd()
549 if (ret_val != QDF_STATUS_SUCCESS) in init_deinit_prepare_send_init_cmd()
/wlan-driver/qca-wifi-host-cmn/target_if/dcs/src/
Dtarget_if_dcs.c100 QDF_STATUS ret_val; in target_if_dcs_register_event_handler() local
114 ret_val = wmi_unified_register_event_handler( in target_if_dcs_register_event_handler()
119 if (QDF_IS_STATUS_ERROR(ret_val)) in target_if_dcs_register_event_handler()
122 return ret_val; in target_if_dcs_register_event_handler()
/wlan-driver/qcacld-3.0/components/target_if/coap/src/
Dtarget_if_coap.c108 QDF_STATUS ret_val; in target_if_coap_register_event_handler() local
122 ret_val = wmi_unified_register_event_handler(wmi_handle, in target_if_coap_register_event_handler()
126 if (QDF_IS_STATUS_ERROR(ret_val)) in target_if_coap_register_event_handler()
129 return ret_val; in target_if_coap_register_event_handler()
/wlan-driver/qcacld-3.0/components/target_if/cp_stats/src/
Dtarget_if_mc_cp_stats.c289 QDF_STATUS ret_val; in target_if_twt_session_params_register_evt_hdlr() local
303 ret_val = wmi_unified_register_event_handler( in target_if_twt_session_params_register_evt_hdlr()
309 if (QDF_IS_STATUS_ERROR(ret_val)) in target_if_twt_session_params_register_evt_hdlr()
312 return ret_val; in target_if_twt_session_params_register_evt_hdlr()
1542 QDF_STATUS ret_val; in target_if_mc_cp_stats_register_event_handler() local
1556 ret_val = wmi_unified_register_event_handler( in target_if_mc_cp_stats_register_event_handler()
1561 if (QDF_IS_STATUS_ERROR(ret_val)) in target_if_mc_cp_stats_register_event_handler()
1564 ret_val = wmi_unified_register_event_handler(wmi_handle, in target_if_mc_cp_stats_register_event_handler()
1568 if (QDF_IS_STATUS_ERROR(ret_val)) in target_if_mc_cp_stats_register_event_handler()
1571 ret_val = target_if_register_big_data_event_handler(wmi_handle); in target_if_mc_cp_stats_register_event_handler()
[all …]
/wlan-driver/qca-wifi-host-cmn/target_if/core/inc/
Dtarget_if.h2232 QDF_STATUS ret_val; in target_if_alloc_pdevs() local
2236 ret_val = tgt_hdl->tif_ops->alloc_pdevs(psoc, tgt_hdl); in target_if_alloc_pdevs()
2238 ret_val = QDF_STATUS_SUCCESS; in target_if_alloc_pdevs()
2240 return ret_val; in target_if_alloc_pdevs()
2256 QDF_STATUS ret_val; in target_if_update_pdev_tgt_info() local
2260 ret_val = tgt_hdl->tif_ops->update_pdev_tgt_info(psoc, in target_if_update_pdev_tgt_info()
2263 ret_val = QDF_STATUS_SUCCESS; in target_if_update_pdev_tgt_info()
2265 return ret_val; in target_if_update_pdev_tgt_info()
2365 QDF_STATUS ret_val; in target_if_sw_version_check() local
2369 ret_val = tgt_hdl->tif_ops->sw_version_check(psoc, tgt_hdl, in target_if_sw_version_check()
[all …]
/wlan-driver/qcacld-3.0/components/target_if/dp/src/
Dtarget_if_dp_comp.c124 QDF_STATUS ret_val; in target_if_dp_arp_stats_register_event_handler() local
137 ret_val = wmi_unified_register_event_handler(wmi_handle, in target_if_dp_arp_stats_register_event_handler()
141 if (QDF_IS_STATUS_ERROR(ret_val)) in target_if_dp_arp_stats_register_event_handler()

12