Commit Graph

2518 Commits

Author SHA1 Message Date
Aleksander Morgado
83586c9a62 policy: implement 3GPP interface rules 2012-03-16 14:53:15 +01:00
Aleksander Morgado
6a655f5daf iface-modem-simple: include policy authorization checks 2012-03-16 14:53:15 +01:00
Aleksander Morgado
f2440e9ab2 policy: implement Simple interface rules 2012-03-16 14:53:15 +01:00
Aleksander Morgado
2240747715 iface-modem: include policy authorization checks 2012-03-16 14:53:15 +01:00
Aleksander Morgado
e176d56b32 policy: implement Modem interface rules 2012-03-16 14:53:15 +01:00
Aleksander Morgado
d5deb2bb14 manager: use new simplified authentication setup 2012-03-16 14:53:15 +01:00
Aleksander Morgado
dad31604cb policy: implement Manager interface rules 2012-03-16 14:53:15 +01:00
Aleksander Morgado
d06d76e379 policy: no need for a rule to manage readable info 2012-03-16 14:53:15 +01:00
Aleksander Morgado
587bca48f0 policy: renamed Sms' action to Messaging' 2012-03-16 14:53:15 +01:00
Aleksander Morgado
5ab3ec6bce build: require polkit-gobject >= 0.97
It's new enough, and it lets us use polkit_authority_get_sync().
2012-03-16 14:53:15 +01:00
Aleksander Morgado
3e5b42569b base-modem: use new simplified authentication setup 2012-03-16 14:53:15 +01:00
Aleksander Morgado
089a983850 auth: refactor and simplify authentication related setup
We get rid of the MMAuthRequests; and we leave up to the caller and user of the
MMAuthProvider the handling of request cancellations through the provided
GCancellable.

Also made GIO-async-friendly methods.
2012-03-16 14:53:15 +01:00
Aleksander Morgado
7316f4645b iface-modem-3gpp-ussd: fix copyrights 2012-03-16 14:53:14 +01:00
Nathan Williams
8e640d3adc novatel: new plugin for the Novatel E362 2012-03-16 14:53:14 +01:00
Aleksander Morgado
e992d5cbd1 charsets: fix compilation with -Werror=maybe-uninitialized 2012-03-16 14:28:15 +01:00
Aleksander Morgado
38b7e6e129 build: so long dbus-glib, and thanks for all the fish 2012-03-16 14:28:15 +01:00
Aleksander Morgado
7a892b74cb build: don't build the MMCallbackInfo, we're now fully GIO-Async instead 2012-03-16 14:28:15 +01:00
Aleksander Morgado
680e292914 build: fix header dependencies
We shouldn't depend on any header file from the previous implementation.
2012-03-16 14:28:15 +01:00
Aleksander Morgado
4de848de39 tests,sms: print traces if enabled during compilation 2012-03-16 14:28:15 +01:00
Aleksander Morgado
2522acf899 tests,sms: refactor SMS part related tests
Now using the MMSmsPart setup.
2012-03-16 14:28:15 +01:00
Aleksander Morgado
5bee67c032 core: use GDBusMethodInvocation in the auth API 2012-03-16 14:28:15 +01:00
Aleksander Morgado
5f167fd199 Revert "core: avoid using DBusGMethodInvocation in auth API"
This reverts commit 013fd179f458d87bba9fd7657ffe1bd90169f231.

We will start using GDBus-only based code from now on.
2012-03-16 14:28:15 +01:00
Aleksander Morgado
080d046e64 iface-modem: load allowed/preferred modes during modem enabling 2012-03-16 14:28:15 +01:00
Aleksander Morgado
8396d8a82f option: implement default access technology loading 2012-03-16 14:28:14 +01:00
Aleksander Morgado
205313b783 option: start porting the Option plugin 2012-03-16 14:28:14 +01:00
Aleksander Morgado
725745399a generic: new Generic-specific source directory 2012-03-16 14:28:14 +01:00
Aleksander Morgado
ab3d537416 motorola: fully ported the moto-c plugin 2012-03-16 14:28:14 +01:00
Aleksander Morgado
d255902f9b gobi: remove old sources, plugin fully ported 2012-03-16 14:28:14 +01:00
Aleksander Morgado
ecc5b4f260 gobi: new Gobi-specific source directory 2012-03-16 14:28:14 +01:00
Aleksander Morgado
d09dfbb7d1 gobi: access technology loading implementation 2012-03-16 14:28:14 +01:00
Aleksander Morgado
1359c0a928 modem-helpers: updated the string to access technology converter
We can now return a mask of flags specifying more than one access technology,
and therefore the order is not really important any more, unless for special
cases like looking for substrings of valid expected strings (e.g "HSPA" and
"HSPA+").

