Commit Graph

1340 Commits

Author SHA1 Message Date
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
Marcel Holtmann 25bde3be6b ifxmodem: Remove audio settings mode handling
With the current updated setup, the audio settings mode is no longer
provided. So don't bother even trying to configure it.
2012-02-10 10:04:34 +01:00
Marcel Holtmann b88a621528 ifxmodem: Remove another usage g_utf8_validate 2012-02-10 09:42:54 +01:00
Denis Kenzior 9d666ccce0 ifx: Don't use g_utf8_validate
Emergency Numbers can only be digits, so there's no point to use the
'Hammer of Thor' that is g_utf8_validate when a much simpler function
will do the job just as well.
2012-02-10 00:38:37 -06:00
Denis Kenzior 7e42c5bbb0 ifx: Modify XLEMA behavior
XLEMA reports emergency numbers that are hardcoded (e.g. 112 and 911)
and that are already read from EFecc.  The additional emergency numbers
we are interested in should only come from the NVM or the network NITZ
update.
2012-02-09 22:34:02 -06:00
Marcel Holtmann cfdc96186e ifxmodem: Handle malformed emergency numbers
This might be either a modem firmware bug or the SIM card is provisioned
really badly, but the last entry contains garbage characters.

ofonod[20620]: Voice: < \r\n+XLEMA: 1,9,"112",,1\r\n\r\n+XLEMA: 2,9,"911",,1\r\n\r\n+XLEMA: 3,9,"000",57,1\r\n\r\n+XLEMA: 4,9,"08",49,1\r\n\r\n+XLEMA: 5,9,"112",49,1\r\n\r\n+XLEMA: 6,9,"118",0,1\r\n\r\n+XLEMA: 7,9,"119",0,1\r\n\r\n+XLEMA: 8,9,"911",0,1\r\n\r\n+XLEMA: 9,9,"999\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377",0,1\r\n

