Commit Graph

7805 Commits

Author SHA1 Message Date
Denis Kenzior ee98484193 test: Add cancel-sms script 2016-06-06 11:03:01 -05:00
Denis Kenzior 4f8d85665d test: Fix permissions 2016-06-06 11:02:18 -05:00
Denis Kenzior f420aea458 allowed-apns: Fix crash
When a modem is being removed, all of the modem's atom watches have
already been cleaned up.  Trying to remove it again results in a crash.

Fix by registering a destroy callback which will be notified when the
atomwatch has been removed.
2016-06-06 11:01:17 -05:00
Nishanth V ff7837b054 plugins: Fix allowed apn plugin exit 2016-05-26 09:27:01 -05:00
Anirudh Gargi 1cab1d554d gril: Fix print macros to use latest print_buf 2016-05-24 11:05:42 -05:00
Denis Kenzior e62708b0a2 AUTHORS: Mention Rajagopal's contributions 2016-05-24 11:04:39 -05:00
Rajagopal Aravindan deb8652c35 test: Added test to disable sofia 3gr tx throttling 2016-05-24 11:03:11 -05:00
Rajagopal Aravindan 06bc8c4160 test: Added test to enable sofia 3gr tx throttling 2016-05-24 11:02:18 -05:00
Rajagopal Aravindan a8d084dcf0 ril_sofia3gr: Add transmit power throttling
Added 'sofia3gr.ThermalManagement' interface to sofia3gr plugin and
floated 'TransmitPowerThrottling' as an ofono property under that,
to support modem throttling.

'sofia3gr.ThermalManagement'
    1.Will be available ONLY if modem throttling is supported in RIL.
      This is determined by sending a RIL request during ofono start,
      to get current throttling state. If it succeeds, interface is
      published otherwise not.

'TransmitPowerThrottling'
    1.GetProperties will be allowed both when modem is ON & OFF.
    2.GetProperties will be serviced by looking it up from state
      information maintained inside ofono. No RIL call will be made.
    3.SetProperty will be allowed ONLY when modem is ON.
    4.SetProperty request will be forwarded to RIL ONLY if
      new state != current state. If RIL request succeeds, state
      information will be updated and also, a property change signal
      will be emitted.
2016-05-24 11:01:43 -05:00
Nishanth V ba42155a2c rilmodem: fix WCDMA only in query rat mode 2016-05-20 10:16:23 -05:00
Caiwen Zhang b8a79b605e plugins/ril: enable cbs 2016-05-19 10:30:13 -05:00
Caiwen Zhang 1eec2fc46e rilmodem: add cell broadcast message support 2016-05-19 10:29:33 -05:00
Samrat Guha Niyogi 5a03102192 ril_sofia3gr: Return -EINPROGRESS on disable() 2016-05-18 12:15:41 -05:00
Denis Kenzior 348c8d0da9 AUTHORS: Mention Suman's contributions 2016-05-17 09:49:14 -05:00
Suman Mallela 9a584ae2bb rilmodem: Fix PIN retries logic
The SIM PIN retries were not getting reset when the correct PIN/PUK
was entered.
2016-05-17 09:48:03 -05:00
Caiwen Zhang 16efc8b6e2 gril: avoid glib runtime warning
gril may be destroyed in the request callback (e.g in the callback of
set modem power off request). 'out_queue' and 'command_queue' is NULL.
there will be glib runtime warning if use them.
2016-05-17 09:46:35 -05:00
Caiwen Zhang 6c328f8529 plugins/ril: complete modem power off process 2016-05-13 20:54:56 -05:00
Marcel Holtmann 979e8e21b9 Release 1.18 2016-05-03 19:03:16 +02:00
Caiwen Zhang ca8c3ff22b plugins/ril: enable STK 2016-05-03 11:14:43 -05:00
Caiwen Zhang 008eed357d rilmodem/stk: add STK support for rilmodem 2016-05-03 11:14:28 -05:00
Denis Kenzior 5b80335573 gobi: Fix warning
plugins/gobi.c: In function ‘gobi_pre_sim’:
plugins/gobi.c:431:2: error: ‘sim_driver’ may be used uninitialized in
this function [-Werror=maybe-uninitialized]
  ofono_sim_create(modem, 0, sim_driver, data->device);
    ^
2016-05-03 11:12:19 -05:00
Denis Kenzior 2b64d31fbc udevng: Fixup various minor style issues 2016-05-03 11:09:24 -05:00
Martin Chaplet 4005e87923 udevng: Add support for Sierra MC73xx QMI modems
Udevng layer is changed in order to support Sierra QMI modems like
MC73cxx. Identically to Huawei modems, these modems are parsed by
setup_sierra. If QMI interface is detected, the Gobi modem driver is
selected.

