/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/ |
D | wlan_cm_sm.c | 26 void cm_set_state(struct cnx_mgr *cm_ctx, enum wlan_cm_sm_state state) in cm_set_state() argument 29 cm_ctx->sm.cm_state = state; in cm_set_state() 32 wlan_vdev_get_id(cm_ctx->vdev), state); in cm_set_state() 35 void cm_set_substate(struct cnx_mgr *cm_ctx, enum wlan_cm_sm_state substate) in cm_set_substate() argument 38 cm_ctx->sm.cm_substate = substate; in cm_set_substate() 41 wlan_vdev_get_id(cm_ctx->vdev), substate); in cm_set_substate() 44 void cm_sm_state_update(struct cnx_mgr *cm_ctx, in cm_sm_state_update() argument 48 if (!cm_ctx) in cm_sm_state_update() 51 cm_set_state(cm_ctx, state); in cm_sm_state_update() 52 cm_set_substate(cm_ctx, substate); in cm_sm_state_update() [all …]
|
D | wlan_cm_roam_sm.c | 34 struct cnx_mgr *cm_ctx = ctx; in cm_state_roaming_entry() local 36 cm_sm_state_update(cm_ctx, WLAN_CM_S_ROAMING, WLAN_CM_SS_IDLE); in cm_state_roaming_entry() 45 bool cm_handle_fw_roaming_event(struct cnx_mgr *cm_ctx, uint16_t event, in cm_handle_fw_roaming_event() argument 53 status = cm_add_fw_roam_cmd_to_list_n_ser(cm_ctx, data); in cm_handle_fw_roaming_event() 58 cm_sm_transition_to(cm_ctx, WLAN_CM_SS_ROAM_STARTED); in cm_handle_fw_roaming_event() 59 cm_sm_deliver_event_sync(cm_ctx, in cm_handle_fw_roaming_event() 64 status = cm_add_fw_roam_cmd_to_list_n_ser(cm_ctx, data); in cm_handle_fw_roaming_event() 69 cm_sm_transition_to(cm_ctx, WLAN_CM_SS_ROAM_STARTED); in cm_handle_fw_roaming_event() 70 cm_sm_deliver_event_sync(cm_ctx, in cm_handle_fw_roaming_event() 75 cm_sm_transition_to(cm_ctx, WLAN_CM_S_CONNECTED); in cm_handle_fw_roaming_event() [all …]
|
D | wlan_cm_util.c | 52 wlan_cm_id cm_get_cm_id(struct cnx_mgr *cm_ctx, enum wlan_cm_source source) in cm_get_cm_id() argument 56 uint8_t vdev_id = wlan_vdev_get_id(cm_ctx->vdev); in cm_get_cm_id() 60 cm_id = qdf_atomic_inc_return(&cm_ctx->global_cmd_id); in cm_get_cm_id() 75 struct cnx_mgr *cm_ctx = NULL; in cm_get_cm_ctx_fl() local 84 cm_ctx = vdev_mlme->cnx_mgr_ctx; in cm_get_cm_ctx_fl() 86 if (!cm_ctx) in cm_get_cm_ctx_fl() 90 return cm_ctx; in cm_get_cm_ctx_fl() 96 struct cnx_mgr *cm_ctx; in cm_get_ext_hdl_fl() local 99 cm_ctx = cm_get_cm_ctx_fl(vdev, func, line); in cm_get_ext_hdl_fl() 100 if (cm_ctx) in cm_get_ext_hdl_fl() [all …]
|
D | wlan_cm_disconnect.c | 37 void cm_send_disconnect_resp(struct cnx_mgr *cm_ctx, wlan_cm_id cm_id) in cm_send_disconnect_resp() argument 43 status = cm_fill_disconnect_resp_from_cm_id(cm_ctx, cm_id, &resp); in cm_send_disconnect_resp() 45 cm_disconnect_complete(cm_ctx, &resp); in cm_send_disconnect_resp() 53 struct cnx_mgr *cm_ctx; in cm_activate_disconnect_req_sched_cb() local 67 cm_ctx = cm_get_cm_ctx(vdev); in cm_activate_disconnect_req_sched_cb() 68 if (!cm_ctx) in cm_activate_disconnect_req_sched_cb() 72 cm_ctx->vdev, in cm_activate_disconnect_req_sched_cb() 85 cm_send_disconnect_resp(cm_ctx, cmd->cmd_id); in cm_activate_disconnect_req_sched_cb() 136 cm_sm_deliver_disconnect_event(struct cnx_mgr *cm_ctx, in cm_sm_deliver_disconnect_event() argument 148 cm_ctx, in cm_sm_deliver_disconnect_event() [all …]
|
D | wlan_cm_host_roam.c | 32 cm_fill_roam_fail_resp_from_cm_id(struct cnx_mgr *cm_ctx, in cm_fill_roam_fail_resp_from_cm_id() argument 39 resp->vdev_id = wlan_vdev_get_id(cm_ctx->vdev); in cm_fill_roam_fail_resp_from_cm_id() 41 cm_fill_bss_info_in_roam_rsp_by_cm_id(cm_ctx, cm_id, resp); in cm_fill_roam_fail_resp_from_cm_id() 50 struct cnx_mgr *cm_ctx; in cm_reassoc_fail_disconnect() local 56 cm_ctx = cm_get_cm_ctx(vdev); in cm_reassoc_fail_disconnect() 57 if (!cm_ctx) in cm_reassoc_fail_disconnect() 77 status = cm_sm_deliver_event_sync(cm_ctx, WLAN_CM_SM_EV_DISCONNECT_REQ, in cm_reassoc_fail_disconnect() 87 cm_send_reassoc_start_fail(struct cnx_mgr *cm_ctx, in cm_send_reassoc_start_fail() argument 99 cm_fill_roam_fail_resp_from_cm_id(cm_ctx, resp, cm_id, reason); in cm_send_reassoc_start_fail() 102 cm_ctx, WLAN_CM_SM_EV_REASSOC_FAILURE, in cm_send_reassoc_start_fail() [all …]
|
D | wlan_cm_sm.h | 129 QDF_STATUS cm_sm_create(struct cnx_mgr *cm_ctx); 140 QDF_STATUS cm_sm_destroy(struct cnx_mgr *cm_ctx); 168 cm_lock_create(struct cnx_mgr *cm_ctx) in cm_lock_create() argument 170 qdf_spinlock_create(&cm_ctx->sm.cm_sm_lock); in cm_lock_create() 182 cm_lock_destroy(struct cnx_mgr *cm_ctx) in cm_lock_destroy() argument 184 qdf_spinlock_destroy(&cm_ctx->sm.cm_sm_lock); in cm_lock_destroy() 195 static inline void cm_lock_acquire(struct cnx_mgr *cm_ctx) in cm_lock_acquire() argument 197 qdf_spin_lock_bh(&cm_ctx->sm.cm_sm_lock); in cm_lock_acquire() 208 static inline void cm_lock_release(struct cnx_mgr *cm_ctx) in cm_lock_release() argument 210 qdf_spin_unlock_bh(&cm_ctx->sm.cm_sm_lock); in cm_lock_release() [all …]
|
D | wlan_cm_main_api.h | 68 void cm_fill_failure_resp_from_cm_id(struct cnx_mgr *cm_ctx, 81 QDF_STATUS cm_connect_start(struct cnx_mgr *cm_ctx, struct cm_connect_req *req); 106 cm_handle_connect_req_in_non_init_state(struct cnx_mgr *cm_ctx, 123 cm_handle_discon_req_in_non_connected_state(struct cnx_mgr *cm_ctx, 135 QDF_STATUS cm_connect_scan_start(struct cnx_mgr *cm_ctx, 147 QDF_STATUS cm_connect_scan_resp(struct cnx_mgr *cm_ctx, wlan_scan_id *scan_id, 163 cm_connect_handle_event_post_fail(struct cnx_mgr *cm_ctx, wlan_cm_id cm_id); 187 bool cm_connect_resp_cmid_match_list_head(struct cnx_mgr *cm_ctx, 198 QDF_STATUS cm_connect_active(struct cnx_mgr *cm_ctx, wlan_cm_id *cm_id); 209 QDF_STATUS cm_try_next_candidate(struct cnx_mgr *cm_ctx, [all …]
|
D | wlan_cm_connect.c | 56 cm_fill_failure_resp_from_cm_id(struct cnx_mgr *cm_ctx, in cm_fill_failure_resp_from_cm_id() argument 63 resp->vdev_id = wlan_vdev_get_id(cm_ctx->vdev); in cm_fill_failure_resp_from_cm_id() 66 cm_fill_bss_info_in_connect_rsp_by_cm_id(cm_ctx, cm_id, resp); in cm_fill_failure_resp_from_cm_id() 69 static QDF_STATUS cm_connect_cmd_timeout(struct cnx_mgr *cm_ctx, in cm_connect_cmd_timeout() argument 79 cm_fill_failure_resp_from_cm_id(cm_ctx, resp, cm_id, CM_SER_TIMEOUT); in cm_connect_cmd_timeout() 80 status = cm_sm_deliver_event(cm_ctx->vdev, in cm_connect_cmd_timeout() 86 cm_connect_handle_event_post_fail(cm_ctx, cm_id); in cm_connect_cmd_timeout() 96 struct cnx_mgr *cm_ctx; in cm_activate_connect_req_sched_cb() local 110 cm_ctx = cm_get_cm_ctx(vdev); in cm_activate_connect_req_sched_cb() 111 if (!cm_ctx) in cm_activate_connect_req_sched_cb() [all …]
|
D | wlan_cm_roam.h | 85 QDF_STATUS cm_reassoc_complete(struct cnx_mgr *cm_ctx, 108 QDF_STATUS cm_host_roam_start_req(struct cnx_mgr *cm_ctx, 119 QDF_STATUS cm_reassoc_start(struct cnx_mgr *cm_ctx, struct cm_roam_req *req); 145 cm_handle_reassoc_hw_mode_change(struct cnx_mgr *cm_ctx, wlan_cm_id *cm_id, 149 cm_handle_reassoc_hw_mode_change(struct cnx_mgr *cm_ctx, wlan_cm_id *cm_id, in cm_handle_reassoc_hw_mode_change() argument 164 QDF_STATUS cm_reassoc_active(struct cnx_mgr *cm_ctx, wlan_cm_id *cm_id); 177 QDF_STATUS cm_reassoc_disconnect_complete(struct cnx_mgr *cm_ctx, 188 cm_resume_reassoc_after_peer_create(struct cnx_mgr *cm_ctx, wlan_cm_id *cm_id); 198 bool cm_roam_resp_cmid_match_list_head(struct cnx_mgr *cm_ctx, 211 cm_send_reassoc_start_fail(struct cnx_mgr *cm_ctx, [all …]
|
D | wlan_cm_roam_util.c | 36 static void cm_fill_roam_vdev_crypto_params(struct cnx_mgr *cm_ctx, in cm_fill_roam_vdev_crypto_params() argument 39 cm_fill_vdev_crypto_params(cm_ctx, req); in cm_fill_roam_vdev_crypto_params() 42 static void cm_fill_roam_vdev_crypto_params(struct cnx_mgr *cm_ctx, in cm_fill_roam_vdev_crypto_params() argument 49 QDF_STATUS cm_check_and_prepare_roam_req(struct cnx_mgr *cm_ctx, in cm_check_and_prepare_roam_req() argument 62 if (!cm_is_roam_enabled(wlan_vdev_get_psoc(cm_ctx->vdev))) in cm_check_and_prepare_roam_req() 79 wlan_vdev_get_bss_peer_mac(cm_ctx->vdev, &bssid); in cm_check_and_prepare_roam_req() 85 status = wlan_vdev_get_bss_peer_mld_mac(cm_ctx->vdev, in cm_check_and_prepare_roam_req() 96 status = wlan_vdev_mlme_get_ssid(cm_ctx->vdev, ssid.ssid, &ssid.length); in cm_check_and_prepare_roam_req() 124 cm_fill_roam_vdev_crypto_params(cm_ctx, &connect_req->req); in cm_check_and_prepare_roam_req() 135 QDF_STATUS cm_add_roam_req_to_list(struct cnx_mgr *cm_ctx, in cm_add_roam_req_to_list() argument [all …]
|
D | wlan_cm_main.c | 38 cm_req_lock_create(struct cnx_mgr *cm_ctx) in cm_req_lock_create() argument 40 qdf_spinlock_create(&cm_ctx->cm_req_lock); in cm_req_lock_create() 52 cm_req_lock_destroy(struct cnx_mgr *cm_ctx) in cm_req_lock_destroy() argument 54 qdf_spinlock_destroy(&cm_ctx->cm_req_lock); in cm_req_lock_destroy() 58 cm_req_lock_create(struct cnx_mgr *cm_ctx) in cm_req_lock_create() argument 60 qdf_mutex_create(&cm_ctx->cm_req_lock); in cm_req_lock_create() 64 cm_req_lock_destroy(struct cnx_mgr *cm_ctx) in cm_req_lock_destroy() argument 66 qdf_mutex_destroy(&cm_ctx->cm_req_lock); in cm_req_lock_destroy() 120 static void cm_deinit_req_list(struct cnx_mgr *cm_ctx) in cm_deinit_req_list() argument 134 cm_req_lock_acquire(cm_ctx); in cm_deinit_req_list() [all …]
|
D | wlan_cm_connect_scan.c | 32 static QDF_STATUS cm_fill_scan_req(struct cnx_mgr *cm_ctx, in cm_fill_scan_req() argument 38 uint8_t vdev_id = wlan_vdev_get_id(cm_ctx->vdev); in cm_fill_scan_req() 43 pdev = wlan_vdev_get_pdev(cm_ctx->vdev); in cm_fill_scan_req() 58 status = wlan_scan_init_default_params(cm_ctx->vdev, req); in cm_fill_scan_req() 64 req->scan_req.scan_req_id = cm_ctx->scan_requester_id; in cm_fill_scan_req() 83 if (wlan_vdev_mlme_get_opmode(cm_ctx->vdev) == QDF_P2P_CLIENT_MODE) in cm_fill_scan_req() 139 QDF_STATUS cm_connect_scan_start(struct cnx_mgr *cm_ctx, in cm_connect_scan_start() argument 151 status = cm_fill_scan_req(cm_ctx, cm_req, scan_req); in cm_connect_scan_start() 169 CM_PREFIX_REF(wlan_vdev_get_id(cm_ctx->vdev), in cm_connect_scan_start() 172 status = cm_sm_deliver_event_sync(cm_ctx, in cm_connect_scan_start() [all …]
|
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/ |
D | wlan_cm_host_roam_preauth.c | 86 void cm_preauth_fail(struct cnx_mgr *cm_ctx, in cm_preauth_fail() argument 93 cm_req = cm_get_req_by_cm_id(cm_ctx, cm_id); in cm_preauth_fail() 101 if (cm_get_state(cm_ctx) == WLAN_CM_S_CONNECTED) in cm_preauth_fail() 102 cm_mlme_roam_preauth_fail(cm_ctx->vdev, &cm_req->roam_req.req, in cm_preauth_fail() 106 CM_PREFIX_REF(wlan_vdev_get_id(cm_ctx->vdev), cm_id)); in cm_preauth_fail() 109 cm_get_state(cm_ctx) == WLAN_CM_S_CONNECTED) in cm_preauth_fail() 110 wlan_cm_disconnect(cm_ctx->vdev, CM_ROAM_DISCONNECT, in cm_preauth_fail() 113 cm_remove_cmd(cm_ctx, &cm_id); in cm_preauth_fail() 117 cm_preauth_handle_event_post_fail(struct cnx_mgr *cm_ctx, wlan_cm_id cm_id) in cm_preauth_handle_event_post_fail() argument 124 cm_preauth_fail(cm_ctx, &preauth_fail_rsp); in cm_preauth_handle_event_post_fail() [all …]
|
D | wlan_cm_roam_offload_event.c | 50 struct cnx_mgr *cm_ctx; in cm_fw_roam_ser_cb() local 60 cm_ctx = cm_get_cm_ctx(vdev); in cm_fw_roam_ser_cb() 61 if (!cm_ctx) in cm_fw_roam_ser_cb() 66 cm_ctx->active_cm_id = cmd->cmd_id; in cm_fw_roam_ser_cb() 75 cm_abort_fw_roam(cm_ctx, cmd->cmd_id); in cm_fw_roam_ser_cb() 90 QDF_STATUS cm_abort_fw_roam(struct cnx_mgr *cm_ctx, in cm_abort_fw_roam() argument 98 roam_req = cm_get_first_roam_command(cm_ctx->vdev); in cm_abort_fw_roam() 104 mlme_cm_osif_roam_abort_ind(cm_ctx->vdev); in cm_abort_fw_roam() 105 status = cm_sm_deliver_event(cm_ctx->vdev, in cm_abort_fw_roam() 109 cm_remove_cmd(cm_ctx, &cm_id); in cm_abort_fw_roam() [all …]
|
D | wlan_cm_roam_fw_sync.c | 141 cm_fw_send_vdev_roam_event(struct cnx_mgr *cm_ctx, uint16_t data_len, in cm_fw_send_vdev_roam_event() argument 149 roam_req = cm_get_first_roam_command(cm_ctx->vdev); in cm_fw_send_vdev_roam_event() 158 psoc = wlan_vdev_get_psoc(cm_ctx->vdev); in cm_fw_send_vdev_roam_event() 167 status = wlan_vdev_mlme_sm_deliver_evt(cm_ctx->vdev, in cm_fw_send_vdev_roam_event() 992 struct cnx_mgr *cm_ctx; in cm_update_scan_db_on_roam_success() local 996 cm_ctx = cm_get_cm_ctx(vdev); in cm_update_scan_db_on_roam_success() 997 if (!cm_ctx) in cm_update_scan_db_on_roam_success() 1005 cm_inform_bcn_probe(cm_ctx, in cm_update_scan_db_on_roam_success() 1026 cm_inform_bcn_probe(cm_ctx, in cm_update_scan_db_on_roam_success() 1078 struct cnx_mgr *cm_ctx; in cm_fw_roam_sync_propagation() local [all …]
|
D | wlan_cm_roam_i.h | 51 struct cnx_mgr *cm_ctx, 98 QDF_STATUS cm_abort_fw_roam(struct cnx_mgr *cm_ctx,
|
D | wlan_cm_roam_offload.c | 6719 struct cnx_mgr *cm_ctx, in cm_find_roam_candidate() argument 6794 cm_send_roam_invoke_req(struct cnx_mgr *cm_ctx, struct cm_req *req) in cm_send_roam_invoke_req() argument 6813 pdev = wlan_vdev_get_pdev(cm_ctx->vdev); in cm_send_roam_invoke_req() 6835 wlan_vdev_get_bss_peer_mac(cm_ctx->vdev, &connected_bssid); in cm_send_roam_invoke_req() 6868 status = cm_find_roam_candidate(pdev, cm_ctx, roam_req, in cm_send_roam_invoke_req() 6892 status = cm_sm_deliver_event_sync(cm_ctx, in cm_send_roam_invoke_req() 6897 cm_remove_cmd(cm_ctx, &cm_id); in cm_send_roam_invoke_req()
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/dispatcher/src/ |
D | wlan_cm_api.c | 80 struct cnx_mgr *cm_ctx = cm_get_cm_ctx(vdev); in wlan_cm_bss_peer_create_rsp() local 82 if (!cm_ctx) in wlan_cm_bss_peer_create_rsp() 85 prefix = CM_ID_GET_PREFIX(cm_ctx->active_cm_id); in wlan_cm_bss_peer_create_rsp() 95 struct cnx_mgr *cm_ctx = cm_get_cm_ctx(vdev); in wlan_cm_update_scan_mlme_info() local 97 if (!cm_ctx) in wlan_cm_update_scan_mlme_info() 100 return cm_update_scan_mlme_info(cm_ctx, resp); in wlan_cm_update_scan_mlme_info() 125 struct cnx_mgr *cm_ctx = cm_get_cm_ctx(vdev); in wlan_cm_disconnect_rsp() local 127 if (!cm_ctx) in wlan_cm_disconnect_rsp() 130 prefix = CM_ID_GET_PREFIX(cm_ctx->active_cm_id); in wlan_cm_disconnect_rsp() 402 struct cnx_mgr *cm_ctx = cm_get_cm_ctx(vdev); in wlan_cm_req_history_print() local [all …]
|
/wlan-driver/qcacld-3.0/components/umac/mlme/mlo_mgr/inc/ |
D | wlan_t2lm_api.h | 189 wlan_t2lm_validate_candidate(struct cnx_mgr *cm_ctx, 341 wlan_t2lm_validate_candidate(struct cnx_mgr *cm_ctx, in wlan_t2lm_validate_candidate() argument
|
/wlan-driver/qcacld-3.0/components/umac/mlme/mlo_mgr/src/ |
D | wlan_t2lm_api.c | 470 wlan_t2lm_validate_candidate(struct cnx_mgr *cm_ctx, in wlan_t2lm_validate_candidate() argument 481 if (!scan_entry || !cm_ctx || !cm_ctx->vdev) in wlan_t2lm_validate_candidate() 484 vdev = cm_ctx->vdev; in wlan_t2lm_validate_candidate()
|
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/dispatcher/src/ |
D | wlan_cm_roam_api.c | 5465 struct cnx_mgr *cm_ctx; in wlan_cm_add_frame_to_scan_db() local 5487 cm_ctx = cm_get_cm_ctx(vdev); in wlan_cm_add_frame_to_scan_db() 5488 if (!cm_ctx) { in wlan_cm_add_frame_to_scan_db() 5572 cm_inform_bcn_probe(cm_ctx, frame->frame, frame->frame_length, in wlan_cm_add_frame_to_scan_db() 5575 cm_ctx->active_cm_id); in wlan_cm_add_frame_to_scan_db()
|