904 Commits (46a239fc61096e38178b85acf91313690e405be0)

Author SHA1 Message Date
Francisco Paisana 0976ea6f27 created a unique byte buffer that automatically deallocates 6 years ago
Andre Puschmann dc9df36a24 remove unused radio_multi code 6 years ago
Francisco Paisana b04cb0deb9 using the new choice set api in UE and eNB RRC 6 years ago
yagoda c25f3b0acf increasing rlc UM window size for eMBMS, small adjustment to eMBMS PHY common 6 years ago
Ismael Gomez 060a0908ca Fix forced interpolation in TDD 6 years ago
Andre Puschmann 703937ec01 move sanity check for MBMS parameters to parse_args to avoid segfault on mismatch 6 years ago
Andre Puschmann 76f93df8b6 fix uninitialized vars in demux 6 years ago
Ismael Gomez ef7b0cf7fa Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Ismael Gomez 2d25661706 Fixes UE crashing when stopping and no cell available 6 years ago
Pedro Alvarez 0f36bfbb8a Changing print from console to debug log when generating the PDN connectivity request. 6 years ago
Andre Puschmann f46b582c79 fix default initialization of PHY params in RCC
- this commit splits the reconfiguration of the PHY params
- two functions only update the default params (for config
  dedicated and config common)
- one function only updates the current parameters when a new
  config is given (i.e. after rrc reconfig)
