Commit Graph

4956 Commits

Author SHA1 Message Date
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 673975aa08 isiusb: Create wgmodem2.5 driver as well 2011-03-03 17:43:29 +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
Aki Niemi 00c79427d6 isimodem: Refactor USSD driver
Clean up, and fix padding to be used always (does no harm).
2011-03-03 17:43:29 +02:00
Aki Niemi bb473dbef7 isimodem: Refactor and fix GPRS alignment 2011-03-03 17:43:29 +02:00
Aki Niemi 39e155b65d isimodem: Add helper macro for 32bit alignment 2011-03-03 17:43:29 +02:00
Jessica Nilsson b662bcc364 isimodem: wgmodem2.5 support in USSD 2011-03-03 17:43:29 +02:00
Aki Niemi b94488a4d3 isimodem: Add CLIP/COLP/COLR support
Based on patches from:
Jessica Nilsson <jessica.j.nilsson@stericsson.com>
2011-03-03 17:43:29 +02:00
Aki Niemi 0d989ac10d isimodem: Add missing SS codepoints 2011-03-03 17:43:29 +02:00
Andrzej Zaborowski 4b6d1b1878 stk: Handle Refresh if also performed by modem 2011-03-02 23:29:54 -06:00
Denis Kenzior d61ce95b3c AUTHORS: Mention Miia's contributions 2011-03-02 22:53:56 -06:00
Miia Leinonen 2cb3027dd6 atmodem: Add MBM vendor quirk for SIM record update 2011-03-02 22:53:35 -06:00
Jussi Kangas a8e5f4d59c TODO: Mark pin check status task as done 2011-03-02 22:51:55 -06:00
Denis Kenzior 5f4cfa8faf AUTHORS: Mention Patrick's contributions 2011-03-02 22:50:32 -06:00
Patrick Porlan 992019cad4 gatchat: Optimize ringbuffer modulo operations
Replace modulo operations in ringbuffer.c by masking operations.  This
is possible because the size of the ring buffers is always a power of
two, and yields a small performance improvement.

