Lines Matching refs:i
40 int i; in mlo_ap_vdev_attach() local
66 for (i = 0; i < WLAN_UMAC_MLO_MAX_VDEVS; i++) { in mlo_ap_vdev_attach()
67 if (dev_ctx->wlan_vdev_list[i]) in mlo_ap_vdev_attach()
68 pr_vdev_ids[i] = wlan_vdev_get_id(dev_ctx->wlan_vdev_list[i]); in mlo_ap_vdev_attach()
72 for (i = 0; i < WLAN_UMAC_MLO_MAX_VDEVS; i++) in mlo_ap_vdev_attach()
73 pr_vdev_ids[i] = CDP_INVALID_VDEV_ID; in mlo_ap_vdev_attach()
76 for (i = 0; i < WLAN_UMAC_MLO_MAX_BRIDGE_VDEVS; i++) { in mlo_ap_vdev_attach()
77 if (dev_ctx->wlan_bridge_vdev_list[i]) in mlo_ap_vdev_attach()
78 pr_vdev_ids[i] = wlan_vdev_get_id( in mlo_ap_vdev_attach()
79 dev_ctx->wlan_bridge_vdev_list[i]); in mlo_ap_vdev_attach()
118 int i; in mlo_ap_get_bridge_vdev_list() local
132 for (i = 0; i < QDF_ARRAY_SIZE(dev_ctx->wlan_bridge_vdev_list); i++) { in mlo_ap_get_bridge_vdev_list()
133 if (dev_ctx->wlan_bridge_vdev_list[i]) { in mlo_ap_get_bridge_vdev_list()
135 dev_ctx->wlan_bridge_vdev_list[i], in mlo_ap_get_bridge_vdev_list()
140 dev_ctx->wlan_bridge_vdev_list[i]; in mlo_ap_get_bridge_vdev_list()
150 int i; in mlo_ap_get_bridge_vdev_count() local
161 for (i = 0; i < QDF_ARRAY_SIZE(mld_ctx->wlan_bridge_vdev_list); i++) { in mlo_ap_get_bridge_vdev_count()
162 if (mld_ctx->wlan_bridge_vdev_list[i]) in mlo_ap_get_bridge_vdev_count()
175 int i; in mlo_ap_get_vdev_list_no_flag() local
189 for (i = 0; i < QDF_ARRAY_SIZE(dev_ctx->wlan_vdev_list); i++) { in mlo_ap_get_vdev_list_no_flag()
190 if (dev_ctx->wlan_vdev_list[i]) { in mlo_ap_get_vdev_list_no_flag()
192 dev_ctx->wlan_vdev_list[i], in mlo_ap_get_vdev_list_no_flag()
197 dev_ctx->wlan_vdev_list[i]; in mlo_ap_get_vdev_list_no_flag()
211 int i; in mlo_peer_get_vdev_list() local
223 for (i = 0; i < MAX_MLO_LINK_PEERS; i++) { in mlo_peer_get_vdev_list()
224 peer_entry = &peer->mlo_peer_ctx->peer_list[i]; in mlo_peer_get_vdev_list()
248 int i; in mlo_ap_get_vdev_list() local
262 for (i = 0; i < QDF_ARRAY_SIZE(dev_ctx->wlan_vdev_list); i++) { in mlo_ap_get_vdev_list()
263 if (dev_ctx->wlan_vdev_list[i] && in mlo_ap_get_vdev_list()
264 wlan_vdev_mlme_is_mlo_ap(dev_ctx->wlan_vdev_list[i])) { in mlo_ap_get_vdev_list()
266 dev_ctx->wlan_vdev_list[i], in mlo_ap_get_vdev_list()
271 dev_ctx->wlan_vdev_list[i]; in mlo_ap_get_vdev_list()
283 int i; in mlo_ap_get_active_vdev_list() local
298 for (i = 0; i < QDF_ARRAY_SIZE(dev_ctx->wlan_vdev_list); i++) { in mlo_ap_get_active_vdev_list()
299 partner_vdev = dev_ctx->wlan_vdev_list[i]; in mlo_ap_get_active_vdev_list()
323 int i; in mlo_ap_get_partner_vdev_list_from_mld() local
337 for (i = 0; i < QDF_ARRAY_SIZE(dev_ctx->wlan_vdev_list); i++) { in mlo_ap_get_partner_vdev_list_from_mld()
338 if (dev_ctx->wlan_vdev_list[i] && in mlo_ap_get_partner_vdev_list_from_mld()
340 wlan_vdev_mlme_get_opmode(dev_ctx->wlan_vdev_list[i]))) { in mlo_ap_get_partner_vdev_list_from_mld()
342 dev_ctx->wlan_vdev_list[i], in mlo_ap_get_partner_vdev_list_from_mld()
347 dev_ctx->wlan_vdev_list[i]; in mlo_ap_get_partner_vdev_list_from_mld()
385 int i; in wlan_mlo_ap_get_active_links() local
395 for (i = 0; i < QDF_ARRAY_SIZE(dev_ctx->wlan_vdev_list); i++) { in wlan_mlo_ap_get_active_links()
396 if (dev_ctx->wlan_vdev_list[i] && QDF_IS_STATUS_SUCCESS( in wlan_mlo_ap_get_active_links()
397 mlo_ap_vdev_is_start_resp_rcvd(dev_ctx->wlan_vdev_list[i]))) in wlan_mlo_ap_get_active_links()
471 uint8_t i; in mlo_handle_link_ready() local
531 for (i = 0; i < num_links; i++) { in mlo_handle_link_ready()
532 if (mlo_pre_link_up(vdev_list[i])) { in mlo_handle_link_ready()
533 if (vdev_list[i] == vdev) { in mlo_handle_link_ready()
534 mlo_release_vdev_ref(vdev_list[i]); in mlo_handle_link_ready()
538 idx = mlo_get_link_vdev_ix(mld_ctx, vdev_list[i]); in mlo_handle_link_ready()
540 mlo_release_vdev_ref(vdev_list[i]); in mlo_handle_link_ready()
548 vdev_list[i], in mlo_handle_link_ready()
553 mlo_release_vdev_ref(vdev_list[i]); in mlo_handle_link_ready()
627 uint16_t i; in mlo_ap_ml_peerid_alloc() local
632 for (i = 0; i < mlo_ctx->max_mlo_peer_id; i++) { in mlo_ap_ml_peerid_alloc()
647 if (i == mlo_ctx->max_mlo_peer_id) in mlo_ap_ml_peerid_alloc()
769 uint8_t i; in mlo_peer_populate_nawds_params() local
776 for (i = 0; i < ml_info->num_partner_links; i++) { in mlo_peer_populate_nawds_params()
777 nawds_config = ml_info->partner_link_info[i].nawds_config; in mlo_peer_populate_nawds_params()
788 ml_peer->nawds_config[i] = nawds_config; in mlo_peer_populate_nawds_params()
800 uint8_t i; in mlo_peer_populate_mesh_params() local
806 for (i = 0; i < ml_info->num_partner_links; i++) { in mlo_peer_populate_mesh_params()
807 mesh_config = ml_info->partner_link_info[i].mesh_config; in mlo_peer_populate_mesh_params()
818 ml_peer->mesh_config[i] = mesh_config; in mlo_peer_populate_mesh_params()