changes for noS1 IP addressing
This commit is contained in:
@@ -730,13 +730,8 @@ rrc_ue_establish_drb(
|
|||||||
*/
|
*/
|
||||||
#ifdef PDCP_USE_NETLINK
|
#ifdef PDCP_USE_NETLINK
|
||||||
# if !defined(OAI_NW_DRIVER_TYPE_ETHERNET) && !defined(EXMIMO) && !defined(OAI_USRP) && !defined(OAI_BLADERF) && !defined(ETHERNET) && !defined(LINK_ENB_PDCP_TO_GTPV1U)
|
# if !defined(OAI_NW_DRIVER_TYPE_ETHERNET) && !defined(EXMIMO) && !defined(OAI_USRP) && !defined(OAI_BLADERF) && !defined(ETHERNET) && !defined(LINK_ENB_PDCP_TO_GTPV1U)
|
||||||
# ifdef OAI_EMU
|
|
||||||
ip_addr_offset3 = oai_emulation.info.nb_enb_local;
|
|
||||||
ip_addr_offset4 = NB_eNB_INST;
|
|
||||||
# else
|
|
||||||
ip_addr_offset3 = 0;
|
ip_addr_offset3 = 0;
|
||||||
ip_addr_offset4 = 8;
|
ip_addr_offset4 = 1;
|
||||||
# endif
|
|
||||||
LOG_I(OIP,"[UE %d] trying to bring up the OAI interface oai%d, IP 10.0.%d.%d\n", ue_mod_idP, ip_addr_offset3+ue_mod_idP,
|
LOG_I(OIP,"[UE %d] trying to bring up the OAI interface oai%d, IP 10.0.%d.%d\n", ue_mod_idP, ip_addr_offset3+ue_mod_idP,
|
||||||
ip_addr_offset3+ue_mod_idP+1,ip_addr_offset4+ue_mod_idP+1);
|
ip_addr_offset3+ue_mod_idP+1,ip_addr_offset4+ue_mod_idP+1);
|
||||||
oip_ifup=nas_config(ip_addr_offset3+ue_mod_idP, // interface_id
|
oip_ifup=nas_config(ip_addr_offset3+ue_mod_idP, // interface_id
|
||||||
|
|||||||
@@ -3561,12 +3561,7 @@ rrc_eNB_process_RRCConnectionReconfigurationComplete(
|
|||||||
ctxt_pP->module_id + 1); // fourth octet
|
ctxt_pP->module_id + 1); // fourth octet
|
||||||
|
|
||||||
if (oip_ifup == 0) { // interface is up --> send a config the DRB
|
if (oip_ifup == 0) { // interface is up --> send a config the DRB
|
||||||
# ifdef OAI_EMU
|
|
||||||
oai_emulation.info.oai_ifup[ctxt_pP->module_id] = 1;
|
|
||||||
dest_ip_offset = NB_eNB_INST;
|
|
||||||
# else
|
|
||||||
dest_ip_offset = 8;
|
dest_ip_offset = 8;
|
||||||
# endif
|
|
||||||
LOG_I(OIP,
|
LOG_I(OIP,
|
||||||
"[eNB %d] Config the oai%d to send/receive pkt on DRB %ld to/from the protocol stack\n",
|
"[eNB %d] Config the oai%d to send/receive pkt on DRB %ld to/from the protocol stack\n",
|
||||||
ctxt_pP->module_id, ctxt_pP->module_id,
|
ctxt_pP->module_id, ctxt_pP->module_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user