Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop packets when the QER ULDL gate is closed #99

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

chen042531
Copy link
Contributor

@chen042531 chen042531 commented Apr 22, 2024

Support QoS Gate Status
According to TS 29.244 8.2.7 Gate Status
(0 OPEN, 1 CLOSED
2, 3 For future use. Shall not be sent.
If received, shall be interpreted as the value "1")

include/qer.h Outdated
// 0 OPEN, 1 CLOSED
// 2, 3 For future use. Shall not be sent.
// If received, shall be interpreted as the value "1"
#define QER_UL_GATE_CLOSE 0b00001100
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#define QER_UL_GATE_CLOSE (0x1 << 2)
#define QER_DL_GATE_CLOSE (0x1 << 0)

@@ -309,8 +310,10 @@ static int qer_fill(struct qer *qer, struct gtp5g_dev *gtp, struct genl_info *in
else
qer->seid = 0;

if (info->attrs[GTP5G_QER_GATE])
if (info->attrs[GTP5G_QER_GATE]){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one more space after )

@tim-ywliu tim-ywliu merged commit cee4bdc into free5gc:master Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants