mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
AAR is done
This commit is contained in:
parent
e24856eb0e
commit
95aaf2f8f1
4 changed files with 156 additions and 4 deletions
|
|
@ -29,6 +29,8 @@ struct dict_object *gx_qos_information = NULL;
|
|||
struct dict_object *gx_qos_class_identifier = NULL;
|
||||
struct dict_object *gx_max_requested_bandwidth_ul = NULL;
|
||||
struct dict_object *gx_max_requested_bandwidth_dl = NULL;
|
||||
struct dict_object *gx_min_requested_bandwidth_ul = NULL;
|
||||
struct dict_object *gx_min_requested_bandwidth_dl = NULL;
|
||||
struct dict_object *gx_guaranteed_bitrate_ul = NULL;
|
||||
struct dict_object *gx_guaranteed_bitrate_dl = NULL;
|
||||
struct dict_object *gx_allocation_retention_priority = NULL;
|
||||
|
|
@ -94,6 +96,8 @@ int gx_dict_init(void)
|
|||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "QoS-Class-Identifier" , &gx_qos_class_identifier);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Max-Requested-Bandwidth-UL" , &gx_max_requested_bandwidth_ul);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Max-Requested-Bandwidth-DL" , &gx_max_requested_bandwidth_dl);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Min-Requested-Bandwidth-UL" , &gx_min_requested_bandwidth_ul);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Min-Requested-Bandwidth-DL" , &gx_min_requested_bandwidth_dl);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Guaranteed-Bitrate-UL" , &gx_guaranteed_bitrate_ul);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Guaranteed-Bitrate-DL" , &gx_guaranteed_bitrate_dl);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Allocation-Retention-Priority" , &gx_allocation_retention_priority);
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ struct dict_object *rx_media_component_number = NULL;
|
|||
struct dict_object *rx_media_type = NULL;
|
||||
struct dict_object *rx_max_requested_bandwidth_ul = NULL;
|
||||
struct dict_object *rx_max_requested_bandwidth_dl = NULL;
|
||||
struct dict_object *rx_min_requested_bandwidth_ul = NULL;
|
||||
struct dict_object *rx_min_requested_bandwidth_dl = NULL;
|
||||
struct dict_object *rx_rr_bandwidth = NULL;
|
||||
struct dict_object *rx_rs_bandwidth = NULL;
|
||||
struct dict_object *rx_flow_status = NULL;
|
||||
|
|
@ -46,6 +48,8 @@ int rx_dict_init(void)
|
|||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Media-Type", &rx_media_type);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Max-Requested-Bandwidth-UL" , &rx_max_requested_bandwidth_ul);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Max-Requested-Bandwidth-DL" , &rx_max_requested_bandwidth_dl);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Min-Requested-Bandwidth-UL" , &rx_min_requested_bandwidth_ul);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Min-Requested-Bandwidth-DL" , &rx_min_requested_bandwidth_dl);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "RR-Bandwidth" , &rx_rr_bandwidth);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "RS-Bandwidth" , &rx_rs_bandwidth);
|
||||
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Flow-Status", &rx_flow_status);
|
||||
|
|
|
|||
|
|
@ -17,9 +17,19 @@ extern struct dict_object *rx_cmd_aaa;
|
|||
|
||||
extern struct dict_object *rx_media_component_description;
|
||||
extern struct dict_object *rx_media_component_number;
|
||||
#define RX_MEDIA_TYPE_AUDIO 0
|
||||
#define RX_MEDIA_TYPE_VIDEO 1
|
||||
#define RX_MEDIA_TYPE_DATA 2
|
||||
#define RX_MEDIA_TYPE_APPLICATION 3
|
||||
#define RX_MEDIA_TYPE_CONTROL 4
|
||||
#define RX_MEDIA_TYPE_TEXT 5
|
||||
#define RX_MEDIA_TYPE_MESSAGE 6
|
||||
#define RX_MEDIA_TYPE_OTHER 0xFFFFFFFF
|
||||
extern struct dict_object *rx_media_type;
|
||||
extern struct dict_object *rx_max_requested_bandwidth_ul;
|
||||
extern struct dict_object *rx_max_requested_bandwidth_dl;
|
||||
extern struct dict_object *rx_min_requested_bandwidth_ul;
|
||||
extern struct dict_object *rx_min_requested_bandwidth_dl;
|
||||
extern struct dict_object *rx_rr_bandwidth;
|
||||
extern struct dict_object *rx_rs_bandwidth;
|
||||
#define RX_FLOW_STATUS_ENABLED_UPLINK 0
|
||||
|
|
@ -30,6 +40,9 @@ extern struct dict_object *rx_flow_status;
|
|||
extern struct dict_object *rx_codec_data;
|
||||
extern struct dict_object *rx_media_sub_component;
|
||||
extern struct dict_object *rx_flow_number;
|
||||
#define RX_FLOW_USAGE_NO_INFORMATION 0
|
||||
#define RX_FLOW_USAGE_RTCP 1
|
||||
#define RX_FLOW_USAGE_AF_SIGNALLING 2
|
||||
extern struct dict_object *rx_flow_usage;
|
||||
extern struct dict_object *rx_flow_description;
|
||||
extern struct dict_object *rx_subscription_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue