Project

General

Profile

Actions

Bug #3954

closed

OsmoSGSN XID code uses hard-coded N201-I / N201-U instead of per-SAPI defaults as per spec

Added by laforge almost 5 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
04/24/2019
Due date:
% Done:

100%

Spec Reference:

Description

3GPP TS 04.64 Section 8.9.9 contains a table of LLC layer parameter default values. Those values shall be used whenever no XID negotiation was used to change them. The values are significantly different from one SAPI to another.

We even have a copy of that table as static const struct gprs_llc_params llc_default_params in gprs_llc.c, and we copy those default parameters into each LLE when it is created.

However, we're not using those default values when we start a XID negotiation, but we always try to negotiate some hard-coded values for N201-I and N201-U (see gprs_llc_generate_xid()). This is legal, but it might be safer in terms of compatibility to start with the per-SAPI default values from the table.

Actions #1

Updated by laforge almost 5 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 80
Actions #2

Updated by laforge almost 4 years ago

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

patch merged a year ago

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)