Lines Matching refs:epcs_ctx
42 struct wlan_epcs_context *epcs_ctx; in wlan_mlo_is_node_epcs_authorized() local
77 epcs_ctx = &mlo_dev_ctx->epcs_ctx; in wlan_mlo_is_node_epcs_authorized()
78 if (!epcs_ctx) { in wlan_mlo_is_node_epcs_authorized()
83 epcs_dev_lock_acquire(epcs_ctx); in wlan_mlo_is_node_epcs_authorized()
85 if (epcs_ctx->authorize_info[i].valid && in wlan_mlo_is_node_epcs_authorized()
86 !qdf_mem_cmp(epcs_ctx->authorize_info[i].peer_mld_mac, in wlan_mlo_is_node_epcs_authorized()
89 epcs_dev_lock_release(epcs_ctx); in wlan_mlo_is_node_epcs_authorized()
93 epcs_dev_lock_release(epcs_ctx); in wlan_mlo_is_node_epcs_authorized()
519 struct wlan_epcs_context *epcs_ctx; in wlan_mlo_update_authorize_epcs_mac_addr() local
526 epcs_ctx = &vdev->mlo_dev_ctx->epcs_ctx; in wlan_mlo_update_authorize_epcs_mac_addr()
528 epcs_dev_lock_acquire(epcs_ctx); in wlan_mlo_update_authorize_epcs_mac_addr()
531 if ((!epcs_ctx->authorize_info[i].valid) && (free_index < 0)) in wlan_mlo_update_authorize_epcs_mac_addr()
535 if (epcs_ctx->authorize_info[i].valid && in wlan_mlo_update_authorize_epcs_mac_addr()
536 !qdf_mem_cmp(epcs_ctx->authorize_info[i].peer_mld_mac, in wlan_mlo_update_authorize_epcs_mac_addr()
547 epcs_dev_lock_release(epcs_ctx); in wlan_mlo_update_authorize_epcs_mac_addr()
553 epcs_dev_lock_release(epcs_ctx); in wlan_mlo_update_authorize_epcs_mac_addr()
557 epcs_ctx->authorize_info[free_index].valid = true; in wlan_mlo_update_authorize_epcs_mac_addr()
558 qdf_mem_copy(epcs_ctx->authorize_info[free_index]. peer_mld_mac, in wlan_mlo_update_authorize_epcs_mac_addr()
561 epcs_dev_lock_release(epcs_ctx); in wlan_mlo_update_authorize_epcs_mac_addr()
574 struct wlan_epcs_context *epcs_ctx; in wlan_mlo_update_deauthorize_epcs_mac_addr() local
582 epcs_ctx = &vdev->mlo_dev_ctx->epcs_ctx; in wlan_mlo_update_deauthorize_epcs_mac_addr()
584 epcs_dev_lock_acquire(epcs_ctx); in wlan_mlo_update_deauthorize_epcs_mac_addr()
586 if (!qdf_mem_cmp(epcs_ctx->authorize_info[i].peer_mld_mac, in wlan_mlo_update_deauthorize_epcs_mac_addr()
597 epcs_dev_lock_release(epcs_ctx); in wlan_mlo_update_deauthorize_epcs_mac_addr()
601 if (found_entry && !epcs_ctx->authorize_info[i].valid) { in wlan_mlo_update_deauthorize_epcs_mac_addr()
604 epcs_dev_lock_release(epcs_ctx); in wlan_mlo_update_deauthorize_epcs_mac_addr()
608 epcs_ctx->authorize_info[i].valid = false; in wlan_mlo_update_deauthorize_epcs_mac_addr()
609 epcs_dev_lock_release(epcs_ctx); in wlan_mlo_update_deauthorize_epcs_mac_addr()