Home
last modified time | relevance | path

Searched refs:ml_dev (Results 1 – 23 of 23) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/
Dwlan_mlo_mgr_main.c810 static QDF_STATUS mlo_ap_ctx_deinit(struct wlan_mlo_dev_context *ml_dev) in mlo_ap_ctx_deinit() argument
812 wlan_mlo_vdev_aid_mgr_deinit(ml_dev); in mlo_ap_ctx_deinit()
813 mlo_ap_lock_destroy(ml_dev->ap_ctx); in mlo_ap_ctx_deinit()
814 qdf_mem_free(ml_dev->ap_ctx); in mlo_ap_ctx_deinit()
815 ml_dev->ap_ctx = NULL; in mlo_ap_ctx_deinit()
820 static QDF_STATUS mlo_ap_ctx_init(struct wlan_mlo_dev_context *ml_dev) in mlo_ap_ctx_init() argument
830 ml_dev->ap_ctx = ap_ctx; in mlo_ap_ctx_init()
831 mlo_ap_lock_create(ml_dev->ap_ctx); in mlo_ap_ctx_init()
832 if (wlan_mlo_vdev_aid_mgr_init(ml_dev) != QDF_STATUS_SUCCESS) { in mlo_ap_ctx_init()
833 mlo_ap_ctx_deinit(ml_dev); in mlo_ap_ctx_init()
[all …]
Dwlan_mlo_mgr_peer_list.c79 struct wlan_mlo_dev_context *ml_dev, in mlo_get_mlpeer() argument
88 mlo_peer_list = &ml_dev->mlo_peer_list; in mlo_get_mlpeer()
111 QDF_STATUS wlan_mlo_iterate_ml_peerlist(struct wlan_mlo_dev_context *ml_dev, in wlan_mlo_iterate_ml_peerlist() argument
122 peerlist = &ml_dev->mlo_peer_list; in wlan_mlo_iterate_ml_peerlist()
134 status = handler(ml_dev, ml_peer, arg); in wlan_mlo_iterate_ml_peerlist()
151 wlan_find_mlpeer_link_mac_addr(struct wlan_mlo_dev_context *ml_dev, in wlan_find_mlpeer_link_mac_addr() argument
162 ml_dev->mld_id, in wlan_find_mlpeer_link_mac_addr()
168 i, ml_dev->mld_id, in wlan_find_mlpeer_link_mac_addr()
181 wlan_find_mlpeer_mld_mac_addr(struct wlan_mlo_dev_context *ml_dev, in wlan_find_mlpeer_mld_mac_addr() argument
190 ml_dev->mld_id, in wlan_find_mlpeer_mld_mac_addr()
[all …]
Dwlan_mlo_mgr_aid.c556 struct wlan_mlo_dev_context *ml_dev, in mlo_peer_allocate_aid() argument
564 ap_ctx = ml_dev->ap_ctx; in mlo_peer_allocate_aid()
566 mlo_err("MLD ID %d ap_ctx is NULL", ml_dev->mld_id); in mlo_peer_allocate_aid()
572 mlo_err("MLD ID %d aid mgr is NULL", ml_dev->mld_id); in mlo_peer_allocate_aid()
580 mlo_err("MLD ID %d AID alloc failed", ml_dev->mld_id); in mlo_peer_allocate_aid()
587 ml_dev->mld_id, in mlo_peer_allocate_aid()
593 QDF_STATUS mlo_peer_free_aid(struct wlan_mlo_dev_context *ml_dev, in mlo_peer_free_aid() argument
599 if (!ml_dev->ap_ctx) { in mlo_peer_free_aid()
609 ml_aid_mgr = ml_dev->ap_ctx->ml_aid_mgr; in mlo_peer_free_aid()
617 ml_dev->mld_id, in mlo_peer_free_aid()
[all …]
Dwlan_mlo_mgr_primary_umac.c372 struct wlan_mlo_dev_context *ml_dev = NULL; in mlo_peer_assign_primary_umac() local
380 ml_dev = ml_peer->ml_dev; in mlo_peer_assign_primary_umac()
382 if (!ml_dev) { in mlo_peer_assign_primary_umac()
386 if (ml_dev->bridge_sta_ctx) { in mlo_peer_assign_primary_umac()
387 is_central_primary = ml_dev->bridge_sta_ctx->is_force_central_primary; in mlo_peer_assign_primary_umac()
388 bridge_umac_id = ml_dev->bridge_sta_ctx->bridge_umac_id; in mlo_peer_assign_primary_umac()
518 struct wlan_mlo_dev_context *ml_dev, in mlo_peer_calculate_avg_rssi() argument
529 vdev = ml_dev->wlan_vdev_list[i]; in mlo_peer_calculate_avg_rssi()
588 struct wlan_mlo_dev_context *ml_dev = vdev->mlo_dev_ctx; in mlo_check_topology() local
599 if (!ml_dev) in mlo_check_topology()
[all …]
Dwlan_mlo_mgr_peer.c31 static void mlo_partner_peer_create_post(struct wlan_mlo_dev_context *ml_dev, in mlo_partner_peer_create_post() argument
71 status = mlo_msgq_post(MLO_PEER_CREATE, ml_dev, &peer_create); in mlo_partner_peer_create_post()
79 static void mlo_partner_peer_reassoc_post(struct wlan_mlo_dev_context *ml_dev, in mlo_partner_peer_reassoc_post() argument
119 status = mlo_msgq_post(MLO_PEER_REASSOC, ml_dev, &peer_create); in mlo_partner_peer_reassoc_post()
127 static void mlo_link_peer_assoc_notify(struct wlan_mlo_dev_context *ml_dev, in mlo_link_peer_assoc_notify() argument
134 status = mlo_msgq_post(MLO_PEER_ASSOC, ml_dev, &peer_assoc); in mlo_link_peer_assoc_notify()
139 static void mlo_link_peer_send_assoc_fail(struct wlan_mlo_dev_context *ml_dev, in mlo_link_peer_send_assoc_fail() argument
146 status = mlo_msgq_post(MLO_PEER_ASSOC_FAIL, ml_dev, &peer_assoc_fail); in mlo_link_peer_send_assoc_fail()
151 static void mlo_link_peer_disconnect_notify(struct wlan_mlo_dev_context *ml_dev, in mlo_link_peer_disconnect_notify() argument
164 status = mlo_msgq_post(MLO_PEER_DISCONNECT, ml_dev, in mlo_link_peer_disconnect_notify()
[all …]
Dwlan_mlo_mgr_link_switch.c153 struct wlan_mlo_dev_context *ml_dev) in mlo_mgr_update_link_info_reset() argument
158 if (!ml_dev) in mlo_mgr_update_link_info_reset()
161 link_info = &ml_dev->link_ctx->links_info[0]; in mlo_mgr_update_link_info_reset()
226 void mlo_mgr_alloc_link_info_wmi_chan(struct wlan_mlo_dev_context *ml_dev) in mlo_mgr_alloc_link_info_wmi_chan() argument
231 if (!ml_dev) in mlo_mgr_alloc_link_info_wmi_chan()
234 link_info = &ml_dev->link_ctx->links_info[0]; in mlo_mgr_alloc_link_info_wmi_chan()
246 void mlo_mgr_free_link_info_wmi_chan(struct wlan_mlo_dev_context *ml_dev) in mlo_mgr_free_link_info_wmi_chan() argument
251 if (!ml_dev) in mlo_mgr_free_link_info_wmi_chan()
254 link_info = &ml_dev->link_ctx->links_info[0]; in mlo_mgr_free_link_info_wmi_chan()
594 struct wlan_mlo_dev_context *ml_dev) in mlo_mgr_link_switch_init() argument
[all …]
Dwlan_mlo_mgr_msgq.c26 struct wlan_mlo_dev_context *ml_dev, in mlo_msgq_post() argument
161 struct wlan_mlo_dev_context *ml_dev, in mlo_msgq_post() argument
187 msg->ml_dev = ml_dev; in mlo_msgq_post()
Dwlan_mlo_mgr_cmn.c338 uint8_t mlo_get_link_vdev_ix(struct wlan_mlo_dev_context *ml_dev, in mlo_get_link_vdev_ix() argument
343 mlo_dev_lock_acquire(ml_dev); in mlo_get_link_vdev_ix()
345 if (vdev == ml_dev->wlan_vdev_list[i]) { in mlo_get_link_vdev_ix()
346 mlo_dev_lock_release(ml_dev); in mlo_get_link_vdev_ix()
350 mlo_dev_lock_release(ml_dev); in mlo_get_link_vdev_ix()
Dwlan_mlo_mgr_ap.c656 void mlo_ap_ml_ptqm_peerid_free(struct wlan_mlo_dev_context *ml_dev, in mlo_ap_ml_ptqm_peerid_free() argument
660 if (qdf_test_bit(mlo_peer_id, ml_dev->mlo_peer_id_bmap)) in mlo_ap_ml_ptqm_peerid_free()
661 qdf_clear_bit(mlo_peer_id, ml_dev->mlo_peer_id_bmap); in mlo_ap_ml_ptqm_peerid_free()
Dwlan_mlo_t2lm.c1124 struct wlan_mlo_dev_context *ml_dev, in wlan_mlo_t2lm_update_peer_to_peer_negotiation() argument
1185 struct wlan_mlo_dev_context *ml_dev) in wlan_mlo_t2lm_register_link_update_notify_handler() argument
1187 ml_dev->t2lm_ctx.link_update_callback_index = in wlan_mlo_t2lm_register_link_update_notify_handler()
1190 ml_dev); in wlan_mlo_t2lm_register_link_update_notify_handler()
Dwlan_mlo_epcs.c52 mlo_dev_ctx = ml_peer->ml_dev; in wlan_mlo_is_node_epcs_authorized()
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/inc/
Dwlan_mlo_mgr_peer.h57 struct wlan_mlo_dev_context *ml_dev,
521 typedef QDF_STATUS (*wlan_mlo_op_handler)(struct wlan_mlo_dev_context *ml_dev,
536 QDF_STATUS wlan_mlo_iterate_ml_peerlist(struct wlan_mlo_dev_context *ml_dev,
551 struct wlan_mlo_dev_context *ml_dev,
565 struct wlan_mlo_dev_context *ml_dev,
583 struct wlan_mlo_dev_context *ml_dev,
610 struct wlan_mlo_dev_context *ml_dev,
624 struct wlan_mlo_dev_context *ml_dev,
638 struct wlan_mlo_dev_context *ml_dev,
651 QDF_STATUS mlo_dev_mlpeer_attach(struct wlan_mlo_dev_context *ml_dev,
[all …]
Dwlan_mlo_mgr_ap.h276 QDF_STATUS wlan_mlo_vdev_init_mbss_aid_mgr(struct wlan_mlo_dev_context *ml_dev,
347 QDF_STATUS wlan_mlo_vdev_aid_mgr_init(struct wlan_mlo_dev_context *ml_dev);
357 void wlan_mlo_vdev_aid_mgr_deinit(struct wlan_mlo_dev_context *ml_dev);
368 QDF_STATUS wlan_mlo_vdev_alloc_aid_mgr(struct wlan_mlo_dev_context *ml_dev,
380 QDF_STATUS wlan_mlo_vdev_free_aid_mgr(struct wlan_mlo_dev_context *ml_dev,
393 struct wlan_mlo_dev_context *ml_dev,
477 QDF_STATUS mlo_peer_free_aid(struct wlan_mlo_dev_context *ml_dev,
582 struct wlan_mlo_dev_context *ml_dev,
596 struct wlan_mlo_dev_context *ml_dev,
696 void mlo_ap_ml_ptqm_peerid_free(struct wlan_mlo_dev_context *ml_dev,
[all …]
Dwlan_mlo_mgr_sta.h198 void mlo_update_partner_bridge_info(struct wlan_mlo_dev_context *ml_dev,
248 struct wlan_mlo_dev_context *ml_dev = NULL; in mlo_set_sta_ctx_bss_mld_addr() local
253 ml_dev = vdev->mlo_dev_ctx; in mlo_set_sta_ctx_bss_mld_addr()
255 qdf_is_macaddr_zero(&ml_dev->bridge_sta_ctx->bss_mld_addr)) { in mlo_set_sta_ctx_bss_mld_addr()
258 qdf_copy_macaddr(&ml_dev->bridge_sta_ctx->bss_mld_addr, in mlo_set_sta_ctx_bss_mld_addr()
273 struct wlan_mlo_dev_context *ml_dev = NULL; in mlo_get_sta_ctx_bss_mld_addr() local
279 ml_dev = vdev->mlo_dev_ctx; in mlo_get_sta_ctx_bss_mld_addr()
281 !qdf_is_macaddr_zero(&ml_dev->bridge_sta_ctx->bss_mld_addr)) { in mlo_get_sta_ctx_bss_mld_addr()
282 mld_addr = &ml_dev->bridge_sta_ctx->bss_mld_addr; in mlo_get_sta_ctx_bss_mld_addr()
297 struct wlan_mlo_dev_context *ml_dev = NULL; in mlo_clear_bridge_sta_ctx() local
[all …]
Dwlan_mlo_mgr_link_switch.h198 struct wlan_mlo_dev_context *ml_dev);
610 struct wlan_mlo_dev_context *ml_dev);
621 QDF_STATUS mlo_mgr_link_switch_deinit(struct wlan_mlo_dev_context *ml_dev);
676 mlo_mgr_link_switch_deinit(struct wlan_mlo_dev_context *ml_dev) in mlo_mgr_link_switch_deinit() argument
683 struct wlan_mlo_dev_context *ml_dev) in mlo_mgr_link_switch_init() argument
Dwlan_mlo_mgr_msgq.h149 struct wlan_mlo_dev_context *ml_dev; member
164 struct wlan_mlo_dev_context *ml_dev,
Dwlan_mlo_t2lm.h725 struct wlan_mlo_dev_context *ml_dev);
728 wlan_mlo_t2lm_register_link_update_notify_handler(struct wlan_mlo_dev_context *ml_dev) in wlan_mlo_t2lm_register_link_update_notify_handler() argument
874 struct wlan_mlo_dev_context *ml_dev) in wlan_mlo_t2lm_register_link_update_notify_handler() argument
Dwlan_mlo_mgr_main.h924 QDF_STATUS wlan_mlo_check_valid_config(struct wlan_mlo_dev_context *ml_dev,
Dwlan_mlo_mgr_cmn.h115 void is_mlo_all_links_up(struct wlan_mlo_dev_context *ml_dev);
Dwlan_mlo_mgr_public_structs.h1110 struct wlan_mlo_dev_context *ml_dev; member
/wlan-driver/qca-wifi-host-cmn/os_if/linux/mlme/src/
Dosif_cm_req.c520 struct wlan_mlo_dev_context *ml_dev = NULL; in osif_update_partner_vdev_info() local
527 ml_dev = vdev->mlo_dev_ctx; in osif_update_partner_vdev_info()
528 if (!ml_dev) in osif_update_partner_vdev_info()
541 link_id = ml_dev->bridge_sta_ctx->bridge_link_id; in osif_update_partner_vdev_info()
571 struct wlan_mlo_dev_context *ml_dev = NULL; in osif_update_mlo_partner_info() local
576 ml_dev = vdev->mlo_dev_ctx; in osif_update_mlo_partner_info()
577 if (!ml_dev) { in osif_update_mlo_partner_info()
665 mlo_update_partner_bridge_info(ml_dev, &partner_info); in osif_update_mlo_partner_info()
/wlan-driver/qcacld-3.0/components/tdls/dispatcher/src/
Dwlan_tdls_api.c295 struct wlan_mlo_dev_context *ml_dev = vdev->mlo_dev_ctx; in wlan_mlo_is_tdls_session_present() local
297 if (!ml_dev) { in wlan_mlo_is_tdls_session_present()
302 for (i = 0; i < ml_dev->wlan_vdev_count; i++) { in wlan_mlo_is_tdls_session_present()
303 vdev = ml_dev->wlan_vdev_list[i]; in wlan_mlo_is_tdls_session_present()
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/
Dwlan_cm_roam_fw_sync.c1044 struct wlan_mlo_dev_context *ml_dev; in cm_roam_ml_clear_prev_ap_keys() local
1048 ml_dev = vdev->mlo_dev_ctx; in cm_roam_ml_clear_prev_ap_keys()
1049 if (!ml_dev || !ml_dev->link_ctx) in cm_roam_ml_clear_prev_ap_keys()
1052 link_info = &ml_dev->link_ctx->links_info[0]; in cm_roam_ml_clear_prev_ap_keys()