Project

General

Profile

Actions

Bug #5137

closed

mgw claims to set DSCP but actually sets TOS bits

Added by laforge almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
libosmo-mgcp
Target version:
-
Start date:
04/27/2021
Due date:
% Done:

100%

Spec Reference:

Description

The mgw code has code to set the dscp value based on vty settings.

However, it actually sets the TOS bit, of which DSCP are only the upper 6 bits.
So when we set the DSCP, we must

  • read the original TOS bit value
  • mask out the upper 6 bits
  • or-in the shifted DSCP value
  • write it back to the kernel.

I've added a generic helper function to libosmocore first and we can now use that from osmo-mgw


Related issues

Related to libosmocore - Bug #5136: NS2 claims to set DSCP but actually sets TOS bitsResolvedlaforge04/27/2021

Actions
Actions #1

Updated by laforge almost 3 years ago

  • Related to Bug #5136: NS2 claims to set DSCP but actually sets TOS bits added
Actions #2

Updated by laforge almost 3 years ago

  • % Done changed from 20 to 80
Actions #3

Updated by laforge almost 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)