Project

General

Profile

Actions

Bug #3426

closed

gprs_llc_process_xid_ind() does not echo L3_PAR, breaks PDP activation for Motorola KRZR

Added by keith almost 6 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
07/27/2018
Due date:
% Done:

100%

Spec Reference:

Description

In gprs_llc_process_xid_ind()
(at the time of writing) http://cgit.osmocom.org/osmo-sgsn/tree/src/gprs/gprs_llc.c#n227

We check if (xid_field->type != GPRS_LLC_XID_T_L3_PAR)
before echoing the XID to the MS

The Motorola KRZR responds by sending the XID list again and repeats 4 times before giving up and sending PDP deactivate context, with a cause 25 "LLC or SNDCP Failure"

Removing the check for xid_field->type != GPRS_LLC_XID_T_L3_PAR and echoing the L3 parameter back results in PDP activation success and GPRS session works.

Why this check? Why do we not echo all the xid fields back? Did it break with some other phone?


Files

krzr_llc.pre_patch.pcap krzr_llc.pre_patch.pcap 1.6 KB keith, 04/29/2019 05:44 PM
krzr_llc.post_patch.pcap krzr_llc.post_patch.pcap 1.11 KB keith, 04/29/2019 05:44 PM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)