Commit Graph

656 Commits

Author SHA1 Message Date
Denis Kenzior de98d0b8bd dun_gw: Reformat SDP record 2011-02-16 00:23:44 -06:00
Gustavo F. Padovan 327d9f3c90 dun_gw: Add DUN server plugin for oFono
DUN server is probed when modem state changes to online. It registers
DUN record to Bluetooth adapter and wait for incoming DUN connection.

Based on a patch from Zhenhua Zhang <zhenhua.zhang@intel.com>
2011-02-16 00:23:44 -06:00
Denis Kenzior 376a72bdc0 hfp_ag: Reformat SDP record 2011-02-16 00:23:44 -06:00
Frédéric Danis 4a75e91c09 bluetooth: add HFP AG plugin 2011-02-16 00:23:44 -06:00
Denis Kenzior b7048692a7 bluetooth: Reset adapter_any_path to NULL in unref 2011-02-15 13:19:07 -06:00
Denis Kenzior 19aac08e32 bluetooth: style issues 2011-02-15 13:18:47 -06:00
Frédéric Dalleau e0c1c1557e bluetooth: single SDP record for all adapters 2011-02-15 13:14:45 -06:00
Amit Mendapara dfe561e0c2 udev: Add Teracom (Linktop/LW27x) device detection 2011-02-14 13:49:14 -06:00
Amit Mendapara 01ad21c4c0 udev: Handle Linktop data card 2011-02-14 13:48:09 -06:00
Denis Kenzior 50d8b11c43 linktop: Minor style issues 2011-02-14 13:47:20 -06:00
Amit Mendapara 7578062348 plugin: Add plugin for Linktop LW27x data cards 2011-02-14 13:17:42 -06:00
Jeevaka Badrappan f2b8e0f5b9 ifx: Remove modem selftest support
Commands used for self tests are not working for all
versions of the modem firmware.
2011-02-10 08:16:51 -08:00
Marcel Holtmann a088359876 sierra: Fix small coding style issue 2011-02-09 18:28:16 -08:00
Marcel Holtmann f529f80ec7 gobi: Fix small coding style issue 2011-02-09 18:27:40 -08:00
Denis Kenzior b6aed256b4 bluetooth: Minor style fixes 2011-02-08 21:16:03 -06:00
Denis Kenzior 671a7affee bluetooth: Get rid of memory leaks on error 2011-02-08 21:13:48 -06:00
Denis Kenzior ba9cd4adbb bluetooth: Refactor the authorization process
It is unnecessary to keep the IO watch around after the authorization
process has finished.  This also means client_list variable is not
really needed.

Since we destroy the watch once the auth_cb is called, we can also
remove the auth_pending variable.

Finally, the null check of path is not necessary
2011-02-08 21:13:29 -06:00
Frédéric Danis 4bb1e0d32c bluetooth: Add Bluetooth service authorization support 2011-02-08 16:49:37 -06:00
Frédéric Danis f3acfea531 bluetooth: Add bluetooth server support 2011-02-08 16:49:09 -06:00
Anand Ramakrishna 6608c0018d ifx: Fix for changed selftest AT command syntax
It is a fix to support the selftest AT command syntax changed in latest
IFX fw version.
2011-02-08 14:44:12 -08:00
Frédéric Danis bc793d945c bluetooth: Optimize D-Bus call flow
We can call manager GetProperties once inside bluetooth_ref and avoid
calling it every time bluetooth_register_uuid is called.
2011-02-08 12:44:39 -06:00
Anand Ramakrishna 09b169c95f ifx: Adding modem selftest for Infineon modem
Infineon modem selftest, during ifx_enable().
Two steps trigger with timeout. In case one fails, modem will not power up.
2011-02-07 13:41:59 -08:00
Aki Niemi cca8946cdb n900: Enable use of legacy subscriptions 2011-02-07 09:51:35 +02:00
Aki Niemi 68041bffba isiusb: Enable use of legacy subscriptions 2011-02-07 09:51:35 +02:00
Aki Niemi 7ffaea7fbd plugins: Adapt isiusb and gpio plugins to new API 2011-02-07 09:51:34 +02:00
Denis Kenzior 074f1ff516 push-notification: Fix the nulling of the agent
Same as the previous commit, but applies to push-notifications
2011-02-02 13:24:04 -06:00
Lucas De Marchi 16e3c0ffe4 smart-messaging: set agent to NULL after free
If agent is not set to NULL after it's freed, the following situation
would not work:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_register_agent()

