Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 25 of 49) sorted by relevance

12

/wlan-driver/qcacld-3.0/components/target_if/ocb/src/
Dtarget_if_ocb.c235 int rc; in target_if_ocb_set_config_resp() local
269 rc = -EINVAL; in target_if_ocb_set_config_resp()
275 rc = -EINVAL; in target_if_ocb_set_config_resp()
278 rc = 0; in target_if_ocb_set_config_resp()
281 rc = -EINVAL; in target_if_ocb_set_config_resp()
286 return rc; in target_if_ocb_set_config_resp()
301 int rc; in target_if_ocb_get_tsf_timer_resp() local
336 rc = -EINVAL; in target_if_ocb_get_tsf_timer_resp()
342 rc = -EINVAL; in target_if_ocb_get_tsf_timer_resp()
345 rc = 0; in target_if_ocb_get_tsf_timer_resp()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_napi.c100 int rc = 0; in hdd_napi_create() local
109 rc = -EFAULT; in hdd_napi_create()
116 rc = -EFAULT; in hdd_napi_create()
124 rc = hif_napi_create(hif_ctx, hdd_napi_poll, in hdd_napi_create()
128 if (rc < 0) { in hdd_napi_create()
130 rc); in hdd_napi_create()
134 hdd_debug("napi instances were created. Map=0x%x", rc); in hdd_napi_create()
138 rc = -EFAULT; in hdd_napi_create()
142 rc = hdd_napi_event(NAPI_EVT_INI_FILE, in hdd_napi_create()
148 NAPI_DEBUG("<-- [rc=%d]", rc); in hdd_napi_create()
[all …]
Dwlan_hdd_ocb.c369 int rc; in hdd_ocb_set_config_req() local
394 rc = -EINVAL; in hdd_ocb_set_config_req()
409 rc = qdf_status_to_os_return(status); in hdd_ocb_set_config_req()
414 rc = osif_request_wait_for_response(request); in hdd_ocb_set_config_req()
415 if (rc) { in hdd_ocb_set_config_req()
421 rc = priv->status; in hdd_ocb_set_config_req()
422 if (rc) { in hdd_ocb_set_config_req()
423 hdd_err("Operation failed: %d", rc); in hdd_ocb_set_config_req()
439 return rc; in hdd_ocb_set_config_req()
457 int rc; in __iw_set_dot11p_channel_sched() local
[all …]
Dwlan_hdd_debugfs_coex.c127 int rc; in __hdd_debugfs_mws_coex_state_read() local
165 rc = qdf_status_to_os_return(status); in __hdd_debugfs_mws_coex_state_read()
169 rc = osif_request_wait_for_response(request); in __hdd_debugfs_mws_coex_state_read()
170 if (rc) { in __hdd_debugfs_mws_coex_state_read()
172 rc = -ETIMEDOUT; in __hdd_debugfs_mws_coex_state_read()
198 return qdf_status_from_os_return(rc); in __hdd_debugfs_mws_coex_state_read()
224 int rc; in __hdd_debugfs_mws_coex_dpwb_read() local
262 rc = qdf_status_to_os_return(status); in __hdd_debugfs_mws_coex_dpwb_read()
266 rc = osif_request_wait_for_response(request); in __hdd_debugfs_mws_coex_dpwb_read()
267 if (rc) { in __hdd_debugfs_mws_coex_dpwb_read()
[all …]
Dwlan_hdd_mcc_quota.c107 int att_id, rc; in wlan_hdd_set_mcc_fixed_quota() local
149 rc = wlan_cfg80211_nla_parse_nested(quota_entries, in wlan_hdd_set_mcc_fixed_quota()
153 if (rc) { in wlan_hdd_set_mcc_fixed_quota()
154 hdd_err("Entry parse error %d", rc); in wlan_hdd_set_mcc_fixed_quota()
239 int rc; in wlan_hdd_set_mcc_low_latency_quota() local
259 rc = wma_cli_set_command(adapter->deflink->vdev_id, in wlan_hdd_set_mcc_low_latency_quota()
262 if (rc) in wlan_hdd_set_mcc_low_latency_quota()
263 hdd_err("Failed to set conc low latency mode, %d", rc); in wlan_hdd_set_mcc_low_latency_quota()
277 int rc; in wlan_hdd_cfg80211_set_mcc_quota() local
302 rc = wlan_hdd_set_mcc_fixed_quota(hdd_ctx, quota_type, tb); in wlan_hdd_cfg80211_set_mcc_quota()
[all …]
Dwlan_hdd_ext_scan.c1540 unsigned long rc; in __wlan_hdd_cfg80211_extscan_get_capabilities() local
1599 rc = wait_for_completion_timeout(&context->response_event, in __wlan_hdd_cfg80211_extscan_get_capabilities()
1601 if (!rc) { in __wlan_hdd_cfg80211_extscan_get_capabilities()
1674 unsigned long rc; in __wlan_hdd_cfg80211_extscan_get_cached_results() local
1730 rc = wait_for_completion_timeout(&context->response_event, in __wlan_hdd_cfg80211_extscan_get_cached_results()
1732 if (!rc) { in __wlan_hdd_cfg80211_extscan_get_cached_results()
1864 unsigned long rc; in __wlan_hdd_cfg80211_extscan_set_bssid_hotlist() local
1975 rc = wait_for_completion_timeout in __wlan_hdd_cfg80211_extscan_set_bssid_hotlist()
1979 if (!rc) { in __wlan_hdd_cfg80211_extscan_set_bssid_hotlist()
2051 unsigned long rc; in __wlan_hdd_cfg80211_extscan_set_significant_change() local
[all …]
Dwlan_hdd_ioctl.c1450 int rc; in hdd_enable_ext_wow() local
1474 rc = -EPERM; in hdd_enable_ext_wow()
1478 rc = osif_request_wait_for_response(request); in hdd_enable_ext_wow()
1479 if (rc) { in hdd_enable_ext_wow()
1481 rc = -EPERM; in hdd_enable_ext_wow()
1488 rc = -EPERM; in hdd_enable_ext_wow()
1495 rc = wlan_hdd_cfg80211_suspend_wlan(hdd_ctx->wiphy, NULL); in hdd_enable_ext_wow()
1496 if (rc < 0) { in hdd_enable_ext_wow()
1498 rc); in hdd_enable_ext_wow()
1501 rc = wlan_hdd_bus_suspend(); in hdd_enable_ext_wow()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_irq_affinity.c103 int rc = 0; in hif_exec_event() local
138 rc = hif_exec_cpu_migrate(napid, in hif_exec_event()
167 rc = hif_exec_cpu_migrate(napid, in hif_exec_event()
183 rc = hif_exec_cpu_migrate(napid, in hif_exec_event()
186 if ((users == 0) && (rc == 0)) in hif_exec_event()
225 NAPI_DEBUG("<--[rc=%d]", rc); in hif_exec_event()
226 return rc; in hif_exec_event()
249 int rc = 0; in hncm_exec_migrate_to() local
266 rc = qdf_dev_set_irq_affinity(exec_ctx->os_irq[ind], in hncm_exec_migrate_to()
268 if (rc) in hncm_exec_migrate_to()
[all …]
Dhif_napi.c142 int rc = 0; in hif_napi_create() local
159 rc = hif_napi_cpu_init(hif_ctx); in hif_napi_create()
160 if (rc != 0 && rc != -EALREADY) { in hif_napi_create()
161 hif_err("NAPI_initialization failed(rc=%d)", rc); in hif_napi_create()
162 rc = napid->ce_map; in hif_napi_create()
165 rc = 0; in hif_napi_create()
167 hif_debug("NAPI structures initialized, rc=%d", rc); in hif_napi_create()
185 rc = -ENOMEM; in hif_napi_create()
237 rc = -EFAULT; in hif_napi_create()
255 return rc; in hif_napi_create()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_process_deauth_frame.c375 uint16_t rc, tSirMacAddr addr, int32_t frame_rssi) in lim_perform_deauth() argument
402 pe_session->limMlmState, rc, in lim_perform_deauth()
407 rc, pe_session); in lim_perform_deauth()
414 pe_session->limMlmState, rc, in lim_perform_deauth()
419 mlmDeauthInd.reasonCode = rc; in lim_perform_deauth()
440 pe_session->limMlmState, rc, in lim_perform_deauth()
452 mlmAssocCnf.protStatusCode = rc; in lim_perform_deauth()
478 pe_session->limMlmState, rc, in lim_perform_deauth()
490 pe_session->limMlmState, rc, in lim_perform_deauth()
494 rc); in lim_perform_deauth()
[all …]
Dlim_process_disassoc_frame.c377 uint16_t rc, struct pe_session *pe_session, tSirMacAddr addr) in lim_perform_disassoc() argument
391 sta_ds->mlmStaContext.disassocReason = rc; in lim_perform_disassoc()
425 rc, pe_session); in lim_perform_disassoc()
/wlan-driver/qcacld-3.0/os_if/tdls/src/
Dwlan_cfg80211_tdls.c116 unsigned long rc; in wlan_cfg80211_tdls_add_peer() local
149 rc = wait_for_completion_timeout( in wlan_cfg80211_tdls_add_peer()
152 if (!rc) { in wlan_cfg80211_tdls_add_peer()
153 osif_err("timeout for tdls add peer indication %ld", rc); in wlan_cfg80211_tdls_add_peer()
689 unsigned long rc; in wlan_cfg80211_tdls_update_peer() local
748 rc = wait_for_completion_timeout( in wlan_cfg80211_tdls_update_peer()
751 if (!rc) { in wlan_cfg80211_tdls_update_peer()
752 osif_err("timeout for tdls update peer indication %ld", rc); in wlan_cfg80211_tdls_update_peer()
842 unsigned long rc; in wlan_cfg80211_tdls_oper() local
900 rc = wait_for_completion_timeout( in wlan_cfg80211_tdls_oper()
[all …]
/wlan-driver/qcacld-3.0/components/target_if/fw_offload/src/
Dtarget_if_fwol.c158 QDF_STATUS rc; in target_if_fwol_register_elna_event_handler() local
160 rc = wmi_unified_register_event(get_wmi_unified_hdl_from_psoc(psoc), in target_if_fwol_register_elna_event_handler()
163 if (QDF_IS_STATUS_ERROR(rc)) in target_if_fwol_register_elna_event_handler()
171 QDF_STATUS rc; in target_if_fwol_unregister_elna_event_handler() local
173 rc = wmi_unified_unregister_event_handler( in target_if_fwol_unregister_elna_event_handler()
176 if (QDF_IS_STATUS_ERROR(rc)) in target_if_fwol_unregister_elna_event_handler()
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_debugfs.c237 int rc; in qdf_seq_open() local
244 rc = seq_open(file, &__qdf_debugfs_seq_ops); in qdf_seq_open()
246 if (rc == 0) { in qdf_seq_open()
251 return rc; in qdf_seq_open()
261 ssize_t rc = 0; in qdf_seq_write() local
272 rc = simple_write_to_buffer(buf, len, ppos, ubuf, len); in qdf_seq_write()
278 return rc; in qdf_seq_write()
Dqdf_status.c98 QDF_STATUS qdf_status_from_os_return(int rc) in qdf_status_from_os_return() argument
100 switch (rc) { in qdf_status_from_os_return()
Dqdf_lock.c72 int rc; in qdf_mutex_acquire() local
109 rc = mutex_is_locked(&lock->m_lock); in qdf_mutex_acquire()
110 if (rc == 0) { in qdf_mutex_acquire()
112 "%s: unable to lock mutex (rc = %d)", __func__, rc); in qdf_mutex_acquire()
/wlan-driver/qca-wifi-host-cmn/target_if/dp/src/
Dtarget_if_dp.c769 int i, rc; in target_if_peer_txq_flush_config() local
800 rc = send_peer_txq_flush_tids(psoc, addr, vdev_id, tid); in target_if_peer_txq_flush_config()
802 return rc; in target_if_peer_txq_flush_config()
804 rc = send_peer_txq_flush_conf(psoc, addr, vdev_id, tid, policy); in target_if_peer_txq_flush_config()
806 return rc; in target_if_peer_txq_flush_config()
817 rc = send_peer_txq_flush_tids(psoc, addr, vdev_id, tid); in target_if_peer_txq_flush_config()
819 return rc; in target_if_peer_txq_flush_config()
/wlan-driver/qcacld-3.0/core/mac/src/pe/nan/
Dnan_datapath.c381 tSirResultCodes rc = eSIR_SME_SUCCESS; in lim_ndi_del_bss_rsp() local
386 rc = eSIR_SME_STOP_BSS_FAILURE; in lim_ndi_del_bss_rsp()
397 rc = eSIR_SME_STOP_BSS_FAILURE; in lim_ndi_del_bss_rsp()
408 rc); in lim_ndi_del_bss_rsp()
/wlan-driver/qca-wifi-host-cmn/dp/cmn_dp_api/
Ddp_ratetable.c6534 uint16_t rc; in dp_getrateindex() local
6540 rc = mcs; in dp_getrateindex()
6547 res += ((rc + 2) % NUM_EHT_MCS) + nss * NUM_EHT_MCS; in dp_getrateindex()
6551 res += rc + nss * NUM_HE_MCS; in dp_getrateindex()
6555 res += rc + nss * NUM_VHT_MCS; in dp_getrateindex()
6559 res += rc + nss * NUM_HT_MCS; in dp_getrateindex()
6563 rc &= ~HW_RATECODE_CCK_SHORT_PREAM_MASK; in dp_getrateindex()
6564 res += rc; in dp_getrateindex()
6568 res += rc; in dp_getrateindex()
6604 uint16_t rc; in dp_getrateindex() local
[all …]
/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/
Dwlan_pkt_capture_mon_thread.c419 int rc; in pkt_capture_suspend_mon_thread() local
440 rc = wait_for_completion_timeout( in pkt_capture_suspend_mon_thread()
443 if (!rc) { in pkt_capture_suspend_mon_thread()
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_status.h167 QDF_STATUS qdf_status_from_os_return(int rc);
Dqdf_trace.h1564 int rc = -1; in qdf_tso_seg_dbg_record() local
1582 rc = c; in qdf_tso_seg_dbg_record()
1584 return rc; in qdf_tso_seg_dbg_record()
/wlan-driver/qcacld-3.0/core/dp/txrx/
Dol_cfg.c432 uint16_t rc; in ol_cfg_target_tx_credit() local
436 rc = (cfg->target_tx_credit + (vow_max_sta * vow_max_desc_persta)); in ol_cfg_target_tx_credit()
438 return rc; in ol_cfg_target_tx_credit()
/wlan-driver/qcacld-3.0/core/dp/htt/
Dhtt_rx_ll.c1131 int rc = 0; in htt_rx_hash_list_insert() local
1151 rc = 1; in htt_rx_hash_list_insert()
1160 rc = 1; in htt_rx_hash_list_insert()
1190 return rc; in htt_rx_hash_list_insert()
1277 int rc = 0; in htt_rx_hash_init() local
1324 rc = 1; in htt_rx_hash_init()
1343 return rc; in htt_rx_hash_init()
Dhtt.c759 int rc = 0; in htt_update_endpoint() local
785 rc = 1; in htt_update_endpoint()
787 return rc; in htt_update_endpoint()

12