Commit Graph

7742 Commits

Author SHA1 Message Date
John Ernberg 27b3d904ea bluez4: Remove unneeded casts 2016-04-22 15:25:54 -05:00
John Ernberg a34bf08359 gatchat: Use g_slist_free_full 2016-04-22 15:23:22 -05:00
John Ernberg 3f12d06b20 stemodem: Use g_slist_free_full 2016-04-22 15:22:07 -05:00
John Ernberg 397102bdc5 rilmodem: Use g_slist_free_full 2016-04-22 15:21:39 -05:00
John Ernberg 2db09e4e3f ifxmodem: Use g_slist_free_full 2016-04-22 15:21:11 -05:00
John Ernberg 171ec467e9 hfpmodem: Use g_slist_free_full 2016-04-22 15:20:43 -05:00
John Ernberg 6a07d059d1 atmodem: use g_slist_free_full 2016-04-22 15:20:11 -05:00
Caiwen Zhang 15a5660d58 plugins/ril: Move GPRS atom to 'post_online' state
At gprs atom 'probe' state, max cid query may fail due to rild
status isn't RADIO_STATUS_ON. It causes gprs atom is removed, gprs
feature is inavailable. Move gprs atom creating to 'post_online'
state to make sure rild status is RADIO_STATUS_ON when query max
cid.
2016-04-22 14:19:47 -05:00
John Ernberg a6847d0f7f voicecall: limit g_drivers variable exposure 2016-04-22 14:19:11 -05:00
John Ernberg 72570fffd8 voicecall: fix CreateMultiparty method introspection
This caused problems with stricter dbus wrappers such as dbus-c++.
2016-04-22 14:17:33 -05:00
Denis Kenzior 756e0215ad rilmodem: Remove some unneeded whitespace 2016-04-22 14:16:27 -05:00
Denis Kenzior 92dba5c21d rilmodem: Rename addrs to addr when not plural
addrs variable seems to be used whenever multiple addresses are being
references.  Either as a strv or a compound string separated by a
separator.  In these cases addrs was used for a single address, which
was confusing.
2016-04-22 14:13:19 -05:00
Denis Kenzior 7b8a6db4af rilmodem: Refactor away some explicit casts 2016-04-22 14:09:36 -05:00
Nishanth V 1fa8338661 rilmodem: Add IPv6 support in gprs-context 2016-04-22 12:26:11 -05:00
Nishanth V dc1116876d rilmodem: Add address to protocol type util func 2016-04-22 12:23:00 -05:00
Nishanth V ca246413d1 ril: don't set an ipv4 netmask if not provided
For historical reasons a netmask was always being set, even if one was
not provided.
2016-04-21 12:22:15 -05:00
Nishanth V 77856af5bd test: Add list allowed access points script 2016-04-21 10:03:55 -05:00
Nishanth V 72eb1d7b5f plugins: Add allowed apn list 2016-04-21 10:01:53 -05:00
Nishanth V b04f9e962c simutil: Add EFACL in elementary file db 2016-04-21 10:01:16 -05:00
Nishanth V dc957b4d50 doc: Add allowed-apns api doc 2016-04-21 10:01:05 -05:00
Caiwen Zhang 66160f9b63 sim: fix crash when going into state LOCKED_OUT
After input PIN wrong 3 times, sim main state (include spn_watches)
is freed. but the watch id still be kept by other atoms (network and
gprs), when remove the atom, it will try to remove the watch from
spn_watches, ofono daemon will crash.
2016-04-20 21:28:10 -05:00
Nishanth V b44f59e5e4 gprs-context: fix set ipv4 netmask for rilmodem 2016-04-19 20:53:29 -05:00
Denis Kenzior db7faf0ad3 log: Fix style 2016-04-18 10:02:20 -05:00
Harald Welte bafe8f2d83 log: Don't crash when addr2line output contains no newline 2016-04-18 10:01:22 -05:00
Kuba Pawlak eb23a88956 unit: fix GCC 6.0 compilation issues
-Werror=unused-const-variable
2016-04-18 09:59:09 -05:00
Kuba Pawlak dee50a7565 plugins/nokia-gpio: fix glibc 2.23.9+ issues
readdir_r’ is deprecated [-Werror=deprecated-declarations]
2016-04-18 09:58:21 -05:00
Kuba Pawlak 2d80a04a05 drivers/isimodem: fix GCC 6.0 errors
-Werror=misleading-indentation
2016-04-18 09:52:56 -05:00
Denis Kenzior b708f9f6b3 radio-settings: Fix potential leak
rs->imsi is only freed when rs->settings is true.  So tweak the logic
inside radio_load_settings to only strdup the imsi when settings
creation has succeeded.
2016-04-07 09:19:13 -05:00
Denis Kenzior 77a3c58148 radio-settings: Fix minor style issues 2016-04-07 09:15:22 -05:00
Anirudh Gargi 07dff1916d radio-settings: Add RAT mode to ofono storage 2016-04-07 09:13:28 -05:00
Alfonso Sanchez-Beato 154f4aca65 gprs: Deactivate old contexts on attach
In some cases it is possible that a context is opened after a detach
event has been received, and right before an attach, depending on the
modem. We make sure that those contexts are removed to keep
consistency.
2016-04-04 14:48:05 -05:00
Kuba Pawlak 31d2dfcfbe hfp: Handle +CCWA at HFP connection setup
Some phones with an active and waiting call at the time of HFP SLC
establishment, may send call waiting notification before all calls
are synchronized. This will lead to call Id mismatch because call
object is created with assumed Id 1 and not Id assigned by the phone.

