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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
6c6fa11f
Commit
6c6fa11f
authored
Mar 24, 2025
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not compile full LTE L2 eNB in nr-softmodem (at the cost of a small dummy file)
parent
d62e202a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
2 deletions
+63
-2
CMakeLists.txt
CMakeLists.txt
+2
-2
openair2/LAYER2/MAC/dummy_functions.c
openair2/LAYER2/MAC/dummy_functions.c
+61
-0
No files found.
CMakeLists.txt
View file @
6c6fa11f
...
...
@@ -1335,8 +1335,8 @@ if(E2_AGENT)
endif
()
add_library
(
L2_LTE_NR
${
L2_RRC_SRC
}
${
MAC_
SRC
}
# temporary solution until 4G/5G code completely untangled (as evidenced by deletion of the following file)
${
MAC_
DIR
}
/dummy_functions.c
${
ENB_APP_SRC
}
)
...
...
openair2/LAYER2/MAC/dummy_functions.c
0 → 100644
View file @
6c6fa11f
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
* except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
#include "openair2/LAYER2/MAC/mac_proto.h"
// TODO temporary solution
// to be removed once separation between NR and LTE is achieved
int
sf_ahead
=
4
;
SCHEDULER_MODES
global_scheduler_mode
;
int
rrc_mac_config_req_eNB
(
const
module_id_t
Mod_idP
,
const
rrc_mac_config_req_eNB_t
*
param
)
{
return
0
;
}
void
mac_top_init_eNB
(
void
)
{
}
uint32_t
to_earfcn_UL
(
int
eutra_bandP
,
long
long
int
ul_CarrierFreq
,
uint32_t
bw
)
{
return
0
;
}
int32_t
get_uldl_offset
(
int
nr_bandP
)
{
return
0
;
}
IF_Module_t
*
IF_Module_init
(
int
Mod_id
)
{
return
NULL
;
}
uint32_t
from_earfcn
(
int
eutra_bandP
,
uint32_t
dl_earfcn
)
{
return
0
;
}
uint32_t
to_earfcn_DL
(
int
eutra_bandP
,
long
long
int
dl_CarrierFreq
,
uint32_t
bw
)
{
return
0
;
}
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