minor updates for the eMBMS
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7294 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -767,9 +767,9 @@ uint32_t dlsch_decoding_emul(PHY_VARS_UE *phy_vars_ue,
|
|||||||
#ifdef DEBUG_DLSCH_DECODING
|
#ifdef DEBUG_DLSCH_DECODING
|
||||||
|
|
||||||
for (i=0; i<dlsch_ue->harq_processes[0]->TBS>>3; i++)
|
for (i=0; i<dlsch_ue->harq_processes[0]->TBS>>3; i++)
|
||||||
LOG_T(PHY,"%x.",dlsch_eNB->harq_processes[0]->b[i]);
|
msg("%x.",dlsch_eNB->harq_processes[0]->b[i]);
|
||||||
|
|
||||||
LOG_T(PHY,"\n");
|
msg("\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -457,7 +457,7 @@ rrc_mac_config_req(
|
|||||||
for (i =0; i< pmch_InfoList->list.count; i++) {
|
for (i =0; i< pmch_InfoList->list.count; i++) {
|
||||||
eNB_mac_inst[Mod_id].common_channels[0].pmch_Config[i] = &pmch_InfoList->list.array[i]->pmch_Config_r9;
|
eNB_mac_inst[Mod_id].common_channels[0].pmch_Config[i] = &pmch_InfoList->list.array[i]->pmch_Config_r9;
|
||||||
|
|
||||||
LOG_I(MAC, "[CONFIG] PMCH[%d]: This PMCH stop at subframe %ldth\n", i,
|
LOG_I(MAC, "[CONFIG] PMCH[%d]: This PMCH stop (sf_AllocEnd_r9) at subframe %ldth\n", i,
|
||||||
eNB_mac_inst[Mod_id].common_channels[0].pmch_Config[i]->sf_AllocEnd_r9);
|
eNB_mac_inst[Mod_id].common_channels[0].pmch_Config[i]->sf_AllocEnd_r9);
|
||||||
LOG_I(MAC, "[CONFIG] PMCH[%d]: mch_Scheduling_Period = %ld\n", i,
|
LOG_I(MAC, "[CONFIG] PMCH[%d]: mch_Scheduling_Period = %ld\n", i,
|
||||||
eNB_mac_inst[Mod_id].common_channels[0].pmch_Config[i]->mch_SchedulingPeriod_r9);
|
eNB_mac_inst[Mod_id].common_channels[0].pmch_Config[i]->mch_SchedulingPeriod_r9);
|
||||||
|
|||||||
@@ -1493,8 +1493,8 @@ pdcp_config_req_asn1 (
|
|||||||
|
|
||||||
case CONFIG_ACTION_MBMS_ADD:
|
case CONFIG_ACTION_MBMS_ADD:
|
||||||
case CONFIG_ACTION_MBMS_MODIFY:
|
case CONFIG_ACTION_MBMS_MODIFY:
|
||||||
LOG_D(PDCP,PROTOCOL_PDCP_CTXT_FMT" %s service_id/mch index %d, session_id/lcid %d, rbid %d configured\n",
|
LOG_D(PDCP," %s service_id/mch index %d, session_id/lcid %d, rbid %d configured\n",
|
||||||
PROTOCOL_PDCP_CTXT_ARGS(ctxt_pP,pdcp_pP),
|
//PROTOCOL_PDCP_CTXT_ARGS(ctxt_pP,pdcp_pP),
|
||||||
actionP == CONFIG_ACTION_MBMS_ADD ? "CONFIG_ACTION_MBMS_ADD" : "CONFIG_ACTION_MBMS_MODIFY",
|
actionP == CONFIG_ACTION_MBMS_ADD ? "CONFIG_ACTION_MBMS_ADD" : "CONFIG_ACTION_MBMS_MODIFY",
|
||||||
mch_idP,
|
mch_idP,
|
||||||
lc_idP,
|
lc_idP,
|
||||||
|
|||||||
@@ -169,7 +169,8 @@ tbs_size_t mac_rlc_data_req(
|
|||||||
|
|
||||||
#ifdef OAI_EMU
|
#ifdef OAI_EMU
|
||||||
CHECK_CTXT_ARGS(&ctxt);
|
CHECK_CTXT_ARGS(&ctxt);
|
||||||
AssertFatal (MBMS_flagP == MBMS_FLAG_NO ," MBMS FLAG SHOULD NOT BE SET IN mac_rlc_data_req in UE\n");
|
//printf("MBMS_flagP %d, MBMS_FLAG_NO %d \n",MBMS_flagP, MBMS_FLAG_NO);
|
||||||
|
// AssertFatal (MBMS_flagP == MBMS_FLAG_NO ," MBMS FLAG SHOULD NOT BE SET IN mac_rlc_data_req in UE\n");
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
+6
-6
@@ -146,13 +146,13 @@ nasmesh_netlink.ko:
|
|||||||
(cd NETWORK_DRIVER/MESH && $(MAKE) -j$(NUM_CORES) $(SET_UM) PDCP_USE_NETLINK=1 V=1 -C $(KERNEL_DIR)/build M=`pwd` modules)
|
(cd NETWORK_DRIVER/MESH && $(MAKE) -j$(NUM_CORES) $(SET_UM) PDCP_USE_NETLINK=1 V=1 -C $(KERNEL_DIR)/build M=`pwd` modules)
|
||||||
|
|
||||||
naslite_netlink_ether.ko:
|
naslite_netlink_ether.ko:
|
||||||
(cd NAS/DRIVER/LITE && $(MAKE) -j$(NUM_CORES) $(SET_UM) OAI_NW_DRIVER_TYPE_ETHERNET=1 PDCP_USE_NETLINK=1 OAI_NW_DRIVER_USE_NETLINK=1 V=1 -C $(KERNEL_DIR)/build M=`pwd` modules)
|
(cd NETWORK_DRIVER/LITE && $(MAKE) -j$(NUM_CORES) $(SET_UM) OAI_NW_DRIVER_TYPE_ETHERNET=1 PDCP_USE_NETLINK=1 OAI_NW_DRIVER_USE_NETLINK=1 V=1 -C $(KERNEL_DIR)/build M=`pwd` modules)
|
||||||
|
|
||||||
oai_nw_ether.ko:
|
oai_nw_ether.ko:
|
||||||
(cd NAS/DRIVER/LITE && $(MAKE) -j$(NUM_CORES) $(SET_UM) OAI_NW_DRIVER_TYPE_ETHERNET=1 PDCP_USE_NETLINK=1 OAI_NW_DRIVER_USE_NETLINK=1 V=1 -C $(KERNEL_DIR)/build M=`pwd` modules)
|
(cd NETWORK_DRIVER/LITE && $(MAKE) -j$(NUM_CORES) $(SET_UM) OAI_NW_DRIVER_TYPE_ETHERNET=1 PDCP_USE_NETLINK=1 OAI_NW_DRIVER_USE_NETLINK=1 V=1 -C $(KERNEL_DIR)/build M=`pwd` modules)
|
||||||
|
|
||||||
oai_nw_drv.ko:
|
oai_nw_drv.ko:
|
||||||
(cd NAS/DRIVER/LITE && $(MAKE) -j$(NUM_CORES) $(SET_UM) OAI_NW_DRIVER_TYPE_ETHERNET=1 PDCP_USE_NETLINK=1 OAI_NW_DRIVER_USE_NETLINK=1 V=1 -C $(KERNEL_DIR)/build M=`pwd` modules)
|
(cd NETWORK_DRIVER/LITE && $(MAKE) -j$(NUM_CORES) $(SET_UM) OAI_NW_DRIVER_TYPE_ETHERNET=1 PDCP_USE_NETLINK=1 OAI_NW_DRIVER_USE_NETLINK=1 V=1 -C $(KERNEL_DIR)/build M=`pwd` modules)
|
||||||
|
|
||||||
nasmesh_netlink_address_fix.ko:
|
nasmesh_netlink_address_fix.ko:
|
||||||
(cd NETWORK_DRIVER/MESH && $(MAKE) -j$(NUM_CORES) $(SET_UM) PDCP_USE_NETLINK=1 ADDRESS_FIX=1 V=1 -C $(KERNEL_DIR)/build M=`pwd` modules)
|
(cd NETWORK_DRIVER/MESH && $(MAKE) -j$(NUM_CORES) $(SET_UM) PDCP_USE_NETLINK=1 ADDRESS_FIX=1 V=1 -C $(KERNEL_DIR)/build M=`pwd` modules)
|
||||||
@@ -230,9 +230,9 @@ emul_rt:
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
(cd NETWORK_DRIVER/MESH && $(MAKE) clean)
|
(cd NETWORK_DRIVER/MESH && $(MAKE) clean)
|
||||||
(cd NAS/DRIVER/LITE && $(MAKE) clean)
|
(cd NETWORK_DRIVER/LITE && $(MAKE) clean)
|
||||||
rm -rf NETWORK_DRIVER/MESH/RB_TOOL/rb_tool
|
rm -rf NETWORK_DRIVER/MESH/RB_TOOL/rb_tool
|
||||||
rm -rf NAS/DRIVER/LITE/RB_TOOL/rb_tool
|
rm -rf NETWORK_DRIVER/LITE/RB_TOOL/rb_tool
|
||||||
|
|
||||||
cleanall:
|
cleanall:
|
||||||
find -name *.o -delete -print
|
find -name *.o -delete -print
|
||||||
@@ -240,7 +240,7 @@ cleanall:
|
|||||||
find -name *~ -delete -print
|
find -name *~ -delete -print
|
||||||
find -name *.bak -delete -print
|
find -name *.bak -delete -print
|
||||||
rm -rf NETWORK_DRIVER/MESH/RB_TOOL/rb_tool
|
rm -rf NETWORK_DRIVER/MESH/RB_TOOL/rb_tool
|
||||||
rm -rf NAS/DRIVER/LITE/RB_TOOL/rb_tool
|
rm -rf NETWORK_DRIVER/LITE/RB_TOOL/rb_tool
|
||||||
|
|
||||||
|
|
||||||
cleansvn:
|
cleansvn:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ NAS_DIR = ..
|
|||||||
|
|
||||||
|
|
||||||
rb_tool: rb_tool.c
|
rb_tool: rb_tool.c
|
||||||
$(CC) rb_tool.c -o rb_tool -I../../../mac/openair_wireless3g4free/openair_rrc/include -I../ -g -ggdb
|
$(CC) rb_tool.c -o rb_tool -I../ -g -ggdb
|
||||||
|
|
||||||
all: rb_tool
|
all: rb_tool
|
||||||
|
|
||||||
|
|||||||
@@ -2137,7 +2137,11 @@ uint8_t do_MBSFNAreaConfig(uint8_t Mod_id,
|
|||||||
pmch_Info_1 = CALLOC(1,sizeof(PMCH_Info_r9_t));
|
pmch_Info_1 = CALLOC(1,sizeof(PMCH_Info_r9_t));
|
||||||
memset((void*)pmch_Info_1,0,sizeof(PMCH_Info_r9_t));
|
memset((void*)pmch_Info_1,0,sizeof(PMCH_Info_r9_t));
|
||||||
|
|
||||||
pmch_Info_1->pmch_Config_r9.sf_AllocEnd_r9= 3;//take the value of last mbsfn subframe in this CSA period because there is only one PMCH in this mbsfn area
|
/*
|
||||||
|
* take the value of last mbsfn subframe in this CSA period because there is only one PMCH in this mbsfn area
|
||||||
|
* Note: this has to be set based on the subframeAllocation and CSA
|
||||||
|
*/
|
||||||
|
pmch_Info_1->pmch_Config_r9.sf_AllocEnd_r9= 3;
|
||||||
pmch_Info_1->pmch_Config_r9.dataMCS_r9= 7;
|
pmch_Info_1->pmch_Config_r9.dataMCS_r9= 7;
|
||||||
pmch_Info_1->pmch_Config_r9.mch_SchedulingPeriod_r9= PMCH_Config_r9__mch_SchedulingPeriod_r9_rf16;
|
pmch_Info_1->pmch_Config_r9.mch_SchedulingPeriod_r9= PMCH_Config_r9__mch_SchedulingPeriod_r9_rf16;
|
||||||
|
|
||||||
|
|||||||
@@ -372,21 +372,21 @@ oai_nw_drv:
|
|||||||
oai_nw_drv_clean:
|
oai_nw_drv_clean:
|
||||||
(cd $(OPENAIR2_DIR)/NAS/DRIVER/LITE && $(MAKE) clean)
|
(cd $(OPENAIR2_DIR)/NAS/DRIVER/LITE && $(MAKE) clean)
|
||||||
nasmesh_fix:
|
nasmesh_fix:
|
||||||
(cd $(OPENAIR2_DIR)/NAS/DRIVER/MESH/RB_TOOL && $(MAKE) clean && $(MAKE))
|
(cd $(OPENAIR2_DIR)/NETWORK_DRIVER/MESH/RB_TOOL && $(MAKE) clean && $(MAKE))
|
||||||
(cd $(OPENAIR2_DIR) && $(MAKE) clean && $(MAKE) nasmesh_netlink_address_fix.ko)
|
(cd $(OPENAIR2_DIR) && $(MAKE) clean && $(MAKE) nasmesh_netlink_address_fix.ko)
|
||||||
nasmesh_fix_uninstall:
|
nasmesh_fix_uninstall:
|
||||||
(sudo rmmod nasmesh.ko)
|
(sudo rmmod nasmesh.ko)
|
||||||
nasmesh_fix_install:
|
nasmesh_fix_install:
|
||||||
(sudo insmod $(OPENAIR2_DIR)/NAS/DRIVER/MESH/nasmesh.ko)
|
(sudo insmod $(OPENAIR2_DIR)/NETWORK_DRIVER/MESH/nasmesh.ko)
|
||||||
nasmesh_fix_reinstall:
|
nasmesh_fix_reinstall:
|
||||||
(sudo rmmod nasmesh.ko)
|
(sudo rmmod nasmesh.ko)
|
||||||
(sudo insmod $(OPENAIR2_DIR)/NAS/DRIVER/MESH/nasmesh.ko)
|
(sudo insmod $(OPENAIR2_DIR)/NETWORK_DRIVER/MESH/nasmesh.ko)
|
||||||
nasmesh_nl:
|
nasmesh_nl:
|
||||||
(cd $(OPENAIR2_DIR)/NAS/DRIVER/MESH/RB_TOOL && $(MAKE))
|
(cd $(OPENAIR2_DIR)/NETWORK_RIVER/MESH/RB_TOOL && $(MAKE))
|
||||||
(cd $(OPENAIR2_DIR) && $(MAKE) nasmesh_netlink.ko)
|
(cd $(OPENAIR2_DIR) && $(MAKE) nasmesh_netlink.ko)
|
||||||
(sudo insmod $(OPENAIR2_DIR)/NAS/DRIVER/MESH/nasmesh.ko)
|
(sudo insmod $(OPENAIR2_DIR)/NETWORK_DRIVER/MESH/nasmesh.ko)
|
||||||
rb_tool:
|
rb_tool:
|
||||||
(cd $(OPENAIR2_DIR)/NAS/DRIVER/MESH/RB_TOOL && $(MAKE))
|
(cd $(OPENAIR2_DIR)/NETWORK_DRIVER/MESH/RB_TOOL && $(MAKE))
|
||||||
|
|
||||||
nasmesh_install:
|
nasmesh_install:
|
||||||
(sudo rmmod nasmesh)
|
(sudo rmmod nasmesh)
|
||||||
|
|||||||
@@ -1312,7 +1312,7 @@ void update_otg_eNB(module_id_t enb_module_idP, unsigned int ctime)
|
|||||||
rb_id_t rb_id;
|
rb_id_t rb_id;
|
||||||
|
|
||||||
// MBSM multicast traffic
|
// MBSM multicast traffic
|
||||||
// if (frame >= 50) {// only generate when UE can receive MTCH (need to control this value)
|
if (ctime >= 500 ) {// only generate when UE can receive MTCH (need to control this value)
|
||||||
for (service_id = 0; service_id < 2 ; service_id++) { //maxServiceCount
|
for (service_id = 0; service_id < 2 ; service_id++) { //maxServiceCount
|
||||||
for (session_id = 0; session_id < 2; session_id++) { // maxSessionPerPMCH
|
for (session_id = 0; session_id < 2; session_id++) { // maxSessionPerPMCH
|
||||||
if (pdcp_mbms_array_eNB[enb_module_idP][service_id][session_id].instanciated_instance == TRUE) { // this service/session is configured
|
if (pdcp_mbms_array_eNB[enb_module_idP][service_id][session_id].instanciated_instance == TRUE) { // this service/session is configured
|
||||||
@@ -1337,7 +1337,7 @@ void update_otg_eNB(module_id_t enb_module_idP, unsigned int ctime)
|
|||||||
free(otg_pkt);
|
free(otg_pkt);
|
||||||
otg_pkt=NULL;
|
otg_pkt=NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// old version
|
// old version
|
||||||
/* // MBSM multicast traffic
|
/* // MBSM multicast traffic
|
||||||
@@ -1370,7 +1370,7 @@ void update_otg_eNB(module_id_t enb_module_idP, unsigned int ctime)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// } // end multicast traffic
|
} // end multicast traffic
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user