Home
last modified time | relevance | path

Searched refs:mlo_ctx (Results 1 – 16 of 16) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/
Dwlan_mlo_mgr_setup.c34 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlo_psoc_get_index_id() local
37 if (!mlo_ctx) in mlo_psoc_get_index_id()
46 if (grp_id >= mlo_ctx->total_grp) { in mlo_psoc_get_index_id()
48 grp_id, mlo_ctx->total_grp); in mlo_psoc_get_index_id()
52 for (id = 0; id < mlo_ctx->setup_info[grp_id].tot_socs; id++) in mlo_psoc_get_index_id()
53 if (mlo_ctx->setup_info[grp_id].curr_soc_list[id] == psoc) { in mlo_psoc_get_index_id()
61 for (id = 0; id < mlo_ctx->setup_info[grp_id].tot_socs; id++) in mlo_psoc_get_index_id()
62 if (!mlo_ctx->setup_info[grp_id].curr_soc_list[id]) { in mlo_psoc_get_index_id()
72 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlo_psoc_get_grp_id() local
77 if (!mlo_ctx) in mlo_psoc_get_grp_id()
[all …]
Dwlan_mlo_mgr_cmn.c104 QDF_STATUS wlan_mlo_mgr_register_osif_ext_ops(struct mlo_mgr_context *mlo_ctx, in wlan_mlo_mgr_register_osif_ext_ops() argument
107 if (!ops || !mlo_ctx) in wlan_mlo_mgr_register_osif_ext_ops()
110 mlo_ctx->osif_ops = ops; in wlan_mlo_mgr_register_osif_ext_ops()
114 QDF_STATUS wlan_mlo_mgr_unregister_osif_ext_ops(struct mlo_mgr_context *mlo_ctx) in wlan_mlo_mgr_unregister_osif_ext_ops() argument
116 if (!mlo_ctx) in wlan_mlo_mgr_unregister_osif_ext_ops()
119 mlo_ctx->osif_ops = NULL; in wlan_mlo_mgr_unregister_osif_ext_ops()
127 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlo_mlme_clone_sta_security() local
131 if (!req || !mlo_ctx || !mlo_ctx->mlme_ops || in mlo_mlme_clone_sta_security()
132 !mlo_ctx->mlme_ops->mlo_mlme_ext_validate_conn_req) in mlo_mlme_clone_sta_security()
139 if (mlo_ctx->mlme_ops->mlo_mlme_ext_clone_security_param) { in mlo_mlme_clone_sta_security()
[all …]
Dwlan_mlo_mgr_msgq.c124 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlo_msgq_timer_start() local
127 if (!mlo_ctx) in mlo_msgq_timer_start()
130 msgq_ctx = mlo_ctx->msgq_ctx; in mlo_msgq_timer_start()
146 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlo_msgq_timer_stop() local
148 if (!mlo_ctx) in mlo_msgq_timer_stop()
151 msgq_ctx = mlo_ctx->msgq_ctx; in mlo_msgq_timer_stop()
172 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlo_msgq_post() local
174 if (!mlo_ctx) in mlo_msgq_post()
177 msgq_ctx = mlo_ctx->msgq_ctx; in mlo_msgq_post()
408 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlo_msgq_msg_flush() local
[all …]
Dwlan_mlo_mgr_ap.c626 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlo_ap_ml_peerid_alloc() local
630 ml_peerid_lock_acquire(mlo_ctx); in mlo_ap_ml_peerid_alloc()
631 mlo_peer_id = mlo_ctx->last_mlo_peer_id; in mlo_ap_ml_peerid_alloc()
632 for (i = 0; i < mlo_ctx->max_mlo_peer_id; i++) { in mlo_ap_ml_peerid_alloc()
633 mlo_peer_id = (mlo_peer_id + 1) % mlo_ctx->max_mlo_peer_id; in mlo_ap_ml_peerid_alloc()
638 if (qdf_test_bit(mlo_peer_id, mlo_ctx->mlo_peer_id_bmap)) in mlo_ap_ml_peerid_alloc()
641 qdf_set_bit(mlo_peer_id, mlo_ctx->mlo_peer_id_bmap); in mlo_ap_ml_peerid_alloc()
644 mlo_ctx->last_mlo_peer_id = mlo_peer_id; in mlo_ap_ml_peerid_alloc()
645 ml_peerid_lock_release(mlo_ctx); in mlo_ap_ml_peerid_alloc()
647 if (i == mlo_ctx->max_mlo_peer_id) in mlo_ap_ml_peerid_alloc()
[all …]
Dwlan_mlo_mgr_primary_umac.c367 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlo_peer_assign_primary_umac() local
417 (mlo_ctx->force_non_assoc_prim_umac)) { in mlo_peer_assign_primary_umac()
845 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlo_peer_allocate_primary_umac() local
870 if ((mlo_ctx->force_non_assoc_prim_umac) && in mlo_peer_allocate_primary_umac()
917 if (mlo_ctx->mlo_is_force_primary_umac) { in mlo_peer_allocate_primary_umac()
926 if (psoc_id == mlo_ctx->mlo_forced_primary_umac_id) { in mlo_peer_allocate_primary_umac()
Dwlan_mlo_mgr_main.c69 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlo_wsi_link_info_update_soc() local
73 if (!mlo_ctx) { in mlo_wsi_link_info_update_soc()
78 mlo_grp_info = &mlo_ctx->wsi_info->mlo_psoc_grp[grp_id]; in mlo_wsi_link_info_update_soc()
84 mlo_ctx->wsi_info->num_psoc++; in mlo_wsi_link_info_update_soc()
Dwlan_mlo_mgr_sta.c2828 struct wlan_mlo_dev_context *mlo_ctx; in mlo_get_link_state_context() local
2842 mlo_ctx = vdev->mlo_dev_ctx; in mlo_get_link_state_context()
2844 if (!mlo_ctx) { in mlo_get_link_state_context()
2850 sta_ctx = mlo_ctx->sta_ctx; in mlo_get_link_state_context()
2857 mlo_dev_lock_acquire(mlo_ctx); in mlo_get_link_state_context()
2861 mlo_dev_lock_release(mlo_ctx); in mlo_get_link_state_context()
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/inc/
Dwlan_mlo_mgr_main.h82 void ml_link_lock_create(struct mlo_mgr_context *mlo_ctx) in ml_link_lock_create() argument
84 qdf_spinlock_create(&mlo_ctx->ml_dev_list_lock); in ml_link_lock_create()
96 ml_link_lock_destroy(struct mlo_mgr_context *mlo_ctx) in ml_link_lock_destroy() argument
98 qdf_spinlock_destroy(&mlo_ctx->ml_dev_list_lock); in ml_link_lock_destroy()
110 void ml_link_lock_acquire(struct mlo_mgr_context *mlo_ctx) in ml_link_lock_acquire() argument
112 qdf_spin_lock_bh(&mlo_ctx->ml_dev_list_lock); in ml_link_lock_acquire()
124 void ml_link_lock_release(struct mlo_mgr_context *mlo_ctx) in ml_link_lock_release() argument
126 qdf_spin_unlock_bh(&mlo_ctx->ml_dev_list_lock); in ml_link_lock_release()
194 void ml_aid_lock_create(struct mlo_mgr_context *mlo_ctx) in ml_aid_lock_create() argument
196 qdf_spinlock_create(&mlo_ctx->aid_lock); in ml_aid_lock_create()
[all …]
Dwlan_mlo_mgr_cmn.h163 QDF_STATUS wlan_mlo_mgr_register_osif_ext_ops(struct mlo_mgr_context *mlo_ctx,
174 wlan_mlo_mgr_unregister_osif_ext_ops(struct mlo_mgr_context *mlo_ctx);
177 wlan_mlo_mgr_register_osif_ext_ops(struct mlo_mgr_context *mlo_ctx, in wlan_mlo_mgr_register_osif_ext_ops() argument
184 wlan_mlo_mgr_unregister_osif_ext_ops(struct mlo_mgr_context *mlo_ctx) in wlan_mlo_mgr_unregister_osif_ext_ops() argument
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/mlo/
Ddp_mlo.c41 static void dp_umac_reset_update_partner_map(struct dp_mlo_ctxt *mlo_ctx,
1349 static void dp_umac_reset_update_partner_map(struct dp_mlo_ctxt *mlo_ctx, in dp_umac_reset_update_partner_map() argument
1353 &mlo_ctx->grp_umac_reset_ctx; in dp_umac_reset_update_partner_map()
1363 struct dp_mlo_ctxt *mlo_ctx; in dp_umac_reset_notify_asserted_soc() local
1372 mlo_ctx = be_soc->ml_ctxt; in dp_umac_reset_notify_asserted_soc()
1373 if (!mlo_ctx) { in dp_umac_reset_notify_asserted_soc()
1380 dp_umac_reset_update_partner_map(mlo_ctx, be_soc->mlo_chip_id, false); in dp_umac_reset_notify_asserted_soc()
1394 struct dp_mlo_ctxt *mlo_ctx = be_soc->ml_ctxt; in dp_umac_reset_complete_umac_recovery() local
1397 if (!mlo_ctx) { in dp_umac_reset_complete_umac_recovery()
1402 grp_umac_reset_ctx = &mlo_ctx->grp_umac_reset_ctx; in dp_umac_reset_complete_umac_recovery()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/inc/
Dcdp_txrx_mlo.h55 struct cdp_mlo_ctxt *mlo_ctx) in cdp_soc_mlo_soc_setup() argument
66 soc->ops->mlo_ops->mlo_soc_setup(soc, mlo_ctx); in cdp_soc_mlo_soc_setup()
70 struct cdp_mlo_ctxt *mlo_ctx, in cdp_soc_mlo_soc_teardown() argument
82 soc->ops->mlo_ops->mlo_soc_teardown(soc, mlo_ctx, is_force_down); in cdp_soc_mlo_soc_teardown()
86 struct cdp_mlo_ctxt *mlo_ctx) in cdp_mlo_setup_complete() argument
97 soc->ops->mlo_ops->mlo_setup_complete(mlo_ctx); in cdp_mlo_setup_complete()
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_process_beacon_frame.c117 struct wlan_mlo_dev_context *mlo_ctx; in lim_process_beacon_mlo() local
136 mlo_ctx = vdev->mlo_dev_ctx; in lim_process_beacon_mlo()
137 if (!mlo_ctx) { in lim_process_beacon_mlo()
150 mlo_ctx->mlo_max_recom_simult_links = in lim_process_beacon_mlo()
181 is_sta_csa_synced = mlo_is_sta_csa_synced(mlo_ctx, link_id); in lim_process_beacon_mlo()
182 link_info = mlo_mgr_get_ap_link_by_link_id(mlo_ctx, link_id); in lim_process_beacon_mlo()
194 mlo_sta_handle_csa_standby_link(mlo_ctx, link_id, in lim_process_beacon_mlo()
198 mlo_sta_csa_save_params(mlo_ctx, link_id, in lim_process_beacon_mlo()
214 mlo_sta_handle_csa_standby_link(mlo_ctx, link_id, in lim_process_beacon_mlo()
217 mlo_sta_csa_save_params(mlo_ctx, link_id, in lim_process_beacon_mlo()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/obj_mgr/src/
Dwlan_objmgr_global_obj.c922 return g_umac_glb_obj->mlo_ctx; in wlan_objmgr_get_mlo_ctx()
929 g_umac_glb_obj->mlo_ctx = ctx; in wlan_objmgr_set_mlo_ctx()
935 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in wlan_objmgr_set_dp_mlo_ctx() local
937 if (!mlo_ctx) in wlan_objmgr_set_dp_mlo_ctx()
940 if (grp_id >= mlo_ctx->total_grp) in wlan_objmgr_set_dp_mlo_ctx()
943 mlo_ctx->setup_info[grp_id].dp_handle = dp_handle; in wlan_objmgr_set_dp_mlo_ctx()
950 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in wlan_objmgr_get_dp_mlo_ctx() local
952 if (!mlo_ctx) in wlan_objmgr_get_dp_mlo_ctx()
955 if (grp_id >= mlo_ctx->total_grp) in wlan_objmgr_get_dp_mlo_ctx()
958 return mlo_ctx->setup_info[grp_id].dp_handle; in wlan_objmgr_get_dp_mlo_ctx()
Dwlan_objmgr_global_obj_i.h69 struct mlo_mgr_context *mlo_ctx; member
/wlan-driver/qcacld-3.0/components/mlme/core/src/
Dwlan_mlme_vdev_mgr_interface.c97 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlme_register_mlo_ext_ops() local
99 if (!mlo_ctx) in mlme_register_mlo_ext_ops()
102 mlo_reg_mlme_ext_cb(mlo_ctx, &mlo_ext_ops); in mlme_register_mlo_ext_ops()
118 struct mlo_mgr_context *mlo_ctx = wlan_objmgr_get_mlo_ctx(); in mlme_unregister_mlo_ext_ops() local
120 if (mlo_ctx) in mlme_unregister_mlo_ext_ops()
121 mlo_unreg_mlme_ext_cb(mlo_ctx); in mlme_unregister_mlo_ext_ops()
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_mlo.c845 struct wlan_mlo_dev_context *mlo_ctx; in wlan_hdd_cached_link_state_request() local
847 mlo_ctx = vdev->mlo_dev_ctx; in wlan_hdd_cached_link_state_request()
848 if (!mlo_ctx) { in wlan_hdd_cached_link_state_request()
872 mlo_ctx, in wlan_hdd_cached_link_state_request()