Fix this by just validating the string and cutting off once an invalid
character is found.
2012-02-10 02:15:16 +01:00
Denis Kenzior d5bdd1f741 ifx: Add necessary incantations for audio 2012-02-09 08:36:18 -06: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
Marcel Holtmann b111c99026 huaweimodem: Reset errors for USSD cancel operation 2012-01-12 06:25:36 +01:00
Marcel Holtmann 6ada7d8bdc huaweimodem: Add support for USSD 8-bit PDU mode
The Huawei devices support a special 8-bit PDU mode for USSD that is
by default selected (AT^USSDMODE=1). It avoids the complicated logic
for character set selection and conversion.
2012-01-12 06:02:16 +01:00
Marcel Holtmann f654d75182 atmodem: Add more debug for USSD response parsing 2012-01-12 04:01:07 +01:00
Guillaume Zajac 38056fdd50 atmodem: Create new sim driver without EF entries
This driver will be used by CDMA modems to support PIN
management and IMSI retreival.
EF entries for CDMA modems cannot be implemented without
manufacturers specifications.
2012-01-11 06:46:24 -06:00
Denis Kenzior 6f2f3897c7 ussd: Remove CSCS handling for QUALCOMM_MSM 2012-01-11 06:38:28 -06:00
Marcel Holtmann b9e86d98be huaweimodem: Move CDMA network registration into default driver
With merging the GSM/UTMS and CDMA modem plugin into a unified version,
it also makes sense to merge the Huawei specific vendor atom drivers
into one.
2012-01-06 19:53:23 -08:00
Marcel Holtmann 9e26e29f8d atmodem: Add call state polling for Qualcomm MSM based modems
The voice call support of the Qualcomm MSM based modems does not report
NO CARRIER, NO ANSWER or BUSY unsolicited notifications. So keep polling
for call state changes via AT+CLCC even during an active call.
2012-01-06 14:08:35 -08:00
Marcel Holtmann 02cbee4955 atmodem: Disable AT+COLP for Qualcomm MSM based modems
In case of Qualcomm MSM based modems, AT+COLP=0 needs to be used to make
ATD<number>; return right away. Otherwise it only returns once the remote
party accepted or rejected the call.
2012-01-06 14:05:59 -08:00
Syam Sidhardhan 5e06f070aa atutil: Fix newline before EOF 2012-01-01 18:17:36 -06:00
Syam Sidhardhan 31db8836a6 isimodem: Remove extra bogus semicolon 2011-12-28 16:00:39 -06:00
Marcel Holtmann 2e0f1f79c1 atmodem: Add support for Option HSO specific PIN retry counters 2011-12-29 12:08:38 -08: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
Philippe Nunes f960c954e4 huaweicdmamodem: Fix sysinfo parsing
In practice, the service domain is set to 255 (cdma not supported)
with an EV-DO capable hardware.
2011-12-09 06:12:56 -06:00
Denis Kenzior ef732d0c18 cdma-connman: Turn off modem dormancy timeouts 2011-12-09 05:35:48 -06:00
Guillaume Zajac 801f97ddf6 cdma-connman: Support Huawei dormant notifications 2011-12-08 06:22:59 -06:00
Guillaume Zajac dcd1730c3a huaweicdma: Add data strength notification support 2011-12-07 09:55:28 -06:00
Guillaume Zajac 7fd5c92036 cdmamodem: Notify when connection is lost 2011-11-04 15:14:10 -05:00
Mikel Astiz 3f41ebe5c7 hfpmodem: Report features supported by AG 2011-10-21 13:56:43 -05:00
Mikel Astiz bab9de3843 hfpmodem: devinfo atom added to export BT address 2011-10-21 13:19:17 -05:00
Mikel Astiz 7100435142 hfpmodem: Avoid segfault in handsfree
The use of g_idle_add can cause a segmentation fault if the object is
destroyed in the meantime.
2011-10-21 13:17:40 -05:00
Mikel Astiz 6e5edc8ead hfpmodem: Avoid segfault in call-volume
The use of g_idle_add can cause a segmentation fault if the object is
destroyed in the meantime.
2011-10-21 13:17:17 -05:00
Mikel Astiz c1ed32db9d hfpmodem: Avoid segfault in network-registration
The use of g_idle_add can cause a segmentation fault if the object is
destroyed in the meantime.
2011-10-21 13:17:13 -05:00
Mikel Astiz bb0bcef256 hfpmodem: Support for AT+BVRA 2011-10-21 13:14:19 -05:00
Mikel Astiz 2cafaeed13 hfpmodem: minor whitespace fix 2011-10-20 12:57:36 -05:00
Mikel Astiz 813405500b hfpmodem: Support for +BSIR unsolicited responses 2011-10-20 12:53:34 -05:00
Marcel Holtmann 48190bdc11 drivers: Some more copyright fixes 2011-10-15 12:21:30 -07:00
Denis Kenzior 066690b17f handsfree: Pass the error information to the core
if available.  This is the preferred way, so that the core can take into
account the error information in the future if required.
2011-10-13 13:47:56 -05:00
Mikel Astiz 86cb93d410 hfpmodem: Support of number requests (AT+BINP=1) 2011-10-13 13:37:12 -05:00
Denis Kenzior 9a53aca0ab handsfree: Set in-band ringing before registering
Avoid an extra signal emission
2011-10-13 13:06:35 -05:00
Mikel Astiz f05a78a450 hfpmodem: Set initial state for inband ringing
According to the HFP specification, inband ringing will be enabled by
default if the AG supports it. This setting could later be changed by
the unsolicited result code +BSIR.
2011-10-13 13:01:14 -05:00
Mikel Astiz eb361d874c hfpmodem: Copyright statement correction 2011-10-13 12:27:27 -05:00
Marcel Holtmann 4e77afffb3 drivers: Update copyright information 2011-10-10 13:39:48 -07:00
Marcel Holtmann 98afba784d atmodem: Use ZTE specific vendor quirk for SMS support 2011-10-06 15:30:14 -07:00
Denis Kenzior 586a2a294a call-volume: Use g_idle_add to register 2011-09-09 01:05:47 -05:00
Mikel Astiz 7d5b57e47c hfpmodem: Add skeleton driver implemenetation 2011-09-09 00:30:14 -05:00
Aki Niemi 059a5c80f7 isimodem: Add UICC functionality
Based on patches from:
Iiro Kaihlaniemi <iiro.kaihlaniemi@nokia.com>
Jessica Nilsson <jessica.j.nilsson@stericsson.com>
2011-08-29 14:32:45 +03:00
Iiro Kaihlaniemi 1542b6f928 isimodem: Add UICC utilities 2011-08-29 14:32:43 +03:00
Iiro Kaihlaniemi 5acb0a8d7e isimodem: Allow network registration automatically 2011-08-29 14:32:43 +03:00
Iiro Kaihlaniemi ee92dedf28 isimodem: Add missing codepoints and debugs 2011-08-29 14:32:42 +03:00
Denis Kenzior 7893cc3ef2 stk: Use phonesim vendor for modem-handled cmds 2011-08-14 22:56:45 -05:00
Denis Kenzior f800764559 stk: Rewrite generic driver to use 27.007 commands 2011-08-14 22:56:45 -05:00
Denis Kenzior 9fb9d2385c sim-poll: Remove unused code 2011-08-14 22:56:45 -05:00
Marcel Holtmann be747df578 atmodem: Samsung devices do not support CIND signal strength reporting 2011-08-09 16:50:29 -07:00
Bertrand Aygon 786bcf70e2 huaweicdma: Implement 1X signal strength updates 2011-08-09 13:02:21 -05:00
Denis Kenzior 8b106baeb3 huaweicdmamodem: Use a more common boolean pattern 2011-08-09 13:00:56 -05:00
Bertrand Aygon 60ee930676 huaweicdma: Add netreg driver implementation 2011-08-09 12:58:15 -05:00
Denis Kenzior 266501b7f4 voicecall: Fix minor whitespace issue 2011-08-09 12:55:45 -05:00
Denis Kenzior 6b5761f5f0 hfpmodem: Use an enum 2011-08-08 10:16:21 -05:00
Frédéric Danis b8730eb47d hfpmodem: fix hf features
check audio gateway version and only set right features
2011-08-08 10:16:21 -05:00
Marcel Holtmann 98baf8c482 atmodem: Add vendor quirk entry for Samsung devices 2011-08-07 17:28:33 +02:00
Frédéric Dalleau f13b3d3a6b hfpmodem: Fix g_at_chat leak 2011-08-05 17:02:36 -05:00
Marcel Holtmann 63e8118eee atmodem: Add funny ZTE quirk for GPRS context support 2011-08-05 22:50:21 +02:00
Bertrand Aygon a3b0acd813 huaweicdmamodem: Add stub implementation 2011-08-05 10:48:49 -05:00
Marcel Holtmann caaff33422 atmodem: Add support for handling GPRS context vendor quirks 2011-08-05 17:59:55 +02:00
Marcel Holtmann 703d0a1237 speedup: Add support for retrieving PIN retry counters 2011-08-04 17:00:05 +02:00
Marcel Holtmann 4c8ae3f9ec atmodem: Add Speedup vendor quirk to SIM file reading 2011-08-04 15:54:26 +02:00
Marcel Holtmann 45e3dc1b3e atmodem: Add support for ZTE technology reporting 2011-08-04 00:39:29 +02:00
Marcel Holtmann 5b7d2329dc atmodem: Enable support for PIN retry counters of ZTE modems 2011-08-03 23:54:39 +02:00
Marcel Holtmann eea276a0a8 atmodem: Enable timezone reporting for ZTE modems 2011-08-03 23:26:53 +02:00
Marcel Holtmann 39ba2e7bcc atmodem: The ZTE dongles send LAC and CI as unquoted strings 2011-08-03 23:13:11 +02:00
Marcel Holtmann 85d7b3922e atmodem: The Speedup dongles send LAC and CI as unquoted strings 2011-08-03 22:37:16 +02:00
Mario Tokarz 452e55162a dunmodem: Add stub for gprs. 2011-08-03 22:34:04 +02:00
Guillaume Zajac 4a25f0227f devinfo: Use correct prefix for cdma 2011-08-03 12:10:52 -05:00
Bertrand Aygon 5bd28cef13 cdmamodem: remove an unneeded buffer and sprintf. 2011-08-03 19:05:02 +02:00
Marcel Holtmann 3ab79d8718 atutil: Handle empty SIM state polling request gracefully 2011-08-03 14:27:17 +02:00
Marcel Holtmann 14806ba527 mbmmodem: Set baud rate to 115200 for GPS interface 2011-07-29 20:50:37 +02:00
Marcel Holtmann d41b584de5 atmodem: Handle SIM busy condition gracefully for phonebooks
Before the phonebook is ready, the SIM card needs certain amount of
time. Something between 20-30 seconds in general. So if the modem
returns an error indicating the SIM is busy, then try again in
regular intervals.
2011-07-29 17:35:44 +02:00
Marcel Holtmann a69690b3b5 atmodem: Add Huawei specific technology reporting 2011-07-29 13:11:44 +02:00
Marcel Holtmann 7cabd1075c atmodem: Add Huawei specific GPRS bearer notifications 2011-07-29 13:11:17 +02:00
Marcel Holtmann 5a3a691199 dunmodem: Add support for dialup network registration 2011-07-28 00:02:11 +02:00
Marcel Holtmann c9632f9817 dunmodem: Add skeleton for dialup modem driver 2011-07-27 22:13:27 +02:00
Philippe Nunes 13b41706d1 atmodem: Add vendor entry for SpeedUp modems 2011-07-27 16:13:04 +02:00
Frédéric Danis c6c7fc3b16 hfpmodem: fix network status
When receiving roaming indicator update to 0 (no roaming) network
registration status should be updated with latest value of service
indicator.
2011-07-25 23:07:54 -05:00
Frédéric Danis 3b00f5aad7 hfpmodem: fix callheld indicator
Callheld move from 1 (active and held calls) to 2 (all calls on hold) may
result of:
- active call has been dropped by remote,
- an intermediate state during a call swap which will be followed by a
  move back to 1.
