Commit Graph

1163 Commits

Author SHA1 Message Date
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