Francisco Paisana
00cc8fb8d8
sched,nr: ensure PUCCH is generated for SR even if the UE doesn't have any pending ACK
2021-09-23 09:46:56 +02:00
Ismael Gomez
3bbf173149
Allocate PUCCH resources on ConnectionRequest and send ConnectionReject if not available
2021-09-22 17:48:20 +02:00
Ismael Gomez
6e18bd1c71
Do not accept a UE if SR resources are defined
2021-09-22 17:48:20 +02:00
Ismael Gomez
2b16c1b8f5
Do not accept a UE if n_rb_cqi=0
2021-09-22 17:48:20 +02:00
Andre Puschmann
faf9d2dbd8
gnb,rrc: replace hard-coded PCI with actual value in rrc_cfg
2021-09-22 16:41:18 +02:00
Andre Puschmann
802b22ac91
enb,nsa: refactor NR RRC/cell config parsing
...
this allows to access all cell-related params from within RRC
2021-09-22 16:41:18 +02:00
faluco
feec3c5905
Fix a data race during enb initialization.
...
The stack unique pointer in the enb class is written while the phy workers are calling enb::tti_clock() where it is read.
Avoid the read access until the whole class has been properly initialized.
2021-09-22 16:07:51 +02:00
David Rupprecht
611255aa5f
Added GTPU bind address as output parameter
2021-09-22 15:15:47 +02:00
Bedran Karakoc
43915550cc
NGAP GTP Bearer Establishment
2021-09-22 15:15:47 +02:00
David Rupprecht
3712983308
Added PDU Session est request
2021-09-22 15:15:47 +02:00
David Rupprecht
0385980347
Fixed minor NGAP issues
2021-09-22 15:15:47 +02:00
Andre Puschmann
b134781d36
enb: remove redundant RLC/PDPC classes for NR
...
the RLC/PDCP entities for NR are included in the RLC/PDCP wrapper classes
and don't require their own
2021-09-22 10:56:56 +02:00
Fabian Eckermann
651a76000e
Add function to pack secondary cell group config for FDD.
2021-09-21 18:12:34 +02:00
Xavier Arteaga
0324806d6c
Packed NR TDD config in duplex configuration and created test case for FDD
2021-09-21 18:11:16 +02:00
Xavier Arteaga
53bf29a540
Add nr label to MAC NR tests
2021-09-21 18:11:16 +02:00
Fabian Eckermann
dd8db1a929
Replaced inet_addr() with inet_pton.
2021-09-21 11:59:40 +02:00
Ismael Gomez
5d051d8832
Set default pucch_harq_max_rb to 0
2021-09-21 11:49:04 +02:00
Ismael Gomez
3eaf5c50cb
Make PUCCH HARQ region a configurable parameter. Skip grants when ACK falls outside region
2021-09-21 11:49:04 +02:00
Ismael Gomez
28b956d128
Limit PUCCH ACK resources to the max CCE from the configured max_ctrl_symbols instead of from MAX_CFI
2021-09-21 11:49:04 +02:00
Xavier Arteaga
25a4c7db92
SRSENB: make nr_cell_list optional
2021-09-21 11:30:56 +02:00
Xavier Arteaga
e0be361fde
Corrected default rb.conf
2021-09-21 11:30:56 +02:00
Ismael Gomez
fb294c8b34
Set default UE inactivity timeout after RRC Reestablishment complete
2021-09-20 20:16:13 +02:00
Andre Puschmann
39e00bdbe8
enb,nsa: fix deriviation of UL ARFCN from DL ARFCN for FDD bands
2021-09-17 17:32:50 +02:00
Andre Puschmann
3fd47d2af4
enb: refactor L2/L3 and (re)move all NR components to gNB stack
...
* decouple EUTRA and NR stack classes
* implement dummy X2 interface with control and data plane methods
* implement eNB time source interface that PHY calls
2021-09-17 14:57:33 +02:00
Andre Puschmann
1e9a4e3fba
enb: remove stack type variable
2021-09-17 14:57:33 +02:00
Andre Puschmann
8d49e58078
enb: prepare split of EUTRA and NR stack classes
...
this allows for a slimmer base station if only EUTRA or NR cells are used.
also it seperates entities in a cleaner way
2021-09-17 14:57:33 +02:00
faluco
8a2231251a
Fix data race in enb::mac::ue class.
2021-09-17 11:34:42 +02:00
faluco
457dcf4de4
Fix data race in enb::ta class.
2021-09-17 11:34:42 +02:00
Pedro Alvarez
c988fc49b4
Remove comparison between LGC priority and allocation retantion priority, as these do not seem related.
2021-09-16 19:41:08 +01:00
Andre Puschmann
c9478a4306
enb,erab: fix error handling when setting up ERABs
...
when handling ERAB setup requests from MME, don't add the ERAB
before all checks have been performed, otherwise the ERAB
needs to be removed again.
Since this was not the case, invalid NAS PDUs have been transmitted.
Also raise error level for some events to error since the eNB
misses a config or is mal-configured and cant recover from that.
2021-09-16 15:25:46 +02:00
Andre Puschmann
ed92f2bd34
enb,mac_nr: remove EUTRA cell param for MAC-NR cell config calls
...
* the old srsran_cell_cfg_t is only carried for SIB params
* the SIB scheduling, etc needs to be ported and integrated into NR data structures
* disbable SIB test for the moment
2021-09-15 14:49:28 +02:00
Andre Puschmann
e2b1bbe2dc
enb,metrics: add helper method to print MAC metrics
...
preparation to be used to print MAC metrics for EUTRA and NR cells
2021-09-15 14:49:28 +02:00
Andre Puschmann
6a46931144
mac_nr,enb: move header into nr subfolder
2021-09-15 14:49:28 +02:00
Andre Puschmann
4a5d2a8659
mac_nr: add basic get_metrics() implementation
2021-09-15 14:49:28 +02:00
Andre Puschmann
dbcf5c9503
sched_nr: add ue_exists() helper
2021-09-15 14:49:28 +02:00
faluco
485ec2edab
Implement a new option to flush the file sink contents on every write.
2021-09-14 10:22:37 +02:00
Andre Puschmann
88878e07c6
sched_nr_test: enable auto-refill for failing NR sched tests
2021-09-13 17:10:32 +02:00
Andre Puschmann
9a49d47968
sched_nr_interface: disable auto-refill of NR scheduler
2021-09-13 17:10:32 +02:00
Andre Puschmann
dbbc621905
phy_common: fix PRB lookup for NR cells
2021-09-10 22:08:26 +02:00
Andre Puschmann
93e1d7712d
enb,phy: add checks for invalid EARFCN and exit eNB if config is wrong
2021-09-10 22:08:26 +02:00
Andre Puschmann
1f01e4be51
rr.conf.example: add empty NR cell list to example
2021-09-10 22:08:26 +02:00
Andre Puschmann
b5dcf7804c
enb,cfg: add new NR cell list to RR configuration parser
2021-09-10 22:08:26 +02:00
Andre Puschmann
312a91a460
enb,rrc_nr: disable encryption for DRB
2021-09-09 14:29:04 +02:00
Andre Puschmann
f814a0ed09
ue_nr: reduction of log level when packing MAC PDU
2021-09-09 14:29:04 +02:00
Andre Puschmann
c1892eb2ec
enb,nsa: refactor of SgNB addition interface
...
* update of FSM
* better integration of parameter for X2 calls
2021-09-09 14:29:04 +02:00
Andre Puschmann
f7e943b6b6
enb,mac_nr: add handling of SBSR MAC CE
2021-09-09 14:29:04 +02:00
faluco
5798f09252
Re-format the enb stdout metrics and port the code to use the fmt library.
2021-09-08 17:05:37 +02:00
faluco
934802d23c
Report the SIB9 home enb name in the enb sector start/sector stop events.
2021-09-07 16:36:56 +02:00
faluco
2fd3ed789a
Rename sector_id to carrier_id JSON key in enb metrics and events.
2021-09-07 16:36:56 +02:00
faluco
fdb4b91e98
Adapt the enb metrics to allow adding a PCI field for each CC.
...
Include the PCI field in the enb JSON metrics.
2021-09-07 16:36:56 +02:00