Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 79) sorted by relevance

1234

/wlan-driver/qca-wifi-host-cmn/os_if/linux/
Dwlan_osif_request_manager.c43 static void osif_request_unlink(struct osif_request *request) in osif_request_unlink() argument
45 qdf_list_remove_node(&requests, &request->node); in osif_request_unlink()
48 static void osif_request_destroy(struct osif_request *request) in osif_request_destroy() argument
52 params = &request->params; in osif_request_destroy()
54 void *priv = osif_request_priv(request); in osif_request_destroy()
58 qdf_event_destroy(&request->completed); in osif_request_destroy()
59 qdf_mem_free(request); in osif_request_destroy()
66 struct osif_request *request; in osif_request_find() local
71 request = qdf_container_of(node, struct osif_request, node); in osif_request_find()
72 if (request->cookie == cookie) in osif_request_find()
[all …]
Dwlan_osif_request_manager.h126 void *osif_request_priv(struct osif_request *request);
143 void *osif_request_cookie(struct osif_request *request);
173 void osif_request_put(struct osif_request *request);
186 int osif_request_wait_for_response(struct osif_request *request);
200 void osif_request_complete(struct osif_request *request);
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_packet_filter.c93 struct pkt_filter_cfg *request, in wlan_hdd_set_filter() argument
108 request->filter_action, request->num_params); in wlan_hdd_set_filter()
110 switch (request->filter_action) { in wlan_hdd_set_filter()
113 request->filter_id); in wlan_hdd_set_filter()
120 pmo_set_pkt_fltr_req->filter_id = request->filter_id; in wlan_hdd_set_filter()
121 if (request->num_params >= HDD_MAX_CMP_PER_PACKET_FILTER) { in wlan_hdd_set_filter()
123 request->num_params); in wlan_hdd_set_filter()
127 pmo_set_pkt_fltr_req->num_params = request->num_params; in wlan_hdd_set_filter()
130 for (i = 0; i < request->num_params; i++) { in wlan_hdd_set_filter()
132 request->params_data[i].protocol_layer; in wlan_hdd_set_filter()
[all …]
Dwlan_hdd_scan.c226 struct cfg80211_scan_request *request) in wlan_hdd_sap_skip_scan_check() argument
238 request->n_channels == 0) { in wlan_hdd_sap_skip_scan_check()
243 for (i = 0; i < request->n_channels ; i++) { in wlan_hdd_sap_skip_scan_check()
248 request->channels[i]->center_freq) { in wlan_hdd_sap_skip_scan_check()
256 request->channels[i]->center_freq); in wlan_hdd_sap_skip_scan_check()
265 struct cfg80211_scan_request *request) in wlan_hdd_sap_skip_scan_check() argument
273 struct cfg80211_scan_request *request; in wlan_hdd_cfg80211_scan_block() local
289 request = blocked_scan_req->scan_request; in wlan_hdd_cfg80211_scan_block()
290 request->n_ssids = 0; in wlan_hdd_cfg80211_scan_block()
291 request->n_channels = 0; in wlan_hdd_cfg80211_scan_block()
[all …]
Dwlan_hdd_debugfs_coex.c72 struct osif_request *request = NULL; in hdd_debugfs_mws_coex_info_cb() local
84 request = osif_request_get(context); in hdd_debugfs_mws_coex_info_cb()
85 if (!request) { in hdd_debugfs_mws_coex_info_cb()
92 coex_priv = osif_request_priv(request); in hdd_debugfs_mws_coex_info_cb()
97 dpwb_priv = osif_request_priv(request); in hdd_debugfs_mws_coex_info_cb()
102 tdm_priv = osif_request_priv(request); in hdd_debugfs_mws_coex_info_cb()
107 idrx_priv = osif_request_priv(request); in hdd_debugfs_mws_coex_info_cb()
112 antenna_priv = osif_request_priv(request); in hdd_debugfs_mws_coex_info_cb()
118 osif_request_complete(request); in hdd_debugfs_mws_coex_info_cb()
119 osif_request_put(request); in hdd_debugfs_mws_coex_info_cb()
[all …]
Dwlan_hdd_fw_state.c50 struct osif_request *request; in hdd_get_fw_state_cb() local
55 request = osif_request_get(context); in hdd_get_fw_state_cb()
56 if (!request) { in hdd_get_fw_state_cb()
61 priv = osif_request_priv(request); in hdd_get_fw_state_cb()
63 osif_request_complete(request); in hdd_get_fw_state_cb()
64 osif_request_put(request); in hdd_get_fw_state_cb()
131 struct osif_request *request; in __wlan_hdd_cfg80211_get_fw_state() local
150 request = osif_request_alloc(&params); in __wlan_hdd_cfg80211_get_fw_state()
151 if (!request) { in __wlan_hdd_cfg80211_get_fw_state()
155 cookie = osif_request_cookie(request); in __wlan_hdd_cfg80211_get_fw_state()
[all …]
Dwlan_hdd_hw_capability.c47 struct osif_request *request; in hdd_get_isolation_cb() local
55 request = osif_request_get(context); in hdd_get_isolation_cb()
56 if (!request) { in hdd_get_isolation_cb()
61 priv = osif_request_priv(request); in hdd_get_isolation_cb()
67 osif_request_complete(request); in hdd_get_isolation_cb()
68 osif_request_put(request); in hdd_get_isolation_cb()
140 struct osif_request *request; in __wlan_hdd_cfg80211_get_hw_capability() local
161 request = osif_request_alloc(&params); in __wlan_hdd_cfg80211_get_hw_capability()
162 if (!request) { in __wlan_hdd_cfg80211_get_hw_capability()
167 cookie = osif_request_cookie(request); in __wlan_hdd_cfg80211_get_hw_capability()
[all …]
Dwlan_hdd_fips.c44 struct fips_params request; member
85 struct osif_request *request; in hdd_fips_cb() local
95 request = osif_request_get(cookie); in hdd_fips_cb()
96 if (!request) { in hdd_fips_cb()
108 context = osif_request_priv(request); in hdd_fips_cb()
116 osif_request_complete(request); in hdd_fips_cb()
117 osif_request_put(request); in hdd_fips_cb()
179 struct osif_request *request; in __hdd_fips_test() local
203 request = osif_request_alloc(&params); in __hdd_fips_test()
204 if (!request) { in __hdd_fips_test()
[all …]
Dwlan_hdd_disa.c46 struct disa_encrypt_decrypt_req_params request; member
60 struct osif_request *request; in hdd_encrypt_decrypt_msg_cb() local
70 request = osif_request_get(cookie); in hdd_encrypt_decrypt_msg_cb()
71 if (!request) { in hdd_encrypt_decrypt_msg_cb()
86 context = osif_request_priv(request); in hdd_encrypt_decrypt_msg_cb()
105 osif_request_complete(request); in hdd_encrypt_decrypt_msg_cb()
106 osif_request_put(request); in hdd_encrypt_decrypt_msg_cb()
343 qdf_mem_free(context->request.data); in hdd_encrypt_decrypt_context_dealloc()
364 struct osif_request *request; in hdd_encrypt_decrypt_msg() local
372 request = osif_request_alloc(&params); in hdd_encrypt_decrypt_msg()
[all …]
Dwlan_hdd_ocb.c336 struct osif_request *request; in hdd_ocb_set_config_callback() local
340 request = osif_request_get(context_ptr); in hdd_ocb_set_config_callback()
341 if (!request) { in hdd_ocb_set_config_callback()
345 priv = osif_request_priv(request); in hdd_ocb_set_config_callback()
355 osif_request_complete(request); in hdd_ocb_set_config_callback()
356 osif_request_put(request); in hdd_ocb_set_config_callback()
372 struct osif_request *request; in hdd_ocb_set_config_req() local
385 request = osif_request_alloc(&params); in hdd_ocb_set_config_req()
386 if (!request) { in hdd_ocb_set_config_req()
390 cookie = osif_request_cookie(request); in hdd_ocb_set_config_req()
[all …]
Dwlan_hdd_debugfs_roam.c65 struct osif_request *request; in hdd_roam_scan_stats_cb() local
72 request = osif_request_get(context); in hdd_roam_scan_stats_cb()
73 if (!request) { in hdd_roam_scan_stats_cb()
83 priv = osif_request_priv(request); in hdd_roam_scan_stats_cb()
96 osif_request_complete(request); in hdd_roam_scan_stats_cb()
97 osif_request_put(request); in hdd_roam_scan_stats_cb()
117 struct osif_request *request; in hdd_get_roam_scan_stats() local
133 request = osif_request_alloc(&params); in hdd_get_roam_scan_stats()
134 if (!request) { in hdd_get_roam_scan_stats()
139 context = osif_request_cookie(request); in hdd_get_roam_scan_stats()
[all …]
Dwlan_hdd_sysfs.c228 struct osif_request *request; in hdd_power_debugstats_cb() local
235 request = osif_request_get(context); in hdd_power_debugstats_cb()
236 if (!request) { in hdd_power_debugstats_cb()
241 priv = osif_request_priv(request); in hdd_power_debugstats_cb()
261 osif_request_complete(request); in hdd_power_debugstats_cb()
262 osif_request_put(request); in hdd_power_debugstats_cb()
274 struct osif_request *request; in __show_device_power_stats() local
284 request = osif_request_alloc(&params); in __show_device_power_stats()
285 if (!request) { in __show_device_power_stats()
289 cookie = osif_request_cookie(request); in __show_device_power_stats()
[all …]
Dwlan_hdd_apf.c87 struct osif_request *request; in hdd_get_apf_capabilities_cb() local
92 request = osif_request_get(context); in hdd_get_apf_capabilities_cb()
93 if (!request) { in hdd_get_apf_capabilities_cb()
98 priv = osif_request_priv(request); in hdd_get_apf_capabilities_cb()
100 osif_request_complete(request); in hdd_get_apf_capabilities_cb()
101 osif_request_put(request); in hdd_get_apf_capabilities_cb()
165 struct osif_request *request; in hdd_get_apf_capabilities() local
174 request = osif_request_alloc(&params); in hdd_get_apf_capabilities()
175 if (!request) { in hdd_get_apf_capabilities()
179 cookie = osif_request_cookie(request); in hdd_get_apf_capabilities()
[all …]
/wlan-driver/qca-wifi-host-cmn/os_if/linux/twt/src/
Dosif_twt_req.c34 struct osif_request *request; in osif_twt_requestor_enable() local
44 request = osif_request_alloc(&params); in osif_twt_requestor_enable()
45 if (!request) { in osif_twt_requestor_enable()
49 context = osif_request_cookie(request); in osif_twt_requestor_enable()
58 ret = osif_request_wait_for_response(request); in osif_twt_requestor_enable()
65 twt_en_priv = osif_request_priv(request); in osif_twt_requestor_enable()
70 osif_request_put(request); in osif_twt_requestor_enable()
77 struct osif_request *request; in osif_twt_responder_enable() local
87 request = osif_request_alloc(&params); in osif_twt_responder_enable()
88 if (!request) { in osif_twt_responder_enable()
[all …]
Dosif_twt_rsp.c41 struct osif_request *request = NULL; in osif_twt_enable_complete_cb() local
44 request = osif_request_get(context); in osif_twt_enable_complete_cb()
45 if (!request) { in osif_twt_enable_complete_cb()
50 twt_en_priv = osif_request_priv(request); in osif_twt_enable_complete_cb()
59 osif_request_complete(request); in osif_twt_enable_complete_cb()
60 osif_request_put(request); in osif_twt_enable_complete_cb()
78 struct osif_request *request = NULL; in osif_twt_disable_complete_cb() local
81 request = osif_request_get(context); in osif_twt_disable_complete_cb()
82 if (!request) { in osif_twt_disable_complete_cb()
87 twt_en_priv = osif_request_priv(request); in osif_twt_disable_complete_cb()
[all …]
/wlan-driver/qcacld-3.0/os_if/cp_stats/src/
Dwlan_cfg80211_mc_cp_stats.c348 struct osif_request *request; in get_tx_power_cb() local
351 request = osif_request_get(cookie); in get_tx_power_cb()
352 if (!request) { in get_tx_power_cb()
357 priv = osif_request_priv(request); in get_tx_power_cb()
359 osif_request_complete(request); in get_tx_power_cb()
360 osif_request_put(request); in get_tx_power_cb()
372 struct osif_request *request = NULL; in wlan_cfg80211_mc_cp_stats_get_tx_power() local
378 request = osif_request_alloc(&params); in wlan_cfg80211_mc_cp_stats_get_tx_power()
379 if (!request) { in wlan_cfg80211_mc_cp_stats_get_tx_power()
384 cookie = osif_request_cookie(request); in wlan_cfg80211_mc_cp_stats_get_tx_power()
[all …]
/wlan-driver/qcacld-3.0/components/pmo/core/src/
Dwlan_pmo_ns.c29 static void pmo_core_fill_ns_addr(struct pmo_ns_offload_params *request, in pmo_core_fill_ns_addr() argument
46 request->self_ipv6_addr[i][0] = 0xFF; in pmo_core_fill_ns_addr()
47 request->self_ipv6_addr[i][1] = 0x02; in pmo_core_fill_ns_addr()
48 request->self_ipv6_addr[i][11] = 0x01; in pmo_core_fill_ns_addr()
49 request->self_ipv6_addr[i][12] = 0xFF; in pmo_core_fill_ns_addr()
50 request->self_ipv6_addr[i][13] = in pmo_core_fill_ns_addr()
52 request->self_ipv6_addr[i][14] = in pmo_core_fill_ns_addr()
54 request->self_ipv6_addr[i][15] = in pmo_core_fill_ns_addr()
56 request->slot_idx = i; in pmo_core_fill_ns_addr()
57 qdf_mem_copy(&request->target_ipv6_addr[i], in pmo_core_fill_ns_addr()
[all …]
Dwlan_pmo_arp.c33 struct pmo_arp_offload_params *request = NULL; in pmo_core_cache_arp_in_vdev_priv() local
40 request = qdf_mem_malloc(sizeof(*request)); in pmo_core_cache_arp_in_vdev_priv()
41 if (!request) { in pmo_core_cache_arp_in_vdev_priv()
50 qdf_mem_copy(&request->bssid.bytes, &peer_bssid.bytes, in pmo_core_cache_arp_in_vdev_priv()
56 request->enable = PMO_OFFLOAD_ENABLE; in pmo_core_cache_arp_in_vdev_priv()
57 request->is_offload_applied = false; in pmo_core_cache_arp_in_vdev_priv()
60 request->host_ipv4_addr[index] = in pmo_core_cache_arp_in_vdev_priv()
65 qdf_mem_copy(&vdev_ctx->vdev_arp_req, request, in pmo_core_cache_arp_in_vdev_priv()
70 QDF_IPV4_ADDR_ARRAY(request->host_ipv4_addr), in pmo_core_cache_arp_in_vdev_priv()
71 request->enable); in pmo_core_cache_arp_in_vdev_priv()
[all …]
/wlan-driver/qcacld-3.0/os_if/fw_offload/src/
Dos_if_fwol.c67 struct osif_request *request; in os_if_fwol_get_elna_bypass_callback() local
70 request = osif_request_get(context); in os_if_fwol_get_elna_bypass_callback()
71 if (!request) { in os_if_fwol_get_elna_bypass_callback()
76 priv = osif_request_priv(request); in os_if_fwol_get_elna_bypass_callback()
79 osif_request_complete(request); in os_if_fwol_get_elna_bypass_callback()
80 osif_request_put(request); in os_if_fwol_get_elna_bypass_callback()
89 struct osif_request *request; in os_if_fwol_get_elna_bypass() local
100 request = osif_request_alloc(&params); in os_if_fwol_get_elna_bypass()
101 if (!request) { in os_if_fwol_get_elna_bypass()
105 cookie = osif_request_cookie(request); in os_if_fwol_get_elna_bypass()
[all …]
/wlan-driver/qca-wifi-host-cmn/os_if/linux/scan/src/
Dwlan_cfg80211_scan.c127 struct cfg80211_scan_request *request, in wlan_scan_rand_attrs() argument
134 wlan_fill_scan_rand_attrs(vdev, request->flags, request->mac_addr, in wlan_scan_rand_attrs()
135 request->mac_addr_mask, randomize, mac_addr, in wlan_scan_rand_attrs()
156 struct cfg80211_scan_request *request, in wlan_scan_rand_attrs() argument
178 struct cfg80211_sched_scan_request *request) in wlan_config_sched_scan_plan() argument
181 request->n_scan_plans == 1) { in wlan_config_sched_scan_plan()
183 request->scan_plans[0].interval * MSEC_PER_SEC; in wlan_config_sched_scan_plan()
191 request->scan_plans[0].interval * MSEC_PER_SEC; in wlan_config_sched_scan_plan()
198 else if (request->n_scan_plans == SCAN_PNO_MAX_PLAN_REQUEST) { in wlan_config_sched_scan_plan()
200 request->scan_plans[0].interval * MSEC_PER_SEC; in wlan_config_sched_scan_plan()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/
Dmailbox.c1481 uint32_t request, void *context) in hif_read_write() argument
1491 length, request, context); in hif_read_write()
1500 if ((request & HIF_ASYNCHRONOUS) || in hif_read_write()
1501 (request & HIF_SYNCHRONOUS)) { in hif_read_write()
1505 (request & HIF_ASYNCHRONOUS) ? "Async" in hif_read_write()
1511 request & HIF_SDIO_READ ? "READ" : in hif_read_write()
1518 busrequest->request = request; in hif_read_write()
1523 if (request & HIF_SYNCHRONOUS) { in hif_read_write()
1539 (unsigned int)request); in hif_read_write()
1555 (unsigned int)request); in hif_read_write()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/native_sdio/src/
Dhif_scatter.c133 (req->request & HIF_SDIO_WRITE) ? "WRITE" : "READ", in do_hif_read_write_scatter()
137 if (req->request & HIF_SDIO_WRITE) { in do_hif_read_write_scatter()
145 if (req->request & HIF_FIXED_ADDRESS) in do_hif_read_write_scatter()
164 request & HIF_SDIO_WRITE ? "WRITE" : "READ", in do_hif_read_write_scatter()
212 (req->request & HIF_SDIO_WRITE) ? "WRITE" : "READ", in do_hif_read_write_scatter()
219 if (req->request & HIF_ASYNCHRONOUS) { in do_hif_read_write_scatter()
252 uint32_t request = req->request; in hif_read_write_scatter() local
268 if (!(request & HIF_EXTENDED_IO)) { in hif_read_write_scatter()
271 request)); in hif_read_write_scatter()
275 if (!(request & (HIF_SYNCHRONOUS | HIF_ASYNCHRONOUS))) { in hif_read_write_scatter()
[all …]
/wlan-driver/qcacld-3.0/os_if/coap/src/
Dwlan_cfg80211_coap.c376 struct osif_request *request; in wlan_cfg80211_coap_cache_get_cbk() local
382 request = osif_request_get(context); in wlan_cfg80211_coap_cache_get_cbk()
383 if (!request) in wlan_cfg80211_coap_cache_get_cbk()
386 priv_info = osif_request_priv(request); in wlan_cfg80211_coap_cache_get_cbk()
390 osif_request_complete(request); in wlan_cfg80211_coap_cache_get_cbk()
393 osif_request_put(request); in wlan_cfg80211_coap_cache_get_cbk()
508 struct osif_request *request; in wlan_cfg80211_coap_offload_cache_get() local
517 request = osif_request_alloc(&params); in wlan_cfg80211_coap_offload_cache_get()
518 if (!request) { in wlan_cfg80211_coap_offload_cache_get()
524 buf_info = osif_request_priv(request); in wlan_cfg80211_coap_offload_cache_get()
[all …]
/wlan-driver/qca-wifi-host-cmn/os_if/linux/crypto/src/
Dwlan_cfg80211_crypto.c261 struct osif_request *request; in wlan_cfg80211_crypto_add_key_cb() local
264 request = osif_request_get(context); in wlan_cfg80211_crypto_add_key_cb()
265 if (!request) { in wlan_cfg80211_crypto_add_key_cb()
270 priv = osif_request_priv(request); in wlan_cfg80211_crypto_add_key_cb()
272 osif_request_complete(request); in wlan_cfg80211_crypto_add_key_cb()
273 osif_request_put(request); in wlan_cfg80211_crypto_add_key_cb()
282 struct osif_request *request; in wlan_cfg80211_crypto_add_key() local
307 request = osif_request_alloc(&params); in wlan_cfg80211_crypto_add_key()
308 if (!request) { in wlan_cfg80211_crypto_add_key()
313 priv->add_key_ctx = osif_request_cookie(request);; in wlan_cfg80211_crypto_add_key()
[all …]
/wlan-driver/qcacld-3.0/components/nan/dispatcher/src/
Dnan_ucfg_api.c516 struct osif_request *request = NULL; in ucfg_nan_req_processor() local
541 request = osif_request_alloc(&params); in ucfg_nan_req_processor()
542 if (!request) { in ucfg_nan_req_processor()
546 psoc_obj->ndp_request_ctx = osif_request_cookie(request); in ucfg_nan_req_processor()
577 err = osif_request_wait_for_response(request); in ucfg_nan_req_processor()
580 osif_request_put(request); in ucfg_nan_req_processor()
589 osif_request_put(request); in ucfg_nan_req_processor()
611 struct osif_request *request; in ucfg_nan_request_process_cb() local
613 request = osif_request_get(cookie); in ucfg_nan_request_process_cb()
614 if (request) { in ucfg_nan_request_process_cb()
[all …]

1234