Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
93b7cf05
Commit
93b7cf05
authored
Mar 04, 2016
by
Xenofon Foukas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed linking error with creation of empty dl_mac_config
parent
06b55e3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
openair2/LAYER2/MAC/eNB_agent_scheduler_dlsch_ue_remote.c
openair2/LAYER2/MAC/eNB_agent_scheduler_dlsch_ue_remote.c
+3
-3
openair2/LAYER2/MAC/eNB_agent_scheduler_dlsch_ue_remote.h
openair2/LAYER2/MAC/eNB_agent_scheduler_dlsch_ue_remote.h
+1
-0
No files found.
openair2/LAYER2/MAC/eNB_agent_scheduler_dlsch_ue_remote.c
View file @
93b7cf05
...
@@ -70,7 +70,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
...
@@ -70,7 +70,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
enb_agent_mac_destroy_dl_config
(
dl_config_elem
->
dl_info
);
enb_agent_mac_destroy_dl_config
(
dl_config_elem
->
dl_info
);
free
(
dl_config_elem
);
free
(
dl_config_elem
);
}
else
{
// next subframe, nothing to do now
}
else
{
// next subframe, nothing to do now
enb_agent_create_empty_dl_config
(
mod_id
,
dl_info
);
enb_agent_
mac_
create_empty_dl_config
(
mod_id
,
dl_info
);
return
;
return
;
}
}
}
}
...
@@ -87,7 +87,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
...
@@ -87,7 +87,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
}
else
{
// Intended for future subframe. Store it in local cache
}
else
{
// Intended for future subframe. Store it in local cache
dl_mac_config_element_t
*
e
=
malloc
(
sizeof
(
dl_mac_config_element_t
));
dl_mac_config_element_t
*
e
=
malloc
(
sizeof
(
dl_mac_config_element_t
));
TAILQ_INSERT_TAIL
(
&
queue_head
,
e
,
configs
);
TAILQ_INSERT_TAIL
(
&
queue_head
,
e
,
configs
);
enb_agent_create_empty_dl_config
(
mod_id
,
dl_info
);
enb_agent_
mac_
create_empty_dl_config
(
mod_id
,
dl_info
);
// No need to look for another. Messages arrive ordered
// No need to look for another. Messages arrive ordered
return
;
return
;
}
}
...
@@ -95,7 +95,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
...
@@ -95,7 +95,7 @@ void schedule_ue_spec_remote(mid_t mod_id, uint32_t frame, uint32_t subframe,
}
}
// We found no pending command, so we will simply pass an empty one
// We found no pending command, so we will simply pass an empty one
enb_agent_create_empty_dl_config
(
mod_id
,
dl_info
);
enb_agent_
mac_
create_empty_dl_config
(
mod_id
,
dl_info
);
}
}
int
get_sf_difference
(
mid_t
mod_id
,
uint16_t
sfn_sf
)
{
int
get_sf_difference
(
mid_t
mod_id
,
uint16_t
sfn_sf
)
{
...
...
openair2/LAYER2/MAC/eNB_agent_scheduler_dlsch_ue_remote.h
View file @
93b7cf05
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
#include "ENB_APP/enb_agent_defs.h"
#include "ENB_APP/enb_agent_defs.h"
#include "enb_agent_mac.h"
#include "enb_agent_mac.h"
#include "LAYER2/MAC/enb_agent_mac_proto.h"
#include <sys/queue.h>
#include <sys/queue.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment