[srsran-users] LTE: DL and UL decoding procedure (order) in Matlab
Sabyrzhan Tasbolatov
snovitoll at gmail.com
Mon Sep 26 15:10:18 UTC 2022
Could anyone please help me with the practical or theoretical part?
I'm trying to read the srsRAN code, but I need the implementation in Matlab.
I got the code on how to decode DL-SCH and I got DCI 0/4 formats (UL
grant), but what is the procedure for DL and UL decoding via Matlab?
I am referring to theory at sharetechnote slides.
If I am iterating every SFN and internal loop for each subframe for DL
decoding, then where I should insert a function to decode UL signal?
Like
rxGrid = lteOFDMDemodulate(enb, dlWaveform);
while (size(rxGrid,2) > 0)
...
% iterate every SFN
for subframeIdx = 0:9
% iterate every subframe and detect DCI and decode it
...
% on every 4th SFN I Have MIB, and every even I have SIB1
% then I have SIB2 where I have params for UL PUCCH, PRACH etc.
% but I need to use ASN.1 decoder (or wireshark LTE dissector)
to get real values from symbols.
...
if UE.DCI.Format == "Format0"
% this is UL Grant. What should I do with this subframe?
end
end
end
rxGridUl = lteSCFDMADemodulate(FRC,ulWaveform);
% ??? how can I properly use rxGridUl to decode UL-SCH, RACH channels?
--
Sabr
More information about the srsran-users
mailing list