Home
last modified time | relevance | path

Searched refs:cm_req (Results 1 – 15 of 15) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/
Dwlan_cm_host_roam.c51 struct cm_req *cm_req; in cm_reassoc_fail_disconnect() local
64 cm_req = qdf_mem_malloc(sizeof(*cm_req)); in cm_reassoc_fail_disconnect()
65 if (!cm_req) in cm_reassoc_fail_disconnect()
74 disconnect_req = &cm_req->discon_req; in cm_reassoc_fail_disconnect()
81 qdf_mem_free(cm_req); in cm_reassoc_fail_disconnect()
120 struct wlan_objmgr_vdev *vdev, struct cm_roam_req *cm_req, in cm_update_roam_scan_filter() argument
128 struct wlan_objmgr_vdev *vdev, struct cm_roam_req *cm_req, in cm_update_roam_scan_filter() argument
137 if (cm_req->req.chan_freq) { in cm_update_roam_scan_filter()
139 filter->chan_freq_list[0] = cm_req->req.chan_freq; in cm_update_roam_scan_filter()
166 struct cnx_mgr *cm_ctx, struct cm_roam_req *cm_req, in cm_connect_prepare_scan_filter_for_roam() argument
[all …]
Dwlan_cm_connect_scan.c33 struct cm_connect_req *cm_req, in cm_fill_scan_req() argument
46 CM_PREFIX_REF(vdev_id, cm_req->cm_id)); in cm_fill_scan_req()
53 CM_PREFIX_REF(vdev_id, cm_req->cm_id)); in cm_fill_scan_req()
57 cm_req->scan_id = wlan_scan_get_scan_id(psoc); in cm_fill_scan_req()
63 req->scan_req.scan_id = cm_req->scan_id; in cm_fill_scan_req()
68 if (cm_req->req.scan_ie.len) { in cm_fill_scan_req()
70 qdf_mem_malloc(cm_req->req.scan_ie.len); in cm_fill_scan_req()
78 cm_req->req.scan_ie.ptr, in cm_fill_scan_req()
79 cm_req->req.scan_ie.len); in cm_fill_scan_req()
80 req->scan_req.extraie.len = cm_req->req.scan_ie.len; in cm_fill_scan_req()
[all …]
Dwlan_cm_util.c366 struct cm_req *cm_req; in cm_check_cmid_match_list_head() local
378 cm_req = qdf_container_of(cur_node, struct cm_req, node); in cm_check_cmid_match_list_head()
379 head_cm_id = cm_req->cm_id; in cm_check_cmid_match_list_head()
396 struct cm_req *cm_req; in cm_check_scanid_match_list_head() local
409 cm_req = qdf_container_of(cur_node, struct cm_req, node); in cm_check_scanid_match_list_head()
410 prefix = CM_ID_GET_PREFIX(cm_req->cm_id); in cm_check_scanid_match_list_head()
414 head_scan_id = cm_req->connect_req.scan_id; in cm_check_scanid_match_list_head()
427 struct cm_req *cm_get_req_by_cm_id_fl(struct cnx_mgr *cm_ctx, wlan_cm_id cm_id, in cm_get_req_by_cm_id_fl()
431 struct cm_req * cm_req; in cm_get_req_by_cm_id_fl() local
437 cm_req = qdf_container_of(cur_node, struct cm_req, node); in cm_get_req_by_cm_id_fl()
[all …]
Dwlan_cm_roam_util.c51 struct cm_req **roam_req) in cm_check_and_prepare_roam_req()
58 struct cm_req *cm_req, *req_ptr; in cm_check_and_prepare_roam_req() local
65 cm_req = qdf_container_of(connect_req, struct cm_req, connect_req); in cm_check_and_prepare_roam_req()
130 qdf_mem_free(cm_req); in cm_check_and_prepare_roam_req()
136 struct cm_req *cm_req) in cm_add_roam_req_to_list() argument
140 cm_req->roam_req.cm_id = in cm_add_roam_req_to_list()
141 cm_get_cm_id(cm_ctx, cm_req->roam_req.req.source); in cm_add_roam_req_to_list()
142 cm_req->cm_id = cm_req->roam_req.cm_id; in cm_add_roam_req_to_list()
143 cm_req->roam_req.req.vdev_id = wlan_vdev_get_id(cm_ctx->vdev); in cm_add_roam_req_to_list()
145 cm_add_req_to_list_and_indicate_osif(cm_ctx, cm_req, in cm_add_roam_req_to_list()
[all …]
Dwlan_cm_connect.c245 struct cm_connect_req *cm_req) in cm_ser_connect_req() argument
252 if (cm_is_link_switch_connect_req(cm_req)) { in cm_ser_connect_req()
260 &cm_req->cm_id); in cm_ser_connect_req()
266 CM_PREFIX_REF(vdev_id, cm_req->cm_id)); in cm_ser_connect_req()
271 cmd.cmd_id = cm_req->cm_id; in cm_ser_connect_req()
289 CM_PREFIX_REF(vdev_id, cm_req->cm_id), ser_cmd_status); in cm_ser_connect_req()
387 struct cm_req *cm_req; in cm_ser_connect_after_mode_change_resp() local
395 cm_req = cm_get_req_by_cm_id(cm_ctx, *cm_id); in cm_ser_connect_after_mode_change_resp()
396 if (!cm_req) in cm_ser_connect_after_mode_change_resp()
403 cm_req->cm_id)); in cm_ser_connect_after_mode_change_resp()
[all …]
Dwlan_cm_disconnect.c291 struct cm_req *cm_req; in cm_initiate_internal_disconnect() local
295 cm_req = qdf_mem_malloc(sizeof(*cm_req)); in cm_initiate_internal_disconnect()
297 if (!cm_req) in cm_initiate_internal_disconnect()
300 disconnect_req = &cm_req->discon_req; in cm_initiate_internal_disconnect()
312 qdf_mem_free(cm_req); in cm_initiate_internal_disconnect()
409 struct cm_req *cm_req; in cm_disconnect_active() local
413 cm_req = cm_get_req_by_cm_id(cm_ctx, *cm_id); in cm_disconnect_active()
414 if (!cm_req) { in cm_disconnect_active()
429 cm_req->discon_req.req.source != CM_MLO_ROAM_INTERNAL_DISCONNECT) in cm_disconnect_active()
441 req->req.source = cm_req->discon_req.req.source; in cm_disconnect_active()
[all …]
Dwlan_cm_roam.h109 struct cm_req *cm_req);
237 struct cm_req *cm_req);
351 struct cm_req **roam_req);
370 struct cm_req *cm_req);
396 struct cm_req **roam_req) in cm_check_and_prepare_roam_req()
404 cm_add_roam_req_to_list(struct cnx_mgr *cm_ctx, struct cm_req *cm_req) in cm_add_roam_req_to_list() argument
443 cm_send_roam_invoke_req(struct cnx_mgr *cm_ctx, struct cm_req *req);
477 struct cm_req **roam_req,
490 struct cm_req *cm_req);
Dwlan_cm_main.c124 struct cm_req *cm_req = NULL; in cm_deinit_req_list() local
139 cm_req = qdf_container_of(cur_node, struct cm_req, node); in cm_deinit_req_list()
140 prefix = CM_ID_GET_PREFIX(cm_req->cm_id); in cm_deinit_req_list()
141 qdf_list_remove_node(&cm_ctx->req_list, &cm_req->node); in cm_deinit_req_list()
144 cm_req->cm_id), prefix); in cm_deinit_req_list()
147 cm_free_connect_req_mem(&cm_req->connect_req); in cm_deinit_req_list()
149 cm_free_roam_req_mem(&cm_req->roam_req); in cm_deinit_req_list()
153 qdf_mem_free(cm_req); in cm_deinit_req_list()
157 cm_req = NULL; in cm_deinit_req_list()
Dwlan_cm_main_api.h107 struct cm_connect_req *cm_req,
124 struct cm_disconnect_req *cm_req,
982 struct cm_req *cm_req,
985 struct cm_req *cm_get_req_by_cm_id_fl(struct cnx_mgr *cm_ctx, wlan_cm_id cm_id,
1252 struct cm_req *cm_get_req_by_scan_id(struct cnx_mgr *cm_ctx,
1407 struct cm_req *cm_req);
1417 struct cm_req *cm_req,
1447 struct cm_req *cm_req) in cm_req_history_add() argument
1452 struct cm_req *cm_req, in cm_req_history_del() argument
1711 struct cm_req *cm_req);
[all …]
Dwlan_cm_sm.c280 struct cm_req *roam_cm_req; in cm_handle_fw_roam_connected_event()
393 struct cm_req *roam_cm_req; in cm_state_connected_event()
590 struct cm_req *cm_req; in cm_subst_join_pending_event() local
662 cm_req = cm_get_req_by_cm_id(cm_ctx, resp->cm_id); in cm_subst_join_pending_event()
663 if (cm_req) in cm_subst_join_pending_event()
664 cm_req->failed_req = true; in cm_subst_join_pending_event()
Dwlan_cm_main.h172 struct cm_req { struct
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/
Dwlan_cm_host_roam_preauth.c39 static QDF_STATUS cm_get_valid_preauth_candidate(struct cm_roam_req *cm_req) in cm_get_valid_preauth_candidate() argument
45 uint8_t vdev_id = cm_req->req.vdev_id; in cm_get_valid_preauth_candidate()
47 candidate_list = cm_req->candidate_list; in cm_get_valid_preauth_candidate()
50 CM_PREFIX_REF(vdev_id, cm_req->cm_id)); in cm_get_valid_preauth_candidate()
54 prev_candidate = cm_req->cur_candidate; in cm_get_valid_preauth_candidate()
58 } else if (cm_req->num_preauth_retry >= MAX_NUM_PREAUTH_RETRIES) { in cm_get_valid_preauth_candidate()
67 CM_PREFIX_REF(vdev_id, cm_req->cm_id)); in cm_get_valid_preauth_candidate()
70 cm_req->num_preauth_retry = 0; in cm_get_valid_preauth_candidate()
71 cm_req->cur_candidate = qdf_container_of(cur_node, in cm_get_valid_preauth_candidate()
76 cm_req->num_preauth_retry++; in cm_get_valid_preauth_candidate()
[all …]
Dwlan_cm_roam_offload_event.c117 struct cm_req *cm_req) in cm_add_fw_roam_dummy_ser_cb() argument
127 CM_PREFIX_REF(vdev_id, cm_req->cm_id)); in cm_add_fw_roam_dummy_ser_cb()
132 cmd.cmd_id = cm_req->cm_id; in cm_add_fw_roam_dummy_ser_cb()
150 CM_PREFIX_REF(vdev_id, cm_req->cm_id), ser_cmd_status); in cm_add_fw_roam_dummy_ser_cb()
159 struct cm_req **roam_req, in cm_prepare_roam_cmd()
162 struct cm_req *req; in cm_prepare_roam_cmd()
175 struct cm_req *cm_req) in cm_add_fw_roam_cmd_to_list_n_ser() argument
188 status = cm_add_roam_req_to_list(cm_ctx, cm_req); in cm_add_fw_roam_cmd_to_list_n_ser()
191 cm_free_roam_req_mem(&cm_req->roam_req); in cm_add_fw_roam_cmd_to_list_n_ser()
192 qdf_mem_free(cm_req); in cm_add_fw_roam_cmd_to_list_n_ser()
[all …]
Dwlan_cm_roam_i.h52 struct cm_req *cm_req);
Dwlan_cm_roam_offload.c6032 struct cm_req *cm_req; in cm_start_roam_invoke() local
6048 cm_req = qdf_mem_malloc(sizeof(*cm_req)); in cm_start_roam_invoke()
6049 if (!cm_req) in cm_start_roam_invoke()
6054 qdf_mem_free(cm_req); in cm_start_roam_invoke()
6066 cm_req->roam_req.req.forced_roaming = true; in cm_start_roam_invoke()
6072 qdf_mem_free(cm_req); in cm_start_roam_invoke()
6079 qdf_mem_free(cm_req); in cm_start_roam_invoke()
6083 cm_req->roam_req.req.forced_roaming = true; in cm_start_roam_invoke()
6091 qdf_copy_macaddr(&cm_req->roam_req.req.bssid, bssid); in cm_start_roam_invoke()
6106 qdf_mem_free(cm_req); in cm_start_roam_invoke()
[all …]