Commit Graph

2251 Commits

Author SHA1 Message Date
Kristen Carlson Accardi e98fb9a6bd ppp: change MTU on TUN device when MRU option received 2010-04-22 17:56:31 -05:00
Andrzej Zaborowski 6e28fd9396 Fix CTLV three-byte tag parsing. 2010-04-22 17:44:20 -05:00
Denis Kenzior fde23f113a ppp: Request MRU if we ever get NAKed with it
Huawei E160G hardware seems to NAK our configure request and suggest
that it will never send packets bigger than 1440 bytes.  Since we don't
particularly care (our receive ring buffer is 4K, so it can handle 2048
byte packets), we just re-send the Configure Request with the preferred
value.
2010-04-22 15:08:05 -05:00
Denis Kenzior 07280e1bff ppp: Fix trivial copy paste error 2010-04-22 15:07:42 -05:00
Denis Kenzior 226865272c ppp: Shut off IPCP when entering TERMINATING phase 2010-04-22 15:05:18 -05:00
Kristen Carlson Accardi 71775550fe ppp: implement MRU option
If the peer requests a MRU option, set the mtu for the network
phase.  When we are in link establishment phase, we should
continue to behave as if no option has been set and the peer
should use the default MRU.

This option is required for the Huawei E160G modem.
2010-04-22 07:00:40 +02:00
Zhenhua Zhang e1daf20651 mbm: Add Dell 5530 modem port suffix
Dell 5530 seems to have three tty ports labeled:
"Dell Wireless 5530 HSPA Mobile Broadband Minicard Modem"
"Dell Wireless 5530 HSPA Mobile Broadband Minicard Modem 2"
"Dell Wireless 5530 HSPA Mobile Broadband Minicard GPS Port"
2010-04-21 12:46:47 -05:00
Denis Kenzior a7fb1624fd stkutil: Another trivial indentation fix 2010-04-21 10:29:27 -05:00
Yang Gu 29e03d316b Add parser for battery state objects 2010-04-21 10:28:43 -05:00
Yang Gu 3e52bb0503 Add parser for network search mode objects 2010-04-21 10:28:21 -05:00
Yang Gu cabb1c89a8 Add parser for imeisv objects 2010-04-21 10:27:58 -05:00
Yang Gu e374b558a2 Add parser for item text attribute list objects 2010-04-21 10:26:04 -05:00
Yang Gu 3e5bf2f6bb Add parser for cdma sms tpdu objects 2010-04-21 10:25:38 -05:00
Denis Kenzior fdfff04073 stkutil: Refactor network access name
Don't allow 0 byte objects
2010-04-21 10:23:56 -05:00
Yang Gu ee85ca8d7a Add parser for network access name objects 2010-04-21 10:18:16 -05:00
Denis Kenzior d2830249c6 stkutil: Trivial indentation fix 2010-04-21 10:17:20 -05:00
Yang Gu 6ac8188ce2 Add parser for esn objects 2010-04-21 10:16:57 -05:00
Denis Kenzior d211da15b2 stkutil: Refactor remote entity address
Don't assign to the return structure until we know we can successfully
parse.
2010-04-21 10:14:04 -05:00
Yang Gu fdfb64d9f1 Add parser for remote entity address objects 2010-04-21 10:12:41 -05:00
Yang Gu f78de0f762 Add parser for service availability objects 2010-04-21 10:10:56 -05:00
Denis Kenzior 24aee7a6b0 stkutil: Refactor attribute information
Only Bluetooth & IRDA are really defined by the specification
2010-04-21 10:09:12 -05:00
Yang Gu 9b911a8d59 Add parser for attribute information objects 2010-04-21 10:08:28 -05:00
Denis Kenzior 9fa51c4fb5 stkutil: Refactor service search
Only Bluetooth & IRDA are really defined by the specification
2010-04-21 10:07:32 -05:00
Yang Gu 2c2bcced5e Add parser for service search objects 2010-04-21 10:05:43 -05:00
Denis Kenzior 432effa755 stkutil: refactor device filter
Only Bluetooth & IRDA are really defined by the specification
2010-04-21 10:04:13 -05:00
Yang Gu 515eef4db0 Add parser for device filter objects 2010-04-21 09:08:53 -05:00
Yang Gu 05e13603f4 Add parser for service record objects 2010-04-21 09:03:14 -05:00
Yang Gu aac9596714 Add parser for display parameters objects 2010-04-21 09:02:39 -05:00
Yang Gu 244d4d261e Add parser for access technology objects 2010-04-21 09:02:17 -05:00
Aki Niemi 22103491a4 gisi: move g_isi_modem_by_name to separate file
This fixes build warnings that resulted from conflicts between
linux/if.h and net/if.h.
2010-04-21 10:48:29 +03:00
Yang Gu 3dc106c627 Add parser for aid objects 2010-04-20 15:48:46 -05:00
Yang Gu 5bc4834c19 Add parser for UICC/TE transport interface level 2010-04-20 15:45:43 -05:00
Denis Kenzior 8c67bed08c build: Upate test script list and sort 2010-04-20 12:15:27 -05:00
Denis Kenzior 0b8efdc172 Mention Daniel's contributions 2010-04-20 12:06:06 -05:00
Daniel Wagner 90462a6fc3 Add script for entering pin 2010-04-20 12:05:27 -05:00
Denis Kenzior 17c2c08fa5 Mention Matthias' contributions 2010-04-20 12:03:53 -05:00
Denis Kenzior 1442b0af46 wavecom: Trivial comment update 2010-04-20 11:54:25 -05:00
Denis Kenzior 9d58e01d96 wavecom: Braces are not necessary 2010-04-20 11:54:25 -05:00
Matthias Günther d8e1a68264 Added Wavecom modem plugin.
The Wavecom WMP100 is a serial based modem, however it assumes CPIN to
be the final response.  This requires some quirking in the sim driver.

Refer to commit 6d28f82dc1 for details.
2010-04-20 11:54:25 -05:00
Aki Niemi 1a52b68573 Fix build warning on 64bit system 2010-04-20 17:47:17 +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 793710d800 Parse Interface key for isimodem and n900modem 2010-04-20 17:47:16 +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 3ddc7ab7c3 gisi: add gisi server API 2010-04-20 17:47:16 +03:00
Pekka Pessi 66e87b42b3 gisi: fix cast-align warnings 2010-04-20 17:47:16 +03:00
Pekka Pessi 7c8fd12d9a gisi: check for NULL client and remove warnings 2010-04-20 17:47:16 +03:00
Pekka Pessi 12acb80e98 gisi: move GIsiDebugFunc into modem.h 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