Commit ef78dcde authored by Robert Schmidt's avatar Robert Schmidt

send UE Capabilities to Flexran RTController

parent 12ac8b18
...@@ -630,21 +630,16 @@ int flexran_agent_ue_config_reply(mid_t mod_id, const void *params, Protocol__Fl ...@@ -630,21 +630,16 @@ int flexran_agent_ue_config_reply(mid_t mod_id, const void *params, Protocol__Fl
Protocol__FlexUeCapabilities *capabilities; Protocol__FlexUeCapabilities *capabilities;
capabilities = malloc(sizeof(Protocol__FlexUeCapabilities)); capabilities = malloc(sizeof(Protocol__FlexUeCapabilities));
protocol__flex_ue_capabilities__init(capabilities); protocol__flex_ue_capabilities__init(capabilities);
//TODO: Set half duplex (FDD operation) capabilities->has_half_duplex = 1;
capabilities->has_half_duplex = 0; capabilities->half_duplex = flexran_get_half_duplex(mod_id, i);
capabilities->half_duplex = 0;//flexran_get_half_duplex(i); capabilities->has_intra_sf_hopping = 1;
//TODO: Set intra-frame hopping flag capabilities->intra_sf_hopping = flexran_get_intra_sf_hopping(mod_id, i);
capabilities->has_intra_sf_hopping = 0; capabilities->has_type2_sb_1 = 1;
capabilities->intra_sf_hopping = 1;//flexran_get_intra_sf_hopping(i); capabilities->type2_sb_1 = flexran_get_type2_sb_1(mod_id, i);
//TODO: Set support for type 2 hopping with n_sb > 1 capabilities->has_ue_category = 1;
capabilities->has_type2_sb_1 = 0; capabilities->ue_category = flexran_get_ue_category(mod_id, i);
capabilities->type2_sb_1 = 1;//flexran_get_type2_sb_1(i); capabilities->has_res_alloc_type1 = 1;
//TODO: Set ue category capabilities->res_alloc_type1 = flexran_get_res_alloc_type1(mod_id, i);
capabilities->has_ue_category = 0;
capabilities->ue_category = 1;//flexran_get_ue_category(i);
//TODO: Set UE support for resource allocation type 1
capabilities->has_res_alloc_type1 = 0;
capabilities->res_alloc_type1 = 1;//flexran_get_res_alloc_type1(i);
//Set the capabilites to the message //Set the capabilites to the message
ue_config[i]->capabilities = capabilities; ue_config[i]->capabilities = capabilities;
......
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