Commit Graph

5733 Commits

Author SHA1 Message Date
Aleksander Morgado
9a068b4294 samsung: port Bearer to use the 'config' property in the MMBearer class
This saves us from requiring to implement user & password in all modems.
2012-08-06 20:07:24 +02:00
Aleksander Morgado
fc9a7dbbd9 samsung: port plugin to the refactored probing logic 2012-08-06 20:07:24 +02:00
Aleksander Morgado
03a0fee4ff samsung: minor coding style fixes 2012-08-06 20:07:24 +02:00
Aleksander Morgado
6f814bb15a samsung: plug memleak
get_port() actually increases the refcount of the returned port, use peek_port()
instead.
2012-08-06 20:07:24 +02:00
Aleksander Morgado
a80e620342 samsung: fix typo, s/recieved/received 2012-08-06 20:07:24 +02:00
Nathan Williams
f15527eecd samsung: plugin for Samsung Y3300/Y3400 UMTS modems based on the Icera/Nvidia chipset 2012-08-06 20:07:24 +02:00
Aleksander Morgado
ea3652ef63 TODO: add task to give time to modems to settle down after PIN entry 2012-08-06 20:07:24 +02:00
Aleksander Morgado
0bd8f5bc94 pantech: expect QCDM ports 2012-08-06 20:07:24 +02:00
Aleksander Morgado
b96a50f42b pantech: always prefer the ttyACM port as primary AT port 2012-08-06 20:07:24 +02:00
Aleksander Morgado
f4754e150e pantech: initial dummy plugin 2012-08-06 20:07:24 +02:00
Aleksander Morgado
aab8524285 x22x: plugin fully ported 2012-08-06 20:07:24 +02:00
Aleksander Morgado
14d482286f x22x: implement allowed mode loading and setting 2012-08-06 20:07:24 +02:00
Aleksander Morgado
d206bb045b x22x: implement access technology loading 2012-08-06 20:07:24 +02:00
Aleksander Morgado
2483eaecb5 x22x: new `MMBroadbandModemX22x' object 2012-08-06 20:07:24 +02:00
Aleksander Morgado
a74523feab x22x: start porting the X22X plugin 2012-08-06 20:07:24 +02:00
Aleksander Morgado
6a4ce68e40 TODO: add task for the PIN/PUK retries left loading in Longcheer modems 2012-08-06 20:07:23 +02:00
Aleksander Morgado
2444673527 longcheer: plugin fully ported 2012-08-06 20:07:23 +02:00
Aleksander Morgado
2a871db7ec longcheer: implement allowed mode loading and setting 2012-08-06 20:07:23 +02:00
Aleksander Morgado
f5d7605def longcheer: implement access technology loading 2012-08-06 20:07:23 +02:00
Aleksander Morgado
1f9c3ef61e longcheer: new `MMBroadbandModemLongcheer' object 2012-08-06 20:07:23 +02:00
Aleksander Morgado
3fb5f1ae38 longcheer: start porting the Longcheer plugin 2012-08-06 20:07:23 +02:00
Aleksander Morgado
5b2c839dd9 huawei: cache port mode results in the parent `MMDevice'
This lets us skip the search for the `MMPortProbe' where we got the results.
2012-08-06 20:07:23 +02:00
Aleksander Morgado
e303e5c90d huawei: plugin fully ported 2012-08-06 20:07:23 +02:00
Aleksander Morgado
dd71656106 huawei: implement custom detailed CDMA registration state checks 2012-08-06 20:07:23 +02:00
Aleksander Morgado
ad3f3fe6a6 huawei: do not run AT+CSS? in EV-DO capable devices 2012-08-06 20:07:23 +02:00
Aleksander Morgado
e6d7885d7f huawei: implement CDMA unsolicited signal change report handling 2012-08-06 20:07:23 +02:00
Aleksander Morgado
a7f0a313e5 huawei: setup/cleanup unsolicited message handlers in the CDMA interface 2012-08-06 20:07:23 +02:00
Aleksander Morgado
93cc9483bc huawei: allow grabbing QCDM ports 2012-08-06 20:07:23 +02:00
Aleksander Morgado
5d38983d66 huawei: ignore unsolicited ^CSNR notifications 2012-08-06 20:07:23 +02:00
Aleksander Morgado
1c3644e477 TODO: add task to check messaging unsolicited messages in Huawei modems 2012-08-06 20:07:23 +02:00
Aleksander Morgado
8775702906 huawei: implement custom USSD encode/decode methods 2012-08-06 20:07:23 +02:00
Aleksander Morgado
5a5aa9b789 huawei: implement allowed mode getting/setting 2012-08-06 20:07:23 +02:00
Aleksander Morgado
c0126531c5 huawei: implement band loading/setting 2012-08-06 20:07:23 +02:00
Aleksander Morgado
325ece6fe3 huawei: implement unlock retries loading 2012-08-06 20:07:23 +02:00
Aleksander Morgado
8c5f13a657 huawei: implement unsolicited messages enabling/disabling 2012-08-06 20:07:22 +02:00
Aleksander Morgado
6f2fe89ef2 huawei: implement unsolicited 3GPP signal change report handling 2012-08-06 20:07:22 +02:00
Aleksander Morgado
02cf87b149 huawei: implement access technology loading and update handling 2012-08-06 20:07:22 +02:00
Aleksander Morgado
433c8fa85b huawei: report connection status statistics 2012-08-06 20:07:22 +02:00
Aleksander Morgado
b25b7f91cb huawei: setup/cleanup unsolicited message handlers in the 3GPP interface 2012-08-06 20:07:22 +02:00
Aleksander Morgado
98f28db6e3 huawei: setup handlers for unsolicited messages
Initially all disabled.
2012-08-06 20:07:22 +02:00
Aleksander Morgado
008beeedcc huawei: new `MMBroadbandModemHuawei' object 2012-08-06 20:07:22 +02:00
Aleksander Morgado
efe2228515 huawei: try to gather port layout while probing
We will try to use usbif0 to gather the port layout with AT^GETPORTMODE.
2012-08-06 20:07:22 +02:00
Aleksander Morgado
f9a0aba08c huawei: start porting the Huawei plugin 2012-08-06 20:07:22 +02:00
Aleksander Morgado
b8cc7c66ec device: don't create devices with 0 ports
If for any reason we're requested to create a device with 0 ports, just return
error.
2012-08-06 20:07:22 +02:00
Aleksander Morgado
da0226708a plugin: abort probing when the port has been released from the device 2012-08-06 20:07:22 +02:00
Aleksander Morgado
68c276efc1 broadband-modem: new generic steps in initialization/enabling/disabling
Instead of hardcoding the logic to decide which ports are open or closed in the
different steps, we now let the subclasses of MMBroadbandModem to do that
themselves.

We now provide:

  * initialization_started() and initialization_stopped(): the generic
    implementation does the serial port open/close in these steps.

  * enabling_started(): the generic implementation does the serial port opening
    here. The serial ports are kept open as long the modem is in enabled state.

  * disabling_stopped(): the generic implementation does the serial port closing
    here.
2012-08-06 20:07:20 +02:00
Aleksander Morgado
3b1d3063ba manager: remove the MMDevice object when the last port of the device is released 2012-08-06 20:06:47 +02:00
Aleksander Morgado
8ae87f5c38 manager: fix removal of device from our HT of devices 2012-08-06 20:06:47 +02:00
Aleksander Morgado
ff8a962d99 port-probe: let us peek the `MMDevice' owning the probe from the probe itself 2012-08-06 20:06:47 +02:00
Aleksander Morgado
1ca46cc0ec plugins: use default port grabbing on those plugins without special requirements 2012-08-06 20:06:46 +02:00