Change in pysim[master]: Set uSIM to 'type approval operations' in EF['AD']
gerrit-no-reply at lists.osmocom.org
Mon Apr 5 19:15:25 UTC 2021
Hello Jenkins Builder, laforge,
I'd like you to reexamine a change. Please visit
to look at the new patch set (#5).
Change subject: Set uSIM to 'type approval operations' in EF['AD']
Set uSIM to 'type approval operations' in EF['AD']
The ``EF_AD`` field contains administrative data (AD).
It consists of four bytes ``B1``, ``B2``, ``B3``, ``B4``,
and optionally further bytes for future use.
Current implementation only sets the MNC field appropriately
(located in `B4`) and sets all other bits/bytes to 0.
However, `B1` defines the *UE operation mode* as listed below.
For type approval operations (such as testing with a test uSIM),
this value should be set to `0x80` rather than `0x00`(= normal operation).
This may unlock some UE capabilities that are restricted in
normal operation mode.
Excerpt from [ETSI TS 131 102, 4.2.18](https://www.etsi.org/deliver/etsi_ts/131100_131199/131102/04.15.00_60/ts_131102v041500p.pdf):
B1 - UE operation mode:
- '00' normal operation.
- '80' type approval operations.
- '01' normal operation + specific facilities.
- '81' type approval operations + specific facilities.
- '02' maintenance (off line).
- '04' cell test operation.
B2 - Additional information:
Reserved for future use
B3 - Additional information:
- B3.b1: OFM setting (Ciphering)
- B3.others: Reserved for future use
B4 - Length of MNC in the IMSI:
- B4.b4..B4.b1: length: '0010' (= 2) or '0011' (=3)
- B4.others: Reserved for future use
**Legend:** Byte X, bit Y: BX.bY
Further reading: https://nickvsnetworking.com/usim-basics/
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/32/23632/5
To view, visit https://gerrit.osmocom.org/c/pysim/+/23632
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Owner: Robert Falkenberg <robert.falkenberg at tu-dortmund.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gerrit-log