The improvement should be mostly visible on processors that implement
division in microcode (Atom) or lack a division instruction (ARM).
2011-03-02 22:50:32 -06:00
Denis Kenzior 9b1675c000 udev: Fix detection of mbm with GPS capabilities 2011-03-02 22:50:31 -06:00
Marcel Holtmann c30afe9c16 Release 0.44 2011-03-01 23:21:35 -08:00
Marcel Holtmann 9ab7c19f69 build: Fix wrong include of public header 2011-03-01 23:07:50 -08:00
Denis Kenzior 72d1a0ea5c mbm: Allow mbm modems that don't have GPS 2011-03-01 15:48:55 -06:00
Lucas De Marchi 413eb0b8f7 location-reporting: don't add client-exit watch too early
Wait until driver gives us a file descriptor to start watching for
client exit. This fixes a race when client exits before the driver
calls location_reporting_enable_cb().
2011-03-01 15:48:08 -06:00
Lucas De Marchi a324758bfd TODO: set owner of 'Dial strings' task 2011-03-01 14:56:13 -06:00
Andrzej Zaborowski 2443cdef49 stk: Make sure to reset respond_on_exit
This fixes a crash spotted by Lasse Kunnasluoto documented at
http://lists.ofono.org/pipermail/ofono/2011-February/009211.html
2011-02-28 16:14:50 -06:00
Denis Kenzior ef49d65b70 gsmdial: Introduce data_mode
If we're in PPP mode, then don't send unsolicited notifications.  Only a
NO CARRIER is really allowed.
2011-02-28 16:13:56 -06:00
Denis Kenzior 51d950994d gatserver: Tweak use of g_at_server_suspend/resume 2011-02-28 16:13:56 -06:00
Denis Kenzior d3350d6662 test-server: Make sure to send CONNECT
Before starting the ppp session we should make sure that the CONNECT
response has been sent on the wire.
2011-02-28 16:13:56 -06:00
Denis Kenzior 4da1a9318c gatserver: Exit garbage state on HDLC frame end 2011-02-28 16:13:56 -06:00
Denis Kenzior 6f8675d7fa gatppp: Try to detect no carrier conditions 2011-02-28 16:13:56 -06:00
Denis Kenzior ea56a71067 gatppp: Delay signaling ppp_down
Delay signaling of ppp_down until we exit the GAtHDLC read handler.
Otherwise exchanging the read handler on GAtIO might lead to funny
double consumption problems.
2011-02-28 16:13:56 -06:00
Denis Kenzior 0dc8e5e588 gathdlc: Try to detect no carrier conditions
Sometimes we receive the no carrier embedded in a stream following the
PPP packets.  This might be due to write scheduling on the remote side
or read scheduling locally.  Try not to consume the no carrier condition
and assume the previous hdlc frames will result in closing of the ppp
stack.
2011-02-28 16:13:56 -06:00
Denis Kenzior ef2c133281 TODO: Add PPP section 2011-02-28 16:13:56 -06:00
Denis Kenzior 703271e629 gatio: Remove stray empty line 2011-02-28 16:13:56 -06:00
Denis Kenzior 78eb4ee59c gatio: update comment 2011-02-28 16:13:56 -06:00
Denis Kenzior 09ca5aaef0 gathdlc: Unregister read / write handlers
When GAtHDLC is being unregistered make sure to unregister read / write
handlers so as not to crash.
2011-02-28 16:13:56 -06:00
Denis Kenzior 1cbe91090d gathdlc: drain the last hdlc frame processed
If we're being destroyed, we should drain the last HDLC frame
2011-02-28 16:13:56 -06:00
Denis Kenzior 2446d1aa43 gsmdial: register notification before resuming 2011-02-28 16:13:56 -06:00
Denis Kenzior 57f32ff899 ppp: Remove some g_prints 2011-02-28 16:13:56 -06:00
Denis Kenzior 75730bbaac ppp_cp: Replace some left over g_prints with DBG 2011-02-28 16:13:56 -06:00
Denis Kenzior e880aab120 gatppp: Replace some left-over g_prints with DBG 2011-02-28 16:13:55 -06:00
Denis Kenzior b6bc221bc8 gatppp: Send the final terminate ack
In the case where we're going down, but have a pending terminate ack,
delay signaling the upper layers until the ack has been put on the wire.
2011-02-28 16:13:55 -06:00
Denis Kenzior 802962adbc gatppp: Add a debug macro 2011-02-28 16:13:55 -06:00
Denis Kenzior 5ffe6f7beb gatio: Add write 'done' notifier
This allows external clients to get notified when GAtIO no longer has a
registered write watcher.  E.g. no more data is currently pending.
2011-02-28 16:13:55 -06:00
Denis Kenzior 3f2f11fe8f test-server: Remove root user check 2011-02-28 16:13:55 -06:00
Denis Kenzior 92404672fc gatserver: Update the internal command parsers
commit 61b30c025d changed the way the
command callbacks are being called (namely the contents of the GAtResult
object).  Most command callbacks were updated, but the internal ones
were forgotten.  This patch fixes this issue.
2011-02-28 16:13:51 -06:00
Denis Kenzior 8db0fa145a AUTHORS: Mention Antoine's contributions 2011-02-25 14:21:43 -06:00
Antoine Reversat 7f02e2feeb voicecall: Add CNAP debugging ofono voicecall 2011-02-25 14:21:14 -06:00
Antoine Reversat 48388ae7d7 isi: Add CNAP support for isimodem 2011-02-25 14:21:11 -06:00
Antoine Reversat 257951a25f isi: Clean up isi_call_any_address_sb_proc 2011-02-25 14:21:07 -06:00
Denis Kenzior 05c378bae9 sim: Document fall through case in switchcase 2011-02-25 11:53:10 -06:00