open5gs/lib/nas/common
Bostjan Meglic 22cca3eb48 [NAS] Improve algorithm for conversion of bitrate to NAS
The improved algorithm better handles some odd bitrates.
With the current version, the bitrates 63 Kbps and 65 Kbps would get
converted into 48 Kbps (unit 16 Kbps x 3) and 64 Kbps (unit 64 Kbps x
1).
Especially in the first case, the conversion error is quite signicant.

Current version tries to find the biggest 'unit', while the 'value' is
still above 0.
With the updated version, the algorithm tries to find the 'unit' low
enough, that the resulting 'value' can still fit into the 16-bit space
without overflow.
2023-06-03 09:19:52 +09:00
..
conv.c [AMF/MME] Added Timer Configuration (#1905) 2022-11-29 23:22:16 +09:00
conv.h [AMF/MME] Added Timer Configuration (#1905) 2022-11-29 23:22:16 +09:00
meson.build [NRF] Fixed library load error 2022-08-26 10:57:11 +09:00
ogs-nas-common.h [NRF] Fixed library load error 2022-08-26 10:57:11 +09:00
security.c Add AUSF, UDM, and UDR 2020-06-04 14:12:05 -04:00
security.h Shall cipher in the NAS message container IE 2022-01-05 22:39:06 +09:00
types.c [NAS] Improve algorithm for conversion of bitrate to NAS 2023-06-03 09:19:52 +09:00
types.h [NAS/GTP/PFCP] Upgrade IE to Release-17 2023-03-11 18:42:30 +09:00