Andrzej Zaborowski
4344c7423f
mbmmodem: End session on *STKEND.
2010-07-08 14:27:33 -05:00
Andrzej Zaborowski
b450efafec
atmodem: Don't unregister *EPEV in *EPEV handler.
...
Handlers are called when looping over the unsolicited responses hash,
registering or unregistering modifies that hash and confuses glib.
2010-06-29 13:59:13 -05:00
Zhenhua Zhang
8246463ef3
atmodem: Update to the new PPP API
2010-06-28 10:19:32 -05:00
Denis Kenzior
52da988816
atmodem: Add CGSMS support to sms driver
2010-06-25 14:25:46 -05:00
Denis Kenzior
7f1a923ebf
hso: Don't query tech if not registered or roaming
...
{NetworkRegistration} [/hso0] LocationAreaCode = 34591
{NetworkRegistration} [/hso0] CellId = 5903759
{NetworkRegistration} [/hso0] Strength = 32
{NetworkRegistration} [/hso0] Strength = 22
{PrimaryDataContext} [/hso0/primarycontext1] Settings =
dbus.Dictionary({}, signature=dbus.Signature('sv'), variant_level=1)
{PrimaryDataContext} [/hso0/primarycontext1] Active = 0
{DataConnectionManager} [/hso0] Attached = 0
{NetworkRegistration} [/hso0] Status = searching
{NetworkRegistration} [/hso0] Technology = umts <--- Oops
{NetworkOperator} [/hso0/operator/26201] Status = available
{NetworkRegistration} [/hso0] Name =
{NetworkRegistration} [/hso0] Status = registered
{NetworkRegistration} [/hso0] LocationAreaCode = 35342
{NetworkRegistration} [/hso0] CellId = 5903759
{NetworkRegistration} [/hso0] Technology = edge
2010-06-24 20:54:36 -05:00
Denis Kenzior
054ed2653a
atmodem: Support CDS indicators for MBM
...
MBM does not advertise support for CNMA, yet only supports CDS style
notifications which do not need to be acknowledged.
2010-06-21 15:21:40 -05:00
Yang Gu
c80432bfde
Refactor ussd parser
2010-06-21 09:19:01 -05:00
Denis Kenzior
681aaef1ab
atmodem: Use a switch/case in sim.c
2010-06-18 14:24:18 -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
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
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
Marcel Holtmann
6719c0b93f
Use PROFILE DOWNLOAD to detect SIM Toolkit support for MBM
2010-06-16 10:38:08 +02:00
Denis Kenzior
5a1c7eef08
atmodem: Couple tiny style fixes
2010-06-14 12:46:11 -05:00
Daniel Wagner
b7401489b5
Report cell technology capability for Option HSO modems
...
Option modem use OCTI and OUWCTI commands
for reporting the cell capability.
2010-06-14 12:46:11 -05:00
Marcel Holtmann
f566935f7a
Fix memory leak introduced by HSO quirk
2010-06-13 11:46:29 +02:00
Marcel Holtmann
66c50b6a72
Add nasty quirk to allow HSO devices to read network code length
...
The AT+CRSM=192 commands are failing on HSO devices and thus it might
be needed to return its details from a predefined database. Start with
testing this for reading the network code length.
2010-06-13 08:10:13 +02:00
Denis Kenzior
76dc7e4acd
atmodem: Shutdown ppp cleanly on remove
...
There is a race condition from udev / kernel when a USB dongle is
removed. Sometimes all ports are removed first (and the io channels for
those ports are signaled as hupped) while other times the udev remove
event fires first.
If the latter happens, then gprs_context remove is called with a
potentially live ppp object. This patch shuts it down cleanly.
2010-06-11 09:20:05 -05:00
Denis Kenzior
c3dddcb5b3
atmodem: Always unref ppp when context is down
2010-06-11 09:20:05 -05:00
Marcel Holtmann
45c1bcb1d9
Disable CNMA support for Novatel based devices
2010-06-10 21:06:48 -07:00
Denis Kenzior
6c8d2f0e5b
atmodem: Allow ME & SM for status report store
2010-06-10 22:23:05 -05:00
Denis Kenzior
a128cbff8b
atmodem: Force CDSI delivery for Novatel devices
2010-06-10 20:21:33 -05:00
Denis Kenzior
d8e7a7b5e3
atmodem: Add support for status report via CDSI
2010-06-10 20:13:50 -05:00
Denis Kenzior
39391cf32b
atmodem: Use atutil based functions
2010-06-10 20:08:10 -05:00
Denis Kenzior
1b36d1cd43
atmodem: Add utility for parsing CMTI/CDSI/CBMI
2010-06-10 20:06:26 -05:00
Denis Kenzior
5a883d1c76
atmodem: Register for notifications after CMGL
2010-06-10 18:43:30 -05:00
Denis Kenzior
150c1e753f
atmodem: Split out the +CPMS sender
...
Just before sending a CMGR for +CMTI notification, use need to
optionally send a CPMS to select the proper storage. This should be
done in a separate function for potential re-use by CDSI
2010-06-10 18:41:29 -05:00
Gustavo F. Padovan
160161e6bc
Remove hfpmodem's header guard
2010-06-10 16:17:21 -05:00
Marcel Holtmann
2aeb7df627
And some more minor coding style cleanup in SMS driver
2010-06-09 19:13:57 -07:00
Marcel Holtmann
1125ffa7f6
Fix coding style for one comment in SMS driver
2010-06-09 19:12:24 -07:00
Marcel Holtmann
a774d9ed49
Add quirk for Qualcomm issues with setting CBS topic ranges
2010-06-09 18:40:59 -07:00
Marcel Holtmann
88d083c4fd
Coding style fix for the PIN type table
2010-06-09 18:23:05 -07:00
Denis Kenzior
1d8bb1bab6
atmodem: Fix CPUC parser
...
Apparently some modems are extra stupid:
AT+CPUC?\r
\r\n+CPUC: \r\nOK\r\n
So if we fail to parse the response, return an error
2010-06-07 20:36:40 -05:00
Denis Kenzior
588b689d2b
netreg: whitespace style
2010-06-07 19:06:57 -05:00
Denis Kenzior
6a480bb861
netreg: Add Huawei RSSI unsolicited callback
2010-06-07 19:06:36 -05:00
Denis Kenzior
11c8156543
atmodem: Optimize cops queries
...
This patch is meant to do two things:
- Some modems, like the Novatel, report bogus operator information when
not registered, as opposed to simply returning empty strings. In this
case we're a little bit more explicit about checking the returned
mcc/mnc string
- If we determine that the mcc/mnc string is bogus, we don't schedule
the alphanumeric cops query and return early.
2010-06-07 12:57:50 -05:00
Marcel Holtmann
45ba3b9a7c
Add special SMS handling for Huawei based devices
2010-06-06 18:21:30 -07:00
Marcel Holtmann
f1c209d973
Move AT_ODO quirk into HSO driver instead of network registration
2010-06-06 15:27:34 -07:00
Marcel Holtmann
360abb0f5b
Use hsomodem instead of hso for Option HSO GPRS atom driver
2010-06-06 15:20:48 -07:00
Marcel Holtmann
30b054d0e0
Add support for Option specific radio settings
2010-06-06 15:18:57 -07:00
Marcel Holtmann
5340901ad3
Use unquoted strings for cell information of Novatel devices
2010-06-06 13:14:57 -07:00
Marcel Holtmann
45bf4cf396
Add support for handling CNTI=0 request with Novatel devices
2010-06-06 13:12:37 -07:00
Marcel Holtmann
5b504e8a0d
Add support for Novatel specific radio settings
2010-06-06 11:08:16 -07:00
Marcel Holtmann
e2024acebd
Add Novatel Wireless (NW) specific modem driver
2010-06-06 11:05:48 -07:00
Denis Kenzior
2b1c433daa
hso: Enable OUWCTI notifications
2010-06-04 14:21:58 -05:00
Denis Kenzior
56d14e1fe1
atmodem: Put some common code into a utility
2010-06-04 14:21:57 -05:00
Pasi Miettinen
6220c01f4a
Change in at_cds_notify for status report
2010-06-04 14:21:57 -05:00
Marcel Holtmann
50a7d3d741
Send OWCTI query when bringing up Option based devices
2010-06-04 12:17:35 -07:00
Marcel Holtmann
1f5432abd6
Use AT_OUWCTI instead of AT_OWCTI as expected
...
The Option firmware is so funny. It has a typo in the AT command :)
2010-06-04 12:13:27 -07:00
Marcel Holtmann
a4fda8a378
Enable Option specific OWCTI unsolicited notifications
2010-06-04 12:08:21 -07:00
Marcel Holtmann
48d210bac6
The ack pdu support is not working on Novatel or Option devices
2010-06-03 18:15:27 -07:00
Marcel Holtmann
23d97f2c0a
Quirk SMS handling for Novatel based devices
...
The Novatel based devices with Qualcomm chips seems to have various
problems. First they advertise CNMI mode 2, but don't support it. And
second they don't support CNMA acknowledgement with a PDU. So fall back
to acks without PDU.
2010-06-03 08:54:08 -07:00
Marcel Holtmann
22d0cc7df2
Add special quirk for Novatel based devices
2010-06-03 01:20:47 -07:00
Marcel Holtmann
24fd3e2f15
The default PPP netmask should be 255.255.255.255
2010-06-03 00:00:42 -07:00
Pekka Pessi
84d5303b06
isimodem: add set_online and post_online
2010-05-27 14:28:16 -05:00
Denis Kenzior
a7d02fbf5c
isimodem: More cleanup of bad style
2010-05-27 14:15:30 -05:00
Pekka Pessi
48041a0e60
Fixed style issues in isimodem voicecall.
2010-05-27 14:04:32 -05:00
Pekka Pessi
654c0ef73b
Eliminated bool, true and false from isimodem.
2010-05-27 13:41:51 -05:00
Kalle Valo
125c7c392f
atmodem: fix crash during context deactivation
...
Ofono either crashed or busy looped with my Huawei E1552 3G modem when I
tried to deactivate GPRS context. The reason was that gcd->chat was
unreferenced already in setup_ppp() but the chat was still accessed
later in at_gprs_deactivate_primary().
To fix the problem, change the logic instead to suspend chat session
for PPP and resume when PPP has disconnected. Now it doesn't crash
anymore.
Deactivation still doesn't work properly with Huawei E1552, and most
probably with other Huawei modems, because the modem hangs up the chat
line after PPP deactivation. This needs to be fixed separately. The
workaround is to reboot the modem, for example physically unplug and plug
it in again.
2010-05-26 12:34:07 -05:00
Kalle Valo
bf7243eda4
atmodem: refactor context deactivation
...
The old way of using CGACT is no longer needed. It is enough
that we shutdown PPP. Recommended by Denis.
2010-05-26 12:32:03 -05:00
Pessi Pekka (Nokia-D/Helsinki)
0318e194b3
isimodem: fix confusing log message
2010-05-26 00:07:30 +03:00
Pessi Pekka (Nokia-D/Helsinki)
9ec222fc94
isimodem: fix memory leak
2010-05-26 00:07:05 +03:00
Aki Niemi
e1d5f09eb9
Fix minor style issues
2010-05-26 00:06:12 +03:00
Pessi Pekka (Nokia-D/Helsinki)
abb642ce08
Add: support for EF_ICCID in isimodem.
2010-05-26 00:00:13 +03:00
Denis Kenzior
96480e44b2
netreg: Fix crash when CREG is reported too early
...
If we register for CREG notifications before the netreg atom is
registered (e.g. in MBM due to CIND queries) we crash if the CREG
notification arrives before the CIND is queried.
2010-05-19 23:33:17 -05:00
Kalle Valo
36e9803cdc
huawei: add gprs context
...
Tested with Huawei E1552 HSDPA USB stick using a finnish Saunalahti prepaid
SIM.
2010-05-19 23:09:21 -05:00
Kalle Valo
bf5b31e8a8
Move report_signal_strength to atutil
...
The function is needed in two different places, better to move it
to atutil.h.
2010-05-19 23:08:36 -05:00
Aki Niemi
0d8b86ed79
Add isimodem support for network time
2010-05-19 10:46:33 +03:00
Pekka Pessi
d44444562b
Make isimodem use linkstate directly
2010-05-17 13:52:13 +03:00
Pekka Pessi
2cda1a32da
Use g_pn_netlink_by_modem() in isimodem driver
2010-05-17 13:44:56 +03:00
Aki Niemi
03b8229af9
Remove unused declaration
2010-05-15 10:44:40 +03:00
Aki Niemi
26f365e5bf
Fix typo in comment
2010-05-15 10:42:13 +03:00
Aki Niemi
aa5d3c1e7c
Fix copy-paste typo
2010-05-15 10:35:44 +03:00
Aki Niemi
f49c97b073
Add proper debug configuration to isimodem SMS
2010-05-15 10:23:24 +03:00
Aki Niemi
4c586ffc50
Add SCA query and setter to isimodem SMS driver
2010-05-15 10:23:03 +03:00
Aki Niemi
e108530712
Add missing SIM codepoints
2010-05-15 10:19:28 +03:00
Aki Niemi
05fad46e38
Refactor isimodem CBS driver
2010-05-14 17:04:54 +03:00
Aki Niemi
6207f5bfce
Fix CBS routing request failure reporting
2010-05-14 16:54:11 +03:00
Aki Niemi
bca2cdffbc
Add isimodem support for MO and MT SMS
2010-05-14 16:51:39 +03:00
Aki Niemi
fb3773921f
Add missing SMS ISI codepoints
2010-05-14 16:51:34 +03:00
Denis Kenzior
0940f27c9a
mbm: Simplify STKR callback logic
2010-05-12 13:44:40 -05:00
Denis Kenzior
f98c6dc917
mbm: Simplify STKE logic
...
We shouldn't use CALLBACK_WITH_FAILURE unless we can't parse the
response from the modem. This most likely indicates an integration
error.
2010-05-12 13:44:31 -05:00
Denis Kenzior
49c5def68b
mbm: NULL check on a g_free is not necessary
...
This is a change from previously accepted practice
2010-05-12 13:43:48 -05:00
Denis Kenzior
d6f540eb8f
mbm: Few style issues with indentation
2010-05-12 13:43:38 -05:00
Andrzej Zaborowski
f0aeb0b037
mbm: Add STK driver.
2010-05-12 13:43:23 -05:00
Andrzej Zaborowski
5e11442ef7
atmodem: Pass allowed response prefixes to gatchat
...
Not doing this creates a race condition where any notification
comming in in the middle of a sequence of commands may be counted
as a response to one of the commands and get lost.
2010-05-12 12:18:33 -05:00
Denis Kenzior
dea4c88906
atmodem: Fix crashes related to unremoved timeouts
...
Any timeouts set must be removed using g_source_remove. Failure to do
so results in sigsegvs when the modem is randomly removed during the
initialization cycle.
2010-05-11 09:10:58 -05:00
Denis Kenzior
5343272bc1
atmodem: Port gprs-context to new PPP api
2010-04-30 15:32:54 -05:00
Denis Kenzior
b5f81f4012
Fix: For now calling g_at_chat_unref is fine
...
Same as g_at_chat_shutdown in this case
2010-04-28 17:27:33 -05:00
Aki Niemi
41a21ac96b
Fix typo in gprs driver
2010-04-27 23:21:48 +03:00
Aki Niemi
b0222a79c3
Fix faulty logic in netreg driver
...
Also add missing tech param.
2010-04-27 23:21:48 +03:00
Aki Niemi
c123a9b5ba
Fix remove ops in isimodem drivers
2010-04-27 23:21:48 +03:00
Aki Niemi
a03d11fec7
Fix style issues in isimodem
2010-04-27 23:21:48 +03:00
Aki Niemi
8b61fde2fb
Add user authentication to gprs context driver
2010-04-20 17:47:17 +03:00
Pekka Pessi
fa3501b8d2
Refactor isimodem and gisi/netlink
...
Now usbpnmodem plugin is used to register ISI modems.
2010-04-20 17:47:17 +03:00
Pekka Pessi
2dd6923dfa
Add infoserver to isimodem
...
The info server provides information from the mobile station to the
ISI modem. Currently it returns the Software Version Number (SVN)
that is used in mobile identification.
2010-04-20 17:47:16 +03:00
Pekka Pessi
2cc99fdaa6
Add SIM server state detection
...
Register isimodem SIM driver only when SIM server is ready. The best
way to find out that the server is truly ready is to read some data.
2010-04-20 17:47:16 +03:00
Pekka Pessi
540656ebfe
Fix: s/bootsrap/bootstrap/
2010-04-20 17:47:16 +03:00
Aki Niemi
144b30ac6d
Add isimodem gprs context driver
2010-04-20 14:16:26 +03:00
Aki Niemi
a7989b7cbb
Add isimodem gprs driver
2010-04-20 14:16:18 +03:00
Aki Niemi
f62f6076c1
Add PN_GPDS code points and debugging
2010-04-20 14:11:07 +03:00
Aki Niemi
eefcdc9f44
Add SIM inserted notification
...
TODO: This is a temporary solution. Trigger the inserted notification
on actual SIM state changes instead.
2010-04-20 14:10:52 +03:00
Aki Niemi
0f1db581da
Remove declaration of unused dump_msg()
2010-04-20 14:10:17 +03:00
Denis Kenzior
cc0ffd1720
Rename ofono_atmodem_poll_enable
...
This is not official oFono API
2010-04-15 16:49:43 -05:00
Andrzej Zaborowski
14bcca32c0
Implement STATUS polling in atmodem driver.
2010-04-15 16:49:43 -05:00
Denis Kenzior
f1b61640f7
Fix: should be unsigned char not guint8
2010-04-15 16:49:43 -05:00
Denis Kenzior
110de93f4c
Style: Proper indentation
2010-04-15 16:49:43 -05:00
Andrzej Zaborowski
b34c35d822
Add AT driver for STK atom.
2010-04-15 16:49:42 -05:00
Andrzej Zaborowski
aad4d0de78
Add Sim Toolkit atom
...
- Add ofono_stk atom in stk.c
- Move envelope command from sim driver to stk driver
2010-04-15 16:49:40 -05:00
Denis Kenzior
389eb70dc8
Initial implementation of the PPP gprs context
2010-03-31 18:49:39 -05:00
Pekka Pessi
ade674158c
Fix: simplify isimodem call-barring driver.
...
Add support for lock codes AG and AC (MMI codes 333 and 353,
respectively). Use decimal MMI codes in <ss.h>.
2010-03-29 15:38:22 -05:00
Denis Kenzior
022359ba72
Style: braces are not needed
2010-03-29 00:18:04 -05:00
Denis Kenzior
1fb6801672
Fix: Use tech reported by MBM erinfo
2010-03-29 00:09:10 -05:00
Denis Kenzior
5780fdb51f
Fix: Handle 2 and 3 argument versions of ERINFO
2010-03-28 23:58:37 -05:00
Denis Kenzior
21dd4f040a
Move erinfo notify to atmodem netreg driver
2010-03-28 23:49:57 -05:00
Denis Kenzior
8b33129bac
Add phonesim vendor quirk
2010-03-26 23:00:28 -05:00
Denis Kenzior
d994ed1111
Add mbm vendor
2010-03-26 23:00:28 -05:00
Denis Kenzior
14f296075e
Refactor: Use CIND as default strength reporting
...
Many vendors seem to use CIND instead of CSQ / proprietary extensions.
2010-03-26 23:00:28 -05:00
Denis Kenzior
36a8801115
Update atmodem gprs driver to the new API
2010-03-26 23:00:28 -05:00
Denis Kenzior
92beff2839
Update ISI radio settings driver to the new API
2010-03-25 10:43:17 -05:00
Zhenhua Zhang
00262e36db
Fix Don't check CLIR CUG option in hfp_dial
...
For HFP call, no need to check CLIR & CUG option. It doesn't affect dial
out string.
2010-03-09 10:33:13 -06:00
Denis Kenzior
766a0bcfa5
Fix: Unregistering the agent in disable is wrong
...
What we really want to do here is set a flag that the agent has not been
released yet. If this is the case we should send the Disconnect call on
disable.
2010-02-12 20:10:29 -06:00
Denis Kenzior
813470a025
Fix: memory leak
2010-02-10 16:41:31 -06:00
Aki Niemi
d12e1a8b9e
Add isimodem USSD implementation
2010-02-09 23:15:52 +02:00
Aki Niemi
7001e7b163
Add USSD codepoints and debugging
2010-02-09 22:50:38 +02:00
Denis Kenzior
6d28f82dc1
Add Wavecom's quirky CPIN handling
2010-02-08 16:13:43 -06:00
Denis Kenzior
c98b951fe6
Refactor: Remove atutil dump_response
...
No longer needed now that we have nice AT command tracing using
OFONO_AT_DEBUG=1
2010-02-08 12:28:23 -06:00
Denis Kenzior
7f9a9b0cdc
Fix: Don't use ofono_debug directly in plugins
2010-02-08 12:09:01 -06:00
Denis Kenzior
bfeef21a9d
Fix: Send *EIAAUW after CGDCONT for STE and MBM
...
Otherwise the EIAAUW might fail.
2010-02-05 12:20:45 -06:00
Denis Kenzior
8268c4fe62
Fix: Use snprintf instead of sprintf in hsomodem
2010-02-05 12:01:59 -06:00
Denis Kenzior
37088e19f0
Fix: Use snprintf instead of sprintf in mbmmodem
2010-02-05 12:01:45 -06:00
Denis Kenzior
098bc04347
Fix: Use snprintf instead of sprintf in calypso
2010-02-05 12:01:27 -06:00
Denis Kenzior
ced9692361
Fix: Use snprintf instead of sprintf in stemodem
2010-02-05 12:01:13 -06:00
Denis Kenzior
d223243913
Fix: Use snprintf instead of sprintf in HFP
2010-02-05 12:00:14 -06:00
Denis Kenzior
1721f81fe9
Fix: Use snprintf instead of sprintf in atmodem
2010-02-05 11:59:24 -06:00
Aki Niemi
dfab0764da
Add isimodem radio settings driver
2010-02-04 23:43:18 +02:00
Aki Niemi
bf6195f0c2
Add PN_GSS codepoints and debugging
2010-02-04 23:43:18 +02:00
Denis Kenzior
5a6bbd113d
Cleanup: Refactor handling of failed connections
2010-02-04 13:49:36 -06:00
Denis Kenzior
c9b80a73c1
Fix: Don't send undefined values to the core
2010-02-04 00:26:20 -06:00
Denis Kenzior
d3c2535fae
Fix: Dead Assignments
2010-02-04 00:14:49 -06:00
Aki Niemi
0a28c46bf7
Fix debug dump and unknown codepoint handling
2010-02-02 22:39:33 +02:00
Denis Kenzior
ae25d1e910
Fix: Ignore CBM pdus bigger than 88 bytes
2010-02-02 11:13:22 -06:00
Marcel Holtmann
7d7a61f933
Fix some leftover oudated copyrights
2010-01-28 22:10:51 +01:00
Denis Kenzior
7b2b548d8d
Fix: Update copyright notice for 2010
2010-01-28 15:08:24 -06:00
Denis Kenzior
586003ba52
Style: Various whitespace issues
2010-01-28 15:08:24 -06:00
Denis Kenzior
337b0367ee
Style: Put voicecall before gprs
2010-01-28 15:08:23 -06:00
Sjur Brændeland
ddd5582a54
Add STE voice call support.
2010-01-28 15:08:23 -06:00
Marcel Holtmann
5431aeea0d
The AF_CAIF constant is more like to be 37 than 28
2010-01-28 11:28:38 +01:00
Gustavo F. Padovan
ac6672e9b3
Add HFP support through BlueZ
...
It uses BlueZ through to get HFP working following the
org.bluez.HandsfreeGateway and org.bluez.HandsfreeAgent from
the BlueZ D-Bus API.
You need the HFP suport into BlueZ and the new D-Bus 1.3 or
later with fd-passing support.
Many thanks to Zhenhua Zhang <zhenhua.zhang@intel.com> for its
prototype on this code.
2010-01-27 21:18:07 +01:00
Denis Kenzior
5e94e2bad8
Fix: Remove username/password elements
...
The reason for this is twofold. First the current code actually leaks
memory since it uses g_strdup on username/password and never frees it
anywhere. Second the username/password command can just be sent inside
activate_primary, no reason to do it in the callback.
The fix removes the username / password structure members and moves the
AT*EIAAUW handling to activate_primary. This is almost exactly like the
username / password / context definition for MBM modems.
2010-01-27 13:59:05 -06:00
Denis Kenzior
dda8b972ba
Style: Couple more fixes
2010-01-27 13:46:12 -06:00
Denis Kenzior
b52a6e60c7
Fix: Remove pointless error labels
2010-01-27 12:57:16 -06:00
Denis Kenzior
8e07c9c5d8
Style: Various indentation and spacing issues
2010-01-27 12:53:49 -06:00
Denis Kenzior
083e448fa5
Style: No space after function name
2010-01-27 12:41:49 -06:00
Denis Kenzior
09afdaa19e
Style: Use proper comment formatting
2010-01-27 12:38:27 -06:00
Denis Kenzior
081c7a3138
Style: Don't use underscore
2010-01-27 12:33:11 -06:00
Sjur Brændeland
b0106d1225
Add STE modem support for GPRS PDP Contexts
2010-01-27 12:16:43 -06:00
Marcel Holtmann
b334372ef8
Remove unused declarations
2010-01-25 21:22:32 +01:00
Sjur Brændeland
cb264e3b81
Add CAIF header files in drivers/stemodem/
...
These should go away when CAIF is part of Linux kernel.
2010-01-25 20:58:26 +01:00
Sjur Brændeland
fd73261cd5
Add STE modem driver definition
2010-01-25 20:56:26 +01:00
Sjur Brændeland
040e799665
Add STE modem support for GPRS and network registration
2010-01-25 20:55:10 +01:00
Sjur Brændeland
c664f80f22
Add at_util_call_compare_by_id function
2010-01-25 20:53:57 +01:00
Denis Kenzior
445fc378b5
Fix: Support devices with CSCB mode 0 only
...
MBM devices do not support CSCB mode 1 (remove topics). It is thus
necessary to use mode 0 and sending an empty topic list in order to turn
off all topics. This patch will first query the CSCB modes supported by
the hardware. If mode 1 is supported, then the old behavior is used,
otherwise the new behavior is used.
2010-01-20 22:07:51 -06:00
Denis Kenzior
652825eb71
Style: Don't go over 80 characters per line
2010-01-20 10:14:01 -06:00
Jussi Kukkonen
ebe8904f39
Add quirk for cid and lac handling for Huawei
2010-01-20 10:09:54 -06:00
Aki Niemi
8fe8220b23
Refactor phonebook driver
2010-01-14 10:33:48 +02:00
Aki Niemi
65ce05d37a
Refactor supplementary service drivers
2010-01-14 10:33:48 +02:00
Aki Niemi
5a1a5905d4
Refactor SIM driver
2010-01-14 10:33:47 +02:00
Aki Niemi
e1548d2730
Refactor CBS driver
2010-01-14 10:32:57 +02:00
Aki Niemi
85df7a952a
Clean up style issues
2010-01-14 10:32:56 +02:00
Aki Niemi
04a3c6cb09
Fix cell ID and LAC values
2010-01-14 10:31:13 +02:00
Denis Kenzior
67e5efe7b3
Style: Extraneous space
2010-01-12 17:54:38 -06:00
Denis Kenzior
1b07274de8
Style: space after function argument comma pair
2010-01-12 17:54:38 -06:00
Denis Kenzior
2cde0841aa
Style: Should be a space after if
2010-01-12 17:54:37 -06:00
Denis Kenzior
9bed04ca2f
Style: Trailing whitespace & extra lines
2010-01-12 17:54:37 -06:00
Aki Niemi
63c2dd93b0
Refactor devinfo driver
2010-01-11 10:52:07 +02:00
Aki Niemi
0c7a15b2bd
Add support for modem control
...
This adds support to the PN_MTC server, allowing querying and control
of the modem power state.
2010-01-11 10:52:07 +02:00
Aki Niemi
862358b916
Refactor netreg driver
2010-01-11 10:51:01 +02:00
Aki Niemi
b412c1b3e7
Refactor voicecall driver
2010-01-11 10:51:01 +02:00
Aki Niemi
e55e324a94
Refactor phonebook driver
2010-01-11 10:51:01 +02:00
Aki Niemi
d277e0eb73
User new debug facility
2010-01-11 10:51:01 +02:00
Aki Niemi
5f87037cc3
Include renamed files
2010-01-11 10:51:00 +02:00
Aki Niemi
0bc615eead
Remove contact from boilerplate
2010-01-11 10:51:00 +02:00
Aki Niemi
d0b3e3b211
Add debug implementation
...
Alsoo remove call specific debugs.
2010-01-11 10:51:00 +02:00
Aki Niemi
c03cdaed9a
Split ISI codepoints to separate files
...
Also, adding infrastructure for debugging ISI messages, with APIs for
turning most common fields into human readable string format.
2010-01-11 10:51:00 +02:00
Aki Niemi
06afe598f5
Split isi.h into isimodem.h and isiutil.h
2010-01-11 10:51:00 +02:00
Denis Kenzior
d2b46cde6d
Port isimodem to the new framework
2010-01-06 15:50:41 -06:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Martin Xu
3947638941
Add netmask to HSO GPRS context driver
2009-12-30 00:47:17 -08:00
Rémi Denis-Courmont
bc6c4adcac
gisi: pass object handle to g_isi_verify() callback
...
This will be needed for GPDS.
2009-12-18 15:59:17 +02:00
Denis Kenzior
6cb038fafb
Style: Repeat for drivers
2009-12-17 21:45:40 -06:00
Denis Kenzior
79c0d4c779
Fix: The extra 00 at the end isn't necessary
2009-12-17 21:45:39 -06:00
Denis Kenzior
f74b300a49
Fix: Use capitals for hex-encoded pdus
2009-12-17 21:45:38 -06:00
Denis Kenzior
5fb5a2ceea
Fix: Make sure we don't leak under any conditions
2009-12-17 21:45:38 -06:00
Denis Kenzior
b1cc0bc184
Simplify previous patch
2009-12-17 21:45:38 -06:00
Denis Kenzior
e27508f71a
Implementat SIM envelope in atmodem driver
2009-12-17 21:45:38 -06:00
Martin Xu
c44fee2399
Fix: Set netmask for static ip on mbm
2009-12-16 13:20:26 -06:00
Marcel Holtmann
b939d5e8d7
Activate Speech Service for Option devices
2009-12-10 02:56:16 +01:00
Marcel Holtmann
7546557469
Query current state of Option specific settings
2009-12-10 02:55:53 +01:00
Denis Kenzior
62ba3b30d2
Use at_util_parse_reg in netreg driver
2009-12-09 12:50:52 -06:00
Denis Kenzior
fe02d6bc45
Use new at_util_parse_reg in gprs driver
2009-12-09 12:50:22 -06:00