lib,nas_5g: Implement to_string() functionality for options

master
Bedran Karakoc 3 years ago committed by Andre Puschmann
parent 65519eaf3d
commit 767feddd73

@ -41,7 +41,7 @@ public:
reserved = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<registration_type_type_, 3> registration_type_type;
@ -51,7 +51,7 @@ public:
follow_on_request_pending = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<follow_on_request_bit_type_, 1> follow_on_request_bit_type;
@ -74,7 +74,7 @@ public:
mapped_security_context = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<security_context_flag_type_, 1> security_context_flag_type;
@ -83,7 +83,7 @@ public:
no_key_is_available_or_reserved = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<nas_key_set_identifier_type_, 3> nas_key_set_identifier_type;
@ -113,7 +113,7 @@ public:
eui_64 = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<identity_types_, 3> identity_types;
@ -131,7 +131,7 @@ public:
gli = 0b100,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<supi_format_type_, 3> supi_format_type;
@ -142,7 +142,7 @@ public:
ecies_scheme_profile_b = 0b0010,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<protection_scheme_id_type_, 4> protection_scheme_id_type;
@ -415,7 +415,7 @@ public:
sst_sd_mapped_hplmn_sst_and_mapped_hplmn_sd = 0b00001000,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<SST_type_, 8> SST_type;
@ -646,7 +646,7 @@ public:
data_centric = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<UE_usage_setting_type_, 1> UE_usage_setting_type;
@ -671,7 +671,7 @@ public:
drx_cycle_parameter_t_256 = 0b0100,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<drx_value_type_, 4> drx_value_type;
@ -737,7 +737,7 @@ public:
multiple_payloads = 0b1111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<Payload_container_type_type_, 4> Payload_container_type_type;
@ -784,7 +784,7 @@ public:
sms_over_nas_supported = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<SMS_requested_type_, 1> SMS_requested_type;
@ -794,7 +794,7 @@ public:
ue_radio_capability_update_needed = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<NG_RAN_RCU_type_, 1> NG_RAN_RCU_type;
@ -806,7 +806,7 @@ public:
reserved = 0b11,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<PNB_5GS_CIoT_type_, 2> PNB_5GS_CIoT_type;
@ -818,7 +818,7 @@ public:
reserved = 0b11,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<PNB_EPS_CIoT_type_, 2> PNB_EPS_CIoT_type;
@ -916,7 +916,7 @@ public:
seconds_20 = 0b1111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<Paging_Time_Window_type_, 4> Paging_Time_Window_type;
@ -940,7 +940,7 @@ public:
second_20_48 = 0b1111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<eDRX_value_type_, 4> eDRX_value_type;
@ -969,7 +969,7 @@ public:
value_indicates_that_the_timer_is_deactivated = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<Unit_type_, 3> Unit_type;
@ -1053,7 +1053,7 @@ public:
drx_cycle_parameter_t_1024 = 0b0111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<nb_n1_mode_drx_value_type_, 4> nb_n1_mode_drx_value_type;
@ -1075,7 +1075,7 @@ public:
registered_for_emergency_services = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<Emergency_registered_type_, 1> Emergency_registered_type;
@ -1085,7 +1085,7 @@ public:
nssaa_is_to_be_performed = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<NSSAA_to_be_performed_type_, 1> NSSAA_to_be_performed_type;
@ -1095,7 +1095,7 @@ public:
sms_over_nas_allowed = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<SMS_allowed_type_, 1> SMS_allowed_type;
@ -1107,7 +1107,7 @@ public:
reserved = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<registration_result_type_, 3> registration_result_type;
@ -1145,7 +1145,7 @@ public:
reserved = 0b11,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<type_of_list_type_, 2> type_of_list_type;
@ -1298,7 +1298,7 @@ public:
nssai_inclusion_mode_d = 0b11,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<NSSAI_inclusion_mode_type_, 2> NSSAI_inclusion_mode_type;
@ -1342,7 +1342,7 @@ public:
network_assigned_ue_radio_capability_i_ds_deletion_requested = 0b001,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<Deletion_request_type_, 3> Deletion_request_type;
@ -1438,7 +1438,7 @@ public:
protocol_error_unspecified = 0b01101111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<cause_5gmm_type_, 8> cause_5gmm_type;
@ -1460,7 +1460,7 @@ public:
switch_off = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<switch_off_type_, 1> switch_off_type;
@ -1470,7 +1470,7 @@ public:
re_registration_required = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<re_registration_required_type_, 1> re_registration_required_type;
@ -1481,7 +1481,7 @@ public:
access_3_gpp_and_non_3_gpp_access = 0b11,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<access_type_type_, 2> access_type_type;
@ -1526,7 +1526,7 @@ public:
unused_shall_be_interpreted_as_data_2 = 0b1011,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<Service_type_value_type_, 4> Service_type_value_type;
@ -1550,7 +1550,7 @@ public:
emergency_services_fallback = 0b100,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<control_plane_service_type_value_type_, 3> control_plane_service_type_value_type;
@ -1615,7 +1615,7 @@ public:
reserved = 0b11,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<value_type_, 3> value_type;
@ -1649,7 +1649,7 @@ public:
release_of_n1_nas_signalling_connection_not_required = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<SCMR_type_, 1> SCMR_type;
@ -1736,7 +1736,7 @@ public:
eui_64 = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<identity_types_, 3> identity_types;
@ -1764,7 +1764,7 @@ public:
ia7_5g = 0b0111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<integrity_protection_algorithm_type_, 4> integrity_protection_algorithm_type;
@ -1780,7 +1780,7 @@ public:
ea7_5g = 0b0111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<ciphering_algorithm_type_, 4> ciphering_algorithm_type;
@ -1804,7 +1804,7 @@ public:
imeisv_requested = 0b001,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<imeisv_request_type_, 3> imeisv_request_type;
@ -1832,7 +1832,7 @@ public:
eia7 = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<integrity_protection_algorithm_type_, 3> integrity_protection_algorithm_type;
@ -1848,7 +1848,7 @@ public:
eea7 = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<ciphering_algorithm_type_, 3> ciphering_algorithm_type;
@ -1934,7 +1934,7 @@ public:
non_3_gpp_access = 0b10,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<Access_type_value_type_, 2> Access_type_value_type;
@ -1973,7 +1973,7 @@ public:
reserved = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<Request_type_value_type_, 3> Request_type_value_type;
@ -2006,7 +2006,7 @@ public:
ma_pdu_session_network_upgrade_is_allowed = 0b0001,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<MA_PDU_session_information_value_type_, 4> MA_PDU_session_information_value_type;
@ -2031,7 +2031,7 @@ public:
reserved = 0b11,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<Downlink_data_expected_type_, 2> Downlink_data_expected_type;
@ -2055,7 +2055,7 @@ public:
full_data_rate = 0b11111111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<max_data_rate_UPIP_uplink_type_, 8> max_data_rate_UPIP_uplink_type;
@ -2066,7 +2066,7 @@ public:
full_data_rate = 0b11111111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<max_data_rate_UPIP_downlink_type_, 8> max_data_rate_UPIP_downlink_type;
@ -2093,7 +2093,7 @@ public:
reserved = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<PDU_session_type_value_type_, 3> PDU_session_type_value_type;
@ -2120,7 +2120,7 @@ public:
reserved = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<SSC_mode_value_type_, 3> SSC_mode_value_type;
@ -2245,7 +2245,7 @@ public:
bits_15 = 0b10,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<CID_Length_type_, 2> CID_Length_type;
@ -2268,7 +2268,7 @@ public:
ipv4v6 = 0b011,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<PDU_session_type_value_type_, 3> PDU_session_type_value_type;
@ -2331,7 +2331,7 @@ public:
inc_by_256_pbps = 0b00011001,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<unit_session_AMBR_type_, 8> unit_session_AMBR_type;
@ -2421,7 +2421,7 @@ public:
value_indicates_that_the_timer_is_deactivated = 0b111,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<Unit_type_, 3> Unit_type;
@ -2476,7 +2476,7 @@ public:
ethernet_pdn_type_in_s1_mode_supported = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<EPT_S1_type_, 1> EPT_S1_type;
@ -2548,7 +2548,7 @@ public:
the_back_off_timer_is_applied_in_all_plm_ns = 0b1,
} value;
const char* to_string();
const char* to_string() const;
};
typedef nas_enumerated<abo_type_, 1> abo_type;

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save