40 Commits (248583ecdfea2b95772b7447f1d9d1ce11e93208)

Author SHA1 Message Date
Andre Puschmann c7f0caa24a add TTI field to MAC dl/ul grants and fix PCAP to include TTI 5 years ago
Francisco Paisana 6db0e474be moved RA waiting procedure to a background task of the stack thread pool 5 years ago
Francisco Paisana 946ead06e8 using an interface between the stack and lower mac to process demux pdus. 5 years ago
Andre Puschmann bd1e367263 add missing mutex lock in mux 5 years ago
Ismael Gomez cbb1bbfaa1 Fix multiple PRACHs after SR fail and a minor issue in HO 5 years ago
Ismael Gomez bfddc55148
RRC-PHY interface (#639)
RRC-PHY interface refactor. Moved RRC-MAC interface to rrc_asn1_utils and created RRC-PHY interface also in rrc_asn1_utils. All ASN1 includes should be made from rrc_asn1_utils only keeping ue_interfaces clean of ASN1

Tested with different common and dedicated configurations (64QAM UL, 256QAM, CA, SRS enabled/disabled, etc)
5 years ago
Francisco Paisana 67d6a25194 Moving mac timers to stack timers (#638)
* first step towards moving MAC timers to stack. Mac is still using its own timers. srslte::timers class can be restructured.

* moved timers out of the UE MAC
5 years ago
Ismael Gomez 69edee4e6c
Fix issues in uplink QoS (#636)
Fix bugs in Long BSR and Truncated BSR and added unit tests
5 years ago
Andre Puschmann 09610ce788 add type setter to sch_subh and use it for MCH PDUs 6 years ago
Ismael Gomez 5358816ad5 Fix Truncated BSR due to invalid priority ordering 6 years ago
Ismael Gomez da78f373b1 Cleaned SR logs 6 years ago
Ismael Gomez abdb880b3b Remove unused mux_is_transmitted local variable 6 years ago
Ismael Gomez f6a5d28283 Addressed @andrepuschmann comments 6 years ago
Ismael Gomez 773c2a9721 Fixed multiple issues in Random Access procedure and extended MAC test 6 years ago
Andre Puschmann 5faa819dcd fixing uninitialized class members found by coverity 6 years ago
Andre Puschmann 92f0d58856 mac: move further init/config into ctor to allow early logging, etc. 6 years ago
Ismael Gomez fe04a83269 Fix BSR trigger cancellation 6 years ago
Andre Puschmann 0094fbd191 mux/bsr: fix issue with corrupted UL-SCH PDU
BSR was triggered although there was not enough space in MAC PDU
6 years ago
Andre Puschmann 1dea4add2a stack: fix issue where stack thread was exited before stop_impl was called 6 years ago
Andre Puschmann 58763fb714 stack: move initialization of log object into ctor
this fixes the issue when the stack is torn down if, for example,
the radio couldn't be loaded correctly. it will hence call stop() on all stack
components which are not initialzized yet, and logging therefore doesn't work.
the log object is know during contruction time and therefore can be passed
in as soon as possible.
6 years ago
Ismael Gomez c7bafdd46c Fix BSR-reTX timer handling causing blocking when bad UL channel 6 years ago
Ismael Gomez ebe97221da Do not check periodic-BSR during retx-BSR expiration 6 years ago
Andre Puschmann bb836488ef mux: do not print priority info if the LC config is only updated 6 years ago
Andre Puschmann 34d2eb761f mux: use updated SDU length when adding new SDUs 6 years ago
Andre Puschmann 82a69fb51c mux: fix packing of short MAC PDUs 6 years ago
Andre Puschmann a3d95c8370 simplify SDU allocation and remove unneeded checks 6 years ago
Andre Puschmann 69e948bd5e mux: improve logging during SDU allocation 6 years ago
Andre Puschmann a4dab1081e mux: fix code formatting and simplify UL-CCCH packing 6 years ago
Andre Puschmann 7145cd2358 fix padding BSR generation and add test for it 6 years ago
Andre Puschmann db224335a7 add MUX step function for PBR counting 6 years ago
Andre Puschmann da35f41dd5 rework MAC logical channel prioritization 6 years ago
Francisco Paisana ce29ed545d moved mac thread to the stack. Protect the interface of the stack with PHY and gateway via a queue of tasks 6 years ago
Xavier Arteaga cd036d8760 SRSUE: proc_ra.h/.cc use C++11 mutex 6 years ago
Xavier Arteaga 5d87aece0f SRSUE: mac.h/.cc mutexes changed to C++11 and set initial values 6 years ago
Xavier Arteaga 4ec22b8353 SRSUE: Fix PCAP for CA 6 years ago
Ismael Gomez c2e9817f41 Possible solution to RLC Reestablishment 6 years ago
Andre Puschmann e47010130f extend thread class to set unique thread name in ctor
this will also extend all classes that use srslte::thread
to specify the name of the thread in the ctor as well
as to set the name of the worker threads in the thread pool
the thread name will be displayed in gdb.
6 years ago
Andre Puschmann 77d4197364 mac: make sure we only pull out valid rapid from subheader 6 years ago
Xavier Arteaga 080b4a327c SRSUE: Refactored asynchronous cell and ue_radio. CA Fixed. 6 years ago
Andre Puschmann 65f50cd7ba introduce new UE layer design
- abstract UE object now consists of a radio, a PHY, and a stack layer
- add new stack abstraction layer that combines MAC, RLC, RRC, PDCP, NAS and GW
- PHY layer now has a single stack interface and does not talk to MAC and RRC seperatly
6 years ago