Also, add "LTE" in the list of expected strings.
2012-03-16 14:28:14 +01:00
Aleksander Morgado
4315208cfa iface-modem-cdma: include in the API the mask of all CDMA access technologies 2012-03-16 14:28:14 +01:00
Aleksander Morgado
049d4434f9 iface-modem-3gpp: include in the API the mask of all 3GPP access technologies 2012-03-16 14:28:14 +01:00
Aleksander Morgado
39eaeb2c4e nokia: new Nokia-specific source directory 2012-03-16 14:28:14 +01:00
Aleksander Morgado
213706c503 cinterion: remove old sources, plugin fully ported 2012-03-16 14:28:13 +01:00
Aleksander Morgado
a9c406e3c0 cinterion: new Cinterion-specific source directory 2012-03-16 14:28:13 +01:00
Aleksander Morgado
fdddafd1ca iridium: new Iridium-specific source directory 2012-03-16 14:28:13 +01:00
Aleksander Morgado
bf7d0c712f cinterion: implement frequency band setting 2012-03-16 14:28:13 +01:00
Aleksander Morgado
f6b6688cce broadband-modem: new method to convert from UTF-8 to the charset in the modem 2012-03-16 14:28:13 +01:00
Aleksander Morgado
3028126bd2 charsets: new UTF-8 to given charset converter
UCS-2 strings are always hex-converted.
2012-03-16 14:28:13 +01:00
Aleksander Morgado
6f1a4514da libmm-common: new bands array comparator 2012-03-16 14:28:13 +01:00
Aleksander Morgado
91416a3e3d cinterion: implement current band list loading 2012-03-16 14:28:13 +01:00
Aleksander Morgado
a0583a4687 broadband-modem: expose the current charset to UTF-8 converter
So that subclasses can also use it.
2012-03-16 14:28:13 +01:00
Aleksander Morgado
3595b33648 iface-modem: load current bands during modem enabling 2012-03-16 14:28:13 +01:00
Aleksander Morgado
09d2f062c7 api,dbus: rename AllowedBands' to just Bands'
ModemManager will load:
  1) The list of supported bands. Note that this doesn't mean that any possible
     combination of bands is supported, as modems may support only specific
     combinations, but at least gives a rough idea of what the modem is capable
     of handling.

  2) The list of CURRENT bands. There is no such "Allowed" bands, as we do with
     modes, modems will have a specific set of bands being currently used, which
     will be reported in the `Bands' property.

If the modem allows modifying the list of bands to use, this can be done with
the `SetBands()' method. If the modem doesn't support using a specific
combination of bands, this method will report an error.
2012-03-16 14:28:13 +01:00
Aleksander Morgado
76e52236a4 iridium: create a MMBearerIridium 2012-03-15 14:15:08 +01:00
Aleksander Morgado
6d8404a6ab iridium: implement custom SMS indication enabling 2012-03-15 14:15:08 +01:00
Aleksander Morgado
4e55b16f9a iridium: close and open the port during disconnection
The Iridium modem doesn't seem to like only the port flashing during the
disconnection, so we fully close and open again the port.
2012-03-15 14:15:08 +01:00
Aleksander Morgado
b14bf797f1 iridium: override generic initialization
We must send ATZ alone and once reply received, wait some time before sending
the next initialization commands. Otherwise, the next commands will receive
garbage as reply. The only way to handle this is to override the whole generic
initialization phase.
2012-03-15 14:15:08 +01:00
Aleksander Morgado
7e31470066 iridium: set bearer service type to 9600bps V.110 2012-03-15 14:15:07 +01:00