So, wait a little before checking calls state.
2011-07-25 23:06:16 -05:00
Marcel Holtmann 95c9e12da2 atmodem: Add support for Huawei network time reports 2011-07-25 16:53:03 +02:00
Marcel Holtmann 673844fe6a huaweimodem: Remove the broken NDIS port handling 2011-07-25 01:36:51 +02:00
Bertrand Aygon 6d986fe379 cdmamodem: check for TUN/TAP devices in ConnMan atom. 2011-07-24 16:45:14 +02:00
Marcel Holtmann 476fab4ea1 atmodem: Add support for NW DEACT notifications on slave channel 2011-07-24 14:48:39 +02:00
Denis Kenzior 380c95ddcb atmodem: Implement generic CPIN polling 2011-07-22 08:22:52 -05:00
Bertrand Aygon 20e55432d0 cdmamodem: send AT+GCAP to check devinfo. 2011-07-22 11:20:57 +02:00
Guillaume Zajac f1ac79ce44 cdma-connman: Update to the new driver API 2011-07-21 04:49:33 -05:00
Denis Kenzior b33d6b5fcb hfp_hf: Reorganize common code into hfpmodem 2011-07-21 03:49:27 -05:00
Denis Kenzior 191570a1ba hfpmodem: Minor whitespace fix 2011-07-20 08:22:25 -05:00
Jeevaka Badrappan c65903bddd ifxmodem: add support for user_confirmation in stk 2011-07-15 11:09:04 -05:00
Marcel Holtmann 8d60016b23 atmodem: Request device capabilities from devinfo driver
The result of the capabilities command is currently not used to identify
GSM support or not. However for debugging purposes the information are
part of the AT command debug log now.
2011-07-11 15:03:38 +02:00
Frédéric Danis 6db88b21d0 hfpmodem: remove previous HFP defines 2011-06-20 04:21:30 -05:00
Aki Niemi 8cbb0252b4 isimodem: Add baseline for UICC driver 2011-06-17 17:04:34 +03:00
Aki Niemi 6f6f7f39e0 isimodem: Add missing codepoints and debugs 2011-06-17 16:44:51 +03:00
Aki Niemi bc8423d475 isimodem: Fix style in UICC definitions 2011-06-17 16:38:17 +03:00
Arun Ravindran 870905a62a isimodem: Improper handling of missed call 2011-06-14 11:27:13 +03:00
Denis Kenzior 56d315f2dd mbmmodem: Fix not setting IPv4 Gateway 2011-06-12 17:47:48 -05:00
Denis Kenzior a60c4df143 ifxmodem: Remove unneeded code 2011-06-06 18:06:10 -05:00
Denis Kenzior 1aaa5da906 ifxmodem: Fix minor style issue 2011-06-06 18:04:26 -05:00
Jeevaka Badrappan 377a512375 ifxmodem: emergency number list support 2011-06-06 17:57:58 -05: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
Bernhard Guillon a805d955b3 atmodem/vendor.h: add OFONO_VENDOR_TELIT 2011-06-06 17:50:03 -05:00
Denis Kenzior 6d5b7d0bff cdmamodem: Update to the new GAtPPP API 2011-05-24 12:25:08 -05:00
Denis Kenzior 17deacbfff atmodem: Update to new GAtPPP api 2011-05-24 12:25:08 -05:00
Denis Kenzior e40d6d708f ussd: Fix use of non-cloned gatchat object 2011-04-18 09:46:20 -05:00
Aki Niemi 0b627c8e1e isimodem: Add SCA support to wgmodem2.5 driver 2011-04-14 15:30:24 +03:00
Aki Niemi 27046f9505 isimodem: Refactor sms driver 2011-04-14 15:30:23 +03:00
Aki Niemi 64100070c7 isimodem: Use constants where possible 2011-04-14 15:30:23 +03:00
Aki Niemi 57f8f3ef1d isimodem: Fix message sending in SMS driver
The same enum name SMS_ROUTE_DEFAULT has different constants in
different modem API versions. This was causing "invalid parameter"
errors with some modems.
2011-04-14 15:30:23 +03:00
Aki Niemi 5d7b355ca2 isimodem: Fix macro to be safer to use 2011-04-14 15:30:23 +03:00
Aki Niemi 6c8f1d059a isimodem: Add reahcbility check for CBS driver 2011-04-14 15:30:23 +03:00
Pekka Pessi 60918dd3f2 isimodem: fix call_create_resp handling
In case of call creation failure modem may return a valid call id in
order to send CALL_SERVICE_DENIED_IND which we do not handle.

