summaryrefslogtreecommitdiffstats
path: root/drivers/ifxmodem/voicecall.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-28ifx: Fix the case of modem-originated callDenis Kenzior1-12/+13
During STK Set Up Call, we have modem-originated calls that do not go through the core 'Dial' method. Make sure the calls are still detected in this case.
2012-07-12ifx: Add CSSI and CSSU supportDenis Kenzior1-0/+58
2012-02-10ifxmodem: Remove another usage g_utf8_validateMarcel Holtmann1-7/+8
2012-02-10ifx: Don't use g_utf8_validateDenis Kenzior1-7/+7
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-09ifx: Modify XLEMA behaviorDenis Kenzior1-3/+18
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-10ifxmodem: Handle malformed emergency numbersMarcel Holtmann1-4/+14
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.
2011-10-10drivers: Update copyright informationMarcel Holtmann1-1/+1
2011-06-06ifxmodem: Remove unneeded codeDenis Kenzior1-7/+0
2011-06-06ifxmodem: Fix minor style issueDenis Kenzior1-1/+2
2011-06-06ifxmodem: emergency number list supportJeevaka Badrappan1-0/+95
2011-02-11ifxmodem: add CNAP supportJeevaka Badrappan1-0/+51
2011-02-08ifxmodem: move call creation to xcallstat_notifyJeevaka Badrappan1-74/+98
2011-02-07ifxmodem: remove colp handling done inside atd_cbJeevaka Badrappan1-28/+2
2011-02-07ifxmodem: add handling of XCOLP notificationJeevaka Badrappan1-0/+51
2011-02-07ifxmodem: fix issue with gatchat usageJeevaka Badrappan1-2/+2
2011-02-05ifxmodem: M16 coding style fixJeevaka Badrappan1-5/+5
2011-02-05ifxmodem: Use defined call_status enumJeevaka Badrappan1-12/+21
2011-02-01ifxmodem: use ofono_call initializerLucas De Marchi1-1/+3
2011-01-29ifxmodem: remove NULL checkJeevaka Badrappan1-7/+0
2011-01-26voicecall: remove ofono_cug_optionJeevaka Badrappan1-10/+2
2011-01-12ifxmodem: M15 coding style fixJeevaka Badrappan1-2/+2
2010-12-16ifx: Take out unused definesDenis Kenzior1-6/+0
2010-11-29drivers: explicitly compare pointers to NULLLucas De Marchi1-9/+9
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-10-29ifxmodem: Enable emergency call state notificationsMarcel Holtmann1-1/+30
This enables the Infineon specific emergency call state notifications so that they show up in the traces when this happens. No logic to handle them properly is implemented.
2010-10-28ifxmodem: Enable Calling Name Presentation (CNAP) notificationsMarcel Holtmann1-0/+1
This enables the CNAP notifications so that they show up in the traces if used by a network. No logic is implemented to handle them.
2010-10-13ifxmodem: Send DTMF commands without quotesMarcel Holtmann1-5/+4
The AT+VTS command takes a single character and should not use quotes.
2010-09-30ifxmodem: Remove setting of XPROGRESS notificationsMarcel Holtmann1-2/+2
The XPROGRESS notifcations are now handled inside an Infineon specific audio settings driver. So no need to do that in the the voice call driver as well.
2010-09-28ifx: ifx_chup should send a +CHUPDenis Kenzior1-1/+1
2010-09-27ifxmodem: Enable audio related progress informationMarcel Holtmann1-0/+1
This is using AT+XPROGRESS=1 to enable the audio related notifications of the modem. None of these information is currently used. This command is only present to have these details show up in the debug logs.
2010-09-27ifxmodem: Two more cleanupsMarcel Holtmann1-2/+0
2010-09-27ifxmodem: Some cleanups in voice call driverMarcel Holtmann1-4/+6
2010-09-26ifx: Fix double free issueDenis Kenzior1-1/+1
2010-09-25ifxmodem: Fix name of voice call driverMarcel Holtmann1-1/+1
2010-09-24ifx: Take out the vendor field in voicecall driverDenis Kenzior1-2/+0
2010-09-24ifx: Assume CLIP always arrivesDenis Kenzior1-112/+1
If the CLIP always arrives after a CRING, then we do not ever need to poll CLCC.
2010-09-24ifx: Don't bother polling on an ATDDenis Kenzior1-14/+9
The core can handle stateless drivers that do not keep clip state, in the case of IFX we can skip the poll after ATD for finding out our CLIP and just keep it as invalid / obtained from COLP. The core should do the right thing.
2010-09-24ifx: Update commentDenis Kenzior1-1/+1
2010-09-24ifx: xcallstat should notify active->heldDenis Kenzior1-12/+0
2010-09-23ifx: Remove a few CLCC pollsDenis Kenzior1-13/+1
Polling here is no longer needed due to XCALLSTAT
2010-09-23ifx: Don't bother using RINGDenis Kenzior1-29/+0
We enable CRC=1, so only CRING should be sent
2010-09-23ifx: IFX provides hangup_all and hangup_activeDenis Kenzior1-4/+12
2010-09-23ifx: IFX provides swap_without_accept using CHLD=6Denis Kenzior1-1/+7
2010-09-23ifx: No need to register to standard notificationsDenis Kenzior1-58/+0
XCALLSTAT tells us when a call has been disconnected
2010-09-23ifx: Use none_prefix on other init commandsDenis Kenzior1-4/+4
2010-09-23ifx: Add IFX proprietory XCALLSTAT indicatorDenis Kenzior1-0/+75
2010-09-23ifx: Copy voicecall driver from atmodemDenis Kenzior1-0/+898
IFX is a fairly bone stock AT based modem so the atmodem driver is a good start.