aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-10-07 12:19:01 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-10-07 18:32:54 +0200
commit2282b50e5cfbf470a760776e3963768161f17f0d (patch)
tree9a7d476643de5cc9ea61b95b868e52f1feee4e6a
parentcee6b122c2da140c05055e7570b61ea33bdfcfe8 (diff)
tests: RLCMACTest: Add one more sample RA capabilities to suite
This one is larger than some of the other already available. The decoder is wroking as expected here. Change-Id: I5d986f68395326f894349446194090b1ddaecd69
-rw-r--r--tests/rlcmac/RLCMACTest.cpp198
-rw-r--r--tests/rlcmac/RLCMACTest.err1
-rw-r--r--tests/rlcmac/RLCMACTest.ok5
3 files changed, 204 insertions, 0 deletions
diff --git a/tests/rlcmac/RLCMACTest.cpp b/tests/rlcmac/RLCMACTest.cpp
index 4bde5bf7..f763b950 100644
--- a/tests/rlcmac/RLCMACTest.cpp
+++ b/tests/rlcmac/RLCMACTest.cpp
@@ -479,6 +479,203 @@ MS Radio Access Capability
bitvec_free(bv_dec);
}
+/* RAcap larger than 23 bytes */
+void testRAcap3(void *test_ctx)
+{
+ printf("*** %s ***\n", __func__);
+ MS_Radio_Access_capability_t data;
+ memset(&data, 0, sizeof(data));
+ bitvec *bv_dec = bitvec_alloc(31, test_ctx);
+ int rc;
+/*
+MS Radio Access Capability
+ Element ID: 0x13
+ 1... .... = ext: 1
+ Length: 31
+ ------------------------------------------- Hex bitstream starts here:
+ MS RA capability 1
+ 0001 .... = Access Technology Type: GSM E --note that GSM E covers GSM P (1)
+ .... 1010 111. .... = Length in bits: 0x57 (87)
+ ...1 00.. RF Power Capability, GMSK Power Class: 2 W (33 dBm) (4)
+ A5 Bits: A5 bits follow (1)
+ A5/1: encryption algorithm available (1)
+ A5/2: encryption algorithm not available (0)
+ A5/3: encryption algorithm available (1)
+ A5/4: encryption algorithm not available (0)
+ A5/5: encryption algorithm not available (0)
+ A5/6: encryption algorithm not available (0)
+ A5/7: encryption algorithm not available (0)
+ .... ..1. = Controlled early Classmark Sending: Implemented
+ .... ...1 = Pseudo Synchronisation: Present
+ 0... .... = Voice Group Call Service: no VGCS capability or no notifications wanted
+ .0.. .... = Voice Broadcast Service: no VBS capability or no notifications wanted
+ ..1. .... = Multislot capability struct: Present
+ HSCSD multislot class: Bits are not available (0)
+ SMS_VALUE (Switch-Measure-Switch): Bits are not available (0)
+ ECSD multislot class: Bits are not available (0)
+ DTM GPRS Multi Slot Class: Bits are not available (0)
+ .... .011 00.. .... = GPRS multislot class: Max Rx-Slot/TDMA:4 Max Tx-Slot/TDMA:4 Max-Sum-Slot/TDMA:5 Tta:2 Ttb:1 Tra:2 Trb:1 Type:1 (12)
+ ..1. .... = GPRS Extended Dynamic Allocation Capability: Implemented
+ .... ..01 100. .... = EGPRS multislot class: Max Rx-Slot/TDMA:4 Max Tx-Slot/TDMA:4 Max-Sum-Slot/TDMA:5 Tta:2 Ttb:1 Tra:2 Trb:1 Type:1 (12)
+ ...1 .... = EGPRS Extended Dynamic Allocation Capability: Implemented
+ .... .1.. = 8PSK Power Capability Bits: Present
+ 8PSK Power Capability: Power class E2 (2)
+ 0... .... = COMPACT Interference Measurement Capability: Not Implemented
+ .1.. .... = Revision Level Indicator: The ME is Release '99 onwards
+ ..0. .... = UMTS FDD Radio Access Technology Capability: Not supported
+ ...0 .... = UMTS 3.84 Mcps TDD Radio Access Technology Capability: Not supported
+ .... 0... = CDMA 2000 Radio Access Technology Capability: Not supported
+ .... .0.. = UMTS 1.28 Mcps TDD Radio Access Technology Capability: Not supported
+ .... ..1. = GERAN Feature Package 1: Supported
+ Extended DTM EGPRS Multi Slot Class: Bits are not available (0)
+ 0... .... = Modulation based multislot class support: Not supported
+ High Multislot Capability: 0x00 (0) - This field effect all other multislot fields. To understand the value please read TS 24.008 5.6.0 Release 5 Chap 10.5.5.12 Page 406
+ .... 0... = GERAN Iu mode: Not supported
+ GMSK Multislot Power Profile: GMSK_MULTISLOT_POWER_PROFILE 0 (0)
+ 8-PSK Multislot Power Profile: 8-PSK_MULTISLOT_POWER_PROFILE 0 (0)
+ .0.. .... = Multiple TBF Capability: Not supported
+ ..01 .... = Downlink Advanced Receiver Performance: Downlink Advanced Receiver Performance - phase I supported (1)
+ .... 0... = Extended RLC/MAC Control Message Segmentation Capability: Not supported
+ .... .0.. = DTM Enhancements Capability: The mobile station does not support enhanced DTM CS establishment and enhanced DTM CS release procedures
+ .... ...0 = PS Handover Capability: Not supported
+ 0... .... = DTM Handover Capability: Not supported
+ ..0. .... = Flexible Timeslot Assignment: Not supported
+ ...0 .... = GAN PS Handover Capability: Not supported
+ .... 0... = RLC Non-persistent Mode: Not supported
+ .... .0.. = Reduced Latency Capability: Not supported
+ .... ..00 = Uplink EGPRS2: The mobile station does not support either EGPRS2-A or EGPRS2-B in the uplink (0)
+ 00.. .... = Downlink EGPRS2: The mobile station does not support either EGPRS2-A or EGPRS2-B in the downlink (0)
+ ..0. .... = E-UTRA FDD support: Not supported
+ ...0 .... = E-UTRA TDD support: Not supported
+ .... 00.. = GERAN to E-UTRA support in GERAN packet transfer mode: None (0)
+ .... ..0. = Priority-based reselection support: Not supported
+ 0... .... = Indication of Upper Layer PDU Start Capability for RLC UM: Not supported
+ .0.. .... = Enhanced Multiplexing for Single TBF Capability: Not supported
+ ..0. .... = Multiple TTI Capability: Not supported
+ ...0 .... = Reporting of UTRAN CSG cells in packet transfer mode: Not supported
+ .... 0... = Reporting of E-UTRAN CSG cells in packet transfer mode: Not supported
+ .... .0.. = Dynamic Timeslot Reduction Capability: Not supported
+ .... ..0. = Enhanced Multiplexing for Single RLC Entity Capability: Not supported
+ .... ...0 = Fast Downlink Frequency Switching Capability: Not supported
+ 01.. .... = TIGHTER Capability: TIGHTER supported for speech and signalling channels only (1)
+ MS RA capability 2
+ ...0 111. = Access Technology Type: GSM 850 (7)
+ .... ...0 1111 10.. = Length in bits: 0x3e (62)
+ .... ..10 0... .... RF Power Capability, GMSK Power Class: 2 W (33 dBm) (4)
+ A5 Bits: Same values apply for parameters as in the immediately preceding Access capabilities field within this IE (0)
+ ..1. .... = Controlled early Classmark Sending: Implemented
+ ...1 .... = Pseudo Synchronisation: Present
+ .... 0... = Voice Group Call Service: no VGCS capability or no notifications wanted
+ .... .0.. = Voice Broadcast Service: no VBS capability or no notifications wanted
+ .... ..0. = Multislot capability struct: Not Present
+ .... ...1 = 8PSK Power Capability Bits: Present
+ 8PSK Power Capability: Power class E2 (2)
+ ..0. .... = COMPACT Interference Measurement Capability: Not Implemented
+ ...1 .... = Revision Level Indicator: The ME is Release '99 onwards
+ .... 0... = UMTS FDD Radio Access Technology Capability: Not supported
+ .... .0.. = UMTS 3.84 Mcps TDD Radio Access Technology Capability: Not supported
+ .... ..0. = CDMA 2000 Radio Access Technology Capability: Not supported
+ .... ...0 = UMTS 1.28 Mcps TDD Radio Access Technology Capability: Not supported
+ 1... .... = GERAN Feature Package 1: Supported
+ Extended DTM EGPRS Multi Slot Class: Bits are not available (0)
+ ..0. .... = Modulation based multislot class support: Not supported
+ High Multislot Capability: 0x00 (0) - This field effect all other multislot fields. To understand the value please read TS 24.008 5.6.0 Release 5 Chap 10.5.5.12 Page 406
+ .... ..0. = GERAN Iu mode: Not supported
+ GMSK Multislot Power Profile: GMSK_MULTISLOT_POWER_PROFILE 0 (0)
+ 8-PSK Multislot Power Profile: 8-PSK_MULTISLOT_POWER_PROFILE 0 (0)
+ ...0 .... = Multiple TBF Capability: Not supported
+ .... 01.. = Downlink Advanced Receiver Performance: Downlink Advanced Receiver Performance - phase I supported (1)
+ .... ..0. = Extended RLC/MAC Control Message Segmentation Capability: Not supported
+ .... ...0 = DTM Enhancements Capability: The mobile station does not support enhanced DTM CS establishment and enhanced DTM CS release procedures
+ .0.. .... = PS Handover Capability: Not supported
+ ..0. .... = DTM Handover Capability: Not supported
+ .... 0... = Flexible Timeslot Assignment: Not supported
+ .... .0.. = GAN PS Handover Capability: Not supported
+ .... ..0. = RLC Non-persistent Mode: Not supported
+ .... ...0 = Reduced Latency Capability: Not supported
+ 00.. .... = Uplink EGPRS2: The mobile station does not support either EGPRS2-A or EGPRS2-B in the uplink (0)
+ ..00 .... = Downlink EGPRS2: The mobile station does not support either EGPRS2-A or EGPRS2-B in the downlink (0)
+ .... 0... = E-UTRA FDD support: Not supported
+ .... .0.. = E-UTRA TDD support: Not supported
+ .... ..00 = GERAN to E-UTRA support in GERAN packet transfer mode: None (0)
+ 0... .... = Priority-based reselection support: Not supported
+ ..0. .... = Indication of Upper Layer PDU Start Capability for RLC UM: Not supported
+ ...0 .... = Enhanced Multiplexing for Single TBF Capability: Not supported
+ .... 0... = Multiple TTI Capability: Not supported
+ .... .0.. = Reporting of UTRAN CSG cells in packet transfer mode: Not supported
+ .... ..0. = Reporting of E-UTRAN CSG cells in packet transfer mode: Not supported
+ .... ...0 = Dynamic Timeslot Reduction Capability: Not supported
+ 0... .... = Enhanced Multiplexing for Single RLC Entity Capability: Not supported
+ .0.. .... = Fast Downlink Frequency Switching Capability: Not supported
+ ..01 .... = TIGHTER Capability: TIGHTER supported for speech and signalling channels only (1)
+ MS RA capability 3
+ .... .010 0... .... = Access Technology Type: GSM 1900 (4)
+ .011 1110 = Length in bits: 0x3e (62)
+ 001. .... RF Power Capability, GMSK Power Class: 1 W (30 dBm) (1)
+ A5 Bits: Same values apply for parameters as in the immediately preceding Access capabilities field within this IE (0)
+ .... 1... = Controlled early Classmark Sending: Implemented
+ .... .1.. = Pseudo Synchronisation: Present
+ .... ..0. = Voice Group Call Service: no VGCS capability or no notifications wanted
+ .... ...0 = Voice Broadcast Service: no VBS capability or no notifications wanted
+ 0... .... = Multislot capability struct: Not Present
+ .1.. .... = 8PSK Power Capability Bits: Present
+ 8PSK Power Capability: Power class E2 (2)
+ .... 0... = COMPACT Interference Measurement Capability: Not Implemented
+ .... .1.. = Revision Level Indicator: The ME is Release '99 onwards
+ .... ..0. = UMTS FDD Radio Access Technology Capability: Not supported
+ .... ...0 = UMTS 3.84 Mcps TDD Radio Access Technology Capability: Not supported
+ 0... .... = CDMA 2000 Radio Access Technology Capability: Not supported
+ .0.. .... = UMTS 1.28 Mcps TDD Radio Access Technology Capability: Not supported
+ ..1. .... = GERAN Feature Package 1: Supported
+ Extended DTM EGPRS Multi Slot Class: Bits are not available (0)
+ .... 0... = Modulation based multislot class support: Not supported
+ High Multislot Capability: 0x00 (0) - This field effect all other multislot fields. To understand the value please read TS 24.008 5.6.0 Release 5 Chap 10.5.5.12 Page 406
+ 0... .... = GERAN Iu mode: Not supported
+ GMSK Multislot Power Profile: GMSK_MULTISLOT_POWER_PROFILE 0 (0)
+ 8-PSK Multislot Power Profile: 8-PSK_MULTISLOT_POWER_PROFILE 0 (0)
+ .... .0.. = Multiple TBF Capability: Not supported
+ .... ..01 = Downlink Advanced Receiver Performance: Downlink Advanced Receiver Performance - phase I supported (1)
+ 0... .... = Extended RLC/MAC Control Message Segmentation Capability: Not supported
+ .0.. .... = DTM Enhancements Capability: The mobile station does not support enhanced DTM CS establishment and enhanced DTM CS release procedures
+ ...0 .... = PS Handover Capability: Not supported
+ .... 0... = DTM Handover Capability: Not supported
+ .... ..0. = Flexible Timeslot Assignment: Not supported
+ .... ...0 = GAN PS Handover Capability: Not supported
+ 0... .... = RLC Non-persistent Mode: Not supported
+ .0.. .... = Reduced Latency Capability: Not supported
+ ..00 .... = Uplink EGPRS2: The mobile station does not support either EGPRS2-A or EGPRS2-B in the uplink (0)
+ .... 00.. = Downlink EGPRS2: The mobile station does not support either EGPRS2-A or EGPRS2-B in the downlink (0)
+ .... ..0. = E-UTRA FDD support: Not supported
+ .... ...0 = E-UTRA TDD support: Not supported
+ 00.. .... = GERAN to E-UTRA support in GERAN packet transfer mode: None (0)
+ ..0. .... = Priority-based reselection support: Not supported
+ .... 0... = Indication of Upper Layer PDU Start Capability for RLC UM: Not supported
+ .... .0.. = Enhanced Multiplexing for Single TBF Capability: Not supported
+ .... ..0. = Multiple TTI Capability: Not supported
+ .... ...0 = Reporting of UTRAN CSG cells in packet transfer mode: Not supported
+ 0... .... = Reporting of E-UTRAN CSG cells in packet transfer mode: Not supported
+ .0.. .... = Dynamic Timeslot Reduction Capability: Not supported
+ ..0. .... = Enhanced Multiplexing for Single RLC Entity Capability: Not supported
+ ...0 .... = Fast Downlink Frequency Switching Capability: Not supported
+ .... 01.. = TIGHTER Capability: TIGHTER supported for speech and signalling channels only (1)
+*/
+ bitvec_unhex(bv_dec, "1af3432b25964240100000006efa319090040000001a3e2c64240100000004");
+
+ printf("=== Test decoding of MS RA Capability 3===\n");
+ rc = decode_gsm_ra_cap(bv_dec, &data);
+ printf("decode_gsm_ra_cap() returns %d\n", rc);
+ OSMO_ASSERT(rc == 0);
+
+ /* Make sure there's 3 values */
+ OSMO_ASSERT(data.Count_MS_RA_capability_value == 3);
+
+ /* Make sure GPRS / EGPRS multislot class is parsed correctly */
+ printf("GPRS multislot class = %u\n", get_ms_class_by_capability(&data));
+ printf("EGPRS multislot class = %u\n", get_egprs_ms_class_by_capability(&data));
+
+ bitvec_free(bv_dec);
+}
+
void testEGPRSPktChReq(void *test_ctx)
{
EGPRS_PacketChannelRequest_t req;
@@ -551,6 +748,7 @@ int main(int argc, char *argv[])
testRAcap(ctx);
testMalformedRAcap(ctx);
testRAcap2(ctx);
+ testRAcap3(ctx);
testEGPRSPktChReq(ctx);
diff --git a/tests/rlcmac/RLCMACTest.err b/tests/rlcmac/RLCMACTest.err
index fc2889fc..d36f2484 100644
--- a/tests/rlcmac/RLCMACTest.err
+++ b/tests/rlcmac/RLCMACTest.err
@@ -48,6 +48,7 @@ DCSN1 INFO csnStreamEncoder (RAcap): MS_RA_capability_value { | u.Content = 1 |
DCSN1 INFO csnStreamDecoder (RAcap): MS_RA_capability_value { | Choice MS_RA_capability_value_Choice = 1 | u.Content length = 21 | offset = 1 | RF_Power_Capability = 1 | Exist_A5_bits = 0 | ES_IND = 1 | PS = 0 | VGCS = 0 | VBS = 0 | Exist_Multislot_capability = 1 | : Multislot_capability | Exist_HSCSD_multislot_class = 0 | Exist_GPRS_multislot_class = 1 | GPRS_multislot_class = 3 | GPRS_Extended_Dynamic_Allocation_Capability = 0 | Exist_SM = 0 | Exist_ECSD_multislot_class = 0 | Exist_EGPRS_multislot_class = 1 | DCSN1 ERROR csnStreamDecoder: error NEED_MORE BITS TO UNPACK (-5) at EGPRS_multislot_class (idx 31): End Multislot_capability |
DCSN1 INFO csnStreamDecoder (RAcap): MS_RA_capability_value { | Choice MS_RA_capability_value_Choice = 1 | u.Content length = 29 | offset = 1 | RF_Power_Capability = 1 | Exist_A5_bits = 0 | ES_IND = 1 | PS = 0 | VGCS = 0 | VBS = 0 | Exist_Multislot_capability = 1 | : Multislot_capability | Exist_HSCSD_multislot_class = 0 | Exist_GPRS_multislot_class = 1 | GPRS_multislot_class = 3 | GPRS_Extended_Dynamic_Allocation_Capability = 0 | Exist_SM = 0 | Exist_ECSD_multislot_class = 0 | Exist_EGPRS_multislot_class = 1 | EGPRS_multislot_class = 0 | EGPRS_Extended_Dynamic_Allocation_Capability = 0 | Exist_DTM_GPRS_multislot_class = 0 | : End Multislot_capability | Exist_Eight_PSK_Power_Capability = 0 | COMPACT_Interference_Measurement_Capability = 0 | Revision_Level_Indicator = NULL | UMTS_FDD_Radio_Access_Technology_Capability = NULL | UMTS_384_TDD_Radio_Access_Technology_Capability = NULL | CDMA2000_Radio_Access_Technology_Capability = NULL | UMTS_128_TDD_Radio_Access_Technology_Capability = NULL | GERAN_Feature_Package_1 = NULL | Modulation_based_multislot_class_support = NULL | GMSK_MultislotPowerProfile = NULL | EightPSK_MultislotProfile = NULL | MultipleTBF_Capability = NULL | DownlinkAdvancedReceiverPerformance = NULL | ExtendedRLC_MAC_ControlMessageSegmentionsCapability = NULL | DTM_EnhancementsCapability = NULL | PS_HandoverCapability = NULL | DTM_Handover_Capability = NULL | FlexibleTimeslotAssignment = NULL | GAN_PS_HandoverCapability = NULL | RLC_Non_persistentMode = NULL | ReducedLatencyCapability = NULL | UplinkEGPRS2 = NULL | DownlinkEGPRS2 = NULL | EUTRA_FDD_Support = NULL | EUTRA_TDD_Support = NULL | GERAN_To_EUTRAN_supportInGERAN_PTM = NULL | PriorityBasedReselectionSupport = NULL | MS_RA_capability_value } | Padding = 0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|
DCSN1 INFO csnStreamDecoder (RAcap): MS_RA_capability_value { | Choice MS_RA_capability_value_Choice = 1 | u.Content length = 73 | offset = 1 | RF_Power_Capability = 4 | Exist_A5_bits = 1 | A5_bits = 80 | ES_IND = 1 | PS = 1 | VGCS = 0 | VBS = 0 | Exist_Multislot_capability = 1 | : Multislot_capability | Exist_HSCSD_multislot_class = 0 | Exist_GPRS_multislot_class = 1 | GPRS_multislot_class = 12 | GPRS_Extended_Dynamic_Allocation_Capability = 1 | Exist_SM = 1 | SMS_VALUE = 7 | SM_VALUE = 1 | Exist_ECSD_multislot_class = 0 | Exist_EGPRS_multislot_class = 1 | EGPRS_multislot_class = 12 | EGPRS_Extended_Dynamic_Allocation_Capability = 1 | Exist_DTM_GPRS_multislot_class = 1 | DTM_GPRS_multislot_class = 3 | Single_Slot_DTM = 0 | : DTM_EGPRS_Params | Exist_DTM_EGPRS_multislot_class = 1 | DTM_EGPRS_multislot_class = 3 | : End DTM_EGPRS_Params | : End Multislot_capability | Exist_Eight_PSK_Power_Capability = 1 | Eight_PSK_Power_Capability = 2 | COMPACT_Interference_Measurement_Capability = 0 | Revision_Level_Indicator = 1 | UMTS_FDD_Radio_Access_Technology_Capability = 0 | UMTS_384_TDD_Radio_Access_Technology_Capability = 0 | CDMA2000_Radio_Access_Technology_Capability = 0 | UMTS_128_TDD_Radio_Access_Technology_Capability = 0 | GERAN_Feature_Package_1 = 1 | Exist_Extended_DTM_multislot_class = 0 | Modulation_based_multislot_class_support = 0 | Exist_HighMultislotCapability = 0 | Exist_GERAN_lu_ModeCapability = 0 | GMSK_MultislotPowerProfile = 3 | EightPSK_MultislotProfile = 3 | MultipleTBF_Capability = 0 | DownlinkAdvancedReceiverPerformance = 1 | ExtendedRLC_MAC_ControlMessageSegmentionsCapability = 1 | DTM_EnhancementsCapability = 1 | Exist_DTM_GPRS_HighMultislotClass = 0 | PS_HandoverCapability = 0 | DTM_Handover_Capability = NULL | FlexibleTimeslotAssignment = NULL | GAN_PS_HandoverCapability = NULL | RLC_Non_persistentMode = NULL | ReducedLatencyCapability = NULL | UplinkEGPRS2 = NULL | DownlinkEGPRS2 = NULL | EUTRA_FDD_Support = NULL | EUTRA_TDD_Support = NULL | GERAN_To_EUTRAN_supportInGERAN_PTM = NULL | PriorityBasedReselectionSupport = NULL | MS_RA_capability_value } | MS_RA_capability_value { | Choice MS_RA_capability_value_Choice = 7 | u.Content length = 34 | offset = 1 | RF_Power_Capability = 4 | Exist_A5_bits = 0 | ES_IND = 1 | PS = 1 | VGCS = 0 | VBS = 0 | Exist_Multislot_capability = 0 | Exist_Eight_PSK_Power_Capability = 1 | Eight_PSK_Power_Capability = 2 | COMPACT_Interference_Measurement_Capability = 0 | Revision_Level_Indicator = 1 | UMTS_FDD_Radio_Access_Technology_Capability = 0 | UMTS_384_TDD_Radio_Access_Technology_Capability = 0 | CDMA2000_Radio_Access_Technology_Capability = 0 | UMTS_128_TDD_Radio_Access_Technology_Capability = 0 | GERAN_Feature_Package_1 = 1 | Exist_Extended_DTM_multislot_class = 0 | Modulation_based_multislot_class_support = 0 | Exist_HighMultislotCapability = 0 | Exist_GERAN_lu_ModeCapability = 0 | GMSK_MultislotPowerProfile = 3 | EightPSK_MultislotProfile = 3 | MultipleTBF_Capability = 0 | DownlinkAdvancedReceiverPerformance = 1 | ExtendedRLC_MAC_ControlMessageSegmentionsCapability = 1 | DTM_EnhancementsCapability = 1 | Exist_DTM_GPRS_HighMultislotClass = 0 | PS_HandoverCapability = 0 | DTM_Handover_Capability = NULL | FlexibleTimeslotAssignment = NULL | GAN_PS_HandoverCapability = NULL | RLC_Non_persistentMode = NULL | ReducedLatencyCapability = NULL | UplinkEGPRS2 = NULL | DownlinkEGPRS2 = NULL | EUTRA_FDD_Support = NULL | EUTRA_TDD_Support = NULL | GERAN_To_EUTRAN_supportInGERAN_PTM = NULL | PriorityBasedReselectionSupport = NULL | MS_RA_capability_value } | MS_RA_capability_value { | Choice MS_RA_capability_value_Choice = 3 | u.Content length = 34 | offset = 1 | RF_Power_Capability = 1 | Exist_A5_bits = 0 | ES_IND = 1 | PS = 1 | VGCS = 0 | VBS = 0 | Exist_Multislot_capability = 0 | Exist_Eight_PSK_Power_Capability = 1 | Eight_PSK_Power_Capability = 2 | COMPACT_Interference_Measurement_Capability = 0 | Revision_Level_Indicator = 1 | UMTS_FDD_Radio_Access_Technology_Capability = 0 | UMTS_384_TDD_Radio_Access_Technology_Capability = 0 | CDMA2000_Radio_Access_Technology_Capability = 0 | UMTS_128_TDD_Radio_Access_Technology_Capability = 0 | GERAN_Feature_Package_1 = 1 | Exist_Extended_DTM_multislot_class = 0 | Modulation_based_multislot_class_support = 0 | Exist_HighMultislotCapability = 0 | Exist_GERAN_lu_ModeCapability = 0 | GMSK_MultislotPowerProfile = 3 | EightPSK_MultislotProfile = 3 | MultipleTBF_Capability = 0 | DownlinkAdvancedReceiverPerformance = 1 | ExtendedRLC_MAC_ControlMessageSegmentionsCapability = 1 | DTM_EnhancementsCapability = 1 | Exist_DTM_GPRS_HighMultislotClass = 0 | PS_HandoverCapability = 0 | DTM_Handover_Capability = NULL | FlexibleTimeslotAssignment = NULL | GAN_PS_HandoverCapability = NULL | RLC_Non_persistentMode = NULL | ReducedLatencyCapability = NULL | UplinkEGPRS2 = NULL | DownlinkEGPRS2 = NULL | EUTRA_FDD_Support = NULL | EUTRA_TDD_Support = NULL | GERAN_To_EUTRAN_supportInGERAN_PTM = NULL | PriorityBasedReselectionSupport = NULL | MS_RA_capability_value } | Padding = 0|
+DCSN1 INFO csnStreamDecoder (RAcap): MS_RA_capability_value { | Choice MS_RA_capability_value_Choice = 1 | u.Content length = 87 | offset = 1 | RF_Power_Capability = 4 | Exist_A5_bits = 1 | A5_bits = 80 | ES_IND = 1 | PS = 1 | VGCS = 0 | VBS = 0 | Exist_Multislot_capability = 1 | : Multislot_capability | Exist_HSCSD_multislot_class = 0 | Exist_GPRS_multislot_class = 1 | GPRS_multislot_class = 12 | GPRS_Extended_Dynamic_Allocation_Capability = 1 | Exist_SM = 0 | Exist_ECSD_multislot_class = 0 | Exist_EGPRS_multislot_class = 1 | EGPRS_multislot_class = 12 | EGPRS_Extended_Dynamic_Allocation_Capability = 1 | Exist_DTM_GPRS_multislot_class = 0 | : End Multislot_capability | Exist_Eight_PSK_Power_Capability = 1 | Eight_PSK_Power_Capability = 2 | COMPACT_Interference_Measurement_Capability = 0 | Revision_Level_Indicator = 1 | UMTS_FDD_Radio_Access_Technology_Capability = 0 | UMTS_384_TDD_Radio_Access_Technology_Capability = 0 | CDMA2000_Radio_Access_Technology_Capability = 0 | UMTS_128_TDD_Radio_Access_Technology_Capability = 0 | GERAN_Feature_Package_1 = 1 | Exist_Extended_DTM_multislot_class = 0 | Modulation_based_multislot_class_support = 0 | Exist_HighMultislotCapability = 1 | HighMultislotCapability = 0 | Exist_GERAN_lu_ModeCapability = 0 | GMSK_MultislotPowerProfile = 0 | EightPSK_MultislotProfile = 0 | MultipleTBF_Capability = 0 | DownlinkAdvancedReceiverPerformance = 1 | ExtendedRLC_MAC_ControlMessageSegmentionsCapability = 0 | DTM_EnhancementsCapability = 0 | Exist_DTM_GPRS_HighMultislotClass = 0 | PS_HandoverCapability = 0 | DTM_Handover_Capability = 0 | Exist_DownlinkDualCarrierCapability_r7 = 0 | FlexibleTimeslotAssignment = 0 | GAN_PS_HandoverCapability = 0 | RLC_Non_persistentMode = 0 | ReducedLatencyCapability = 0 | UplinkEGPRS2 = 0 | DownlinkEGPRS2 = 0 | EUTRA_FDD_Support = 0 | EUTRA_TDD_Support = 0 | GERAN_To_EUTRAN_supportInGERAN_PTM = 0 | PriorityBasedReselectionSupport = 0 | skipped = 11 | MS_RA_capability_value } | MS_RA_capability_value { | Choice MS_RA_capability_value_Choice = 7 | u.Content length = 62 | offset = 1 | RF_Power_Capability = 4 | Exist_A5_bits = 0 | ES_IND = 1 | PS = 1 | VGCS = 0 | VBS = 0 | Exist_Multislot_capability = 0 | Exist_Eight_PSK_Power_Capability = 1 | Eight_PSK_Power_Capability = 2 | COMPACT_Interference_Measurement_Capability = 0 | Revision_Level_Indicator = 1 | UMTS_FDD_Radio_Access_Technology_Capability = 0 | UMTS_384_TDD_Radio_Access_Technology_Capability = 0 | CDMA2000_Radio_Access_Technology_Capability = 0 | UMTS_128_TDD_Radio_Access_Technology_Capability = 0 | GERAN_Feature_Package_1 = 1 | Exist_Extended_DTM_multislot_class = 0 | Modulation_based_multislot_class_support = 0 | Exist_HighMultislotCapability = 1 | HighMultislotCapability = 0 | Exist_GERAN_lu_ModeCapability = 0 | GMSK_MultislotPowerProfile = 0 | EightPSK_MultislotProfile = 0 | MultipleTBF_Capability = 0 | DownlinkAdvancedReceiverPerformance = 1 | ExtendedRLC_MAC_ControlMessageSegmentionsCapability = 0 | DTM_EnhancementsCapability = 0 | Exist_DTM_GPRS_HighMultislotClass = 0 | PS_HandoverCapability = 0 | DTM_Handover_Capability = 0 | Exist_DownlinkDualCarrierCapability_r7 = 0 | FlexibleTimeslotAssignment = 0 | GAN_PS_HandoverCapability = 0 | RLC_Non_persistentMode = 0 | ReducedLatencyCapability = 0 | UplinkEGPRS2 = 0 | DownlinkEGPRS2 = 0 | EUTRA_FDD_Support = 0 | EUTRA_TDD_Support = 0 | GERAN_To_EUTRAN_supportInGERAN_PTM = 0 | PriorityBasedReselectionSupport = 0 | skipped = 11 | MS_RA_capability_value } | MS_RA_capability_value { | Choice MS_RA_capability_value_Choice = 4 | u.Content length = 62 | offset = 1 | RF_Power_Capability = 1 | Exist_A5_bits = 0 | ES_IND = 1 | PS = 1 | VGCS = 0 | VBS = 0 | Exist_Multislot_capability = 0 | Exist_Eight_PSK_Power_Capability = 1 | Eight_PSK_Power_Capability = 2 | COMPACT_Interference_Measurement_Capability = 0 | Revision_Level_Indicator = 1 | UMTS_FDD_Radio_Access_Technology_Capability = 0 | UMTS_384_TDD_Radio_Access_Technology_Capability = 0 | CDMA2000_Radio_Access_Technology_Capability = 0 | UMTS_128_TDD_Radio_Access_Technology_Capability = 0 | GERAN_Feature_Package_1 = 1 | Exist_Extended_DTM_multislot_class = 0 | Modulation_based_multislot_class_support = 0 | Exist_HighMultislotCapability = 1 | HighMultislotCapability = 0 | Exist_GERAN_lu_ModeCapability = 0 | GMSK_MultislotPowerProfile = 0 | EightPSK_MultislotProfile = 0 | MultipleTBF_Capability = 0 | DownlinkAdvancedReceiverPerformance = 1 | ExtendedRLC_MAC_ControlMessageSegmentionsCapability = 0 | DTM_EnhancementsCapability = 0 | Exist_DTM_GPRS_HighMultislotClass = 0 | PS_HandoverCapability = 0 | DTM_Handover_Capability = 0 | Exist_DownlinkDualCarrierCapability_r7 = 0 | FlexibleTimeslotAssignment = 0 | GAN_PS_HandoverCapability = 0 | RLC_Non_persistentMode = 0 | ReducedLatencyCapability = 0 | UplinkEGPRS2 = 0 | DownlinkEGPRS2 = 0 | EUTRA_FDD_Support = 0 | EUTRA_TDD_Support = 0 | GERAN_To_EUTRAN_supportInGERAN_PTM = 0 | PriorityBasedReselectionSupport = 0 | skipped = 11 | MS_RA_capability_value } | Padding = 0|
DCSN1 DEBUG csnStreamDecoder (EGPRS Packet Channel Request): Choice EGPRS_PacketChannelRequest_Choice = 0 | : Content | MultislotClass = 21 | Priority = 2 | RandomBits = 5 | : End Content |
DCSN1 DEBUG csnStreamDecoder (EGPRS Packet Channel Request): Choice EGPRS_PacketChannelRequest_Choice = 0 | : Content | MultislotClass = 10 | Priority = 1 | RandomBits = 2 | : End Content |
DCSN1 DEBUG csnStreamDecoder (EGPRS Packet Channel Request): Choice EGPRS_PacketChannelRequest_Choice = 4 | : Content | NumberOfBlocks = 1 | Priority = 1 | RandomBits = 0 | : End Content |
diff --git a/tests/rlcmac/RLCMACTest.ok b/tests/rlcmac/RLCMACTest.ok
index 54b5e312..5bf38a22 100644
--- a/tests/rlcmac/RLCMACTest.ok
+++ b/tests/rlcmac/RLCMACTest.ok
@@ -189,6 +189,11 @@ decode_gsm_ra_cap() returns 0
decode_gsm_ra_cap() returns 0
GPRS multislot class = 12
EGPRS multislot class = 12
+*** testRAcap3 ***
+=== Test decoding of MS RA Capability 3===
+decode_gsm_ra_cap() returns 0
+GPRS multislot class = 12
+EGPRS multislot class = 12
*** testEGPRSPktChReq ***
decode_egprs_pkt_ch_req(0x2b5) returns 0
==> One Phase Access