Skip to content

Commit

Permalink
Document Gx interface spec references
Browse files Browse the repository at this point in the history
  • Loading branch information
pespin committed Jan 24, 2024
1 parent 1cfcffa commit 05984d3
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/diameter/gx/message.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/* Gx Interface, 3GPP TS 29.212 section 4
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
Expand Down
2 changes: 1 addition & 1 deletion lib/diameter/gx/message.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/* Gx Interface, 3GPP TS 29.212 section 4
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
Expand Down
2 changes: 1 addition & 1 deletion lib/diameter/gx/ogs-diameter-gx.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/* Gx Interface, 3GPP TS 29.212 section 4
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
Expand Down
2 changes: 1 addition & 1 deletion src/pcrf/pcrf-gx-path.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/* Gx Interface, 3GPP TS 29.212 section 4
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
Expand Down
2 changes: 1 addition & 1 deletion src/smf/gx-handler.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/* Gx Interface, 3GPP TS 29.212 section 4
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
* Copyright (C) 2022 by sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
*
Expand Down
2 changes: 1 addition & 1 deletion src/smf/gx-handler.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/* Gx Interface, 3GPP TS 29.212 section 4
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
Expand Down
4 changes: 3 additions & 1 deletion src/smf/gx-path.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/* Gx Interface, 3GPP TS 29.212 section 4
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
Expand Down Expand Up @@ -87,6 +87,7 @@ static void state_cleanup(struct sess_state *sess_data, os0_t sid, void *opaque)
ogs_thread_mutex_unlock(&sess_state_mutex);
}

/* 3GPP TS 29.212 5.6.2 Credit-Control-Request */
void smf_gx_send_ccr(smf_sess_t *sess, ogs_gtp_xact_t *xact,
uint32_t cc_request_type)
{
Expand Down Expand Up @@ -701,6 +702,7 @@ void smf_gx_send_ccr(smf_sess_t *sess, ogs_gtp_xact_t *xact,
ogs_assert(pthread_mutex_unlock(&ogs_diam_logger_self()->stats_lock) == 0);
}

/* 3GPP TS 29.212 5b.6.5 Credit-Control-Answer */
static void smf_gx_cca_cb(void *data, struct msg **msg)
{
int rv;
Expand Down

0 comments on commit 05984d3

Please sign in to comment.