938 Commits (92b4b168fe14ae1b32b3209f05ba7ab30ce521b2)

Author SHA1 Message Date
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
Andre Puschmann 9f838dc65c bzero DL-DCCH object before unpacking 6 years ago
Andre Puschmann 527261e35b fix drb release 6 years ago
Andre Puschmann 32ed7d9f3a print error when DRB couldn't be released 6 years ago
Andre Puschmann 40aef76745 fix logging when removing DRB 6 years ago
Andre Puschmann 3b8371d090 add detach support (for switch off) 6 years ago
Eric Schreiber 470953bf9c Change the calculation of UE group A random access preamble selection to choose a random number from [0 nof_groupA_preambles) rather than incrementing on the preambleTransmissionCounter. (#200) 7 years ago
Andre Puschmann ee5b055829 rename pdcp function for GW to is_lcid_enabled() 7 years ago
Andre Puschmann 4da8bf26f8 use non-blocking PDCP write in GW 7 years ago
Andre Puschmann eb30d86d44 process RRC PDUs in RRC thread 7 years ago
Andre Puschmann edfc9df77d Merge branch 'master' into next 7 years ago
Andre Puschmann a604fbcc66 fix double RRC init bug in UE 7 years ago
Andre Puschmann ccf58a63ce reduce default log-level to warning 7 years ago
Andre Puschmann f6f47f0320 print srsLTE version name if no git details are found 7 years ago
Ismael Gomez 9e0d7281f5 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 7 years ago
Ismael Gomez fda4c39590 pdsch_ue RSRP in dBm. Fix default rx_gain_offset in ue.conf differs from code 7 years ago
Andre Puschmann 10469cd3a0 Merge branch 'master' of github.com:srsLTE/srsLTE 7 years ago
Andre Puschmann ac94b531ae only print build-info when string is filled 7 years ago
Andre Puschmann be3b2fbc08
Merge pull request #239 from softwareradiosystems/epc_stacktrace
Epc stacktrace
7 years ago
Andre Puschmann bd59d72b9f set RRC args by-value 7 years ago
Pedro Alvarez 597cf18b9d Changing common/debug.h to crash_handler.h 7 years ago
Ismael Gomez c012a6ea83 Mutex more operations in worker to fix segfault when HO. Protect pdsch/pusch from regenerating sequence 7 years ago
Ismael Gomez 2d5cdc4f35 Add log to pool deallocate 7 years ago
Ismael Gomez 5474f6d55f Add log to pool deallocate 7 years ago
Andre Puschmann 1f7e918790 use blocking pool_allocate for all NAS messages 7 years ago
Pedro Alvarez c3ef88e112 Fixing conflicts with next. 7 years ago
Ismael Gomez 229569cd76 Fix Aperiodic CQI retx when TBS=0 7 years ago
Ismael Gomez 1a7e746a06 Minor cleanup 7 years ago
Ismael Gomez 9690125882 Minor cleanup 7 years ago
Ismael Gomez 75e8df2e9f Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 7 years ago
Ismael Gomez 653d126319 Merge branch 'tx_enabled_issue' into next 7 years ago
Ismael Gomez 9231bd0fe0 Fix Aperiodic CQI retx when TBS=0 7 years ago
Andre Puschmann 55b3b61ec1 Merge branch 'master' into next 7 years ago
Ismael Gomez bd5c1fd83a deallocate dedicatedInfoNAS in rrc 7 years ago
Andre Puschmann 77827691f5
Merge pull request #236 from softwareradiosystems/ciphered_auth_resp
add support for ciphered authentication response
7 years ago
Ismael Gomez 074db8478c deallocate dedicatedInfoNAS in rrc 7 years ago
Andre Puschmann 43571ce186 update ue.conf.example with missing metrics period 7 years ago
Andre Puschmann 9b894799f0 add support for ciphered authentication response 7 years ago
Pedro Alvarez 7aaa9a1789 Moved srslte_debug_handle_crash to common/debug.c 7 years ago
Merlin Chlosta 2098aa0739 add keys to loglevel info to simplify PCAP analysis (#194) 7 years ago
Andre Puschmann a38abfbd47 make metrics great again 7 years ago
Ismael Gomez f40766a503 Fixed UE not printing RF metrics 7 years ago
Ismael Gomez 19ac35d933 Increased RLC UL buffer size 7 years ago
Ismael Gomez ebea1cd7fa Look only for required SIBs 7 years ago
Ismael Gomez fae5531bcc Correction to commit 2a4a84a578. We don't check for tailroom but for read space 7 years ago
Ismael Gomez 1248a4224a Initialize nof_coworkers 7 years ago
Ismael Gomez 9d6c323001 Remove superfluous packing call in rrc capabilities 7 years ago
Ismael Gomez 0321a967f2 Search SIB in all opportunities 7 years ago
Andre Puschmann 3dc5a40caf handle config parsing error gracefully and fix op/opc selection issue 7 years ago
Andre Puschmann 1cba6b18ee
Merge pull request #221 from softwareradiosystems/op_vs_opc
Op vs opc
7 years ago
Ismael Gomez d81062145f Fixed phy_log was allocating memory dynamically on every call even when not enabled 7 years ago
Ismael Gomez e18ba937dc Limit uplink signal normalization to avoid clipping 7 years ago
Pedro Alvarez 721cb4adae Chaging default of srsUE to OPc. 7 years ago
Pedro Alvarez f301bb6373 Merging next into op_vs_opc and resolving conflicts. 7 years ago
Pedro Alvarez 25aafa1f63 Fixing the USIM test. 7 years ago
Pedro Alvarez 50f9f78852 Changed f2345 and f1 in USIM to use OPc. 7 years ago
Pedro Alvarez 50f497dcdc Small fix in srsUE for reading OPc from config file. 7 years ago
Xavier Arteaga 5e4fb48184 Refactored CQI reporting logging in UE. Fixes #199 7 years ago
Xavier Arteaga 6542f56cba Fix: no RI when periodic report in PUSCH 7 years ago
Pedro Alvarez 8d07709069 Revert "Changed ue.conf op to opc"
This reverts commit 3631c4a83f.
7 years ago
Pedro Alvarez 4eb9d1abac Revert "fix USIM test by replacing OP with OPc"
This reverts commit 16b2172e36.
7 years ago
Andre Puschmann 01f6395d70 add option to force IMSI attach by not loading NAS ctxt from file 7 years ago
Pedro Alvarez b9c50a93a8 Fixed bug in writing OPc into user_db.csv. 7 years ago
Pedro Alvarez bd39d8bac2 Fixed bug in getting OPc. Removed debug print. Fixed test12345. UE is still having re-synch issues. 7 years ago
Pedro Alvarez 75c5e476f1 Added OPc option to UE. (needs testing.) 7 years ago
Pedro Alvarez ea5445f999 Adding options for OP and OPc in the UE. They cannot be simultanoulsy set. 7 years ago
Pedro Alvarez e3d1cff4a3 Revert "Adding OPc option to security functions."
This reverts commit 0eeb70bede.
7 years ago