Fixes MeeGo bug#15855.
2011-04-12 20:39:19 +03:00
Aki Niemi c33853ecf3 isimodem: Update SMS driver for wgmodem2.5
Based on patches from:
Jessica Nilsson <jessica.j.nilsson@stericsson.com>
2011-04-12 20:39:19 +03:00
Aki Niemi b62a01eae4 isimodem: Remove split voicecall driver
Only a single driver created, with two clients checked for
reachability in parallel.
2011-04-12 20:39:18 +03:00
Aki Niemi 74dbe2da99 isimodem: Add helper macros for 16/32bit values 2011-04-12 20:39:18 +03:00
Aki Niemi e17da972e2 isimodem: Rename resource debug macro 2011-04-12 20:39:18 +03:00
Aki Niemi 638b55f584 isimodem: Add helper macro for version checking 2011-04-12 20:39:18 +03:00
Aki Niemi 61df8b3474 isimodem: Indent and add missing codepoints
In addition, renaming some wgmodem2.5-specific subblocks so that they
use the same names as most recent on-line documentation.
2011-04-12 20:39:18 +03:00
Arun Ravindran b8b03a2da6 isimodem: Fix hangup for hold initiated calls 2011-04-07 11:01:29 +03:00
Arun Ravindran c2b3d39566 isimodem: Fix false reporting of active call state 2011-04-07 10:59:18 +03:00
Aki Niemi 9ddc98cd2f isimodem: Add missing PN_MODEM_* debugs 2011-04-07 10:45:55 +03:00
Aki Niemi b10750976e isimodem: Move common debugs to a single place 2011-04-07 10:44:58 +03:00
Aki Niemi a9fd4838a6 isimodem: Refactor netreg driver probing
Go back to using a single driver instance, with concurrent
reachability checks of both possible resources.
2011-04-07 09:40:07 +03:00
Aki Niemi 0308190eb6 isimodem: Add missing debugs to info resources 2011-04-07 09:35:10 +03:00
Mika Liljeberg fdc711c607 isimodem: fix operator name reading for old modems 2011-03-31 10:26:21 -05:00
Mika Liljeberg c9a5b5143c isimodem: remove atoms that fail to probe 2011-03-31 10:22:22 -05:00
Mika Liljeberg 2e444d1a51 atmodem: remove redundant code 2011-03-30 12:34:39 -05:00
Olivier Guiter 66705784f8 gnss: fix broken build 2011-03-29 10:03:12 -05:00
Denis Kenzior 819e39a791 gnss: Disable piecemeal CPOSR reporting 2011-03-28 18:06:59 -05:00
Denis Kenzior 3899056800 gnss: Minor style fix 2011-03-28 18:06:59 -05:00
Jarko Poutiainen acf687e216 atmodem: add gnss driver 2011-03-28 18:06:59 -05:00
Aki Niemi 28ab3db004 isimodem: Fix indentation in SIM driver 2011-03-24 14:56:48 +02:00
Pekka Pessi 2b857d068b isimodem/sim: added PIN and SIM state handling
Using PN_SECURITY resource to obtain PIN statuses.

