Aki Niemi
3d0d2db83f
Add sane default to dial-number script
2010-04-27 23:21:49 +03:00
Aki Niemi
8aa82f0a4f
gisi: remove misplaced define
2010-04-27 23:21:48 +03:00
Aki Niemi
f89f11d2a2
gisi: refactor client implementation
2010-04-27 23:21:48 +03:00
Aki Niemi
41a21ac96b
Fix typo in gprs driver
2010-04-27 23:21:48 +03:00
Aki Niemi
b0222a79c3
Fix faulty logic in netreg driver
...
Also add missing tech param.
2010-04-27 23:21:48 +03:00
Aki Niemi
c123a9b5ba
Fix remove ops in isimodem drivers
2010-04-27 23:21:48 +03:00
Aki Niemi
a03d11fec7
Fix style issues in isimodem
2010-04-27 23:21:48 +03:00
Yang Gu
c5023690b7
stkutil: Make get inkey parser use its own struct
2010-04-27 09:35:01 -05:00
Yang Gu
1bd755bcdc
stkutil: Use char* instead of char**
...
char ** should only be used for character arrays that are allocated by
the parser. Static buffers should be passed as char*
2010-04-27 09:33:32 -05:00
Yang Gu
f6f5884fb4
test-stkutil: Add unit test for more time parser
2010-04-27 09:33:02 -05:00
Yang Gu
8516a38cf1
stkutil: Add 'more time' proactive command parser
2010-04-27 09:32:06 -05:00
Yang Gu
ef9e9038a0
test-stkutil: Refactor display text unit tests
2010-04-27 09:31:30 -05:00
Yang Gu
3ae32b6e51
stkutil: Use struct to represent frame id
...
Use a field has_id to indicate if we have frame id or not. Originally
we use 0xFF to indicate we don't have frame id. But in that way, we
have to initialize each test case of proactive command when it doesn't
have this comprehension tlv to be 0xFF. To use has_id will save this
effort, and keep consistency with other implementations.
2010-04-27 09:30:59 -05:00
Yang Gu
def5c38094
stkutil: Move advance of ctlv to parse_dataobj
...
Not all the proactive commands have comprehension tlv other than
command details and device identities. So the appropriate code should
be moved to parse_dataobj() from stk_command_new_from_pdu().
2010-04-27 09:30:39 -05:00
Kristen Carlson Accardi
a9c0be7339
ppp: use default ACCM when sending LCP codes 1-7
...
According to the spec, you must transmit all Link Configuration,
Termination, and Code-Reject packets as if no options had been
negotiated. This requires that when encoding we use the
default ACCM of 0xffffffff when sending these types of packets.
2010-04-26 15:31:17 -05:00
Kristen Carlson Accardi
fce78feb54
ppp: discard non-LCP packets in ESTABLISHMENT phase
2010-04-26 12:38:31 -05:00
Yang Gu
30644d8195
stkutil: Fix the assignment to minimum set
2010-04-26 11:30:52 -05:00
Pekka Pessi
7bf2dc9707
Fix: transaction id usage in gisi/server.c
2010-04-24 14:09:58 -05:00
Marcel Holtmann
cc1975270c
Fix broken HDLC flag handling
2010-04-24 19:12:30 +02:00
Marcel Holtmann
057bd9f0b3
Fix wrong escape character check in HDLC transmit
2010-04-24 19:02:04 +02:00
Marcel Holtmann
46839fbd15
Allow real wrapping around of HDLC transmit ring buffer
2010-04-24 19:00:54 +02:00
Marcel Holtmann
8f05535bb2
Add offset parameter to ring_buffer_write_ptr() function
2010-04-24 18:59:44 +02:00
Marcel Holtmann
9fd7d841c8
Add support for wrapping of HDLC transmit ring buffer
2010-04-24 18:54:34 +02:00
Yang Gu
89d19b37d9
stkutil: Add parser for broadcast network info
2010-04-23 11:52:18 -05:00
Yang Gu
aa3c5807ad
stkutil: Add parser for activate descriptor
2010-04-23 11:52:18 -05:00
Yang Gu
82f907e0bd
stkutil: Add parser for registry app data objects
2010-04-23 11:52:18 -05:00
Yang Gu
fe042d8036
stkutil: Add parser for last envelope objects
2010-04-23 11:52:18 -05:00
Yang Gu
a6b7618478
stkutil: Add parser for MMS notification objects
2010-04-23 11:52:18 -05:00
Yang Gu
e5ce1bb8eb
stkutil: Add parser for mm cid objects
2010-04-23 11:52:18 -05:00
Yang Gu
61d89f7a73
stkutil: Add parser for MMS transfer status
2010-04-23 11:52:18 -05:00
Yang Gu
18ee08e598
stkutil: Add parser for MMS identifier objects
2010-04-23 11:52:18 -05:00
Yang Gu
b1b75d90d5
stkutil: Add parser for MMS reference objects
2010-04-23 11:52:17 -05:00
Yang Gu
d6c5def964
stkutil: Add parser for meid objects
2010-04-23 11:52:17 -05:00
Yang Gu
150e5f3f66
stkutil: Add parser for frames information objects
2010-04-23 11:52:17 -05:00
Yang Gu
642a7ed3ec
stkutil: Add parser for frame layout objects
2010-04-23 11:52:17 -05:00
Yang Gu
b0d9e6df17
stkutil: Add parser for browsing status objects
2010-04-23 11:52:17 -05:00
Zhenhua Zhang
7111325311
Fix a typo in telephony_error_to_str
2010-04-23 11:52:17 -05:00
Marcel Holtmann
d2c8f124e6
Use HDLC_FCS helper where possible
2010-04-23 17:22:56 +02:00
Marcel Holtmann
2a609f9054
Use HDLC constants instead of magic numbers
2010-04-23 17:21:49 +02:00
Marcel Holtmann
a31870f542
Add support for wrapping of HDLC receive ring buffer
2010-04-23 17:18:30 +02:00
Denis Kenzior
fa5e8cf56b
ppp: Fix trivial style error
2010-04-22 17:58:29 -05:00
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