mirror of https://github.com/PentHertz/srsLTE.git
Set preamble to 0.35ms
This commit is contained in:
parent
a2123ea744
commit
099b0eb1ea
|
@ -1,8 +1,8 @@
|
|||
ueConfig=struct('NCellID',1,'NULRB',25,'NSubframe',8,'RNTI',85,'CyclicPrefixUL','Normal','NTxAnts',1,'Shortened',0);
|
||||
puschConfig=struct('NTurboDecIts',5,'NLayers',1,'OrthCover','Off','PRBSet',[23 24]','Modulation','16QAM','RV',0);
|
||||
ueConfig=struct('NCellID',1,'NULRB',25,'NSubframe',2,'RNTI',62,'CyclicPrefixUL','Normal','NTxAnts',1,'Shortened',0);
|
||||
puschConfig=struct('NTurboDecIts',5,'NLayers',1,'OrthCover','Off','PRBSet',(0:24)','Modulation','16QAM','RV',3);
|
||||
|
||||
TBS=696;
|
||||
cfo=0;
|
||||
TBS=9144;
|
||||
cfo=1000;
|
||||
%t0=1;
|
||||
%x=[rx(t0:end); zeros(t0-1,1)];
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
ueConfig=struct('NCellID',1,'NULRB',25,'RNTI',84,'CyclicPrefixUL','Normal','NTxAnts',1,'Shortened',0);
|
||||
puschConfig=struct('NLayers',1,'OrthCover','Off','PRBSet',[23 24]','Shortened',0);
|
||||
ueConfig=struct('NCellID',1,'NULRB',25,'RNTI',64,'CyclicPrefixUL','Normal','NTxAnts',1,'Shortened',0);
|
||||
puschConfig=struct('NLayers',1,'OrthCover','Off','PRBSet',(0:23)','Shortened',0);
|
||||
|
||||
addpath('../../build/srslte/lib/phch/test')
|
||||
|
||||
TBs=696;
|
||||
TBs=9144;
|
||||
cqilen=0;
|
||||
rvs=0;
|
||||
mods={'16QAM'};
|
||||
betas=0;
|
||||
subf=2;
|
||||
subf=5;
|
||||
|
||||
for i=1:length(TBs)
|
||||
for m=1:length(mods)
|
||||
|
|
|
@ -81,7 +81,7 @@ namespace srslte {
|
|||
void *uhd;
|
||||
|
||||
static const double lo_offset = 8e6; // LO offset (in Hz)
|
||||
static const double burst_settle_time = 0.4e-3; // Start of burst settle time (off->on RF transition time)
|
||||
static const double burst_settle_time = 0.35e-3; // Start of burst settle time (off->on RF transition time)
|
||||
const static uint32_t burst_settle_max_samples = 30720000; // 30.72 MHz is maximum frequency
|
||||
|
||||
srslte_timestamp_t end_of_burst_time;
|
||||
|
|
|
@ -119,7 +119,7 @@ bool radio_uhd::tx(void* buffer, uint32_t nof_samples, srslte_timestamp_t tx_tim
|
|||
bool radio_uhd::tx_end()
|
||||
{
|
||||
save_trace(2, &end_of_burst_time);
|
||||
cuhd_send_timed2(uhd, zeros, 10, end_of_burst_time.full_secs, end_of_burst_time.frac_secs, false, true);
|
||||
cuhd_send_timed2(uhd, zeros, 0, end_of_burst_time.full_secs, end_of_burst_time.frac_secs, false, true);
|
||||
is_start_of_burst = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue