3281 Commits (8b526e1c20c2ca693ec53b738fc014d1cf4ddf68)
 

Author SHA1 Message Date
Zhe Huang 8b526e1c20 Fix SQN incrementation arithmetic (#212)
* Fix SQN incrementation arithmetic

Current implementation of increment_sqn function increments the 48 bits
SQN directly by 1 which is incorrect according to 3GPP TS 33.102 version
11.5.1 Annex C. This bug causes commercial UEs to report AUTHENTICATION
FAILURE EMM cause #21 "synch failure" when SQN is out of sync.

According to 3GPP TS 33.102 version 11.5.1 Annex C, 48 bits SQN consists
of 43 bits SEQ and 5 bits IND parts where SEQ are incremented during
generation of authentication vector or resync procedure. A
new IND value is also assigned when an authentication vector is
generated. However, resync procedure will use the same IND value.

This patch implements the increment_sqn function according to 3GPP TS
33.102 version 11.5.1 Annex C. A new function increment_seq_after_resync
is added to handle the special case of SQN arithmetic during SQN
resynchronization.

This patch is tested with two comercial UEs (Oneplus One and Oneplus 3T).

* Fix the maximum value of SEQ value to be 2^43-1

The SEQ value is 43 bits long and previous maximum value has a typo (one
extra F) which allows SEQ value to be 2^47-1. This patch corrects the typo.
6 years ago
Zhe Huang cd1fb0d81e Set AMF to all zeros during resync (#213)
During the resync procedure, the security_milenage_f1_star generates a
MAC_S value that does not match the MAC_S value reported in AUTS. This
posts a security risk.

According to 3GPP TS 33.102 version 11.5.1 section 6.3.3, the AMF used
to calculate MAC-S assumes a dummy value of all zeros so that it does
not need to be transmitted in the clear in the re-synch message.

This patch corrects this problem. MAC_S reported by AUTS matches the
MAC_S calculated using f1_star function after the fix.
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
Zhe Huang 3433b0ffde assign correct values from BladeRf manual calibration to correction
* Assign correct values from BladeRf manual calibration to correction

The rf_calibration function for blade RF was assgiing dc_gain to
BLADERF_CORR_FPGA_PHASE and dc_phase to BLADERF_CORR_FPGA_GAIN. This hot
fix corrects the value assignments in both rf_blade_set_tx_cal and
rf_blade_set_rx_cal functions.
6 years ago
IgnasJ 67c8bf1368 Fixes for srsLTE on ARM (#229)
* Fix ARM NEON code compilation

Fix LV_HAVE_NEON defintion incorrecly used instead of HAVE_NEON in some places
Replace vqabsq_s32 with vabsq_f32 as vqabsq_s32 requires int type (fails to compile)
Fix missing NEON code path in mat.h in srslte_mat_2x2_mmse_csi_simd()

* Fix timestamp overflow issue on 32-bit systems with Soapy driver

'time_t secs' can be 32-bit on some systems. This causes calculation:
'secs * 1000000000;' to overflow.
6 years ago
Igor Kim 8d48613c38 fix typo in metrics rssi CMA calculation (#230) 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) 6 years ago
wangqiang1588 dfce3ea155 Fix crash if args is NULL ,enable multi rx channels setting (#198) 6 years ago
Merlin Chlosta deab23c9ec Fix non-blocking rf_uhd_recv_with_time_multi (#195)
Return the number of actually received samples, not the requested samples.
6 years ago
David Rupprecht bf4c84ef7b Fixed clear function in blocked queue (#199) 6 years ago
Andre Puschmann da387b6930 update changelog for 18.06.1 6 years ago
Andre Puschmann eb8a71f85b update debian files 6 years ago
Andre Puschmann 3dcddf92e3 update debian files (remove obsolete install script) 6 years ago
Andre Puschmann 6d4bb7f6b1 update debian files 6 years ago
Andre Puschmann 190634680c bump version to 18.6.1 6 years ago
yagoda a0fa2d5b01 small fix in eMBMS MAC 6 years ago
Andre Puschmann ccf58a63ce reduce default log-level to warning 6 years ago
Andre Puschmann f6f47f0320 print srsLTE version name if no git details are found 6 years ago
Andre Puschmann 10469cd3a0 Merge branch 'master' of github.com:srsLTE/srsLTE 6 years ago
Andre Puschmann ac94b531ae only print build-info when string is filled 6 years ago
Andre Puschmann f1c5835133 fix eNB default config help text 6 years ago
Ismael Gomez 2d5cdc4f35 Add log to pool deallocate 6 years ago
Ismael Gomez a0d4650c2c Fix reestablish UM 6 years ago
Ismael Gomez 7df91e1283 Fix compilation error in previous commit 6 years ago
Ismael Gomez 08f7dda0f3 Consider the case of calling gtpu::add_bearer() before initialization 6 years ago
Ismael Gomez 3122d8e959 RLC reestablish to re-enable tx_enabled 6 years ago
Ismael Gomez 30dd539220 Add rwlock to sched class 6 years ago
Ismael Gomez d95d0e2e7a Fix issue #179 in master 6 years ago
Ismael Gomez 229569cd76 Fix Aperiodic CQI retx when TBS=0 6 years ago
Ismael Gomez 1a7e746a06 Minor cleanup 6 years ago
Ismael Gomez 9c5b9cef94 Set initial AGC gain correctly 6 years ago
Ismael Gomez 7d324306b3 Default RLC to UM 6 years ago
Ismael Gomez bd5c1fd83a deallocate dedicatedInfoNAS in rrc 6 years ago
Merlin Chlosta 2098aa0739 add keys to loglevel info to simplify PCAP analysis (#194) 6 years ago
Björn 23cc0ab011 enb: add bind address for s1ap connection (#128)
add s1c_bind_addr config option to specify the local bind address used for S1AP connections instead of using the GTP address.
This allows operation on setups with split S1U and S1C networks.
6 years ago
Ismael Gomez 50742195b5
Update README.md 6 years ago
Ismael Gomez 4762483396 Fix compilation warnings 6 years ago
Andre Puschmann 68e95f7fab Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Ismael Gomez 1aa9951a04 Increased default inactivity timer to 60s 6 years ago
Andre Puschmann 1c29f27f2d bump version to 18.6 6 years ago
Ismael Gomez 493706eab1 Incorrect default value in buffer pool 6 years ago
Ismael Gomez 0dae08f812 Removed printf 6 years ago
Ismael Gomez 2da9787907 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Ismael Gomez f394dc7aa6 Fix deadlock issue in rach_detect 6 years ago
Ismael Gomez a2615628aa Increase buffer pool size for enb 6 years ago
Ismael Gomez efea8f4436 Set Dropped to debug level and reduce eNodeB RLC TX size 6 years ago
Pedro Alvarez 3d24094829 Merge branch 'next' into epc_sigpipe 6 years ago
Pedro Alvarez b460ece601 Merge branch 'mbms_tun' into next 6 years ago
Pedro Alvarez a74d1905b4 Fix command line parsing in mbms-gw 6 years ago
Pedro Alvarez 712a1b7639 Fix compiling bug 6 years ago