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
846e7b88
Commit
846e7b88
authored
Aug 19, 2019
by
Wang He
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify for --UE build error.
parent
5bd38be7
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
12 deletions
+9
-12
openair2/NETWORK_DRIVER/UE_IP/constant.h
openair2/NETWORK_DRIVER/UE_IP/constant.h
+1
-2
openair2/NETWORK_DRIVER/UE_IP/device.c
openair2/NETWORK_DRIVER/UE_IP/device.c
+1
-4
openair2/NETWORK_DRIVER/UE_IP/local.h
openair2/NETWORK_DRIVER/UE_IP/local.h
+1
-2
targets/COMMON/openairinterface5g_limits.h
targets/COMMON/openairinterface5g_limits.h
+2
-2
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+2
-1
targets/RT/USER/lte-uesoftmodem.c
targets/RT/USER/lte-uesoftmodem.c
+2
-1
No files found.
openair2/NETWORK_DRIVER/UE_IP/constant.h
View file @
846e7b88
...
...
@@ -52,8 +52,7 @@
//#define UE_IP_NB_INSTANCES_MAX NUMBER_OF_UE_MAX /*MAX_MOBILES_PER_ENB*/
signed
int
UE_IP_NB_INSTANCES_MAX
;
#define UE_IP_NB_INSTANCES_MAX 256
/* NUMBER_OF_UE_MAX or MAX_MOBILES_PER_ENB*/
#endif
openair2/NETWORK_DRIVER/UE_IP/device.c
View file @
846e7b88
...
...
@@ -48,8 +48,7 @@
//struct net_device *ue_ip_dev[UE_IP_NB_INSTANCES_MAX];
struct
net_device
**
ue_ip_dev
;
struct
net_device
*
ue_ip_dev
[
UE_IP_NB_INSTANCES_MAX
];
#ifdef OAI_NW_DRIVER_USE_NETLINK
extern
void
ue_ip_netlink_release
(
void
);
...
...
@@ -367,8 +366,6 @@ int init_module (void) {
// Initialize parameters shared with RRC
printk
(
"[UE_IP_DRV][%s] Starting OAI IP driver"
,
__FUNCTION__
);
UE_IP_NB_INSTANCES_MAX
=
NUMBER_OF_UE_MAX
;
ue_ip_dev
=
(
struct
net_device
**
)
malloc
(
sizeof
(
struct
net_device
*
)
*
UE_IP_NB_INSTANCES_MAX
);
for
(
inst
=
0
;
inst
<
UE_IP_NB_INSTANCES_MAX
;
inst
++
)
{
printk
(
"[UE_IP_DRV][%s] begin init instance %d
\n
"
,
__FUNCTION__
,
inst
);
sprintf
(
devicename
,
"oip%d"
,
inst
+
1
);
...
...
openair2/NETWORK_DRIVER/UE_IP/local.h
View file @
846e7b88
...
...
@@ -109,7 +109,6 @@ typedef struct pdcp_data_ind_header_s {
//extern struct net_device *ue_ip_dev[UE_IP_NB_INSTANCES_MAX];
extern
struct
net_device
**
ue_ip_dev
;
extern
struct
net_device
*
ue_ip_dev
[
UE_IP_NB_INSTANCES_MAX
];
#endif
targets/COMMON/openairinterface5g_limits.h
View file @
846e7b88
#ifndef OPENAIRINTERFACE5G_LIMITS_H_
#define OPENAIRINTERFACE5G_LIMITS_H_
signed
int
NUMBER_OF_UE_MAX
;
signed
int
NUMBER_OF_UCI_VARS_MAX
;
extern
un
signed
int
NUMBER_OF_UE_MAX
;
extern
un
signed
int
NUMBER_OF_UCI_VARS_MAX
;
#if defined(CBMIMO1) || defined(EXMIMO) || defined(OAI_USRP) || defined(OAI_LMSSDR)
# define NUMBER_OF_eNB_MAX 1
...
...
targets/RT/USER/lte-softmodem.c
View file @
846e7b88
...
...
@@ -100,7 +100,8 @@ pthread_cond_t nfapi_sync_cond;
pthread_mutex_t
nfapi_sync_mutex
;
int
nfapi_sync_var
=-
1
;
//!< protected by mutex \ref nfapi_sync_mutex
uint32_t
NUMBER_OF_UE_MAX
=
16
;
uint32_t
NUMBER_OF_UCI_VARS_MAX
=
16
;
uint16_t
sf_ahead
=
4
;
pthread_cond_t
sync_cond
;
...
...
targets/RT/USER/lte-uesoftmodem.c
View file @
846e7b88
...
...
@@ -105,7 +105,8 @@ int nfapi_sync_var=-1; //!< protected by mutex \ref nfapi_sync_mutex
uint16_t
sf_ahead
=
2
;
int
tddflag
;
char
*
emul_iface
;
uint32_t
NUMBER_OF_UE_MAX
=
16
;
uint32_t
NUMBER_OF_UCI_VARS_MAX
=
16
;
pthread_cond_t
sync_cond
;
pthread_mutex_t
sync_mutex
;
...
...
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