summaryrefslogtreecommitdiffstats
path: root/plugins/ifx.c
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-09-25ifx: Use SIM state notification for SIM insertion and removalMarcel Holtmann1-7/+39
The +XSIM notifies us about missing or removed SIM. Use that for telling the core if a SIM card is present or not. Besides that all other states are treated as when a SIM card got inserted.
2010-09-24ifx: Add support for multiplexer setupMarcel Holtmann1-29/+190
This supports a simple static multiplexer that is activated with setting the line discipline 23 on the TTY. It is static, because the DLC numbers are hardcoded.
2010-09-24ifx: Add initial modem plugin implementationMarcel Holtmann1-5/+250
This is a first attempt at the Infineon modem support. The support is limited since it doesn't handle the setup of the multiplexer or the different SIM states yet.
2010-09-18ifx: Add skeleton for Infineon modem pluginMarcel Holtmann1-0/+85