Commit 861eecf6 authored by Raphael Defosseux's avatar Raphael Defosseux

nFAPI fix for L2 nFAPI simulator.

Suggestion by Haruki NAOI.
Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent bc01744e
...@@ -376,9 +376,11 @@ int send_mac_subframe_indications(vnf_p7_t* vnf_p7) ...@@ -376,9 +376,11 @@ int send_mac_subframe_indications(vnf_p7_t* vnf_p7)
if(curr->in_sync == 1) if(curr->in_sync == 1)
{ {
// ask for subframes in the future // ask for subframes in the future
uint16_t sfn_sf_adv = increment_sfn_sf_by(curr->sfn_sf, 2); //uint16_t sfn_sf_adv = increment_sfn_sf_by(curr->sfn_sf, 2);
vnf_p7->_public.subframe_indication(&(vnf_p7->_public), curr->phy_id, sfn_sf_adv); //vnf_p7->_public.subframe_indication(&(vnf_p7->_public), curr->phy_id, sfn_sf_adv);
// suggestion fix by Haruki NAOI
vnf_p7->_public.subframe_indication(&(vnf_p7->_public), curr->phy_id, curr->sfn_sf);
} }
curr = curr->next; curr = curr->next;
......
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