All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCHv2 1/4] Automatic provisioning of GPRS context settings
@ 2011-01-03  7:31 Jukka Saunamaki
  2011-01-03  7:31 ` [RFC PATCHv2 1/4] sim: add ofono_sim_get_mnc_length Jukka Saunamaki
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Jukka Saunamaki @ 2011-01-03  7:31 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1375 bytes --]

Hello

Here is another RFC patchset about implementing automatic provisioning of Internet and MMS GPRS context settings. ("Internet Access Provider database" TODO item).

In case there are no previously configured contexts found during gprs atom registration, this code tries to provision Internet and MMS contexts based on MCC, MNC and SPN (Service Provider Name) values read from SIM. Settings are read from an operator settings database.

Settings database is an XML formatted file (combination of all xml-files in a directory), containing one element per settings for a specific type of GPRS context (internet, mms)
Example:
<?xml version="1.0"?>
<settings>
<access type="internet" mcc="246" mnc="81" spn="oFono" name="Phonesim Internet-GPRS" apn="internet.apn"/>
<access type="mms" mcc="246" mnc="81" spn="oFono" name="Phonesim MMS-GPRS" apn="mms.apn" protocol="ipv4" username="mmsuser" password="mmspass" proxy="10.11.12.13:8080" mmsserver="http://mms.example.com:8000"/>
</settings>


Provisioning logic: first try to find exact match for type,MCC,MNC and SPN. If that fails (or if SPN read from SIM is missing/empty), we select first match for type/MCC/MNC. If also that fails, an empty context is created (as currently).

Patches also add new function ofono_sim_get_mnc_length to SIM atom API
for figuring out MNC value.

--Jukka Saunamäki



^ permalink raw reply	[flat|nested] 25+ messages in thread
* [RFC PATCHv2 1/4] Automatic provisioning of GPRS context settings
@ 2011-09-08  7:38 manju krishna
  0 siblings, 0 replies; 25+ messages in thread
From: manju krishna @ 2011-09-08  7:38 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

Hello,

  This is Manju Krishna working for mPortal.I was going through your
internet uploads regarding the GPRS provisioning.

I would like to have complete code snippnet for activation of GPRS.This
particular information will be great help to me in project.


Regards,
Manju Krishna

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 388 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2011-09-08  7:38 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-03  7:31 [RFC PATCHv2 1/4] Automatic provisioning of GPRS context settings Jukka Saunamaki
2011-01-03  7:31 ` [RFC PATCHv2 1/4] sim: add ofono_sim_get_mnc_length Jukka Saunamaki
2011-01-03 20:37   ` Marcel Holtmann
2011-01-03  7:31 ` [RFC PATCHv2 2/4] operator-settings: Add GPRS context provisioning sources Jukka Saunamaki
2011-01-03  7:31 ` [RFC PATCHv2 3/4] gprs: add automatic context settings provisioning Jukka Saunamaki
2011-01-03  7:31 ` [RFC PATCHv2 4/4] operator-settings: Example GPRS context settings file Jukka Saunamaki
2011-01-03  8:57 ` [RFC PATCHv2 1/4] Automatic provisioning of GPRS context settings Kalle Valo
2011-01-03 10:44   ` Jukka Saunamaki
2011-01-03 11:40     ` Kalle Valo
2011-01-03 13:32       ` Aki Niemi
2011-01-03 13:38       ` Jukka Saunamaki
2011-01-03 20:34         ` Marcel Holtmann
2011-01-03 11:28   ` Aki Niemi
2011-01-03 20:31     ` Marcel Holtmann
2011-01-03 23:03 ` Marcel Holtmann
2011-01-04  7:13   ` Jukka Saunamaki
2011-01-04  8:05     ` Marcel Holtmann
2011-01-04  8:42       ` Jukka Saunamaki
2011-01-04  9:29         ` Marcel Holtmann
2011-01-04  8:23   ` Kalle Valo
2011-01-04  8:30     ` Marcel Holtmann
2011-01-04 10:00       ` Kalle Valo
2011-01-11  0:59         ` Marcel Holtmann
2011-01-13 22:41           ` Kalle Valo
  -- strict thread matches above, loose matches on Subject: below --
2011-09-08  7:38 manju krishna

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.