Commit cd7c4955 authored by Stone WU's avatar Stone WU

bug #126520: fix nrUE uplink NR_SLOT_INDICATION with wrong slot

parent de2638ba
...@@ -250,10 +250,10 @@ static void send_vt_slot_ack(nfapi_ue_slot_indication_vt_t *vt_ue_slot_ind, uint ...@@ -250,10 +250,10 @@ static void send_vt_slot_ack(nfapi_ue_slot_indication_vt_t *vt_ue_slot_ind, uint
{ {
LOG_D(NR_MAC, "Sfn [%d] Slot [%d] from %s\n", NFAPI_SFNSLOT2SFN(sfn_slot), LOG_D(NR_MAC, "Sfn [%d] Slot [%d] from %s\n", NFAPI_SFNSLOT2SFN(sfn_slot),
NFAPI_SFNSLOT2SLOT(sfn_slot), __FUNCTION__); NFAPI_SFNSLOT2SLOT(sfn_slot), __FUNCTION__);
check_and_process_slot_ind(vt_ue_slot_ind, NFAPI_SFNSLOT2SFN(sfn_slot), NFAPI_SFNSLOT2SLOT(sfn_slot) );
NR_UL_IND_t ul_info = { NR_UL_IND_t ul_info = {
.vt_ue_slot_ind = *vt_ue_slot_ind, .vt_ue_slot_ind = *vt_ue_slot_ind,
}; };
check_and_process_slot_ind(vt_ue_slot_ind, NFAPI_SFNSLOT2SFN(sfn_slot), NFAPI_SFNSLOT2SLOT(sfn_slot) );
send_nsa_standalone_msg(&ul_info, vt_ue_slot_ind->header.message_id); send_nsa_standalone_msg(&ul_info, vt_ue_slot_ind->header.message_id);
ul_info.vt_ue_slot_ind.sfn = 0; ul_info.vt_ue_slot_ind.sfn = 0;
ul_info.vt_ue_slot_ind.slot = 0; ul_info.vt_ue_slot_ind.slot = 0;
......
...@@ -230,7 +230,7 @@ void send_nsa_standalone_msg(NR_UL_IND_t *UL_INFO, uint16_t msg_id) ...@@ -230,7 +230,7 @@ void send_nsa_standalone_msg(NR_UL_IND_t *UL_INFO, uint16_t msg_id)
} }
LOG_D(NR_MAC, "SLOT_IND sent to Proxy, Size: %d Frame %d Slot %d\n", encoded_size, LOG_D(NR_MAC, "SLOT_IND sent to Proxy, Size: %d Frame %d Slot %d\n", encoded_size,
UL_INFO->rach_ind.sfn, UL_INFO->rach_ind.slot); UL_INFO->vt_ue_slot_ind.sfn, UL_INFO->vt_ue_slot_ind.slot);
if (send(ue_tx_sock_descriptor, buffer, encoded_size, 0) < 0) if (send(ue_tx_sock_descriptor, buffer, encoded_size, 0) < 0)
{ {
LOG_E(NR_MAC, "Send Proxy NR_UE failed\n"); LOG_E(NR_MAC, "Send Proxy NR_UE failed\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment