Codebot
9211ad7d51
Merge branch 'next' into agpl_next
2022-04-29 07:28:41 +00:00
Andre Puschmann
70eaec21e2
all: fix uninitialized variables detected by coverity
2022-04-28 15:42:08 +02:00
Codebot
123f766935
Merge branch 'next' into agpl_next
2022-04-26 08:28:16 +00:00
Robert Falkenberg
50ac1c6c0a
cmake: flag install() of compiled targets as OPTIONAL
...
This enables `make install` for partial builds of selected targets,
which otherwise fails because the omitted targets are not present.
2022-03-09 11:28:12 +01:00
Codebot
42cc7d5d1a
Merge branch 'next' into agpl_next
2022-02-13 23:12:22 +01:00
Andre Puschmann
21c3a448b7
mac_sch_pdu_nr: fix UL-CCCH packing
...
fix MAC PDU packing issue for UL-CCCH that uses
only 6 B SDU. If the SDU fits inside 6 B, the LCID
for Msg3 should be set to be CCCH48 instead of CCCH64.
2022-02-08 09:48:58 +01:00
Codebot
21525935ab
Merge branch 'next' into agpl_next
...
# Conflicts:
# srsue/hdr/phy/ue_lte_phy_base.h
# srsue/hdr/phy/ue_nr_phy_base.h
2021-12-19 23:12:24 +01:00
Ismael Gomez
3c929ed24c
ue,sa: Sends PRACH and receives RAR, then Msg4, resolves contention resolution and pushes ConnectionSetup to RRC
2021-12-01 22:36:10 +01:00
Codebot
dd2c1f7695
Merge branch 'next' into agpl_next
2021-11-28 23:12:22 +01:00
Andre Puschmann
059a747081
mac_sch_pdu_nr: fix pretty-priting of CCCH
2021-11-24 12:10:17 +01:00
Andre Puschmann
afd417c96e
mac_pdu_nr_test: add TC for MAC CON RES CE
2021-11-22 15:16:12 +01:00
Andre Puschmann
062cba5bd5
mac_sch_pdu_nr: add support for contention resolution CE
2021-11-22 15:16:12 +01:00
Andre Puschmann
4dcbc70131
mac,packing: move test code to source folder
2021-11-22 15:16:12 +01:00
Codebot
63fe471fa6
Merge branch 'next' into agpl_next
2021-11-07 23:12:22 +01:00
Francisco
c615df9d1d
nr,gnb,mac: prioritize CRNTI CE handling over remaining SDUs and CEs in gNB mac receiver
2021-11-03 13:31:16 +00:00
Francisco
4286ab81d9
nr,gnb,mac: fix const-correctness of some methods of class srsran::mac_sch_pdu_nr
2021-11-03 13:31:16 +00:00
Codebot
9d7836817c
Merge branch 'next' into agpl_next
...
# Conflicts:
# lib/include/srsran/common/signal_handler.h
2021-10-21 12:36:20 +02:00
Andre Puschmann
af69551c8d
mac_sch_pdu_nr: add LBSR unpacking
...
* add LBSR unpacking
* add pretty printer
* also simplify and unify general unpacking code
2021-10-16 21:50:07 +02:00
Francisco
f427a25a30
nr,gnb,mac: account for header space larger than 2 when packing PDSCH
2021-10-15 11:03:02 +02:00
Andre Puschmann
7cbd3d50b7
mac_sch_pdu_nr,bsr: fix length check for BSR
...
fix nasty bug where the length calucation for the LCID
was taking the bsr_format_nr_t that was having the same name.
2021-10-14 11:16:37 +02:00
Francisco
4e49508d8f
nr,gnb,mac: fix RAR encoding by resetting the RAR buffer
2021-10-11 18:30:33 +01:00
Codebot
b87b760326
Merge branch 'next' into agpl_next
2021-09-19 23:12:23 +02:00
Codebot
958542dc2b
Merge branch 'next' into agpl_next
2021-09-12 23:12:24 +02:00
Andre Puschmann
aba0ba9ad8
mac_sch_pdu_nr: fix newline in logs
2021-09-09 14:29:04 +02:00
faluco
ec272061a0
Fix a dangling SDU pointer in mac_sch_subpdu_nr when adding subpdus into a mac_sch_pdu_nr.
2021-09-08 14:45:23 +02:00
Codebot
de59c88954
Merge branch 'next' into agpl_next
...
# Conflicts:
# srsue/hdr/stack/bearer_manager.h
# srsue/src/stack/bearer_manager.cc
2021-09-05 23:12:20 +02:00
Andre Puschmann
82e9652a92
mac_sch_pdu_nr: fix ASAN/fmt issue when print space
2021-09-03 12:09:41 +02:00
Andre Puschmann
ea48a350a4
mac_rar_pdu_nr: fix clearing of padding bytes
2021-09-03 12:09:41 +02:00
Andre Puschmann
02bd15878e
mac_sch_pdu_nr: fix logging
2021-09-03 12:09:41 +02:00
Andre Puschmann
ede81be5e4
mac_rar_pdu_nr: add packing routines
...
* add packing for RAR PDUs
* rewrite to_string() to use fmt lib
* add test case for packer
2021-09-03 12:09:41 +02:00
Andre Puschmann
20c0e0bc41
mac_sch_pdu_nr: add to_string() helper to format MAC PDUs in logs
2021-09-03 12:09:41 +02:00
Andre Puschmann
9bf74843f6
mac_pdu_nr: add error handling to init_tx() method
...
check provided byte_buffer and return error if it's not valid
2021-08-31 17:20:13 +02:00
Codebot
bfa1215b89
Merge branch 'next' into agpl_next
2021-06-27 23:12:19 +02:00
Ismael Gomez
5aa5a8e997
Revert UE changes
2021-06-18 23:17:14 +02:00
Ismael Gomez
e35a0d72fa
Revert UE changes
2021-06-18 23:17:14 +02:00
Ismael Gomez
dd9889e07c
Add carrier index to uplink PCAP captures
2021-06-18 23:17:14 +02:00
Codebot
73a61b884e
Merge branch 'next' into agpl_next
2021-06-06 23:12:31 +02:00
Francisco
486823e5de
sched,bugfix: The PHR handling scheme now considers the number of PRBs of the UL grant that carried the PHR. Before, it was assuming the most conservative scenario of Nprb=1
2021-06-03 15:33:38 +01:00
Ismael Gomez
5db3030428
Tiny changes
2021-06-02 12:37:36 +02:00
Codebot
0a15eeb57a
Adding AGPL copyright to new files
2021-04-22 10:59:40 +02:00
Codebot
34dbee4c7d
Merge branch 'next' into agpl_next
2021-04-18 23:12:28 +02:00
Francisco
e37968410e
simplification of timers handler design, relying solely on one time wheel.
2021-04-15 18:46:42 +01:00
Xavier Arteaga
7823bfc28c
Fix append NR to loggers for NR components
2021-04-14 08:16:44 +02:00
Andre Puschmann
c9da21c9bb
mac_nr: add error handling when unpacking SCH MAC PDU
...
* only handle PDU if unpacking was successfull
* add TC unpacking with malformed PDU
2021-04-12 18:26:31 +02:00
Codebot
c0282856d0
Merge branch 'next' into agpl_next
...
# Conflicts:
# srsue/test/mac_nr/mac_nr_test.cc
2021-04-11 23:14:49 +02:00
Andre Puschmann
9950278a12
nr,mac_sch_pdu,mux: fix packing of MAC subPDUs with 16bit L field
...
the created RLC PDU was too large to fit inside the MAC grant
because only the header room for the short L field was used.
The patch determines the correct size before passing the opportunity to RLC.
It also improves logging in error case by using the MAC logger instead of
stderr/stdout when error occurs.
2021-04-09 20:12:03 +02:00
Andre Puschmann
db496df1e6
mac_nr: add support for periodic BSR reporting
...
building on the previous refactor this patch now adds support
for peridoic BSR reporting (using short BSR). It furthermore does
the following changes:
* add BSR packing
* add proc_bsr_nr unit test
* move mac_nr test code into test folder under src (needs to be done with other test code too)
2021-04-09 12:28:05 +02:00
Andre Puschmann
6dd8c21073
mac_sch_pdu_nr: add unpacking of TA CE in DL-SCH
...
also add basic test to verify correct unpacking
2021-04-09 09:49:14 +02:00
David Rupprecht
7a481c40ab
Added mac prach nr proc error handling
2021-04-08 17:37:36 +02:00
Codebot
24290dcae2
Adding AGPL copyright to new files
2021-03-28 23:12:42 +02:00