• 大小: 736KB
    文件类型: .rar
    金币: 2
    下载: 0 次
    发布日期: 2024-01-31
  • 语言: 其他
  • 标签: opnet  代码  LTE  

资源简介

opnet中LTE模型代码

资源截图

代码片段和文件信息

/** LTE Model Suite support package		**/

/****************************************/
/*      Copyright (c) 1987-2009 */
/*     by OPNET Technologies Inc. */
/*       (A Delaware Corporation)       */
/*    7255 Woodmont Av. Suite 250      */
/*     Bethesda MD 20814 U.S.A.       */
/*       All Rights Reserved.           */
/****************************************/

/** Include files **/
#include 
#include 
#include 

/** Constant definitions. **/
#define INVALID_LIST_INDEX -1

/** Macro procedures. **/
#define lte_admit_control_support_arp_gt(_priority1 _priority2) (_priority1 < _priority2)

/** Global variables. **/
Cmohandle lte_admit_control_catmem_handle;
Boolean lte_admit_control_handle_defined  = OPC_FALSE;

/** Internal function prototypes. **/
void
lte_admit_control_support_eff_reps_for_bearer_compute (LteT_Admit_Control_Info* admit_control_info_ptr 
LteT_eNB_RB_Context* enb_rb_context_ptr int* ul_reps_ptr int* dl_reps_ptr LteT_frame_Profile* frame_ptr);

int lte_admit_control_support_rb_insert_by_arp (const void* elem1 const void* elem2);
int lte_admit_control_support_rb_insert_by_preempt_order (const void* elem1 const void* elem2);
int lte_admit_control_support_preemption_candidate_choose (LteT_Admit_Control_Info* admit_control_info_ptr int arp 
int max_gap Boolean is_max_gap_ul);
Boolean lte_admit_control_support_preemption_candidates_exist (LteT_Admit_Control_Info* admit_control_info_ptr int arp);

/** Externally callable functions. **/
void
lte_admit_control_support_enodeb_total_capacity_compute (LteT_Phy_Profile* phy_profile_ptr LteT_eNodeB_RA_Params* ra_params_ptr
LteT_Admit_Control_Info** admit_control_info_pptr LteT_Admit_Control_Config* admit_control_config_ptr)
{
/* Channel bandwidth and maximum number of transport blocks per subframe. */
double channel_bandwidth_ul;
double channel_bandwidth_dl;
int num_transport_blks_per_subframe_ul;
int num_transport_blks_per_subframe_dl;

/* RACH */
double ra_resource_count;
int num_transport_blks_rach;

/* PUCCH */
int num_transport_blks_pucch  = LTEC_PUCCH_SLOTS_PER_RESOURCE_PAIR * LTEC_NUM_SUBframeS;

/* UL final numbers. */
int avail_num_transport_blks_ul;
int num_resource_elem_per_tb_ul;
int num_demod_ref_signal_re = lte_sup_demod_ref_re_per_alloc_block_get(phy_profile_ptr);
int avail_num_resource_elem_ul;

/* PDCCH. */
int num_pdcch_re;

/* PBCH PSCH SSCH. */
int num_psch_re_per_frame = 2 * LTEC_DL_NUM_PSCH_CHANNEL_COLS * 72;
int num_ssch_re_per_frame = 2 * LTEC_DL_NUM_SSCH_CHANNEL_COLS * 72;
int num_pbch_re_per_frame  = LTEC_DL_NUM_BCAST_CHANNEL_COLS  * 72;

/* DL final numbers. */
int avail_num

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     122880  2009-07-01 21:31  lte\lte_active_attr_handler.gui32.i0.ets.dll

     文件     112128  2009-07-01 21:46  lte\lte_active_attr_handler.gui64.i0.ets.dll

     文件      61992  2010-11-08 16:49  lte\lte_admit_control_support.dev32.i0.ex.obj

     文件      38427  2009-06-25 23:55  lte\lte_admit_control_support.ex.c

     文件        253  2009-06-25 07:22  lte\lte_adv.cml

     文件        598  2009-06-25 07:22  lte\lte_as_req.ic.m

     文件      55466  2010-11-08 16:48  lte\lte_attribute_definer.dev32.i0.pr.obj

     文件      21628  2010-11-08 16:48  lte\lte_attribute_definer.pr.c

     文件      27609  2009-07-01 22:48  lte\lte_attribute_definer.pr.m

     文件       2357  2009-06-25 07:22  lte\lte_attr_definer_adv.nd.m

     文件       2242  2009-06-25 07:22  lte\lte_emm_attach_accept.pk.m

     文件       2018  2009-06-25 07:22  lte\lte_emm_attach_comp.pk.m

     文件       4233  2009-06-25 07:22  lte\lte_emm_attach_req.pk.m

     文件     249087  2010-11-08 16:48  lte\lte_enb_as.dev32.i0.pr.obj

     文件     179143  2010-11-08 16:48  lte\lte_enb_as.pr.c

     文件     181839  2009-07-01 22:48  lte\lte_enb_as.pr.m

     文件     150419  2009-06-26 05:13  lte\lte_enodeb_atm4_ethernet4_slip4_adv.nd.m

     文件     100013  2009-06-25 07:22  lte\lte_enodeb_ethernet4_adv.nd.m

     文件      84732  2009-06-25 07:22  lte\lte_enodeb_slip4_adv.nd.m

     文件     205914  2009-06-25 23:55  lte\lte_epc_atm8_ethernet8_slip8_adv.nd.m

     文件       2051  2009-06-25 07:22  lte\lte_esm_bearer_deact_msg.pk.m

     文件       3080  2009-06-25 07:22  lte\lte_esm_bearer_resource_mod_req.pk.m

     文件       2139  2009-06-25 07:22  lte\lte_esm_bearer_status_change_accept_msg.pk.m

     文件       3162  2009-06-25 07:22  lte\lte_esm_dedicated_bearer_act_req.pk.m

     文件       2216  2009-06-25 07:22  lte\lte_esm_default_bearer_act_req.pk.m

     文件       2000  2009-06-25 07:22  lte\lte_esm_pdn_conn_req.pk.m

     文件       2284  2009-06-25 07:22  lte\lte_mac_pdu.pk.m

     文件       1850  2009-06-25 07:22  lte\lte_mac_pdu_ra_resp.pk.m

     文件       1935  2009-06-25 07:22  lte\lte_mac_sdu.pk.m

     文件       1078  2009-06-25 07:22  lte\lte_pdcch_dci.pk.m

............此处省略45个文件信息

评论

共有 条评论