diff options
author | Max <msuraev@sysmocom.de> | 2019-02-19 18:41:22 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2019-03-27 12:32:04 +0000 |
commit | 3eb47363ade9b4ce1de0f35c965e4a8dbb88b606 (patch) | |
tree | 2927c05b9c13ed3e3eff91df4fbcd06001137a64 /tests/types/TypesTest.ok | |
parent | 0367ddd62b3c8a24358534bf8e500f7cac3300a6 (diff) |
Rewrite Packet Uplink IA Rest Octets for SBA
Use bitvec_set_*() directly without external write pointer tracking to
simplify the code. This is part of IA Rest Octets (3GPP TS 44.018
ยง10.5.2.16) which is the last part of the message so it should not
interfere with the rest of encoding functions.
The difference in the expected test output is due to proper handling of
TAI which should not be transmitted for SBA according to the Note in
Table 10.5.2.16.1 in 3GPP TS 44.018.
The change was manually tested against real mobile phone using options
'gprs mode gprs' in osmo-bsc.cfg and 'two-phase-access' in osmo-pcu.cfg
to make sure appropriate code path is actually triggered.
That's partially based on reverted commit 93d947f5e8a30acc9250c124bf9d5bb6a8863526.
Change-Id: I97d53c27c1ca9e032d431b3aa7f915027d63ddc0
Related: OS#3014
Diffstat (limited to 'tests/types/TypesTest.ok')
-rw-r--r-- | tests/types/TypesTest.ok | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/types/TypesTest.ok b/tests/types/TypesTest.ok index dd7dc4c7..c6974d5a 100644 --- a/tests/types/TypesTest.ok +++ b/tests/types/TypesTest.ok @@ -11,7 +11,7 @@ show_rbb: IIRRIIIR [11] UL Immediate Assignment <ia_rest_uplink(MBA)>: 06 3f 10 0d 23 6d 0d 03 18 23 00 c8 02 1b a0 2b 2b 2b 2b 2b 2b 2b 2b [11] UL Immediate Assignment <ia_rest_uplink(SBA)>: - 06 3f 10 0d 23 6d 0d 03 18 23 00 c5 d1 08 0b 5b 2b 2b 2b 2b 2b 2b 2b + 06 3f 10 0d 23 6d 0d 03 18 23 00 c5 d0 80 b5 ab 2b 2b 2b 2b 2b 2b 2b [11] UL Immediate Assignment <ia_rest_egprs_uplink(MBA)>: 06 3f 10 0d 23 6d 7f 03 18 23 00 46 97 40 0b 58 2b 2b 2b 2b 2b 2b 2b [11] UL Immediate Assignment <ia_rest_egprs_uplink(SBA)>: |