summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-06-29atmodem: Don't unregister *EPEV in *EPEV handler.Andrzej Zaborowski1-2/+20
Handlers are called when looping over the unsolicited responses hash, registering or unregistering modifies that hash and confuses glib.
2010-06-29mbm: use CPIN? to check if SIM is missingPekka Pessi1-22/+6
AT+CRSM=242 is not supported by all mbm models.
2010-06-29Documented Present property in sim-api.txt.Pekka Pessi1-5/+10
2010-06-29gsmdial: Wait for a no carrier before sending CFUNDenis Kenzior1-3/+9
2010-06-29test-server: Send a NO_CARRIER when ppp is doneDenis Kenzior1-2/+4
2010-06-29test-server: Update to the new APIDenis Kenzior1-4/+1
2010-06-29ppp: Don't accept 0 ip-addr/dns1/dns2Denis Kenzior1-3/+4
2010-06-29ppp: Refactor server-side APIDenis Kenzior7-16/+77
The biggest update here is that the server needs to be in dormant mode by default, so as not to send a Configure-Req to the peer until the peer is ready. This requires adding special constructor for LCP to initialize it to Stopped state instead of initial state. Along with this, we pass the server local IP directly to the ppp server constructor.
2010-06-29test-server: Update to the new APIDenis Kenzior1-1/+1
2010-06-29ppp: Tweak set_server_info API some moreDenis Kenzior4-16/+5
2010-06-29hdlc: Stop recording packets to stdout (fd = 0)Denis Kenzior1-2/+2
2010-06-29hdlc: Don't bother recording empty packetsDenis Kenzior1-0/+3
2010-06-28gsmdial: Configure network interface for PPPZhenhua Zhang1-0/+29
2010-06-28test-server: Configure network interfaceZhenhua Zhang1-0/+31
Require ROOT priviledge to: 1. Run external command to configure and bring up network interface. 2. Enable kernel IP forwarding.
2010-06-28ppp: Tweak the set_server_info APIDenis Kenzior3-17/+20
2010-06-28test-server: Add PPP server supportZhenhua Zhang1-0/+119
So that gsmdial and wvdial could talk to test-server and establish PPP connection.
2010-06-28ppp: Refactor server RCR actionDenis Kenzior1-40/+40
We need to generate the Conf-Rej / Conf-Nak in the same order as the client sent us.
2010-06-28ppp: Refactor client RCR actionDenis Kenzior1-29/+27
2010-06-28ppp: Simplify the logic by re-using codeDenis Kenzior1-6/+1
2010-06-28ppp: Minor style tweaksDenis Kenzior1-9/+9
2010-06-28atmodem: Update to the new PPP APIZhenhua Zhang1-2/+3
2010-06-28gsmdial: Update to the new APIZhenhua Zhang1-2/+3
2010-06-28gatppp: Add PPP server extensionZhenhua Zhang4-36/+225
1. Add interface to set PPP server info by g_at_ppp_set_server_info. 2. Pass local and peer address through IPCP handshaking.
2010-06-25sms: Update doc about the default Bearer settingDenis Kenzior1-0/+2
2010-06-25sms: Tweak the Bearer APIDenis Kenzior2-12/+12
2010-06-25Update TODO & overview.txtDenis Kenzior2-10/+4
2010-06-25atmodem: Add CGSMS support to sms driverDenis Kenzior1-0/+88
2010-06-25sms: Add support for SMS Bearer settingsDenis Kenzior2-2/+141
2010-06-25sms: Add driver API for SMS bearer settingsDenis Kenzior1-0/+8
2010-06-25TODO: Add ownerDenis Kenzior1-0/+1
2010-06-25gprs: Fix to attachment race conditionDenis Kenzior1-6/+4
Sometimes we get unsolicited attachment status before our query finishes. If the client is fast enough they can attempt to attach and get the AttachInProgress error
2010-06-25sms: Update API with UseDeliveryReports propertyDenis Kenzior1-0/+7
2010-06-24hso: Don't query tech if not registered or roamingDenis Kenzior1-0/+4
{NetworkRegistration} [/hso0] LocationAreaCode = 34591 {NetworkRegistration} [/hso0] CellId = 5903759 {NetworkRegistration} [/hso0] Strength = 32 {NetworkRegistration} [/hso0] Strength = 22 {PrimaryDataContext} [/hso0/primarycontext1] Settings = dbus.Dictionary({}, signature=dbus.Signature('sv'), variant_level=1) {PrimaryDataContext} [/hso0/primarycontext1] Active = 0 {DataConnectionManager} [/hso0] Attached = 0 {NetworkRegistration} [/hso0] Status = searching {NetworkRegistration} [/hso0] Technology = umts <--- Oops {NetworkOperator} [/hso0/operator/26201] Status = available {NetworkRegistration} [/hso0] Name = {NetworkRegistration} [/hso0] Status = registered {NetworkRegistration} [/hso0] LocationAreaCode = 35342 {NetworkRegistration} [/hso0] CellId = 5903759 {NetworkRegistration} [/hso0] Technology = edge
2010-06-24sms: minor style fixDenis Kenzior1-1/+2
2010-06-24sms: Don't bother setting SCA if we can't queryDenis Kenzior1-1/+2
2010-06-23ppp: Fix incorrect packet length for little-endianZhenhua Zhang1-1/+1
packet->length is in TCP/IP network byte order. It needs to call ntohs() to convert to host byte order, which is little-endian.
2010-06-23stkutil: Alpha Id is optional for Select Item.Andrzej Zaborowski1-2/+1
2010-06-23stkutil: Refactor command parser error handlingAndrzej Zaborowski3-557/+446
When parsing the full command fails but Command Details has been parsed, return a struct stk_command containing this information and the type of parsing problem found. We need the command details to be able to even respond to the command. This patch also makes the parser skip over unknown data objects found in the BER-TLV, if they don't have Comprehension Required set.
2010-06-22Check sanity the MNC length value from the SIM cardMarcel Holtmann1-0/+4
In case the SIM entry is wrong or we force reading of it, nasty things like this can happen: ofonod[12456]: Control:> AT+CRSM=176,28589,0,0,4\r ofonod[12456]: Control:< +CRSM: 144,0,"00FFFF"\r\n\r\nOK\r\n *** buffer overflow detected ***: ./src/ofonod terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x3e42efb417] /lib64/libc.so.6[0x3e42ef9310] /lib64/libc.so.6(__strncpy_chk+0x17b)[0x3e42ef85cb]
2010-06-22Fix huawei udev rulesDenis Kenzior1-1/+1
2010-06-21hfp: Fix style issuesDenis Kenzior1-1/+2
2010-06-21hfp: use bluetooth helpers and remove similar codeGustavo F. Padovan1-343/+36
2010-06-21bluetooth: Various style issuesDenis Kenzior1-8/+13
2010-06-21bluetooth: add PropertyChanged watchGustavo F. Padovan1-1/+75
This one is a bit diferent from the hfp.c one, so a separated patch for it.
2010-06-21bluetooth: add watches for service and adaptersGustavo F. Padovan1-0/+78
Exactly the same code from hfp.c
2010-06-21bluetooth: add device_properties_cb() and has_uuid()Gustavo F. Padovan1-2/+69
2010-06-21bluetooth: Move functions from hfp.c to bluetooth.cGustavo F. Padovan1-0/+122
The part that call device_properties_cb is commented to permit this patch compile. device_properties_cb() will be changed, so it will have separated patch.
2010-06-21storage: whitespace issueDenis Kenzior1-1/+1
2010-06-21smsutil: Fix up some comment styleDenis Kenzior1-18/+36
2010-06-21test-common: Avoid accessing an unitialised variable.Andrzej Zaborowski1-1/+1
Fixes a segfault, reported by valrgind as: [...] ==6300== Use of uninitialised value of size 4 ==6300== at 0x8048B4D: test_invalid (test-common.c:81)