X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fapi_5g%2Fsource%2Fapi%2Ffapi2mac%2Fp5%2Fnr5g_fapi_proc_fapi_msg_header.c;fp=fapi_5g%2Fsource%2Fapi%2Ffapi2mac%2Fp5%2Fnr5g_fapi_proc_fapi_msg_header.c;h=458b181ae93540e542c62f1be882d0544c4ac336;hp=4a53560251665200ffd027c191fb0808fbd72407;hb=2de97529a4c5a1922214ba0e6f0fb84cacbd0bc7;hpb=81a09690b36b3a4e89b4dae34f30933de13f7f90 diff --git a/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_fapi_msg_header.c b/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_fapi_msg_header.c index 4a53560..458b181 100644 --- a/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_fapi_msg_header.c +++ b/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_fapi_msg_header.c @@ -39,14 +39,15 @@ * **/ uint8_t nr5g_fapi_message_header( - p_nr5g_fapi_phy_ctx_t p_phy_ctx) + p_nr5g_fapi_phy_ctx_t p_phy_ctx, + bool is_urllc) { uint8_t phy_id = 0; for (phy_id = 0; phy_id < FAPI_MAX_PHY_INSTANCES; phy_id++) { if ((FAPI_STATE_CONFIGURED == p_phy_ctx->phy_instance[phy_id].state) || (FAPI_STATE_RUNNING == p_phy_ctx->phy_instance[phy_id].state)) { - nr5g_fapi_message_header_per_phy(phy_id); + nr5g_fapi_message_header_per_phy(phy_id, is_urllc); } } @@ -64,7 +65,8 @@ uint8_t nr5g_fapi_message_header( * **/ uint8_t nr5g_fapi_message_header_per_phy( - uint8_t phy_id) + uint8_t phy_id, + bool is_urllc) { p_fapi_api_queue_elem_t p_list_elem = NULL; p_fapi_msg_header_t p_fapi_msg_hdr = NULL; @@ -83,7 +85,7 @@ uint8_t nr5g_fapi_message_header_per_phy( p_fapi_msg_hdr->handle = phy_id; // Add element to send list - nr5g_fapi_fapi2mac_add_api_to_list(phy_id, p_list_elem); + nr5g_fapi_fapi2mac_add_api_to_list(phy_id, p_list_elem, is_urllc); NR5G_FAPI_LOG(DEBUG_LOG, ("[FAPI MSG HDR] FAPI Message Header Added for PHY: %d", phy_id));