summaryrefslogtreecommitdiffstats
path: root/plugins/ifx.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-28ifx: Bump the setup timeoutDenis Kenzior1-1/+1
The newer IFX firmware was changed, it no longer accepts AT commands until the UA frame has been sent back to the AP. The commands are simply dropped on the floor. This requires a proper fix in GAtMux, but until then simply bump up the timeout to get around this issue.
2012-11-28ifx: Rework SIM state handlingDenis Kenzior1-4/+9
When performing a SIM REFRESH, particularly NAA Initialization, we need to wait until the modem sends XSIMSTATE: 7, not XSIMSTATE:2. Even on normal initialization it seems safer to wait until XSIMSTATE:2.
2012-11-22ifx: Move connman atom to post_sim stateDenis Kenzior1-24/+24
2012-11-22ifx: Get rid of have_sim trackingDenis Kenzior1-11/+2
2012-11-23ifx: Add comments about unhandled SIM statesMarcel Holtmann1-0/+6
2012-02-16ifx: Add support for Assisted Satellite NavigationMarcel Holtmann1-0/+3
2012-02-10ifx: Setup CSCS to use GSM for the aux portMarcel Holtmann1-0/+4
This change is needed since otherwise umlauts and other characters for USSD responses will not work properly.
2012-02-09ifx: Take out bad mergeDenis Kenzior1-24/+0
2012-02-10ifx: Use CFUN=0 (Minimum Functionality) to disable modemMarcel Holtmann1-1/+1
2012-02-10ifx: Remove handling of audio settings setupMarcel Holtmann1-60/+25
The audio settings setup is now done as port of the audio settings atom.
2012-02-02ifx: Fix compilation issueMarcel Holtmann1-5/+3
2012-02-02ifx: Make sure query XSIMSTATEDenis Kenzior1-16/+54
XSIMSTATE=1 does not seem to reliably activate XSIM notifications anymore. So query the XSIMSTATE at startup instead.
2012-02-02ifx: Use a proper prefix for XGENDATADenis Kenzior1-1/+2
2011-10-10plugins: Update copyright informationMarcel Holtmann1-1/+1
2011-08-09ifx: Fix minor whitespace mistakesMarcel Holtmann1-3/+3
2011-07-24ifx: Fix race condition when online/offline operation failsMarcel Holtmann1-7/+6
2011-03-11ssn: remove SSN atom completelyAndras Domokos1-2/+0
2011-02-10ifx: Remove modem selftest supportJeevaka Badrappan1-63/+2
Commands used for self tests are not working for all versions of the modem firmware.
2011-02-08ifx: Fix for changed selftest AT command syntaxAnand Ramakrishna1-2/+2
It is a fix to support the selftest AT command syntax changed in latest IFX fw version.
2011-02-07ifx: Adding modem selftest for Infineon modemAnand Ramakrishna1-2/+64
Infineon modem selftest, during ifx_enable(). Two steps trigger with timeout. In case one fails, modem will not power up.
2011-01-29plugins: remove NULL checkJeevaka Badrappan1-4/+0
2011-01-29ifx: Move SMS support into post_sim stageMarcel Holtmann1-2/+3
2011-01-19ifx: Remove modification of GIOChannel before multiplexer setupMarcel Holtmann1-7/+0
After g_at_chat_new() call the GIOChannel is already in non blocking, no encoding and no buffering mode. So no need for extra modifications.
2011-01-14ifx: add ctm create to ifx pluginJeevaka Badrappan1-0/+2
2010-12-21ifx: Move radio_settings to post_simDenis Kenzior1-1/+1
2010-12-17ifx: Move call forwarding to post simJeevaka Badrappan1-1/+1
2010-11-29plugins: explicitly compare pointers to NULLLucas De Marchi1-12/+12
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-29ifx: Enable vendor quirk for GPRS atomMarcel Holtmann1-1/+2
Enabling the Infineon specific vendor quirk for the GPRS atom will enable support for the GPRS suspend notifications.
2010-10-26ifx: Add support for having three active GPRS contextsMarcel Holtmann1-5/+13
The Infineon modem can at least support three active GPRS contexts in M-RAW_IP mode. So use another DLC for the third context.
2010-10-26ifx: Use M-RAW_IP support only with internal multiplexerMarcel Holtmann1-13/+8
The GPRS context can only be fully supported with the internal multiplexer right now. So use M-RAW_IP support in that case. If using a kernel based multiplexer, then no GPRS context is provided.
2010-10-24ifx: Detect when DLC shutdown happensMarcel Holtmann1-24/+39
In case one of the DLCs shuts down, the system has an undefined state and thus just shutdown the whole device.
2010-10-24ifx: Detect modems stuck in multiplexer modeMarcel Holtmann1-0/+29
When the initial AT commands on the master device don't respond, then the modem is stuck in multiplexer mode. For now just report an error.
2010-10-23ifx: Use PPP based GPRS context if M-RAW_IP is not availableMarcel Holtmann1-4/+11
2010-10-21ifx: Add two GPRS contexts since the modem should support itMarcel Holtmann1-4/+11
2010-10-21ifx: Use Infineon specific GPRS context driverMarcel Holtmann1-1/+1
2010-10-21ifx: Use Infineon specific phonebook vendor quirkMarcel Holtmann1-1/+2
2010-10-21ifx: Assign GPRS DLCs as slaves of the network DLCMarcel Holtmann1-6/+11
2010-10-19ifx: Wait for DLC creation to settle (internal multiplexer)Marcel Holtmann1-8/+31
When driving the Infineon modem with the builtin multiplexer there is a small race condition with setting up the channels and sending the first AT commands. The window here is pretty small, but it seems to be a modem firmware issue. In case the AT command is send right away it can happen that the modem does not process any further AT commands. In that case the setup is stuck and enabling the modem fails. Just adding a 10 milliseconds delay after DLC creation and before sending the first AT commands is enough to make this work smoothly.
2010-10-17ifx: Separate AT command from multiplexer debug settingMarcel Holtmann1-1/+1
2010-10-13ifx: Disable modem UART for power savingMarcel Holtmann1-0/+4
Send AT+XPOW=0,0,0 command when enabling modem to disable UART. This is done for power saving.
2010-10-01ifx: Remove support for OFONO_IFX_MODEL optionMarcel Holtmann1-8/+1
The Infineon modem model is now auto-detected, so there is no longer any need to specify it in the udev configuration rules.
2010-10-01ifx: Enable audio settings atom supportMarcel Holtmann1-0/+3
2010-10-01ifx: Fix crash with XGENDATA result callbackMarcel Holtmann1-1/+1
2010-10-01ifx: Use XGENDATA for modem model detectionMarcel Holtmann1-12/+45
The XGENDATA result contains various strings that also contain the modem model. Make this command mandatory for the modem bringup and after it succeeded, check for the XMM6260 string to setup specific audio settings. This makes using ENV{OFONO_IFX_MODEL}="XMM6260" obsolete, but for now it is still left as a possible option. It might be removed later.
2010-09-29ifx: Request firmware details on modem initMarcel Holtmann1-0/+4
The firmware details can be requested via AT+XGENDATA. So do this at modem init to have these in the logs. Currently nothing is done with this data, but eventually it can be used for modem specific settings like the audio configuration.
2010-09-29ifx: Add support for audio configuration of modemMarcel Holtmann1-1/+59
For the XMM6260 Infineon modem it is possible to use different audio configuration depending on your platform. Currently the setup of FULL_DUPLEX, BURSTMODE_48KHZ and BURSTMODE_96KHZ are supported. If appropiate values for OFONO_IFX_MODEL and OFONO_IFX_AUDIO are set in the udev rules file, then the audio configuration will be changed when bringing up the modem.
2010-09-26ifx: Add warning for unknown SIM statesMarcel Holtmann1-0/+3
2010-09-25ifx: Allow +XSIM notification to arrive during AT+XSIMSTATE=1Marcel Holtmann1-1/+3
When not using none_prefix for matching the responses of AT+XSIMSTATE call, it will consume all notifications. And this includes the initial SIM state that the modem sends at that point. Without this notification the SIM will never be marked as inserted.
2010-09-25ifx: Use internal mutliplexer if line discipline is not specifiedMarcel Holtmann1-13/+70
If there is no line discipline specified for a kernel based multiplexer, then fallback to the internal one.
2010-09-25ifx: Use multiplexer line discipline configuration optionMarcel Holtmann1-6/+18
Since the udev support allows to specify a line discipline number as part of the modem configuration, use that one and report and error if it has not been set.