Marcel Holtmann
48a5fec5cc
atmodem: Monitor IFX technology and band changes
2012-11-23 16:20:15 +01:00
Cedric Jehasse
b728a02981
atmodem: add PIN retry count for Alcatel modems
2012-11-15 12:31:06 -06:00
Cedric Jehasse
5f9c1e9e34
atmodem: Poll SIM state after entering PIN
...
Encountered a problem of CME ERROR 14: SIM busy on Alcatel and Huawei modem.
The Huawei modem has a ^SIMST unsollicited sim state indication, but not all
Huawei modems support this.
So poll the SIM state, as was already done for ZTE modems.
2012-11-12 13:30:38 -06:00
Cedric Jehasse
0f242c9714
atmodem: Add ALCATEL vendor
2012-11-12 13:30:13 -06:00
Holger Hans Peter Freyther
2b9b1ae6d3
sim: Fix the quirk handling of CPIN for Wavecom
...
The Wavecom Q2XXX support broke in commit 72ce19bf3e
.
This is because at_cpin_cb called decode_at_error with final and not
with OK. This lead to an error being set in the error variable and the
new code returns early when an error is set.
The addition of the terminator in at_sim_probe for Wavecom broke in
git commit ac524be99f
because
terminators can not be added on cloned chats.
Move the addition of the terminator from the atmodem to the wavecom
plugin. Use the same terminator for Q2XXX and the normal Wavecom
class. The WAVECOM terminator has been tested on a Q2XXX modem.
Apply the CPIN quirk for both WAVECOM and WAVECOM_Q2XXX inside the
sim.c file. Introduce needs_wavecom_sim_quirk to handle it for
WAVECOM and WAVECOM_Q2XXX.
2012-11-01 04:56:51 -05:00
Denis Kenzior
bddfb9bfc5
isimodem: Fix style issues in previous commit
2012-09-11 23:30:25 -05:00
Jarko Poutiainen
dc2dc41bcf
isimodem: voicecall answer fix for Nemo on N9
...
Voicecall answering in Mer/Nemomobile run on Nokia N9 will fail
unless call id is passed to modem.
2012-09-11 23:29:43 -05:00
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
Philippe Nunes
006a37cdf8
atmodem: specify class for call barring query
...
class is specified when querying the call barring status if
the class is not the default (7 - voice, data and fax)
2012-09-05 15:04:18 -05:00
Christopher Vogl
90c7bdfc8d
sim: return from CPIN when SIM unlocked for telit
...
Only return from CPIN when the modem informs that the SIM is ready
2012-08-22 18:44:18 -05:00
August Mayer
4293e4ea63
gprs: data bearer for telit with PSNT
...
Telit neither supports '+CPSB' nor reports the data bearer through
'+CGREG'. It has its own +PSNT command.
2012-08-16 01:10:56 -05:00
Denis Kenzior
b264440737
sim: Minor formatting nitpicks
2012-08-16 01:05:54 -05:00
Denis Kenzior
aec21db6cb
sim: Fix warning
...
drivers/atmodem/sim.c: In function ‘at_pct_cb’:
drivers/atmodem/sim.c:872:2: error: ISO C90 forbids mixed declarations
and code
2012-08-16 01:05:46 -05:00
August Mayer
ee8ba6f2ff
sim: support PIN retry counters for telit modems
2012-08-16 01:00:28 -05:00
Christopher Vogl
76ccb73063
gprs-context: print reason for ppp disconnect
2012-08-13 08:38:30 -05:00
Guillaume Zajac
79b6fd4b24
gprs-context: Add new driver entry definition
2012-07-15 20:05:23 -05:00
Marcel Holtmann
dd3db6f6bd
qmimodem: Avoid shadowing length parameter
2012-07-15 20:16:59 -03:00
Marcel Holtmann
3be98b5b97
isimodem: Avoid shadowing variables
2012-07-15 20:14:12 -03:00
Denis Kenzior
2e51814f32
ifx: Add CSSI and CSSU support
2012-07-12 14:12:55 -05:00
Denis Kenzior
05bf01991d
qmi: fix whitespace
2012-06-24 17:40:59 -05:00
Marcel Holtmann
1c20ec6c16
modem: Add skeleton for USSD support
2012-06-25 20:24:33 -07:00
Marcel Holtmann
71f6d63859
qmimodem: Add skeleton for voice call support
2012-06-25 12:11:08 -07:00
Marcel Holtmann
a04341cdb6
qmimodem: Make sure all service destroy functions are called
2012-06-25 10:25:03 -07:00
Marcel Holtmann
a41b7a246b
qmimodem: Add support for canceling all service requests
2012-06-25 10:20:08 -07:00
Marcel Holtmann
5ada27b7c1
qmimodem: Use shared DMS service for device information and SIM handling
2012-06-25 09:31:49 -07:00
Marcel Holtmann
a19dc51227
qmimodem: Add support for shared services with same client id
2012-06-25 09:30:31 -07:00
Marcel Holtmann
18fb4817f7
qmimodem: Use unsigned int for notify id to make GUINT_TO_POINTER happy
2012-06-25 01:57:15 -07:00
Marcel Holtmann
8f2549416a
qmimodem: Use unsigned int for tid to make GUINT_TO_POINTER happy
2012-06-25 01:23:14 -07:00
Marcel Holtmann
2c00dfb0fe
qmimodem: Use unsigned int for hash_id to make GUINT_TO_POINTER happy
2012-06-25 01:18:48 -07:00
Marcel Holtmann
9faf249e8e
swmodem: Add extra informational AT+CGCONTRDP command
2012-06-25 00:02:17 -07:00
Marcel Holtmann
b168c0f953
qmimodem: Add support for unregister of individual notifications
2012-06-24 23:31:49 -07:00
Marcel Holtmann
29067f75bc
qmimodem: Add support for canceling service requests
2012-06-24 23:20:25 -07:00
Marcel Holtmann
d4d639f40e
qmimodem: Add skeleton for radio settings support
2012-06-24 22:56:27 -07:00
Marcel Holtmann
1631d21e35
qmimodem: Return transaction identifier from service requests
2012-06-24 22:38:26 -07:00
Marcel Holtmann
74d208768a
qmimodem: Add helper function for accessing 64-bit integers
2012-06-24 22:24:56 -07:00
Marcel Holtmann
797f3a502e
qmimodem: Add common constants for GSM, UMTS and LTE bands
2012-06-24 22:21:39 -07:00
Marcel Holtmann
8c590a85c2
qmimodem: Add support for SMS handling
2012-06-22 13:20:11 -07:00
Marcel Holtmann
c958378d6c
qmimodem: Add support for GPS location reporting
2012-06-21 21:08:31 -07:00
Marcel Holtmann
b12dad8883
qmimodem: Add support for GPRS data connection handling
2012-06-21 20:47:22 -07:00
Marcel Holtmann
b36bb2ee50
qmimodem: Add support for network registration handling
2012-06-21 18:44:43 -07:00
Marcel Holtmann
3a42d98623
qmimodem: Add support for legacy SIM handling
2012-06-21 17:29:16 -07:00
Marcel Holtmann
ad20ea12c5
qmimodem: Add support for device information handling
2012-06-21 16:07:59 -07:00
Marcel Holtmann
0e6fc7aee4
qmimodem: Add support for QMI control point handling
2012-06-21 15:18:36 -07:00
Denis Kenzior
b6588a9e9e
sms: Constify isimodem driver submit method
2012-06-16 09:50:05 -05:00
Denis Kenzior
b947ee702b
sms: Constify atmodem driver submit method
2012-06-16 09:50:05 -05:00
Pablo Neira Ayuso
78637b130d
sim: Quirk Wavecom Q2XXX CPIN behavior
2012-05-31 09:48:12 -05:00
Pablo Neira Ayuso
535ff69ded
sms: Handle quirky Wavecom Q2XXX CPMS syntax
2012-05-30 00:03:10 -05:00
Pablo Neira Ayuso
1ccecfe01e
sim: Handle quirky CPIN of Wavecom Q2XXX
2012-05-30 00:03:10 -05:00
Pablo Neira Ayuso
88b7e73ffb
drivers: add quirk for Wavecom Q2403/Q2686 modems
...
The existing wavecom driver in tree slightly differs from these
modems. Thus, it doesn't work work with them. We (the osmocom
team) use these Wavecom Q2403/Q2686 modems in our testbed.
2012-05-30 00:03:10 -05:00
Marcel Holtmann
85d43570fd
build: Add skeleton for Qualcomm QMI modem driver
2012-05-27 10:13:55 +02:00
Marcel Holtmann
ec4ba8a6fc
atmodem: Enable Icera radio access technology updates
2012-05-26 16:15:34 +02:00
Marcel Holtmann
3f191c3397
huaweimodem: Use network interface from modem for GPRS context
2012-05-26 09:48:25 +02:00
Marcel Holtmann
a589766884
iceramodem: Read supported bands as part of radio settings
2012-05-25 20:54:21 +02:00
Marcel Holtmann
2c2871cd9e
atmodem: Fix parsing of Icera network state updates
2012-05-25 14:46:41 +02:00
Marcel Holtmann
1698d720ce
atmodem: Add support for Icera PIN retry counters
2012-05-25 14:32:28 +02:00
Marcel Holtmann
f29aab2515
iceramodem: Handle context deactivation responses
2012-05-25 12:55:08 +02:00
Marcel Holtmann
6afa4434b7
iceramodem: Add support special radio settings handling
2012-05-25 10:32:33 +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
19e7437c46
atmodem: Icera devices don't support SMS ACK PDUs either
2012-05-24 03:54:29 +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
9b288f92f8
iceramodem: Add special GPRS context driver
2012-05-22 12:05:24 +02:00
Marcel Holtmann
929c529716
atmodem: The Icera modem does not support CIND reporting
2012-05-22 12:03:00 +02:00
Marcel Holtmann
d543281e4f
atmodem: Add specific quirk for Icera modems
2012-05-22 12:02:30 +02:00
Guillaume Zajac
d0232dee06
atmodem: Poll SIM state after having entered PIN
...
We encountered the problem of CME ERROR 14: SIM busy on ZTE modems.
ZTE modems don't use SIM notification to check SIM state.
We poll SIM ready state before confirming PIN is entered.
2012-04-18 04:22:19 -05:00
Guillaume Zajac
fb92db81d4
atutil: Add destroy notify to sim_state_query
2012-04-18 04:06:43 -05:00
Denis Kenzior
2bc5a791d7
speedup: No need to parse error
2012-04-16 13:15:52 -05:00
Denis Kenzior
8227642757
speedup: Remove ussd atom in case we fail to init
2012-04-16 13:15:52 -05:00
Denis Kenzior
77de440f28
atmodem: Remove ussd atom in case we fail to init
2012-04-16 13:15:52 -05:00
Nicolas Bertrand
a9cc215bc5
speedup: Add speedup driver to handle USSD
2012-04-16 13:15:52 -05:00
Michael Brudevold
ef25cf1adf
hfpmodem: use full CLCC handling in dialing case
...
A call that moves from the dialing to active state before the +CLCC response
will not properly be added as a voicecall. This is because the dialing callback
was using simplified handling and only looked for calls in the dialing or
alerting state.
AT sequence that exhibited the failure (AG device was an iPhone accessing
visual voicemail):
> +CIND: ("service",(0-1)),("call",(0-1)),("callsetup",(0-3)),
("battchg",(0-5)),("signal",(0-5)),("roam",(0-1)),("callheld",(0-2))
...
> +CIEV: 3,2
< AT+CLCC
> +CIEV: 2,1
> +CIEV: 3,0
> +CLCC: 1,0,0,0,0,"**21153**",129,"Voicemail"
2012-04-11 23:54:38 -05:00
Philippe Nunes
09449f1e66
sms: Add ZTE quirk for CDS notifications
2012-04-06 11:05:48 -05:00
Denis Kenzior
ccbccc9bd0
nwmodem: Remove atom if driver fails to init
2012-03-26 16:50:59 -05:00
Denis Kenzior
86e64128fa
ifxmodem: Remove atom if driver fails to init
2012-03-26 16:50:46 -05:00
Denis Kenzior
979b244fcf
hsomodem: Remove atom if driver fails to init
2012-03-26 16:50:36 -05:00
Denis Kenzior
ab4cfc1070
ztemodem: Remove atom if driver fails to init
2012-03-26 16:50:11 -05:00
Denis Kenzior
e9fc8c6411
ztemodem: Fix compile error
...
drivers/ztemodem/radio-settings.c:129: error: ‘value’ may be used
uninitialized in this function
2012-03-26 16:49:38 -05:00
Bertrand Aygon
75e3bb6167
ztemodem: Add radio settings support
2012-03-26 16:42:38 -05:00
Bertrand Aygon
87bda87830
Add ZTE modem driver
2012-03-26 16:38:19 -05:00
Jarkko Lehtoranta
8b11ee67d7
huaweimodem: Fix AT^DDSETEX=2 timing for voice calls
...
Voice output serial port is enabled on some Huawei models (e.g. E169)
without problems, but for example on E173u-2 it is never enabled
during an incoming call. There might also be other Huawei models
having the same issue.
I traced the issue down to "^DDSETEX" AT command, which is used
to notify the device to start streaming audio. It seems that Ofono
sends this command too early on incoming calls. The command should
always be sent *after* the dial "D" or answer "A" command. The patch
fixes this behavior and afterwards voice will also work on E173u-2.
2012-03-24 11:50:34 -07:00
Denis Kenzior
31e1b2e6ce
sim: Don't use sprintf unnecessarily
...
Using sprintf for a single quote is quite wasteful
2012-03-23 08:28:37 -05:00
Denis Kenzior
95e7982938
sim: Fix up various coding style violations
2012-03-23 08:27:44 -05:00
Nicolas Bertrand
ad29b6d18f
sim: Use quoted string with AT+CRSM data parameter
...
Fix issue with some modems preventing to update elementary files
(speedup, ZTE, huawei, MBM)
2012-03-23 08:12:24 -05:00
Marcel Holtmann
63acbad39a
swmodem: Add support for IPv6 and IPv4v6 contexts
2012-03-21 22:09:03 -07:00
Marcel Holtmann
81ad5ea8e0
swmodem: Add Sierra Wireless DirectIP support
2012-03-21 21:13:13 -07:00
Marcel Holtmann
82d0c258c3
swmodem: Add Sierra Wireless modem driver
2012-03-21 21:10:30 -07:00
Marcel Holtmann
6b0880f8a7
isimodem: Remove includes of <glib/gtypes.h>
2012-03-19 16:12:36 -07:00
Denis Kenzior
ebac438d93
voicecall: Fix strange GTA04 modem CLCC behavior
2012-03-06 10:12:31 -06:00
Renat Zaripov
c217638197
sms: Disable sending AT+CNMA with SIMCOM quirk
...
SIMCOM SIM900 modem module not support AT+CNMA command
2012-02-27 20:29:22 -06:00
Denis Kenzior
876fb9e1b4
atutil: Ignore invalid CLCC results
...
Some phones report CLCC calls with out-of-range info. E.g. call index
being 0 (it is 1 based according to 27.007) and call states being
reported as '6' (valid call states are 0-5.)
2012-02-27 20:28:42 -06:00
Renat Zaripov
409b0f01b6
sim: Add SIMCOM specific PIN retry handling
...
Use AT+SPIC for obtaining retries remaining for SIM PIN / PUK
AT+SPIC Retries Remaining to Input SIM PIN/PUK
+SPIC: <pin1>,<pin2>,<puk1>,<puk2>
Parameters
<pin1> Times remained to input chv1
<pin2> Times remained to input chv2
<puk1> Times remained to input puk1
<puk2> Times remained to input puk2
2012-02-22 04:14:16 -06: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
Marcel Holtmann
e5c966ce53
ifxmodem: Add support for dynamic DNS for IPv6 and dual mode contexts
2012-02-10 12:02:42 +01:00
Marcel Holtmann
5c5eff0b5b
ifxmodem: Add support for IPv6 and dual mode contexts
2012-02-10 11:45:34 +01:00