Home
last modified time | relevance | path

Searched refs:errno (Results 1 – 25 of 100) sorted by relevance

1234

/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_bcn_recv.c200 int errno; in hdd_handle_beacon_reporting_start_op() local
210 errno = qdf_status_to_os_return(qdf_status); in hdd_handle_beacon_reporting_start_op()
211 return errno; in hdd_handle_beacon_reporting_start_op()
220 errno = qdf_status_to_os_return(qdf_status); in hdd_handle_beacon_reporting_start_op()
221 return errno; in hdd_handle_beacon_reporting_start_op()
243 errno = qdf_status_to_os_return(qdf_status); in hdd_handle_beacon_reporting_start_op()
244 return errno; in hdd_handle_beacon_reporting_start_op()
247 errno = qdf_status_to_os_return(qdf_status); in hdd_handle_beacon_reporting_start_op()
249 return errno; in hdd_handle_beacon_reporting_start_op()
263 int errno; in hdd_handle_beacon_reporting_stop_op() local
[all …]
Dwlan_hdd_debugfs_mibstat.c159 int errno; in __wlan_hdd_release_mib_stats_debugfs() local
164 errno = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_release_mib_stats_debugfs()
165 if (errno) in __wlan_hdd_release_mib_stats_debugfs()
166 return errno; in __wlan_hdd_release_mib_stats_debugfs()
188 int errno; in wlan_hdd_release_mib_stats_debugfs() local
190 errno = osif_vdev_sync_op_start(net_dev, &vdev_sync); in wlan_hdd_release_mib_stats_debugfs()
191 if (errno) in wlan_hdd_release_mib_stats_debugfs()
192 return errno; in wlan_hdd_release_mib_stats_debugfs()
194 errno = __wlan_hdd_release_mib_stats_debugfs(net_dev); in wlan_hdd_release_mib_stats_debugfs()
198 return errno; in wlan_hdd_release_mib_stats_debugfs()
[all …]
Dwlan_hdd_driver_ops.c782 int errno; in __hdd_soc_probe() local
791 errno = hdd_init_qdf_ctx(dev, bdev, bus_type, bid); in __hdd_soc_probe()
792 if (errno) in __hdd_soc_probe()
795 errno = hdd_init_dma_mask(dev, bus_type); in __hdd_soc_probe()
796 if (errno) in __hdd_soc_probe()
801 errno = PTR_ERR(hdd_ctx); in __hdd_soc_probe()
809 errno = qdf_status_to_os_return(status); in __hdd_soc_probe()
813 errno = hdd_wlan_startup(hdd_ctx); in __hdd_soc_probe()
814 if (errno) in __hdd_soc_probe()
819 errno = qdf_status_to_os_return(status); in __hdd_soc_probe()
[all …]
Dwlan_hdd_spectralscan.c373 int errno; in wlan_hdd_cfg80211_spectral_scan_start() local
375 errno = osif_psoc_sync_op_start(wiphy_dev(wiphy), &psoc_sync); in wlan_hdd_cfg80211_spectral_scan_start()
376 if (errno) in wlan_hdd_cfg80211_spectral_scan_start()
377 return errno; in wlan_hdd_cfg80211_spectral_scan_start()
379 errno = __wlan_hdd_cfg80211_spectral_scan_start(wiphy, wdev, in wlan_hdd_cfg80211_spectral_scan_start()
384 return errno; in wlan_hdd_cfg80211_spectral_scan_start()
393 int errno; in wlan_hdd_cfg80211_spectral_scan_stop() local
395 errno = osif_psoc_sync_op_start(wiphy_dev(wiphy), &psoc_sync); in wlan_hdd_cfg80211_spectral_scan_stop()
396 if (errno) in wlan_hdd_cfg80211_spectral_scan_stop()
397 return errno; in wlan_hdd_cfg80211_spectral_scan_stop()
[all …]
Dwlan_hdd_hostapd_wext.c118 int errno; in iw_softap_get_ini_cfg() local
121 errno = osif_vdev_sync_op_start(dev, &vdev_sync); in iw_softap_get_ini_cfg()
122 if (errno) in iw_softap_get_ini_cfg()
123 return errno; in iw_softap_get_ini_cfg()
125 errno = __iw_softap_get_ini_cfg(dev, info, wrqu, extra); in iw_softap_get_ini_cfg()
129 return errno; in iw_softap_get_ini_cfg()
277 int errno; in iw_softap_set_two_ints_getnone() local
280 errno = osif_vdev_sync_op_start(dev, &vdev_sync); in iw_softap_set_two_ints_getnone()
281 if (errno) in iw_softap_set_two_ints_getnone()
282 return errno; in iw_softap_set_two_ints_getnone()
[all …]
Dwlan_hdd_mpta_helper.c67 int errno; in __wlan_hdd_cfg80211_mpta_helper_config() local
77 errno = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_mpta_helper_config()
78 if (errno) in __wlan_hdd_cfg80211_mpta_helper_config()
79 return errno; in __wlan_hdd_cfg80211_mpta_helper_config()
89 errno = -EINVAL; in __wlan_hdd_cfg80211_mpta_helper_config()
104 errno = 0; in __wlan_hdd_cfg80211_mpta_helper_config()
123 errno = 0; in __wlan_hdd_cfg80211_mpta_helper_config()
142 errno = 0; in __wlan_hdd_cfg80211_mpta_helper_config()
161 errno = 0; in __wlan_hdd_cfg80211_mpta_helper_config()
177 errno = 0; in __wlan_hdd_cfg80211_mpta_helper_config()
[all …]
Dwlan_hdd_coap.c46 int errno; in __wlan_hdd_cfg80211_coap_offload() local
56 errno = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_coap_offload()
57 if (errno != 0) in __wlan_hdd_cfg80211_coap_offload()
58 return errno; in __wlan_hdd_cfg80211_coap_offload()
67 errno = wlan_cfg80211_coap_offload(wiphy, vdev, data, data_len); in __wlan_hdd_cfg80211_coap_offload()
69 return errno; in __wlan_hdd_cfg80211_coap_offload()
76 int errno; in wlan_hdd_cfg80211_coap_offload() local
79 errno = osif_vdev_sync_op_start(wdev->netdev, &vdev_sync); in wlan_hdd_cfg80211_coap_offload()
80 if (errno) in wlan_hdd_cfg80211_coap_offload()
81 return errno; in wlan_hdd_cfg80211_coap_offload()
[all …]
Dwlan_hdd_sysfs_txrx_stats_console.c145 ssize_t errno = 0; in hdd_sysfs_dp_txrx_stats_show() local
147 errno = wlan_hdd_validate_context(hdd_ctx); in hdd_sysfs_dp_txrx_stats_show()
148 if (errno) in hdd_sysfs_dp_txrx_stats_show()
149 return errno; in hdd_sysfs_dp_txrx_stats_show()
151 errno = osif_psoc_sync_op_start(wiphy_dev(hdd_ctx->wiphy), &psoc_sync); in hdd_sysfs_dp_txrx_stats_show()
152 if (errno) in hdd_sysfs_dp_txrx_stats_show()
153 return errno; in hdd_sysfs_dp_txrx_stats_show()
179 ssize_t errno = 0; in hdd_sysfs_dp_txrx_stats_store() local
181 errno = wlan_hdd_validate_context(hdd_ctx); in hdd_sysfs_dp_txrx_stats_store()
182 if (errno) in hdd_sysfs_dp_txrx_stats_store()
[all …]
Dwlan_hdd_sysfs_mem_stats.c72 int errno; in hdd_wlan_mem_stats_show() local
74 errno = wlan_hdd_validate_context(hdd_ctx); in hdd_wlan_mem_stats_show()
75 if (errno) in hdd_wlan_mem_stats_show()
76 return errno; in hdd_wlan_mem_stats_show()
78 errno = osif_psoc_sync_op_start(hdd_ctx->parent_dev, &psoc_sync); in hdd_wlan_mem_stats_show()
79 if (errno) in hdd_wlan_mem_stats_show()
80 return errno; in hdd_wlan_mem_stats_show()
96 int errno; in hdd_wlan_dp_mem_stats_show() local
98 errno = wlan_hdd_validate_context(hdd_ctx); in hdd_wlan_dp_mem_stats_show()
99 if (errno) in hdd_wlan_dp_mem_stats_show()
[all …]
Dwlan_hdd_sar_limits.c155 int errno; in hdd_sar_fill_response() local
165 errno = nla_put_u32(skb, attr, value); in hdd_sar_fill_response()
166 if (errno) in hdd_sar_fill_response()
167 return errno; in hdd_sar_fill_response()
171 errno = nla_put_u32(skb, attr, value); in hdd_sar_fill_response()
172 if (errno) in hdd_sar_fill_response()
173 return errno; in hdd_sar_fill_response()
189 errno = nla_put_u32(skb, attr, value); in hdd_sar_fill_response()
190 if (errno) in hdd_sar_fill_response()
191 return errno; in hdd_sar_fill_response()
[all …]
Dwlan_hdd_mdns_offload.c122 int errno, rem; in __wlan_hdd_cfg80211_set_mdns_offload() local
126 errno = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_set_mdns_offload()
127 if (errno) in __wlan_hdd_cfg80211_set_mdns_offload()
128 return errno; in __wlan_hdd_cfg80211_set_mdns_offload()
174 errno = -EINVAL; in __wlan_hdd_cfg80211_set_mdns_offload()
178 errno = hdd_extract_mdns_attr(tb2, mdns_info); in __wlan_hdd_cfg80211_set_mdns_offload()
179 if (errno) { in __wlan_hdd_cfg80211_set_mdns_offload()
191 return errno; in __wlan_hdd_cfg80211_set_mdns_offload()
209 int errno; in wlan_hdd_cfg80211_set_mdns_offload() local
212 errno = osif_vdev_sync_op_start(wdev->netdev, &vdev_sync); in wlan_hdd_cfg80211_set_mdns_offload()
[all …]
Dwlan_hdd_debugfs_config.c156 ssize_t errno; in __wlan_hdd_open_config_debugfs() local
166 errno = wlan_hdd_config_get(hdd_ctx, ini_config); in __wlan_hdd_open_config_debugfs()
167 if (errno) { in __wlan_hdd_open_config_debugfs()
169 return errno; in __wlan_hdd_open_config_debugfs()
187 ssize_t errno; in wlan_hdd_open_config_debugfs() local
189 errno = wlan_hdd_validate_context(hdd_ctx); in wlan_hdd_open_config_debugfs()
190 if (errno) in wlan_hdd_open_config_debugfs()
191 return errno; in wlan_hdd_open_config_debugfs()
193 errno = osif_psoc_sync_op_start(wiphy_dev(hdd_ctx->wiphy), in wlan_hdd_open_config_debugfs()
195 if (errno) in wlan_hdd_open_config_debugfs()
[all …]
Dwlan_hdd_btc_chain_mode.c150 int errno; in __wlan_hdd_cfg80211_set_btc_chain_mode() local
160 errno = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_set_btc_chain_mode()
161 if (errno != 0) in __wlan_hdd_cfg80211_set_btc_chain_mode()
162 return errno; in __wlan_hdd_cfg80211_set_btc_chain_mode()
174 errno = wlan_cfg80211_coex_set_btc_chain_mode(vdev, data, data_len); in __wlan_hdd_cfg80211_set_btc_chain_mode()
177 return errno; in __wlan_hdd_cfg80211_set_btc_chain_mode()
193 int errno; in wlan_hdd_cfg80211_set_btc_chain_mode() local
196 errno = osif_vdev_sync_op_start(wdev->netdev, &vdev_sync); in wlan_hdd_cfg80211_set_btc_chain_mode()
197 if (errno) in wlan_hdd_cfg80211_set_btc_chain_mode()
198 return errno; in wlan_hdd_cfg80211_set_btc_chain_mode()
[all …]
Dwlan_hdd_wext.c3030 int errno; in iw_get_linkspeed() local
3033 errno = osif_vdev_sync_op_start(dev, &vdev_sync); in iw_get_linkspeed()
3034 if (errno) in iw_get_linkspeed()
3035 return errno; in iw_get_linkspeed()
3037 errno = __iw_get_linkspeed(dev, info, wrqu, extra); in iw_get_linkspeed()
3041 return errno; in iw_get_linkspeed()
3066 int errno; in wlan_get_wlm_stats() local
3083 errno = wma_wlm_stats_req(adapter->deflink->vdev_id, bitmask, in wlan_get_wlm_stats()
3086 if (errno) { in wlan_get_wlm_stats()
3087 hdd_err("Request failed be sent, %d", errno); in wlan_get_wlm_stats()
[all …]
Dwlan_hdd_tdls.c466 int errno; in wlan_hdd_cfg80211_configure_tdls_mode() local
469 errno = osif_vdev_sync_op_start(wdev->netdev, &vdev_sync); in wlan_hdd_cfg80211_configure_tdls_mode()
470 if (errno) in wlan_hdd_cfg80211_configure_tdls_mode()
471 return errno; in wlan_hdd_cfg80211_configure_tdls_mode()
473 errno = __wlan_hdd_cfg80211_configure_tdls_mode(wiphy, wdev, data, in wlan_hdd_cfg80211_configure_tdls_mode()
478 return errno; in wlan_hdd_cfg80211_configure_tdls_mode()
495 int errno; in wlan_hdd_cfg80211_exttdls_get_status() local
498 errno = osif_vdev_sync_op_start(wdev->netdev, &vdev_sync); in wlan_hdd_cfg80211_exttdls_get_status()
499 if (errno) in wlan_hdd_cfg80211_exttdls_get_status()
500 return errno; in wlan_hdd_cfg80211_exttdls_get_status()
[all …]
Dwlan_hdd_power.c352 int errno; in __wlan_hdd_ipv6_changed() local
356 errno = hdd_validate_adapter(adapter); in __wlan_hdd_ipv6_changed()
357 if (errno || adapter->dev != net_dev) in __wlan_hdd_ipv6_changed()
361 errno = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_ipv6_changed()
362 if (errno) in __wlan_hdd_ipv6_changed()
510 int errno; in hdd_enable_ns_offload() local
551 errno = hdd_fill_ipv6_uc_addr(in6_dev, ns_req->ipv6_addr, in hdd_enable_ns_offload()
554 if (errno) { in hdd_enable_ns_offload()
561 errno = hdd_fill_ipv6_ac_addr(in6_dev, ns_req->ipv6_addr, in hdd_enable_ns_offload()
564 if (errno) { in hdd_enable_ns_offload()
[all …]
Dwlan_hdd_tx_power.c114 int errno; in wlan_hdd_cfg80211_txpower_scale() local
116 errno = osif_vdev_sync_op_start(wdev->netdev, &vdev_sync); in wlan_hdd_cfg80211_txpower_scale()
117 if (errno) in wlan_hdd_cfg80211_txpower_scale()
118 return errno; in wlan_hdd_cfg80211_txpower_scale()
120 errno = __wlan_hdd_cfg80211_txpower_scale(wiphy, wdev, data, data_len); in wlan_hdd_cfg80211_txpower_scale()
124 return errno; in wlan_hdd_cfg80211_txpower_scale()
201 int errno; in wlan_hdd_cfg80211_txpower_scale_decr_db() local
203 errno = osif_vdev_sync_op_start(wdev->netdev, &vdev_sync); in wlan_hdd_cfg80211_txpower_scale_decr_db()
204 if (errno) in wlan_hdd_cfg80211_txpower_scale_decr_db()
205 return errno; in wlan_hdd_cfg80211_txpower_scale_decr_db()
[all …]
Dwlan_hdd_cfg80211.c1415 int errno; in wlan_hdd_cfg80211_get_tdls_capabilities() local
1417 errno = osif_psoc_sync_op_start(wiphy_dev(wiphy), &psoc_sync); in wlan_hdd_cfg80211_get_tdls_capabilities()
1418 if (errno) in wlan_hdd_cfg80211_get_tdls_capabilities()
1419 return errno; in wlan_hdd_cfg80211_get_tdls_capabilities()
1421 errno = __wlan_hdd_cfg80211_get_tdls_capabilities(wiphy, wdev, in wlan_hdd_cfg80211_get_tdls_capabilities()
1426 return errno; in wlan_hdd_cfg80211_get_tdls_capabilities()
2349 int errno; in is_driver_dfs_capable() local
2351 errno = osif_psoc_sync_op_start(wiphy_dev(wiphy), &psoc_sync); in is_driver_dfs_capable()
2352 if (errno) in is_driver_dfs_capable()
2353 return errno; in is_driver_dfs_capable()
[all …]
Dwlan_hdd_scan.c703 int errno; in wlan_hdd_cfg80211_scan() local
706 errno = osif_vdev_sync_op_start(request->wdev->netdev, &vdev_sync); in wlan_hdd_cfg80211_scan()
707 if (errno) in wlan_hdd_cfg80211_scan()
708 return errno; in wlan_hdd_cfg80211_scan()
710 errno = __wlan_hdd_cfg80211_scan(wiphy, request, NL_SCAN); in wlan_hdd_cfg80211_scan()
714 return errno; in wlan_hdd_cfg80211_scan()
1176 int errno; in wlan_hdd_cfg80211_vendor_scan() local
1179 errno = osif_vdev_sync_op_start(wdev->netdev, &vdev_sync); in wlan_hdd_cfg80211_vendor_scan()
1180 if (errno) in wlan_hdd_cfg80211_vendor_scan()
1181 return errno; in wlan_hdd_cfg80211_vendor_scan()
[all …]
Dwlan_hdd_medium_assess.c191 int errno = 0; in hdd_medium_assess_cca() local
202 errno = -EINVAL; in hdd_medium_assess_cca()
209 errno = -EINVAL; in hdd_medium_assess_cca()
215 errno = -EBUSY; in hdd_medium_assess_cca()
235 return errno; in hdd_medium_assess_cca()
595 int errno = 0; in hdd_medium_assess_congestion_report() local
633 errno = -EINVAL; in hdd_medium_assess_congestion_report()
639 errno = -EINVAL; in hdd_medium_assess_congestion_report()
666 errno = -EINVAL; in hdd_medium_assess_congestion_report()
681 errno = -EINVAL; in hdd_medium_assess_congestion_report()
[all …]
/wlan-driver/qcacld-3.0/os_if/sync/src/
Dosif_psoc_sync.c126 int errno; in __osif_psoc_sync_create_and_trans() local
128 errno = osif_psoc_sync_create(&psoc_sync); in __osif_psoc_sync_create_and_trans()
129 if (errno) in __osif_psoc_sync_create_and_trans()
130 return errno; in __osif_psoc_sync_create_and_trans()
245 int errno; in __osif_psoc_sync_trans_start() local
248 errno = __osif_psoc_sync_start_callback(dev, out_psoc_sync, desc, in __osif_psoc_sync_trans_start()
252 return errno; in __osif_psoc_sync_trans_start()
259 int errno; in __osif_psoc_sync_trans_start_wait() local
262 errno = __osif_psoc_sync_start_wait_callback(dev, out_psoc_sync, desc, in __osif_psoc_sync_trans_start_wait()
265 return errno; in __osif_psoc_sync_trans_start_wait()
[all …]
Dosif_vdev_sync.c126 int errno; in __osif_vdev_sync_create_and_trans() local
128 errno = osif_vdev_sync_create(dev, &vdev_sync); in __osif_vdev_sync_create_and_trans()
129 if (errno) in __osif_vdev_sync_create_and_trans()
130 return errno; in __osif_vdev_sync_create_and_trans()
268 int errno; in __osif_vdev_sync_trans_start() local
271 errno = __osif_vdev_sync_start_callback(net_dev, out_vdev_sync, desc, in __osif_vdev_sync_trans_start()
275 if (!errno) { in __osif_vdev_sync_trans_start()
280 return errno; in __osif_vdev_sync_trans_start()
287 int errno; in __osif_vdev_sync_trans_start_wait() local
290 errno = __osif_vdev_sync_start_wait_callback(net_dev, in __osif_vdev_sync_trans_start_wait()
[all …]
Dosif_driver_sync.c110 int errno; in __osif_driver_sync_create_and_trans() local
112 errno = osif_driver_sync_create(&driver_sync); in __osif_driver_sync_create_and_trans()
113 if (errno) in __osif_driver_sync_create_and_trans()
114 return errno; in __osif_driver_sync_create_and_trans()
220 int errno; in __osif_driver_sync_trans_start() local
223 errno = __osif_driver_sync_start_callback(out_driver_sync, desc, in __osif_driver_sync_trans_start()
227 return errno; in __osif_driver_sync_trans_start()
234 int errno; in __osif_driver_sync_trans_start_wait() local
237 errno = __osif_driver_sync_start_wait_callback(out_driver_sync, desc, in __osif_driver_sync_trans_start_wait()
240 return errno; in __osif_driver_sync_trans_start_wait()
[all …]
/wlan-driver/qcacld-3.0/os_if/cp_stats/src/
Dwlan_cfg80211_mc_cp_stats.c483 int *errno) in wlan_cfg80211_mc_cp_stats_get_peer_rssi() argument
498 *errno = -ENOMEM; in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
505 *errno = -ENOMEM; in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
521 *errno = qdf_status_to_os_return(status); in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
525 *errno = osif_request_wait_for_response(request); in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
526 if (*errno) { in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
527 osif_debug("wait failed or timed out ret: %d", *errno); in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
534 *errno = -EINVAL; in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
787 int *errno) in wlan_cfg80211_mc_twt_get_infra_cp_stats() argument
808 *errno = -EFAULT; in wlan_cfg80211_mc_twt_get_infra_cp_stats()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_file.c49 int errno; in qdf_file_read() local
55 errno = qdf_firmware_request_nowarn(&fw, path, NULL); in qdf_file_read()
56 if (errno) { in qdf_file_read()
89 int errno; in qdf_module_param_file_read() local
94 errno = qdf_firmware_request_nowarn(&fw, path, NULL); in qdf_module_param_file_read()
95 if (errno) { in qdf_module_param_file_read()
129 int errno; in qdf_file_read_bytes() local
135 errno = qdf_firmware_request_nowarn(&fw, path, NULL); in qdf_file_read_bytes()
136 if (errno) { in qdf_file_read_bytes()

1234