Commit Graph

2771 Commits

Author SHA1 Message Date
Arun Ravindran 7aab2d07aa Enabling PDP Context support in atmodem. 2010-06-21 09:32:06 -05:00
Zhenhua Zhang 47766f3f4d TODO: PPP server support owner 2010-06-21 09:21:31 -05:00
Zhenhua Zhang 9f180fc27a ppp: Fix leak in pppcp_send_protocol_reject
Free the reject pppcp packet after ppp_transmit.
2010-06-21 09:19:55 -05:00
Yang Gu c80432bfde Refactor ussd parser 2010-06-21 09:19:01 -05:00
Marcel Holtmann 11d9063e57 Add test script for scanning networks 2010-06-19 20:17:05 +02:00
Denis Kenzior 681aaef1ab atmodem: Use a switch/case in sim.c 2010-06-18 14:24:18 -05:00
Andrzej Zaborowski 4f72a3a1f7 mbm: Use MBM vendor quirk of the sim driver. 2010-06-18 14:14:53 -05:00
Andrzej Zaborowski a2dc7dfee0 atmodem: Add PIN entry quirk for mbm.
Wait for *EPEV unsolicited response after PIN entered, otherwise the
next AT+CPIN? query still returns the old value for a fraction of a
second and ofono gets stuck until the next PIN entry attempt.
2010-06-18 14:14:39 -05:00
Andrzej Zaborowski 56c8033f9f mbm: Register stk driver post sim. 2010-06-18 14:11:26 -05:00
Andrzej Zaborowski 713805ae57 mbmmodem: Allow no response data for envelope.
Partially reverts
http://git.kernel.org/?p=network/ofono/ofono.git;a=commitdiff;h=f98c6dc91702c0d14c0afa2a4e32102d3105568d
2010-06-18 14:11:11 -05:00
Andrzej Zaborowski d0018e9772 test-stkutil: Add a More Time response builder test 2010-06-18 14:04:57 -05:00
Andrzej Zaborowski 1b4dd4cd83 stkutil: Add More Time terminal response builder 2010-06-18 14:04:54 -05:00
Denis Kenzior 3b5d3fe1ef stkutil: USSD max len is 160 2010-06-18 13:59:15 -05:00
Yang Gu 6018d1fe82 stk: Add parser for timing advance objects 2010-06-18 13:57:55 -05:00
Yang Gu 042724c5ab teststk: Add test for send ussd parser 2010-06-18 13:18:34 -05:00
Yang Gu 179c14fe39 smsutil: Add a decoder for ussd pdus 2010-06-18 13:18:12 -05:00
Yang Gu 31d29608e0 stk: Add parser for send ussd commands 2010-06-18 13:15:31 -05:00
Florian Steinel a769091803 huawei: Import Huawei rules
From 10-Huawei-Datacard.rules (Linux Driver 4.08.01.108.tar.gz)
2010-06-18 12:58:07 -05:00
Denis Kenzior ab76f57cf9 gathdlc: Don't crash if unreffed in callback 2010-06-18 12:23:10 -05:00
Zhenhua Zhang e2e17512e0 gsmdial: Unref ppp when we get disconnected 2010-06-17 14:57:49 -05:00
Zhenhua Zhang 199582f684 test-server: Fix GIOChannel leak in create_tty
Remove client_io and unref server_io after creating GAtServer.
2010-06-17 14:54:42 -05:00
Zhenhua Zhang 1822deba4a gatserver: Check for disconnection when resuming
If the internal GAtIO is no longer valid, treat it as if our channel was
disconnected.
2010-06-17 14:38:53 -05:00
Zhenhua Zhang 047ea0cebb gatserver: Suspend/resume GAtServer with GAtIO
Support g_at_server_suspend and g_at_server_resume operation by using
GAtIO to handle IO related function.
2010-06-17 14:38:23 -05:00
Denis Kenzior 02a54376c9 hfp: Use bluetooth_parse_properties
Instead of the local version
2010-06-17 05:32:29 -05:00
Denis Kenzior 6ba350cec5 bluetooth: Rename & expose parse_properties 2010-06-17 05:32:29 -05:00
Denis Kenzior cfc9722b13 hfp: Use the bluetooth_send_with_reply
Instead of send_method_call_with_reply
2010-06-17 05:32:29 -05:00
Denis Kenzior 2b2b992c22 bluetooth: Rename send_method_call_with_reply 2010-06-17 05:32:28 -05:00
Gustavo F. Padovan b611316bbe Remove send_method_call from hfp.c 2010-06-17 05:32:12 -05:00
Gustavo F. Padovan 9d543c0719 Move create_path() to bluetooth plugin 2010-06-17 05:07:05 -05:00
Gustavo F. Padovan 4ccb481f4d Add parse properties stuff to bluetooth.c 2010-06-17 05:06:55 -05:00
Gustavo F. Padovan 5bf4bec526 Add send_method_call_with_reply to bluetooth.c 2010-06-17 05:06:51 -05:00
Gustavo F. Padovan 4004433ad4 Add bluetooth plugin skeleton.
The bluetooth plugin has bluetooth_resgister_uuid() and
bluetooth_unresgister_uuid() where bluetooth profiles plugins such as HFP
and DUN can register themselves to get know about BlueZ stuff ( new
devices, bluetoothd shutdown, etc..)
2010-06-17 05:06:39 -05:00
Denis Kenzior 412ed596b9 Fix: potential to crash in atmodem
Some callbacks in call-meter were assuming that a modem follows 27.007
and actually returns a string.  Some modems don't return a string that
is properly formatted (e.g. in quotes).  The strtol was thus accessing
uninitialized memory and crashing ofono.
2010-06-17 04:26:16 -05:00
Denis Kenzior 97e62dffde stkutil: Make sure bc_repeat is used properly
The wrong structure was being used in the function & the has_bc_repeat
variable was not being set properly.
2010-06-16 17:43:12 -05:00
Denis Kenzior dc505be373 stkutil: Merge two versions of bcch_channel_list 2010-06-16 17:43:12 -05:00
Yang Gu ea41f3851d stk: Add parser for UTRAN meas qualifier objects 2010-06-16 17:43:12 -05:00
Yang Gu 521156c049 stk: Add parser for PDP activation param objects 2010-06-16 17:43:12 -05:00
Yang Gu 37afdf1ca5 stk: Add parser for bcch channel list objects 2010-06-16 17:43:11 -05:00
Yang Gu db941ff556 stk: Add parser for cell broadcast page objects 2010-06-16 17:43:11 -05:00
Yang Gu 090c93fbdf Add several proactive command parsers 2010-06-16 17:43:11 -05:00
Yang Gu 8cf6750f06 teststk: Add test for send ss parser 2010-06-16 17:43:11 -05:00
Yang Gu a2d7494e93 stk: Add parser for send ss commands 2010-06-16 17:43:11 -05:00
Marcel Holtmann fd3a89091c Fix previous commit that broke reference to PDU string buffer 2010-06-16 16:49:14 +02:00
Marcel Holtmann e2790ba646 Fix memory allocation handling for STK Proactive command debug 2010-06-16 15:55:53 +02:00
Marcel Holtmann 6719c0b93f Use PROFILE DOWNLOAD to detect SIM Toolkit support for MBM 2010-06-16 10:38:08 +02:00
Denis Kenzior 3ba288c396 stkutil: Minor style cleanups in stkutil 2010-06-15 14:32:58 -05:00
Andrzej Zaborowski d5ad48c661 stkutil: Add Terminal Applications envelope builder
This is not a terribly useful function as the user still needs to
split the list in separate envelopes.  The .type field could be an
enum.
2010-06-15 14:27:35 -05:00
Andrzej Zaborowski 0baaf2ce5b stkutil: Add MMS Notification DL envelope builder 2010-06-15 12:37:53 -05:00
Andrzej Zaborowski 6720f90e13 stkutil: Add MMS Transfer Status envelope builder 2010-06-15 12:36:31 -05:00
Andrzej Zaborowski df8f6115ca stkutil: Add the USSD Download envelope builder 2010-06-15 12:35:18 -05:00