Unfortunately, MC73xx chips seem to have a broken QMI UIM interface.
The qmimodem-legacy is so forced in setup function.
2016-05-03 11:06:04 -05:00
Martin Chaplet d415265a69 udevng: Improve modem properties detection
* Add driver's subsystem information (net, usb, tty, ...)
 * Improve interface number extraction by scanning also device and
 parent attributes
2016-05-03 11:04:58 -05:00
Martin Chaplet be1190b2cf gobi: Enable SIM driver forcing
Some gobi devices do not actually support UIM interface.  So if the
"ForceSimLegacy" property is set, force the qmimodem-legacy SIM driver.
2016-05-03 11:03:41 -05:00
Denis Kenzior 1d04629435 AUTHORS: Mention Martin's contributions 2016-05-02 10:11:48 -05:00
Martin Chaplet 9e50d14e40 udevng: Add usbmisc scan for QMI devices
cdc-wdm0 are now usbmisc devices
2016-05-02 10:11:24 -05:00
Denis Kenzior 2859e0547c radio-settings: Fix style 2016-04-27 11:19:18 -05:00
Antara Borwankar d8b60d854c radio-settings: Init pending_band_{gsm|umts}
The set_band method takes two parameters for band settings, one for gsm
and one for umts.  When loaded from storage, and they are not set to
defaults, the band variables can get out of sync when setting the
GsmBand and UmtsBand properties.
2016-04-27 11:19:13 -05:00
Denis Kenzior 29ff4dc2e4 rilmodem: Remove no longer relevant TODO 2016-04-27 11:14:59 -05:00
Denis Kenzior 6be11e19be include: Remove unused query_locked method 2016-04-27 11:14:35 -05:00
Denis Kenzior 5d1702fa0e isi: Change query_locked to query_facility_lock 2016-04-27 11:13:33 -05:00
Denis Kenzior 7d5d131e99 isimodem: Remove unimplemented query_locked method 2016-04-27 11:06:52 -05:00
Denis Kenzior 847df8ee78 atmodem: Change query_locked to query_facility_lock 2016-04-27 11:04:43 -05:00
Samrat Guha Niyogi 7b2f8b0f6e sim: Query the status of PS and PN facility locks 2016-04-27 11:01:09 -05:00
Denis Kenzior 9809aee40c rilmodem: Fix style 2016-04-27 10:58:13 -05:00
Samrat Guha Niyogi 421351cf57 rilmodem: Implement sim atom query_facility_lock 2016-04-27 10:41:33 -05:00
Samrat Guha Niyogi 0b35d7d8be include: Add query_facility_lock method 2016-04-27 10:38:47 -05:00
Caiwen Zhang e9bdd4e814 doc: Fix enumeration value to be gprs and not gsm 2016-04-27 10:00:02 -05:00
Denis Kenzior f92b763da4 radio-settings: Fix 80-character limit 2016-04-26 08:13:42 -05:00
Denis Kenzior b4ee4446ad AUTHORS: Mention Antara's contributions 2016-04-26 08:13:05 -05:00
Antara Borwankar e8c4e0f4c1 radio-settings: Store GSM and UMTS band settings 2016-04-26 08:12:19 -05:00
John Ernberg 65132868c8 stk: clean up undefined function pointer casts 2016-04-26 08:05:00 -05:00
John Ernberg 6ad3e839d1 configure: Bump glib dependecy to 2.32
Needed to support g_queue_free_full
2016-04-26 08:04:50 -05:00
Denis Kenzior 55729d68fb ril_sofia3gr: Add quirk to radio_settings atom 2016-04-25 15:27:37 -05:00
Denis Kenzior c02a97b207 ril: vendorize SoFiA set_band implementation
Since the set_band implementation uses an OEM hook, it should be wrapped
behind a vendor quirk.
2016-04-25 15:26:35 -05:00
Antara Borwankar 2bb515a6ab rilmodem: Driver code to set band mode and value
set_band driver to set GSM band and UMTS band
2016-04-25 15:16:22 -05:00
John Ernberg 74e85341ce simfs: Remove explicit casts 2016-04-22 15:41:27 -05:00
John Ernberg d8821a48d0 sim: Remove explicit casts 2016-04-22 15:40:43 -05:00
John Ernberg 7ea76fb667 phonebook: Remove explicit casts
Casting between incompatible function pointer types is undefined.  So
remove such casts when possible.
2016-04-22 15:39:22 -05:00