6 years ago
Andre Puschmann e3387ea0b7 fix usim initialization if neither op nor opc are given 6 years ago
Ismael Gomez 2f0020b7ca Remove out_of_sync() call when not camping. Warning commit 6 years ago
Andre Puschmann e8b2be378d fix ue.conf.example description for op/opc configuration 6 years ago
Andre Puschmann cdebf515b4 fix potential locking while stopping UE MAC 6 years ago
Andre Puschmann f00f7787be fix uninitialized members in dl_harq 6 years ago
Andre Puschmann 389753e5a0 init mac_key in reestab request packing
fixes issue seen by coverity that is not really an issue
because the integrity generation will init it anyway
6 years ago
Andre Puschmann 6b2e98ec71 fix buffer free and code clone in prach.cc 6 years ago
Pedro Alvarez d86cddfd61 Stop comparing address of struct with struct on async_scell_recv.cc. 6 years ago
Pedro Alvarez 892da7f099 Fixed phr_cfg initialization to silence compiler warning. 6 years ago
Pedro Alvarez 63852c5b87 Fixed warnings in ue RRC due to memsetting non-trivial structures. 6 years ago
Pedro Alvarez 5dd76479a0 Using zero-initialization in phy default_args to avoid compiler warnings. 6 years ago
Ismael Gomez 40afc30c60 Remove unused parameters 6 years ago
Xavier Arteaga b037fb8e51 Added minimal UE synch tweak and fix 6 years ago
Xavier Arteaga a1a797589a Added UE synchronization error metric (hard-coded disabled by default) 6 years ago
Andre Puschmann 7ec587bcdc backport support for ipv6 for older glibc 6 years ago
Francisco Paisana 82a0145593 added extra tests in the unpacking of rrc asn1 6 years ago
Andre Puschmann 507e2deaa3 fix mem leaks in RRC after ASN1 unpacking failed 6 years ago
yagoda 3842beab0f - fixing pmch file test for standard LTE rates
- adding special value for MTCH stop
- adding error messages for config values incompatible with MBMS
6 years ago
Andre Puschmann 4b01a2e4a0 update copyright notice 6 years ago
Pedro Alvarez c51a8bfe9d Fix compilation error when using GCC 8, C++11 and C complex functions. 6 years ago
Andre Puschmann 11414271d8 only write valid IPv4/v6 packets to tun 6 years ago
Ismael Gomez 7780b1aba5 add tdd/ca support 6 years ago
Andre Puschmann 7d95766c7b fix line break in command line arguments 6 years ago
David Rupprecht dabf586316 ISMI to IMSI typo 6 years ago
David Rupprecht eb3a83ac45 User Plane key in configuration interface 6 years ago
Andre Puschmann d8814a05f0 use stack-allocated messages for tx/rx'ing RRC messages (cherry-picked) 6 years ago
Pedro Alvarez aa3a2a3dba Fix compilation issue with GCC 8.x using complex numbers. 6 years ago
Andre Puschmann 3702a6660e fix compilation for gcc 4.x 6 years ago
Andre Puschmann 347f427c33 remove unused variables 6 years ago
Andre Puschmann 1cc6ae3c60 enable c++11 support 6 years ago
Andre Puschmann 0aef6f8d4a fix various uninitialized variables 6 years ago
Andre Puschmann c8f8c16d50
make EIA and EEA algorithms configurable (#323)
this patch allows to configure the EIA and EEA algorithms
the UE uses and announces during attach. They can
be specified as a comma-separated list.

The patch also removes a dedicated NAS config class and uses
the default nas_args_t type for this. There was a full
duplication of members before.

The patch also converts nas_args_t and usim_args_t into a class
with a default constructor that initialize all booleans.
6 years ago
Andre Puschmann 61f3a55bc5 initialize and reset avg_noise in phch_common 6 years ago
Xavier Arteaga c782ef2aa5 Solved unitialised values in UE (up to prach) and free 6 years ago
Andre Puschmann a436baed39 fix build string for builds without valid .git folder 6 years ago
Francisco Paisana 96303e4d58 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Francisco Paisana be06f260db fixed issues in the parsing of sibs 6 years ago
Andre Puschmann 631472760a fix signaling of mtch_cvar in phch_common
fixes possible race cond when more than one worker
is waiting for this cond and only one is ever woken up
6 years ago
Pedro Alvarez c5dad67a16 Adding catch to boost program options parser. 6 years ago
Francisco Paisana 0204db2e12 new asn1 rrc library 6 years ago
Andre Puschmann 646eb9c0e3
Merge pull request #313 from softwareradiosystems/next_mme_encryption
NAS MME encryption
6 years ago
Xavier Arteaga 07a68d7120 Enable UE's AGC for cell search (#314) 6 years ago
Andre Puschmann 8326299ec5 fix uninitialized variables 6 years ago
Andre Puschmann 15953d011e fix possible mem leak when parsing embms cmd line input 6 years ago
Andre Puschmann b6bb8cb125 fix possible buffer overflow when generating PRACH sequences 6 years ago
Andre Puschmann 2590ebd10b fix bugs reported by coverity 6 years ago
Pedro Alvarez c4544f2ede Send detach request correct security header in UE. 6 years ago
Pedro Alvarez b675e1fcc9 Ciphering EMM information message. Chainging detach_request security header in the UE to integrity and ciphered to avoid malformed message. 6 years ago
Andre Puschmann 3f63663a31 add mutex to csv metrics
this fixes and issue when closing the csv that left
half a new line in buffer
6 years ago
Andre Puschmann d34ecaaa5e adding RI to DL metrics 6 years ago
Andre Puschmann 192fcd726e Merge branch 'service_reject' into next 6 years ago
Andre Puschmann d14c65b7c2 move DL EARFCN list handling before RF init and fix formating 6 years ago
Joseph Giovatto af6de04806 added dl_earfcn_list to ue config
dl_earfcn_list = 2100,2200,3400
6 years ago
Andre Puschmann b2bcfca074 add service reject handler 6 years ago
Andre Puschmann 652d5c5942 fix typo 6 years ago
Andre Puschmann df7ab7ffe8 Merge branch 'master' into next 6 years ago
David Rupprecht a9032bb91a Fix problems when TA timer is set to infinity 6 years ago
Andre Puschmann 463b00d82d check sys_info_change flag in paging message 6 years ago
Ismael Gomez 8f541cf4e1 Merge branch 'next' into neon_windowed_tdec 6 years ago
yagoda 3762738bc1 adding windowed neon turbodecoder (can be further optimized) 6 years ago
Andre Puschmann 96f057d34b typo in phch_worker 6 years ago
Andre Puschmann d7ab2b8d66 add stop_timers function to RRC and call it in rrc::stop()
- this solves an issue with shutting down RRC when the UE
  just sent a connection request (and activated timer T300)
  and stop was called.
6 years ago
Andre Puschmann 2bc4d70199 reset TA before sending PRACH (fixes #285)
as suggested by Xavier in phch_recv.cc
6 years ago
Andre Puschmann d6196ba234 simplify RRC-NAS interface and only have msg as param (RRC selects LCID) 6 years ago
Andre Puschmann c9857fe4ad add handler for EMM status message 6 years ago
Andre Puschmann c3441046c9 simplify RLC buffer status query procedures
- add a simple and low-overhead has_data() method to check whether
  an RLC entity has data to transmit or not
- use this method for all calls that are actually not interested
  in the amount of data to send
- use the more expensive get_buffer_state() for all cases where
  the actual size of the buffer is of importance
6 years ago
Andre Puschmann 946a50adf0 in UL MAC mux, allow multiple RLC PDUs for each LCID 6 years ago
Andre Puschmann df40259c26 fix issue in PDCP when bearer ID for DRBs was not starting with 1 6 years ago
yagoda 77fb9c3ad5 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into next 6 years ago
Andre Puschmann bba2987eb0 print LCID when adding DRB 6 years ago
rubund b801c3dd4e Fix some spelling errors detected by lintian (#271) 6 years ago
Pedro Alvarez 548808ecee Changing RRC key logging from debug to info. Small readability fix. 6 years ago
Pedro Alvarez 553f8260bb Fixing up logs and comments. 6 years ago
Pedro Alvarez e3d7ccd7e1 Changed the way UL NAS count is obtained to generate K_enb in the UE. Incrementing UL NAS count on integrity protected dettach request. 6 years ago
Pedro Alvarez dc727a192b Changing way UL NAS count is used to generate the K_enb. 6 years ago
Pedro Alvarez 645bd60d75 More debug prints 6 years ago
yagoda 1f9b392be1 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into next 6 years ago
Andre Puschmann db910cb84b add CSV metrics for eNB 6 years ago
yagoda 438bbdf6c1 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into next 6 years ago
Xavier Arteaga 56c01ba3ee UE RRC Config from ue.conf overwritten in rrc:init. Fixes #293. 6 years ago
Andre Puschmann 759ab6341d fix access to possibly uninitialized variable in GW when receiving corrupted pkt 6 years ago
Andre Puschmann f7bdfdc3a8 in NAS test, use real GW class in attach test 6 years ago
Andre Puschmann 0bd33bbae1 fix heap-overflow when extracting IPv6 address 6 years ago
Andre Puschmann 95ac067b6b send UL info transfer or SRB2 if it is established 6 years ago
Andre Puschmann f449067638 send detach request only integrity protected 6 years ago
Andre Puschmann ae23cfbac7 send detach request in connection request if RRC is not connected 6 years ago
Andre Puschmann 94188c1d7a set TMSI status field during GUTI attach 6 years ago
Andre Puschmann 0571720105 make LCID for UL_DCCH configurable 6 years ago
Andre Puschmann 1ed225a10b add getter for IPv4 and IPv6 addresses 6 years ago
Pedro Alvarez 9681ead26f Changed find ipv6 address loop to be more similar to 'man 7 netlink'. 6 years ago
Pedro Alvarez 5c29dba741 Changed Interface between NAS and GW to avoid the GW start function being called twice in IPv4v6 mode. 6 years ago
Pedro Alvarez 15cd8fc3b6 Fixed default conf back to original values. 6 years ago
Pedro Alvarez 6b5aec5735 Added intial support for IPv4v6. Ping and ping6 seem to work (simultaneously). 6 years ago
Pedro Alvarez 685898b323 Starting to add IPv4v6 support to the UE. Added function to get auto-generated link-local IPv6 address. 6 years ago
Pedro Alvarez 1c0ddc717b Starting to change NAS attach accept to support IPv4v6 6 years ago
Pedro Alvarez 3528e0bb39 Fixed GW to handle IPv6 packets as well. Ping6 seems to work. 6 years ago
Pedro Alvarez 2e800437e3 UE seems to attach correctly and obtain the correct IPv6 addresses. GW is still discarding packets that are not IPv4. 6 years ago
Pedro Alvarez ac1c300126 Adding the ability to set the interface local link IPv6 address. 6 years ago
Pedro Alvarez 25108e2e2b Added configuration options to UE for IPv6 PDN. Starting to send PDN connectivity requesting IPv6. 6 years ago
Andre Puschmann 3ebf4792de fix missing length reset in NAS test 6 years ago
Francisco Paisana feccce5a01 fixed the deadlock issue 6 years ago
Andre Puschmann 02d7747aaf fix typo 6 years ago
Andre Puschmann 273087ce00 use blocking pool allocate for all NAS/RRC allocs and first GW alloc 6 years ago
Pedro Alvarez 3cddad79cc Adding ability to configure names of TUN interfaces. (#277)
* added config option for tun dev names vs fixed names added config option for M1-U interface addr

* Added options to sgi_mb tun name.

* Added some comments to mbms.conf.example

* Added some comments to example configs to explain the new values.
6 years ago
Xavier Arteaga 27df357a66 Fixes #273 6 years ago
Andre Puschmann ea35cc9b5e fix typo in config files 6 years ago
Andre Puschmann 0380c83175 remove RF device calibration settings from UE/eNB config
- this remove RF calibration parameters that were an extra
  section in the eNB/UE config but were hardly used (only old bladeRF)
- a better way to pass those parameter would be through the
  device args in the normal rf config section
6 years ago
Andre Puschmann 26ed7fe2ad
do not delete LCG config during reset of BSR procedure (#269)
- this caused an issue after HO when the LCGs where gone
  and hence no BSR was provided for DRB until RRC reestablishment
6 years ago
yagoda 824dafddc6 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into next 6 years ago
Ismael Gomez 5cfdc81522 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Ismael Gomez cfb3a43aed Lower priority of workers 6 years ago
Andre Puschmann 4a68d0777b fix NAS tests
- Modifications needed after only accepting NAS messages whose integrity check passes
- Turns off loading a (possibly) existing NAS ctxt
- Modifies some test vectors such that they have a zero MAC and counter 0
6 years ago
Andre Puschmann 8697640945 drop all integrity protected NAS messages whose check is failing
- also enables integrity check for messages that are only integrity
  protected but not ciphered
6 years ago
Andre Puschmann 07e42c1964 Merge branch 'rlc_am_subclass' into next 6 years ago
Andre Puschmann 10a43f04ba Merge branch 'master' into next 6 years ago
Joseph Giovatto dc3e88079a moved earb_info from parent to be unique per ue to avoid overwrites (#234)
consult integrity check result before proceeding
6 years ago
Andre Puschmann 6764fdb964 fix member initialization in phch* 6 years ago
Ismael Gomez 6f0c554445 TA estimate correction factor calibrated for all bandwidths 6 years ago
Ismael Gomez 2e53478a3b Allow time_adv_nsamples parameter to be negative 6 years ago
Andre Puschmann d981f129e0 Merge branch 'master' into next 6 years ago
Andre Puschmann 1fab8e6702 fix reset of NAS counters after receiving security mode command
- reported by cpetersgit
- reset only needed after receiving initial security mode command
6 years ago
Andre Puschmann f458d58527 fixed handling of UE indentity request 6 years ago
Joseph Giovatto 2dddfa2aac added ability to track tput per bearer (#233)
added mac_metrics for ul/dl harq retex counts
6 years ago
Ismael Gomez dabfbfb75a Fixes #250 6 years ago
Andre Puschmann 823d9e75f1 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Andre Puschmann 883eb49043
Merge pull request #254 from softwareradiosystems/tx_mutex_fix
Change TX mutex to semaphores (mutex implementation was violating loc…
6 years ago
Ismael Gomez 6a791f1416 Change TX mutex to semaphores (mutex implementation was violating lock ownership requirement) 6 years ago
Andre Puschmann 855a55d4d8 fix issue with assigning imsi in pcsc 6 years ago
Andre Puschmann d19eb28a16 fix various variable initializations that gcc-4.8 complained about 6 years ago
Ismael Gomez bc9d342959
New optimization on the PHY for both UE and eNodeB (#251)
* New parallel Turbodecoder implementation in SSE/AVX 16-bit and 8-bit

* Optimised UL Interleaver

* Include TB CRC calculation in FEC encoder

* New threading priorities
6 years ago
Ismael Gomez 695990f297 Fix UE not reconnecting after paging (workaround) 6 years ago
Ismael Gomez e43582c0d0 Trigger measurement only for cells in MeasObj not the discovered ones 6 years ago
Ismael Gomez 327002a6cb Fix NCC=1 HO in second round 6 years ago
Ismael Gomez aaeec591b6 Fix race condition in phy recv 6 years ago
Ismael Gomez e1870963c7 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Ismael Gomez 44dcbfc8da Instruct PHY to measure objects instead of measId (duplicate objects) 6 years ago
Ismael Gomez 9cd725de21 Trigger measurement only for cells in MeasObj not the discovered ones 6 years ago
Andre Puschmann e2470685a5 send attach_request and detach_accept ciphered 6 years ago
Andre Puschmann 06c9a3f07f add network initiated detach 6 years ago