Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
3e164fb3
Commit
3e164fb3
authored
Jun 19, 2020
by
MaheshK1995
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[no USRP found] error resolved
parent
c13a9a86
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
nfapi/README.md
nfapi/README.md
+6
-1
nfapi/oai_integration/nfapi_pnf.c
nfapi/oai_integration/nfapi_pnf.c
+2
-1
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
+1
-1
targets/PROJECTS/GENERIC-LTE-EPC/CONF/oaiL1.nfapi.usrpx300.conf
...s/PROJECTS/GENERIC-LTE-EPC/CONF/oaiL1.nfapi.usrpx300.conf
+1
-0
No files found.
nfapi/README.md
View file @
3e164fb3
...
@@ -27,3 +27,8 @@
...
@@ -27,3 +27,8 @@
*
Need the
`N_RB`
value to be non-zero and obtained from the config file. (carrier config grid size)
*
Need the
`N_RB`
value to be non-zero and obtained from the config file. (carrier config grid size)
`int N_RB = gNB_config->carrier_config.dl_grid_size[gNB_config->ssb_config.scs_common.value].value;`
`int N_RB = gNB_config->carrier_config.dl_grid_size[gNB_config->ssb_config.scs_common.value].value;`
*
how is this
`gNB_config`
assigned its values?
*
how is this
`gNB_config`
assigned its values?
### 19/06/20
*
`ret = openair0_device_load(&ru->rfdevice,&ru->openair0_cfg);`
sloc: 1428 in
`nr-ru.c`
*
the
`ru->rfdevice`
has all members zero or null.
*
This issue was solved by adding
`sdr_addrs`
to config file of PNF.
\ No newline at end of file
nfapi/oai_integration/nfapi_pnf.c
View file @
3e164fb3
...
@@ -1285,7 +1285,7 @@ int start_request(nfapi_pnf_config_t *config, nfapi_pnf_phy_config_t *phy, nfap
...
@@ -1285,7 +1285,7 @@ int start_request(nfapi_pnf_config_t *config, nfapi_pnf_phy_config_t *phy, nfap
pthread_create
(
&
p7_thread
,
NULL
,
&
pnf_p7_thread_start
,
p7_config
);
pthread_create
(
&
p7_thread
,
NULL
,
&
pnf_p7_thread_start
,
p7_config
);
//((pnf_phy_user_data_t*)(phy_info->fapi->user_data))->p7_config = p7_config;
//((pnf_phy_user_data_t*)(phy_info->fapi->user_data))->p7_config = p7_config;
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"[PNF] Calling l1_north_init_eNB() %s
\n
"
,
__FUNCTION__
);
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"[PNF] Calling l1_north_init_eNB() %s
\n
"
,
__FUNCTION__
);
l1_north_init_
e
NB
();
l1_north_init_
g
NB
();
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"[PNF] DJP - HACK - Set p7_config global ready for subframe ind%s
\n
"
,
__FUNCTION__
);
NFAPI_TRACE
(
NFAPI_TRACE_INFO
,
"[PNF] DJP - HACK - Set p7_config global ready for subframe ind%s
\n
"
,
__FUNCTION__
);
p7_config_g
=
p7_config
;
p7_config_g
=
p7_config
;
...
@@ -1321,6 +1321,7 @@ int start_request(nfapi_pnf_config_t *config, nfapi_pnf_phy_config_t *phy, nfap
...
@@ -1321,6 +1321,7 @@ int start_request(nfapi_pnf_config_t *config, nfapi_pnf_phy_config_t *phy, nfap
nfapi_send_pnf_start_resp
(
config
,
p7_config
->
phy_id
);
nfapi_send_pnf_start_resp
(
config
,
p7_config
->
phy_id
);
printf
(
"[PNF] Sending first P7 subframe ind
\n
"
);
printf
(
"[PNF] Sending first P7 subframe ind
\n
"
);
nfapi_pnf_p7_subframe_ind
(
p7_config
,
p7_config
->
phy_id
,
0
);
// DJP - SFN_SF set to zero - correct???
nfapi_pnf_p7_subframe_ind
(
p7_config
,
p7_config
->
phy_id
,
0
);
// DJP - SFN_SF set to zero - correct???
//TODO: Change to nfapi_pnf_p7_slot_ind
printf
(
"[PNF] Sent first P7 subframe ind
\n
"
);
printf
(
"[PNF] Sent first P7 subframe ind
\n
"
);
return
0
;
return
0
;
}
}
...
...
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h
View file @
3e164fb3
...
@@ -607,7 +607,7 @@ typedef struct {
...
@@ -607,7 +607,7 @@ typedef struct {
uint16_t
sfn
;
//0->1023
uint16_t
sfn
;
//0->1023
uint16_t
slot
;
//0->319
uint16_t
slot
;
//0->319
}
nfapi_nr_slot_indication_t
;
}
nfapi_nr_slot_indication_
scf_
t
;
// 3.4.2
// 3.4.2
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/oaiL1.nfapi.usrpx300.conf
View file @
3e164fb3
...
@@ -41,5 +41,6 @@ RUs = (
...
@@ -41,5 +41,6 @@ RUs = (
bands
= [
7
];
bands
= [
7
];
max_pdschReferenceSignalPower
= -
27
;
max_pdschReferenceSignalPower
= -
27
;
max_rxgain
=
114
;
max_rxgain
=
114
;
sdr_addrs
=
"type=x300"
; //
USRP
type
}
}
);
);
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