Commit Graph

2651 Commits

Author SHA1 Message Date
Denis Kenzior f9b2e5cf5a gatchat: Only set debug on IO if we have it 2010-04-28 17:27:33 -05:00
Denis Kenzior 3aa1faddef gatchat: Replace shutdown by suspend/resume
Shutdown was actually pointless and according to Marcel he only had it
in mind for PPP useage.
2010-04-28 17:27:33 -05:00
Denis Kenzior 7b8f4f5dc8 gatchat: port gatchat to use gatio 2010-04-28 17:27:33 -05:00
Denis Kenzior 43c30e2292 gatio: Remove g_at_io_shutdown 2010-04-28 17:27:33 -05:00
Denis Kenzior 204814da05 gatio: Get re-entrancy correct 2010-04-28 17:27:32 -05:00
Denis Kenzior c614254ae9 gatio: Style fix for gsource id comparisons 2010-04-28 17:27:32 -05:00
Denis Kenzior 2d2bc8b5b3 gatio: Kill the reader when no more space 2010-04-28 17:27:32 -05:00
Denis Kenzior f09ce13ad7 gatchat: Remove g_at_chat_set_syntax
Never used and too unsafe in its current form
2010-04-28 17:27:32 -05:00
Denis Kenzior 5fc7c1e1d0 gatchat: Add initial GAtIO implementation 2010-04-28 17:27:32 -05:00
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