summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-05-12mbm: Register sim toolkit atom in mbm plugin.Andrzej Zaborowski1-0/+2
2010-05-12mbm: Simplify STKR callback logicDenis Kenzior1-5/+1
2010-05-12mbm: Simplify STKE logicDenis Kenzior1-6/+11
We shouldn't use CALLBACK_WITH_FAILURE unless we can't parse the response from the modem. This most likely indicates an integration error.
2010-05-12mbm: NULL check on a g_free is not necessaryDenis Kenzior1-10/+4
This is a change from previously accepted practice
2010-05-12mbm: Few style issues with indentationDenis Kenzior1-7/+6
2010-05-12mbm: Add STK driver.Andrzej Zaborowski4-1/+261
2010-05-12atmodem: Pass allowed response prefixes to gatchatAndrzej Zaborowski1-6/+9
Not doing this creates a race condition where any notification comming in in the middle of a sequence of commands may be counted as a response to one of the commands and get lost.
2010-05-11stkutil: Parse cdma tpdu in send sms parserYang Gu2-4/+13
2010-05-11stkutil: Don't use escaped stringsDenis Kenzior1-4/+5
In general this is bad style, using concatentated strings ala "" "" is better.
2010-05-11test-stkutil: Add unit test for play tone parserYang Gu1-0/+1356
2010-05-11stkutil: Refactor parser for tone objectsYang Gu1-11/+2
2010-05-11Replace check_text with check_common_textYang Gu1-16/+15
2010-05-11stkutil: Add play tone proactive command parserYang Gu2-0/+52
2010-05-11stk: Unify variable names to use abbreviationYang Gu3-89/+88
2010-05-11test-stkutil: Use enum for icon_idYang Gu1-3/+3
2010-05-11test-stkutil: Add unit test for get input parserYang Gu1-20/+1392
2010-05-11stkutil: Free default text for get input parserYang Gu1-0/+1
2010-05-11ppp: fix another hardcode of ppp_packet sizeKristen Carlson Accardi1-1/+1
2010-05-11Fix Use hashtable to record udev pathZhenhua Zhang1-19/+39
Sometimes, Udev device 'remove' event could not report correct parent node of current udev_device. Current code replies on the devpath attached on the parent node to find modem and then remove it. This fix is to change the way to store the devpath info into a hashtable. So that we search hashtable to get devpath and remove the modem.
2010-05-11atmodem: Fix crashes related to unremoved timeoutsDenis Kenzior1-2/+12
Any timeouts set must be removed using g_source_remove. Failure to do so results in sigsegvs when the modem is randomly removed during the initialization cycle.
2010-05-10gsmdial: Shut down cleanly when ppp link diesDenis Kenzior1-2/+4
2010-05-10ppp: Keep these defines privateDenis Kenzior2-2/+3
2010-05-10ppp: set address and control fieldKristen Carlson Accardi5-8/+16
Before sending to hdlc, set the address and control field. Fix hardcode of ppp header size.
2010-05-10gsmdial: use g_at_ppp_new_from_io()Kristen Carlson Accardi1-3/+3
2010-05-10gatchat: implement g_at_chat_get_io()Kristen Carlson Accardi2-0/+10
2010-05-10gsmdial: use g_at_chat_suspendKristen Carlson Accardi1-4/+4
2010-05-10ppp: transition to dead when lcp finishedKristen Carlson Accardi1-1/+4
Transition to DEAD when lcp is finished and ignore any io disconnects if we are already dead.
2010-05-10Fix: Don't remove wrong atomsAndrzej Zaborowski1-3/+6
When the state goes from INSERTED to NOT PRESENT and we have not advanced past the SIM PIN entry, we remove the pre_sim atoms. Similarly, if we advanced past the SIM PIN stage and subsequently removed the SIM, the pre_sim atom list should not be tampered with.
2010-05-10Fix check data device before register the modemZhenhua Zhang1-2/+3
To avoid the race condition that modem is registered before we retrieve the data device property.
2010-05-04add vid/pid for Dell 5541 and 5542Torgny Johansson1-0/+4
2010-04-30atmodem: Port gprs-context to new PPP apiDenis Kenzior1-12/+8
2010-04-30gsmdial: Port to new PPP apiDenis Kenzior1-9/+3
2010-04-30ppp: Refactor connect / disconnect callbacksDenis Kenzior2-19/+33
Right now it is very hard to figure out whether we should be calling the connect callback or the disconnect callback. So refactor as follows: - Connect callback is only called once the net is actually up - Disconnect callback is called once ppp is down, with a reason for why it is so.
2010-04-30ppp: get rid of ppp_enter_phaseDenis Kenzior4-57/+85
This function simply didn't have the context of why the phase was being entered. Instead have each protocol notify GAtPPP as to what is happening. We already had this more or less for IPCP and AUTH events, this just now formalizes it for LCP as well.
2010-04-30ppp: Add _from_io constructorDenis Kenzior2-8/+34
2010-04-29ppp: fix return of drop_packet for NETWORK phaseKristen Carlson Accardi1-1/+1
2010-04-29gathdlc: Add from_io constructorDenis Kenzior2-8/+20
2010-04-30Fix parent path introspection data invalidation for multiple levelsJohan Hedberg1-1/+3
In the case that parent path data needs to be invalidated we shouldn't stop at the immediate parent if it doesn't have our own handler registered but should continue upwards in the tree until we reach root or our own handler.
2010-04-29Fix memory leak in g_dbus_register_interfaceJohan Hedberg1-1/+3
2010-04-29ppp: silently drop invalid packetsKristen Carlson Accardi1-8/+28
2010-04-29ppp: transition to dead when read io destroyedKristen Carlson Accardi2-1/+3
remove call to signal_close for lcp object, it is redundent. If our io is destroyed we are dead, so transition the ppp phase to DEAD so our disconnect callback can be called.
2010-04-28ppp: Hang set_recording off the GAtPPP objectDenis Kenzior3-5/+5
Marcel: recording right now only works for PPP, so we'd need some sort of multi-protocol support. So for now expose set_recording to be used through the main PPP object. HDLC object recording support needs to be extended.
2010-04-28Add unit test for get inkey parserYang Gu1-0/+1040
2010-04-28ppp: Re-add capability to detect io down eventsDenis Kenzior1-0/+9
2010-04-28gathdlc: Add accessor for GAtIODenis Kenzior3-0/+13
2010-04-28gathdlc: Port GAtHDLC to use GAtIODenis Kenzior1-129/+24
2010-04-28ppp: Don't crash if the interface wasn't createdDenis Kenzior1-0/+4
2010-04-28ppp: Accept 1500 byte MTUsDenis Kenzior1-1/+1
2010-04-28gsmdial: Use set recording on the HDLC objectDenis Kenzior1-1/+1
2010-04-28ppp: Add getter for HDLC objectDenis Kenzior2-0/+11