Skip to content

Commit

Permalink
UEPOL: fix NR Cell IDs structure
Browse files Browse the repository at this point in the history
  • Loading branch information
mitshell committed Nov 25, 2024
1 parent 8c34e34 commit 8acbc8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pycrate_mobile/TS24526_UEPOL.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ class _RouteSelectDescCompTimeWin(Envelope):
)


# Table 5.2.2: Location criteria
# Table 5.2.2: Location criteria
class _LocAreaEUTRACellID(Envelope):
_GEN = (
PLMN(),
Expand All @@ -283,7 +283,7 @@ def __init__(self, *args, **kwargs):
self[1].set_numauto(lambda: self[0].get_num())


class _LocAreaEUTRACellID(Envelope):
class _LocAreaNRCellID(Envelope):
_GEN = (
PLMN(),
Buf('NRCellID', bl=36, rep=REPR_HEX),
Expand All @@ -294,7 +294,7 @@ class _LocAreaEUTRACellID(Envelope):
class _LocAreaCompNR(Envelope):
_GEN = (
Uint8('Num'),
Sequence('CellIDs', GEN=_LocAreaEUTRACellID('NRCellID'))
Sequence('CellIDs', GEN=_LocAreaNRCellID('NRCellID'))
)

def __init__(self, *args, **kwargs):
Expand Down Expand Up @@ -322,7 +322,7 @@ def __init__(self, *args, **kwargs):
self[1].set_numauto(lambda: self[0].get_num())


# Figure 5.2.6: Location area
# Figure 5.2.6: Location area
_RouteSelectLocAreaType_dict = {
1 : 'E-UTRA cell identities list',
2 : 'NR cell identities list',
Expand Down

0 comments on commit 8acbc8b

Please sign in to comment.