Using ofono_sim_ready_notify() aka __ofono_sim_recheck_pin() to report
the ready state.
2011-03-24 14:51:16 +02:00
Mika Liljeberg 44ad041c27 isimodem: fix network registration for older modems 2011-03-24 14:43:53 +02:00
Jeevaka Badrappan 97eea8144b atmodem: fix issue in time reporting with ifx 2011-03-18 09:51:57 -07:00
Denis Kenzior 1bc1e52751 hfp: Fix some whitespace issues 2011-03-17 16:11:02 -05:00
Christian Lam 4fc55730f4 cdmamodem: add CDMA Connection Manager support 2011-03-17 14:16:07 -05:00
Bertrand Aygon 7617680d0d cbs: ignore any CBMs without a proper size
Cell Broadcasts are always fixed size, so improve PDU length check
2011-03-16 21:29:20 -05:00
Mika Liljeberg 116f4dcbda stemodem: update to new gprs context interface 2011-03-15 17:11:59 -05:00
Mika Liljeberg cbda267674 ifxmodem: update to new gprs context interface 2011-03-15 17:11:59 -05:00
Mika Liljeberg df64b12758 hsomodem: update to new gprs context interface 2011-03-15 17:11:58 -05:00
Mika Liljeberg ba9bf3e893 mbmmodem: update to new gprs context interface 2011-03-15 17:11:58 -05:00
Mika Liljeberg e9b04829e1 huaweimodem: update to new gprs context interface 2011-03-15 17:11:58 -05:00
Mika Liljeberg a8731aabb0 atmodem: update to new gprs context interface 2011-03-15 17:11:58 -05:00
Mika Liljeberg cf334808be isimodem: IPv6 support 2011-03-15 17:11:58 -05:00
Arun Ravindran 8ee5a49fc2 isimodem: Crash while setting SCA 2011-03-11 13:58:25 -06:00
Paavo Leinonen f2d3f232f2 atmodem: fix PB reading when fields are omitted
Fix SIM PB reading when numeric fields have been omitted.
2011-03-11 13:55:17 -06:00
Denis Kenzior 35478aedf6 voicecall: Move notification_ind registration
Should be before ofono_voicecall_register to be consistent
2011-03-11 13:50:31 -06:00
Denis Kenzior a033b13388 voicecall: Remove pointless whitespace 2011-03-11 13:50:31 -06:00
Andras Domokos 912b128b97 isimodem: implement SSN handling 2011-03-11 13:50:31 -06:00
Denis Kenzior 0f147e1cd5 voicecall: Minor nitpicks to previous commit 2011-03-11 13:50:31 -06:00
Andras Domokos 3370b45477 atmodem: implement SSN handling 2011-03-11 13:50:31 -06:00
Andras Domokos 4a36b93d6a ssn: remove SSN atom completely 2011-03-11 13:08:51 -06:00
Lucas De Marchi 86998818b7 mbmmodem: do not check for NULL pointer
cb_data_new() uses g_new0(), hence there's no need to check the return
value being NULL.
2011-03-04 05:13:51 -08:00
Lucas De Marchi 843d18ceae mbmmodem: don't let chat open after fd is sent
Instead of using a GAtChat, just use a GIOChannel and close it as soon
as its fd is sent to core.
2011-03-03 21:56:35 -06:00
George Matveev c6e81f7fb3 isimodem: removed unused NETWORK_TIMEOUT 2011-03-03 21:40:42 +02:00
Aki Niemi c6e4c20a5d isimodem: Use alignment helper macro 2011-03-03 21:34:41 +02:00
Aki Niemi abe5e87483 isimodem: Fix call-forwarding driver
Message length was incorrectly calculated. Also some cleanups.
2011-03-03 18:35:28 +02:00
Aki Niemi a82f098636 isimodem: Add missing codepoints
Not used; mostly for debugging purposes.
2011-03-03 18:34:41 +02:00
Aki Niemi 4b26d57d57 isimodem: Refactor SSN driver 2011-03-03 17:43:30 +02:00
Aki Niemi 1e81ed20ea isimodem: Move SS related codepoints to ss.h 2011-03-03 17:43:30 +02:00
Aki Niemi 4ba0846ecd isimodem: Use existing call SS codepoints 2011-03-03 17:43:30 +02:00
Jessica Nilsson 3e0dd726b0 isimodem: wgmodem2.5 added to ssn 2011-03-03 17:43:30 +02:00
Aki Niemi 3b456ace49 isimodem: Refactor call-forwarding driver 2011-03-03 17:43:30 +02:00
Aki Niemi 9130f2d02d isimodem: Fix nit in call-barring 2011-03-03 17:43:30 +02:00
Jessica Nilsson d687f5259f isimodem: wgmodem2.5 added to call-forwarding 2011-03-03 17:43:30 +02:00
Aki Niemi b7569bc679 isimodem: Refactor call barring driver 2011-03-03 17:43:30 +02:00
Aki Niemi 849432428a isimodem: Change type for BSC argument 2011-03-03 17:43:30 +02:00
Jessica Nilsson 6fe2ee2697 isimodem: SS_GSM_BARRING_INFO added
SS_GSM_BSC_INFO added.
2011-03-03 17:43:30 +02:00
Aki Niemi 70ae70a74f isimodem: Remove empty line in voicecall driver 2011-03-03 17:43:30 +02:00
Aki Niemi 0e27a9bbae isimodem: Split voicecall into two drivers
These drivers share most of the modem ops, though, so they are still
in the same source file.
2011-03-03 17:43:29 +02:00
Jessica Nilsson cbf6713ed1 isimodem: wgmodem2.5 added to voicecall 2011-03-03 17:43:29 +02:00