In example below waiting call is created with Id 1 but in AT+CLCC
this phone returns active call as call with Id 1, and waiting as 2.

< \r\n+CCWA: "+1234567890",145\r\n
< \r\n+CIEV: 2,1\r\n
drivers/hfpmodem/voicecall.c:ccwa_notify() ccwa_notify: +1234567890 145 0
src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 5, id: 1, number: +1234567890 called_number: , called_name
src/voicecall.c:ofono_voicecall_notify() Did not find a call with id: 1
> AT+CIND?\r
< \r\n+CIND: 1,1,1,4,0,2,0\r\n\r\nOK\r\n
src/network.c:ofono_netreg_status_notify() /hfp/org/bluez/hci0/dev_60_AF_6D_F7_8E_37 status 1 tech -1
> AT+VGS=7\r
< \r\nOK\r\n
> AT+VGM=7\r
< \r\nOK\r\n
> AT+CLCC\r
< \r\n+CLCC: 1,1,0,0,0,"+9876543210",145\r\n
< \r\n+CLCC: 2,1,5,0,0,"+1234567890",145\r\n\r\nOK\r\n
src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 0, id: 1, number: +9876543210 called_number: , called_name
src/voicecall.c:ofono_voicecall_notify() Found call with id: 1
src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: 5, id: 2, number: +1234567890 called_number: , called_name
src/voicecall.c:ofono_voicecall_notify() Did not find a call with id: 2
src/voicecall.c:ofono_voicecall_mpty_hint() ids: 0
2016-04-04 14:43:11 -05:00
Denis Kenzior 33e2dce698 AUTHORS: Mention Nishanth's contributions 2016-03-31 10:17:58 -05:00
Samrat Guha Niyogi 12f6d1d32e test: Support SoftwareVersionNumber in test-modem 2016-03-31 10:16:40 -05:00
Samrat Guha Niyogi 408b78e285 rilmodem: Add support of IMEISV 2016-03-31 10:16:23 -05:00
Denis Kenzior 6eeb896981 modem: Fix style 2016-03-31 10:16:23 -05:00
Samrat Guha Niyogi 93f3b200fc devinfo: Add support of IMEISV 2016-03-31 10:16:23 -05:00
Samrat Guha Niyogi 47082976e9 include: Add support for IMEISV in devinfo 2016-03-31 10:16:23 -05:00
Samrat Guha Niyogi ac45314cf1 doc: Add SoftwareVersionNumber to Modem interface 2016-03-31 10:16:23 -05:00
Nishanth V 1bfdd57519 test: Add get serving cell information script 2016-03-31 10:00:59 -05:00
Nishanth V 8c88c307ca sofia3gr: Add netmon support 2016-03-31 10:00:27 -05:00
Denis Kenzior a259c5439a rilmodem: Fix minor style issues 2016-03-31 09:59:47 -05:00
Nishanth V 6d97528592 rilmodem: Add netmon support 2016-03-31 09:56:32 -05:00
Denis Kenzior 2d78909cce netmon: Fix minor style issues 2016-03-31 09:53:55 -05:00
Denis Kenzior 1b87247a11 netmon: Add ofono/netmon.h into ofono.h 2016-03-31 09:50:25 -05:00
Nishanth V 6ed9b55974 netmon: Add serving cell info support 2016-03-31 09:48:37 -05:00
Nishanth V 093b2365d2 gril: Added RIL_REQUEST_GET_CELL_INFO_LIST 2016-03-31 09:47:27 -05:00
Denis Kenzior 34b54f6035 include: Fix whitespace issues 2016-03-31 09:46:54 -05:00
Nishanth V ef5acf0c8d include: Add netmon changes 2016-03-31 09:46:27 -05:00
Alfonso Sanchez-Beato e5e6add6ad gril: Really use given uid/gid to open ril socket 2016-03-24 09:29:19 -05:00