Bug 86261 - ModemManager PDP context APN scan should be case insensitive.
Summary: ModemManager PDP context APN scan should be case insensitive.
Status: RESOLVED FIXED
Alias: None
Product: ModemManager
Classification: Unclassified
Component: general (show other bugs)
Version: git master
Hardware: All All
: medium minor
Assignee: ModemManager bug user
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-13 18:35 UTC by Tyler Smith
Modified: 2014-11-14 11:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to make APN comparison case insensitive. (741 bytes, text/plain)
2014-11-13 18:35 UTC, Tyler Smith
Details

Description Tyler Smith 2014-11-13 18:35:38 UTC
Created attachment 109435 [details]
Patch to make APN comparison case insensitive.

According to see 3GPP TS 23.003 chapter 9.1, the APN name is case insensitive (thanks dcbw and roox for helping clarify this). 

ModemManager does not currently use a case-insensitive comparison when scanning the list provided from AT+CGDCONT?

A new cut of modem firmware for a Sierra HL7, has a "feature" or bug that converts the all lowercase APN that was input to all uppercase when read back later. This causes ModemManager to use a new PDP context ID each time and exhaust the PDP CID slots after several connections.

With a single line comparison change, this could be prevented and more closely follow the 3GPP spec. Patch for master branch attached.

Please let me know if more description/clarification is needed.
Comment 1 Aleksander Morgado 2014-11-14 11:15:44 UTC
Pushed to git master and mm-1-4, thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.