Denis Kenzior
b274e74102
netreg: Remove netreg atom in case init fails
2012-09-11 23:21:48 -05:00
Denis Kenzior
bb0f308223
netreg: Don't register for CIEV twice
2012-09-11 23:20:53 -05:00
Christopher Vogl
edbf04cded
netreg: Add telit version for ciev notification
2012-09-11 23:16:32 -05:00
Christopher Vogl
b87619a43a
netreg: Query and select supported CMER modes
2012-09-11 22:54:43 -05:00
Marcel Holtmann
ec4ba8a6fc
atmodem: Enable Icera radio access technology updates
2012-05-26 16:15:34 +02:00
Marcel Holtmann
2c2871cd9e
atmodem: Fix parsing of Icera network state updates
2012-05-25 14:46:41 +02:00
Marcel Holtmann
119b4434b4
atmodem: Add support for Icera network status updates
2012-05-24 05:00:01 +02:00
Marcel Holtmann
a96422cd50
atmodem: Add support for Icera network time handling
2012-05-24 04:58:35 +02:00
Marcel Holtmann
1f9f161e0b
atmodem: Fix issue with AT+CREG=? and AT+CGREG=? handling
...
Some modems might see an interim +CREG: or +CGREG: notification when
querying the supported modes.
Aux: > AT+CFUN=1\r
Aux: < \r\nOK\r\n
Aux: > AT+CREG=?\r
Aux: < \r\n+CREG: 2\r\n
Aux: < \r\n+CREG: (0-2)\r\nOK\r\n
Unable to initialize Network Registration
To make this work, skip to the first line with an actual range value.
2012-05-24 03:28:50 +02:00
Marcel Holtmann
929c529716
atmodem: The Icera modem does not support CIND reporting
2012-05-22 12:03:00 +02:00
Marcel Holtmann
04ab1b2863
atmodem: Use CSQ based notification for IFX signal strength
...
Since the XCIEV notifications are unclear, use XCSQ notifcations to
report signal strength updates.
2012-02-16 08:20:29 +01:00
Marcel Holtmann
bba5a1a000
atmodem: Ignore results from IFX radio signal strength indication
...
It seems the that XCIEV notification actually returns results from XCSQ
and not the described range 0-7. This makes this notification rather
useless to report signal strength.
2012-02-16 08:15:48 +01:00
Marcel Holtmann
1ed0b9997c
atmodem: Fix handling of IFX signal strength indication
2012-02-14 15:23:59 +01:00
Marcel Holtmann
286b4a8530
atmodem: Add debug for IFX signal strength reporting
2012-02-14 14:53:51 +01:00
Renat Zaripov
a81490560b
atmodem: Add SIMCOM vendor quirk
...
Adding vendor quirk for SIMCOM SIM900 modem module.
2012-01-11 23:48:24 -06:00
Christopher Vogl
750658f23f
telit: use CIND "rssi" indicator instead of "signal"
...
"signal" indicator permanently reports 99 (not measurable).
2011-12-15 22:37:10 -06:00
Marcel Holtmann
4e77afffb3
drivers: Update copyright information
2011-10-10 13:39:48 -07:00
Marcel Holtmann
be747df578
atmodem: Samsung devices do not support CIND signal strength reporting
2011-08-09 16:50:29 -07:00
Marcel Holtmann
45e3dc1b3e
atmodem: Add support for ZTE technology reporting
2011-08-04 00:39:29 +02:00
Marcel Holtmann
eea276a0a8
atmodem: Enable timezone reporting for ZTE modems
2011-08-03 23:26:53 +02:00
Marcel Holtmann
a69690b3b5
atmodem: Add Huawei specific technology reporting
2011-07-29 13:11:44 +02:00
Marcel Holtmann
95c9e12da2
atmodem: Add support for Huawei network time reports
2011-07-25 16:53:03 +02:00
Bernhard Guillon
128f96d097
network-registration.c: add telit support
...
*add support for CIND=? tokens like ("signal",(0-7,99))
*add telit quirk for token encapsulation e.g.
(("one",(0-7,99)),("two",(0-7,99)))
2011-06-06 17:50:03 -05:00
Jeevaka Badrappan
97eea8144b
atmodem: fix issue in time reporting with ifx
2011-03-18 09:51:57 -07:00
Jeevaka Badrappan
4258fb5915
atmodem: remove NULL check
2011-01-29 18:39:37 +01:00
Marcel Holtmann
89c4ea6130
atmodem: Add support for technology reporting via CNTI
2011-01-22 15:03:12 +01:00
Marcel Holtmann
62686f7719
atmodem: Add support for Gobi technology change handling
2011-01-22 13:12:15 +01:00
Aki Niemi
56b428dcd5
atmodem: Remove deregister implementation
2011-01-20 09:55:23 -06:00
Jeevaka Badrappan
3ae5e46b69
atmodem: fix signal strength issue with ifx
2011-01-18 16:05:29 +01:00
Jeevaka Badrappan
b97676acc3
atmodem: M15 coding style fix
2011-01-12 08:06:58 -08:00
Marcel Holtmann
39599b9106
netreg: Report timezone updates if available
2010-12-26 11:47:32 -08:00
Lucas De Marchi
b82a7f8511
drivers: explicitly compare pointers to NULL
...
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/ )
// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@
- !E
+ E == NULL
// </smpl>
2010-11-29 11:37:09 -06:00
Marcel Holtmann
0ec69a291d
atmodem: Add dummy handler for generic time zone update
2010-10-28 19:11:18 +02:00
Marcel Holtmann
ed7a22c867
atmodem: Time reporting on Infineon modem is IFX specific
...
The time reporting via +CTZV and +CTZDST on the Infineon modem is not
following the standard. So mark these clearly as IFX specific.
2010-10-28 19:05:29 +02:00
Marcel Holtmann
969e242d72
atmodem: Enable home zone reporting for IFX modems
...
For the Infineon modem the AT+XHOMEZR option can be set to get informed
about home zone labels. If this information is available, it it still
not properly used, but it shows up in the traces for reference.
2010-10-28 19:01:55 +02:00
Marcel Holtmann
8da7e98ce4
atmodem: Enable time zone reporting for Option modems
2010-10-25 02:03:00 +02:00
Marcel Holtmann
033c772e7b
atmodem: Enable time update reporting for MBM modems
2010-10-24 21:48:56 +02:00
Marcel Holtmann
cf2ba64872
atmodem: Parse optional PLMN parameter of AT+COPS=? result
...
The Infineon modem adds an optional <plmn_list> parameter after the
access technology parameter <AcT>. It is not always present, but when
present it makes the operator listing fail.
+COPS: (2,"T-Mobile D","TMO D","26201",0,0),(3,"E-Plus","E-Plus","26203",0,),(3,"Vodafone.de","Vodafone.de","26202",0,),(3,"o2 - de","o2 - de","26207",0,)
Not all networks have this parameter and maybe only the home network
has it anyway. And so far this feature seems to be Infineon specific,
but just in case, parse the parameter if present to make sure the
operator listing is available.
2010-10-22 01:00:58 +02:00
Marcel Holtmann
040a34cad2
atmodem: Decode and report time information from network
2010-10-20 13:55:20 +02:00
Marcel Holtmann
98eed08d29
atmodem: Add skeleton for time update reporting
2010-10-20 13:27:04 +02:00
Marcel Holtmann
2be1c13dbb
atmodem: Add special handling of Infineon signal strength reporting
...
The custom signal strength reporting could be done inside the modem
plugin actually, but Calypso, Huawei etc. add quirks to the generic
network registration driver. So for now do it the same way until
this gets cleaned up for all modem plugins.
2010-09-24 18:23:31 +09:00
Marcel Holtmann
1313a2fe01
atmodem: Fix copy and paste typo
2010-08-20 16:53:07 +02:00
Marcel Holtmann
cda0fd9eff
atmodem: Enable MBM specific notification for registration and bearer
2010-08-20 16:50:42 +02:00
Marcel Holtmann
3aa7e1b18e
atmodem: Add really nasty hack for Nokia AT+COPS bug
...
The Nokia modem returns an invalid response when trying to read the
numeric value for MCC/MNC of the current network.
Control:> AT+COPS?\r
Control:< \r\n+COPS: 0,2,"26207,0\r\n\r\nOK\r\n
The closing " is just missing and this confuses the AT parser. In case
of a Nokia modem skip reading the numerical values for the network.
2010-08-20 03:00:49 +02:00
Marcel Holtmann
667c4eea84
atmodem: No CIND for Nokia data cards
2010-08-20 02:24:53 +02:00
Marcel Holtmann
a8d3e7433a
atmodem: Remove useless NULL checks before g_free
2010-08-16 22:02:01 +02:00
Marcel Holtmann
83a04505bf
netreg: Add quirk for ZTE modem without CIND support
2010-08-16 15:14:17 +02:00
Denis Kenzior
ac524be99f
atmodem: Use g_at_chat_clone
2010-08-12 16:40:40 -05:00
Denis Kenzior
7f1a923ebf
hso: Don't query tech if not registered or roaming
...
{NetworkRegistration} [/hso0] LocationAreaCode = 34591
{NetworkRegistration} [/hso0] CellId = 5903759
{NetworkRegistration} [/hso0] Strength = 32
{NetworkRegistration} [/hso0] Strength = 22
{PrimaryDataContext} [/hso0/primarycontext1] Settings =
dbus.Dictionary({}, signature=dbus.Signature('sv'), variant_level=1)
{PrimaryDataContext} [/hso0/primarycontext1] Active = 0
{DataConnectionManager} [/hso0] Attached = 0
{NetworkRegistration} [/hso0] Status = searching
{NetworkRegistration} [/hso0] Technology = umts <--- Oops
{NetworkOperator} [/hso0/operator/26201] Status = available
{NetworkRegistration} [/hso0] Name =
{NetworkRegistration} [/hso0] Status = registered
{NetworkRegistration} [/hso0] LocationAreaCode = 35342
{NetworkRegistration} [/hso0] CellId = 5903759
{NetworkRegistration} [/hso0] Technology = edge
2010-06-24 20:54:36 -05:00
Denis Kenzior
5a1c7eef08
atmodem: Couple tiny style fixes
2010-06-14 12:46:11 -05:00