And this one could potentially crash oFono:

smart_messaging_register_agent()
smart_messaging_unregister_agent()
smart_messaging_unregister_agent()
2011-02-02 13:23:30 -06:00
Lucas De Marchi 2770d0ddd3 plugins: fix misspelling 2011-02-01 18:35:48 +01:00
Lasse Kunnasluoto 98e942d11b ste: Add support for CBS interface
STE modems support standard AT commands in CBS
2011-02-01 16:44:33 +01:00
Jeevaka Badrappan 6433af838d mbm: add radio-settings support 2011-01-31 10:48:01 +01:00
Jeevaka Badrappan 8c667aadad plugins: remove NULL check 2011-01-29 18:39:37 +01:00
Marcel Holtmann 863ce7d93a gobi: Use permissive AT syntax parser
Trying to use the GSM V1 parser will break sending SMS. So just accept
that Gobi is another device where the strict syntax parser won't work.
2011-01-29 18:39:37 +01:00
Marcel Holtmann ff1c41a672 tc65: Move SMS support into post_sim stage 2011-01-29 10:34:31 +01:00
Marcel Holtmann f840ee6628 hso: Move SMS support into post_sim stage 2011-01-29 10:33:53 +01:00
Marcel Holtmann 4b8a5594ce zte: Move SMS support into post_sim stage 2011-01-29 10:32:36 +01:00
Marcel Holtmann bda85361ad novatel: Move SMS support into post_sim stage 2011-01-29 10:31:16 +01:00
Marcel Holtmann a5e83f5668 huawei: Move SMS support into post_sim stage 2011-01-29 10:30:03 +01:00
Marcel Holtmann 9cc7919e6f ste: Move SMS support into post_sim stage 2011-01-29 10:29:20 +01:00
Marcel Holtmann 93895ca934 mbm: Move SMS support into post_sim stage 2011-01-29 10:28:47 +01:00
Marcel Holtmann deaa45196d ifx: Move SMS support into post_sim stage 2011-01-29 10:28:05 +01:00
Marcel Holtmann 2b0dab3dcb gobi: Move SMS support into post_sim stage 2011-01-29 10:26:52 +01:00
Denis Kenzior 6d48fe7a05 phonesim: Move sms atom to post_sim state 2011-01-28 20:28:36 -06:00
Zhigang Li 1166ed5a3a udev: Enable Dell 5540 AGPS interface 2011-01-28 10:18:00 +01:00
Marcel Holtmann 56469ad415 sierra: Use vendor quirk for SIM driver 2011-01-27 15:50:00 +01:00
Marcel Holtmann b3568a3c3b sierra: Add support GPRS registration 2011-01-27 15:41:12 +01:00
Marcel Holtmann de648cf963 sierra: Add support for online mode 2011-01-27 15:35:56 +01:00
Marcel Holtmann ab47ccc692 novatel: Handle modem enable errors properly 2011-01-27 15:31:06 +01:00
Kai Vehmanen f6f0f4d121 n900: fix set online
Invalid MTC_STATE_REQ messages were sent, causing failures in going
online.
2011-01-27 12:59:41 +02:00
Marcel Holtmann 1f356f227b gobi: Handle broken SIM status notification gracefully 2011-01-24 12:55:25 +01:00
Marcel Holtmann fa32c1fd27 gobi: Enable handling for GPRS registration 2011-01-22 13:14:07 +01:00
Marcel Holtmann 55209a77c1 gobi: Check for SIM status first before enabling SIM card 2011-01-22 13:02:35 +01:00
Marcel Holtmann 7985e53fe7 gobi: Enable vendor quirk for network registration 2011-01-22 12:38:49 +01:00
Marcel Holtmann e7a05dbfd3 gobi: Add support for SMS, CBS and USSD interfaces 2011-01-22 11:37:03 +01:00
Frédéric Danis b7590b08d2 bluetooth: Add reference count for bluetooth utils
Add bluetooth_ref()/bluetooth_unref() to support reference count in
bluetooth utils.
2011-01-20 12:20:47 +01:00
Lucas De Marchi a72115510a huawei: do not query sim state on pre_sim
Sim state is already known after modem is enabled and there's no need to
query it again. Before this patch, query_sim_state() was called upon
huawei_enable() and huawei_pre_sim(). Both functions might call
notify_sim_state() with a valid state. Hence we could eventually end up
sending AT+CFUN=5 command twice.
2011-01-19 15:39:49 +01:00
Marcel Holtmann a4d14ccb3e ifx: Remove modification of GIOChannel before multiplexer setup
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-19 15:32:52 +01:00
Lucas De Marchi edaff4b505 huawei: do not set timer more than once
If a "^SYSINFO" arrives after the timer for query_sim_locked() has been
set up, it'd would set a new timer, signaling a sim state change more
than once.
2011-01-19 14:21:29 +01:00
Lasse Kunnasluoto f11402907a ste: Use UTF-8 as a default character set 2011-01-18 16:56:27 +01:00
Tomasz Gregorek 802b3acbd9 mbm: Remove data->reopen_source timer before setting up new one
Check if there is a timer running already and remove it before
creating a new one. This will prevent calling reopen_callback() more
than if mbm_disconnect() is called more than once.
2011-01-14 14:40:47 +01:00
Tomasz Gregorek d104573d54 mbm: Adding timer removal to mbm_remove()
In case the modem is disconnected during enabling process, mbm_disconnect()
will set up data->reopen_source timer. This timer needs to be
removed in mbm_remove() to stop execution of reopen_callback() after
hardware disconnection.
2011-01-14 14:39:37 +01:00
Jeevaka Badrappan 00a2335ed4 ifx: add ctm create to ifx plugin 2011-01-14 14:34:48 +01:00
Dara Spieker-Doyle e0e734619f nokiacdma: Add CDMA devinfo support 2011-01-13 16:15:36 -06:00
Dara Spieker-Doyle 492f0629ca udev: Add nokiacdma device 2011-01-12 23:14:23 -06:00
Dara Spieker-Doyle f8a65e6817 ofono-rules: Add nokiacdma device 2011-01-12 23:14:04 -06:00
Denis Kenzior df8ad0a738 nokiacdma: Minor fixes 2011-01-12 23:13:44 -06:00
Dara Spieker-Doyle 1c0a514578 nokiacdma: Add plugin and CDMA MO Call Support 2011-01-12 23:12:57 -06:00
Jeevaka Badrappan 04a8d58515 plugins: M15 coding style fix 2011-01-12 08:06:58 -08:00
Marcel Holtmann bd2f5db0ec udev: Add another Sierra Wireless modem to the list 2011-01-11 19:06:19 -08:00
Sjur Brændeland f8d3f8a7d3 plugin: Add ste modem init daemon integration
This patch introduces auto discovery of ST-Ericsson modems.
ST-Ericsson modems (M57XX, M7XX, M74XX) are managed by a
Modem Init Daemon responsible for start, power cycles,
flashing etc. This STE plugin monitors the modem state exposed
from the Modem Init Daemon's Dbus API. When the modem is in state
"on" the STE modem is created and registered. Muliple modem
instances, and reset handling is supported.
2011-01-11 14:56:58 -08:00
Marcel Holtmann e51e1243e3 sierra: Add skeleton for Sierra modem plugin 2011-01-10 23:16:21 -08:00
Marcel Holtmann 1cf3b640fe udev: Add support for Sierra device detection 2011-01-10 23:12:12 -08:00
Lucas De Marchi 4c2920d8a5 huawei: use VENDOR_HUAWEI quirk on sim creation 2011-01-10 15:38:42 -06:00
Denis Kenzior 58b053c881 udev: Minor style fix 2011-01-10 15:14:03 -06:00
Oskari Timperi 83ab76d475 udev: Handle TC65 modem 2011-01-10 15:11:48 -06:00
Denis Kenzior 98e5619aad tc65: Minor style fixes 2011-01-10 15:11:18 -06:00
Denis Kenzior 1e8d948e20 tc65: Simplify logic 2011-01-10 15:10:40 -06:00
Denis Kenzior 51427d8516 tc65: No need to g_strdup options in the hashtable 2011-01-10 15:08:01 -06:00
Oskari Timperi e6d8b537b9 Add plugin for Cinterion TC65 modem 2011-01-10 15:00:50 -06:00
Marcel Holtmann 845a69158f gobi: Add support for basic network registration handling 2011-01-09 19:02:35 -08:00
Marcel Holtmann 994e6da575 gobi: Add skeleton for Qualcomm Gobi modem plugin 2011-01-09 06:18:18 -08:00
Marcel Holtmann c21aa148f8 udev: Add support for Qualcomm Gobi device detection 2011-01-09 06:17:26 -08:00
Pekka Pessi 524c5813d2 n900: use simplified client interface
Use MTC_STATE_REQ_TIMEOUT with MTC_STATE_REQ, too.
2011-01-07 13:39:18 +02:00
Pekka Pessi e1b6a5f16d isiusb: use simplified client interface 2011-01-07 13:39:18 +02:00
Marcel Holtmann b3fda06e2d hso: Add support for checking SIM ready status 2011-01-05 23:02:48 -08:00
Marcel Holtmann dbbc6be716 hso: Add support for model type check on bootup 2011-01-05 22:33:07 -08:00
Marcel Holtmann 9c5fdc9065 mbm: Fix check for modem model 2011-01-05 22:28:19 -08:00
Marcel Holtmann 3950052dfc push-notification: Handle notifications with source port 0
It seesm that some networks send the push notifications with a source
port of 0 instead of 9200. Instead of accepting any source port, add
an additional datagram handler for the source port 0.
2010-12-24 10:48:30 -08:00
Andrzej Zaborowski 369fe6b146 n900: remove unneeded g_isi_client_destroy call
"client" is either NULL or uninitialised in this place.
2010-12-23 18:25:40 -06:00
Aki Niemi 204aaeced0 isigen: Rename generic USB plugin to isiusb 2010-12-22 17:13:49 +02:00
Aki Niemi 4e91ea67d2 n900: Enable message tracing and debugging 2010-12-22 17:13:49 +02:00
Aki Niemi 64e712f3a6 n900: Adapt and refactor n900 plugin 2010-12-22 17:13:49 +02:00
Aki Niemi b2bf42f254 isigen: Enable message tracing and debugging 2010-12-22 17:13:49 +02:00
Aki Niemi 2cef1587f2 isigen: Adapt and refactor isigen plugin 2010-12-22 17:13:48 +02:00
Lucas De Marchi d90fd381b5 huawei: cancel poll when going to a valid state 2010-12-21 17:21:21 -06:00
Denis Kenzior 9e9cc02025 ste: Move radio_settings to post_sim 2010-12-21 16:36:42 -06:00
Denis Kenzior e2c3c05730 novatel: Move radio_settings to post_sim 2010-12-21 16:36:19 -06:00
Denis Kenzior 784bf9b1c3 n900: Move radio_settings to post_sim 2010-12-21 16:31:58 -06:00
Denis Kenzior 398e2b681b isigen: Move radio_settings to post_sim 2010-12-21 16:31:36 -06:00
Denis Kenzior 9e4c1a64cf ifx: Move radio_settings to post_sim 2010-12-21 16:31:14 -06:00
Denis Kenzior b22d2109da huawei: Move radio_settings to post_sim 2010-12-21 16:31:11 -06:00