cli,location: TAC is 3 bytes in 5GNR
TAC is 3 bytes for NG-RAN as specified in 3GPP TS 38.413 clause 9.3.3.10 and in 3GPP TS 24.501 clause 9.10.3.8. We'll always print it as 3 bytes in the cli output, as that's also backwards compatible with the original 2 byte TAC in LTE.
This commit is contained in:
@@ -536,7 +536,7 @@ get_location_process_reply (MMLocation3gpp *location_3gpp,
|
||||
mcc = g_strndup (operator_code ? operator_code : "0", 3);
|
||||
mnc = g_strdup (operator_code ? operator_code + 3 : "0");
|
||||
lac = g_strdup_printf ("%04lX", mm_location_3gpp_get_location_area_code (location_3gpp));
|
||||
tac = g_strdup_printf ("%04lX", mm_location_3gpp_get_tracking_area_code (location_3gpp));
|
||||
tac = g_strdup_printf ("%06lX", mm_location_3gpp_get_tracking_area_code (location_3gpp));
|
||||
cid = g_strdup_printf ("%08lX", mm_location_3gpp_get_cell_id (location_3gpp));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user