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
wangjie
OpenXG-RAN
Commits
06c4b91b
Commit
06c4b91b
authored
Mar 17, 2016
by
Xiwen JIANG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move beamforming function to PHY/MODULATION folder
parent
71b76934
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
44 deletions
+43
-44
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+1
-1
openair1/PHY/LTE_TRANSPORT/proto.h
openair1/PHY/LTE_TRANSPORT/proto.h
+0
-35
openair1/PHY/MODULATION/beamforming.c
openair1/PHY/MODULATION/beamforming.c
+4
-4
openair1/PHY/MODULATION/defs.h
openair1/PHY/MODULATION/defs.h
+34
-0
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+4
-4
No files found.
cmake_targets/CMakeLists.txt
View file @
06c4b91b
...
...
@@ -868,12 +868,12 @@ set(PHY_SRC
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/rar_tools.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/print_stats.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/initial_sync.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/beamforming.c
${
OPENAIR1_DIR
}
/PHY/MODULATION/ofdm_mod.c
${
OPENAIR1_DIR
}
/PHY/MODULATION/slot_fep.c
${
OPENAIR1_DIR
}
/PHY/MODULATION/slot_fep_mbsfn.c
${
OPENAIR1_DIR
}
/PHY/MODULATION/slot_fep_ul.c
${
OPENAIR1_DIR
}
/PHY/MODULATION/ul_7_5_kHz.c
${
OPENAIR1_DIR
}
/PHY/MODULATION/beamforming.c
${
OPENAIR1_DIR
}
/PHY/LTE_ESTIMATION/freq_equalization.c
${
OPENAIR1_DIR
}
/PHY/LTE_ESTIMATION/lte_sync_time.c
${
OPENAIR1_DIR
}
/PHY/LTE_ESTIMATION/lte_sync_timefreq.c
...
...
openair1/PHY/LTE_TRANSPORT/proto.h
View file @
06c4b91b
...
...
@@ -336,41 +336,6 @@ int32_t generate_pbch(LTE_eNB_PBCH *eNB_pbch,
int32_t
generate_pbch_emul
(
PHY_VARS_eNB
*
phy_vars_eNB
,
uint8_t
*
pbch_pdu
);
/** \brief This function performs UE specific beamforming especially for
* transmission mode TM7-10
@param txdataF Table of pointers for frequency-domain TX signals
@param txdataF_BF Table of pointers for frequency-domain TX signals
after beamforming
@param frame_parms Frame descriptor structure
@param ue_spec_bf_weights UE specific beamforming weights applied on
each antenna element and each carrier
@param slot Slot number
@param symbol Symbol index on which to act*/
int
ue_spec_beamforming
(
int32_t
**
txdataF
,
int32_t
**
txdataF_BF
,
LTE_DL_FRAME_PARMS
*
frame_parms
,
int32_t
***
ue_spec_bf_weights
,
int
slot
,
int
symbol
);
/** \brief This function performs cell specific beamforming for common
* data
@param txdataF Table of pointers for frequency-domain TX signals
@param txdataF_BF Table of pointers for frequency-domain TX signals
@param frame_parms Frame descriptor structure
after beamforming
@param cell_spec_bf_weights Common beamforming weights applied on each
antenna element and each carrier
@param slot Slot number
@param symbol Symbol index on which to act*/
int
cell_spec_beamforming
(
int32_t
**
txdataF
,
int32_t
**
txdataF_BF
,
LTE_DL_FRAME_PARMS
*
frame_parms
,
int32_t
***
cell_spec_bf_weights
,
int
slot
,
int
symbol
);
/** \brief This function computes the LLRs for ML (max-logsum approximation) dual-stream QPSK/QPSK reception.
@param stream0_in Input from channel compensated (MR combined) stream 0
@param stream1_in Input from channel compensated (MR combined) stream 1
...
...
openair1/PHY/
LTE_TRANSPORT
/beamforming.c
→
openair1/PHY/
MODULATION
/beamforming.c
View file @
06c4b91b
...
...
@@ -27,13 +27,13 @@ Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 069
*******************************************************************************/
/*! \file PHY/
LTE_TRANSPORT
/beamforming.c
/*! \file PHY/
MODULATION
/beamforming.c
* \brief
* \author
R. Knopp, F. Kaltenberger, X. JIANG
* \date 201
5
* \author
X. JIANG, F. Kaltenberger, R. KNOPP
* \date 201
6
* \version 0.1
* \company Eurecom
* \email:
knopp@eurecom.fr,florian.kaltenberger@eurecom.fr,xiwen.jiang
@eurecom.fr
* \email:
xiwen.jiang@eurecom.fr,florian.kaltenberger@eurecom.fr,raymond.knopp
@eurecom.fr
* \note
* \warning
*/
...
...
openair1/PHY/MODULATION/defs.h
View file @
06c4b91b
...
...
@@ -99,6 +99,40 @@ void remove_625_Hz(PHY_VARS_eNB *phy_vars_eNB,int16_t *prach);
void
apply_625_Hz
(
PHY_VARS_UE
*
phy_vars_ue
,
int16_t
*
prach
);
/** \brief This function performs UE specific beamforming especially for
* transmission mode TM7-10
@param txdataF Table of pointers for frequency-domain TX signals
@param txdataF_BF Table of pointers for frequency-domain TX signals
after beamforming
@param frame_parms Frame descriptor structure
@param ue_spec_bf_weights UE specific beamforming weights applied on
each antenna element and each carrier
@param slot Slot number
@param symbol Symbol index on which to act*/
int
ue_spec_beamforming
(
int32_t
**
txdataF
,
int32_t
**
txdataF_BF
,
LTE_DL_FRAME_PARMS
*
frame_parms
,
int32_t
***
ue_spec_bf_weights
,
int
slot
,
int
symbol
);
/** \brief This function performs cell specific beamforming for common
* data
@param txdataF Table of pointers for frequency-domain TX signals
@param txdataF_BF Table of pointers for frequency-domain TX signals
@param frame_parms Frame descriptor structure
after beamforming
@param cell_spec_bf_weights Common beamforming weights applied on each
antenna element and each carrier
@param slot Slot number
@param symbol Symbol index on which to act*/
int
cell_spec_beamforming
(
int32_t
**
txdataF
,
int32_t
**
txdataF_BF
,
LTE_DL_FRAME_PARMS
*
frame_parms
,
int32_t
***
cell_spec_bf_weights
,
int
slot
,
int
symbol
);
#endif
/** @}*/
#endif
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
06c4b91b
...
...
@@ -134,12 +134,12 @@ void do_OFDM_mod_l(LTE_eNB_COMMON *eNB_common_vars, int eNB_id, uint16_t next_sl
//printf("do_OFDM_mod_l, slot=%d, l=%d, NUMBER_OF_OFDM_CARRIERS=%d,OFDM_SYMBOL_SIZE_COMPLEX_SAMPLES=%d\n",next_slot, l,NUMBER_OF_OFDM_CARRIERS,OFDM_SYMBOL_SIZE_COMPLEX_SAMPLES);
if
(
l
<
num_pdcch_symbols
&&
next_slot
&
1
==
0
)
cell_spec_beamforming
(
txdataF
,
txdataF_BF
,
frame_parms
,
eNB_common_vars
->
cell_spec_bf_weights
,
next_slot
,
l
);
cell_spec_beamforming
(
txdataF
,
txdataF_BF
,
frame_parms
,
eNB_common_vars
->
cell_spec_bf_weights
[
eNB_id
]
,
next_slot
,
l
);
else
if
(
transmission_mode
<
7
)
cell_spec_beamforming
(
txdataF
,
txdataF_BF
,
frame_parms
,
eNB_common_vars
->
cell_spec_bf_weights
,
next_slot
,
l
);
cell_spec_beamforming
(
txdataF
,
txdataF_BF
,
frame_parms
,
eNB_common_vars
->
cell_spec_bf_weights
[
eNB_id
]
,
next_slot
,
l
);
else
ue_spec_beamforming
(
txdataF
,
txdataF_BF
,
frame_parms
,
eNB_common_vars
->
ue_spec_bf_weights
,
next_slot
,
l
);
ue_spec_beamforming
(
txdataF
,
txdataF_BF
,
frame_parms
,
eNB_common_vars
->
ue_spec_bf_weights
[
eNB_id
]
,
next_slot
,
l
);
for
(
aa
=
0
;
aa
<
frame_parms
->
nb_antennas_tx
;
aa
++
)
{
...
...
@@ -1026,7 +1026,7 @@ int main(int argc, char **argv)
for
(
re
=
0
;
re
<
frame_parms
->
ofdm_symbol_size
;
re
++
)
{
if
(
n_tx_phy
==
1
||
n_tx_phy
==
2
)
ue_spec_bf_weights
[
aa
][
re
]
=
0x00007fff
;
else
if
(
n_tx_phy
==
4
)
else
if
(
n_tx_phy
==
4
||
n_tx_phy
==
8
)
ue_spec_bf_weights
[
aa
][
re
]
=
0x00007fff
>>
1
;
else
if
(
n_tx_phy
==
16
)
ue_spec_bf_weights
[
aa
][
re
]
=
0x00007fff
>>
2
;
...
...
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